Prev: A9E9 Up: Map Next: AA08
AA00: Action: Return From Script
Restores the script pointer saved by Action_CallScript.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition succeeded, resume the script that Action_CallScript saved.
Action_ReturnFromScript AA00 JP NZ,RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte if the condition failed.
AA03 POP IX Restore the saved script pointer from the stack.
AA05 JP RunScript_AfterAction Jump to RunScript_AfterAction.
Prev: A9E9 Up: Map Next: AA08