CallFunction
Jump to navigation
Jump to search
{43} CallFunction
CallFunction(xFC)
Can call various different functions to alter many different things in the game.
Function : Byte (hex)
- x01: Inventory is reset (New Game inventory). Units join silently (Join After Event + Save Formation = Join as Guest / Join After Event = Join silently as a playable character) without the need of {76} DarkScreen.
- x02: A year passes
- x03: Increases Blue team units' Brave by +10 (used in Mandalia Destroy corps event)
- x04: BlueRemoveUnit all enemy units
- x05: Used once during a lightning strike. Use unknown.
- x06: Displays a save screen (https://ffhacktics.com/smf/index.php?topic=10124.msg193711#msg193711)
- x08: Has some code among that of other CallFunctions at 00143bd0 - 00145f74, but purpose unknown.
- x09: Sets Var x53 to a value of 0x01, which mutes the text audio cue.
- x0A: Sets Var x53 to a value of 0x00, which restores the text audio cue.
- x0B: Destroys Murond Death City's entrance (requires Arrangement 0x0001 and using a map destructive effect)
- x0C: Changes the currently playing song to song 13 Ultema, the Perfect Body
- x0D: Used in Altima -> Altima 2 transformation event: Move ENTD Unit 9 to the coordinates of ENTD Unit 8
- x0E: Used when the Bethla Sluice is opened up. (Possible unit remover?)
- x0F: Moves ENTD Unit 4 to the coordinates of ENTD Unit 2*
- x10: Moves ENTD Unit 5 to the coordinates of ENTD Unit 3*
- x11: Used in Dycedarg -> Adramelk transformation event
- x12: Used in Zalera Death event
* Edit at 0x801342E4