Unionall: Difference between revisions

→Coroutines: Some dungeon coroutines
Tags: Mobile edit Mobile web edit
→Coroutines: Some coroutines
Line 142: Line 142:
Only contains return;
Only contains return;
===coro EVENT_DIVIDE_FIRST===
===coro EVENT_DIVIDE_FIRST===
Jumps to coroutines EVENT_MXX_XX depending on $SCENARIO_MAIN. It called only if $SCENARIO_MAIN[0] is 14 or less.


===coro EVENT_DIVIDE_SECOND===
===coro EVENT_DIVIDE_SECOND===
Jumps to coroutines EVENT_MXX_XX depending on $SCENARIO_MAIN. It called only if $SCENARIO_MAIN[0] is greater than 14 but less than 28


===coro EVENT_DIVIDE_AFTER===
===coro EVENT_DIVIDE_AFTER===
Jumps to coroutines EVENT_SXX_XX depending on $SCENARIO_MAIN. It called only if $SCENARIO_MAIN[0] is 28 or greater.


===coro EVENT_DIVIDE_RESUME===
===coro EVENT_DIVIDE_RESUME===
Line 187: Line 190:


===coro EVENT_HA_YU_KI===
===coro EVENT_HA_YU_KI===
Shows the dining scene and Loudred's alarm scene. Only works if $SCENARIO_MAIN is greater than [4, 7]


===coro EVENT_HA_YU_KI_DO===
===coro EVENT_HA_YU_KI_DO===
Line 199: Line 203:


===coro EVENT_HA_KI===
===coro EVENT_HA_KI===
Shows the scene with Loudred's alarm.


===coro EVENT_HA_YU_KIX===
===coro EVENT_HA_YU_KIX===
Line 311: Line 316:


===coro EVENT_M04_01===
===coro EVENT_M04_01===
Loudred tells the hero and partner about Sentry Duty


===coro EVENT_M04_02_03===
===coro EVENT_M04_02_03===
Sentry Duty results.


===coro EVENT_M05_01_02===
===coro EVENT_M05_01_02===
Chatot tells the news about the time in Treeshroud Forest being stopped. After that, Chatot tells hero and partner to go to Waterfall Cave.investigate the waterfall.


===coro EVENT_M05_03===
===coro EVENT_M05_03===
First visit to waterfall, where hero and partner find the cave behind the waterfall with the help of Dimensional Scream.


===coro EVENT_M05_04===
===coro EVENT_M05_04===
Called if the player faints in Waterfall Cave.


===coro EVENT_M05_05===
===coro EVENT_M05_05===
Called when the player visits Waterfall Cave after fainting in it.


===coro EVENT_M05_06_09===
===coro EVENT_M05_06_09===
Hero and partner got to the end of the Waterfall Cave and got shot into the Hot Spring. After that, they report Chatot about their findings. Hero realized that Wigglytuff was the first one who found the Waterfall Cave.


===coro EVENT_M06_01===
===coro EVENT_M06_01===
Line 1,432: Line 1,444:


===coro MESSAGE_CLOSE_WAIT_FUNC===
===coro MESSAGE_CLOSE_WAIT_FUNC===
Closes the textbox, waits 10 frames, then returns. Should be called with CallCommon


===coro EVENT_END_MAPIN===
===coro EVENT_END_MAPIN===