Prev: AAE4 Up: Map Next: AAFA
AAF3: Action: End Script
Restores the registers saved by Handler_RunScript and returns to its caller.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_EndScript AAF3 JP NZ,RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte if the condition failed.
The script is finished; restore the caller's registers and return.
AAF6 POP BC Restore BC, DE and HL from the stack.
AAF7 POP DE
AAF8 POP HL
AAF9 RET Return.
Prev: AAE4 Up: Map Next: AAFA