Unionall: Difference between revisions

From SkyTemple
Add Unionall page to wiki
Tags: Mobile edit Mobile web edit
 
Started to add coroutines
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
unionall.ssb is a file, containing the game's coroutines. Those coroutines are used to show a cutscenes, return controls to the player after the dialogue with NPC, make a Cutscene -> Overworld transition etc.  
unionall.ssb is a file, containing the game's coroutines. Those coroutines are used to show a cutscenes, return controls to the player after the dialogue with NPC, make a Cutscene -> Overworld transition etc.  
You can call those coroutines with CallCommon, JumpCommon and supervision_ExecuteCommon opcodes.
You can call those coroutines with CallCommon, JumpCommon and supervision_ExecuteCommon opcodes.
==Coroutines==
===coro END_TALK===
===coro WAIT_START_FUNC===
===coro NORMAL_WAIT_END_TALK===
===coro LIVES_REPLY_NORMAL===
===coro LIVES_REPLY===
===coro OBJECT_REPLY_NORMAL===
===coro LIVES_ACTING_NORMAL===
===coro ENTER_WAIT_FUNC===
===coro TALK_UNIT===

Revision as of 04:32, 25 January 2024

unionall.ssb is a file, containing the game's coroutines. Those coroutines are used to show a cutscenes, return controls to the player after the dialogue with NPC, make a Cutscene -> Overworld transition etc. You can call those coroutines with CallCommon, JumpCommon and supervision_ExecuteCommon opcodes.

Coroutines

coro END_TALK

coro WAIT_START_FUNC

coro NORMAL_WAIT_END_TALK

coro LIVES_REPLY_NORMAL

coro LIVES_REPLY

coro OBJECT_REPLY_NORMAL

coro LIVES_ACTING_NORMAL

coro ENTER_WAIT_FUNC

coro TALK_UNIT