Unionall: Difference between revisions

Tags: Mobile edit Mobile web edit
Made explanation easier to follow for beginners, and clarified the primary purposes
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
{{Stub}}
{{Stub}}


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 script in the game, containing the game's coroutines. Some of the most important coroutines dictate the order of gameplay and cutscenes, as well as handling the transition from cutscenes to overworld, and vice versa. There are also plenty of other coroutines that are called frequently within scripts for simple purposes.
You can call those coroutines with [[List of Opcodes#0x38 - CallCommon|CallCommon]], [[List of Opcodes#0x88 - JumpCommon|JumpCommon]], [[List of Opcodes#0x73 - ExecuteCommon|ExecuteCommon]] and [[List of Opcodes#0x12e - supervision_ExecuteCommon|supervision_ExecuteCommon]] opcodes.
You can call those coroutines with [[List of Opcodes#0x38 - CallCommon|CallCommon]], [[List of Opcodes#0x88 - JumpCommon|JumpCommon]], [[List of Opcodes#0x73 - ExecuteCommon|ExecuteCommon]] and [[List of Opcodes#0x12e - supervision_ExecuteCommon|supervision_ExecuteCommon]] opcodes.