Prev: AA8A Up: Map Next: AAB4
AAA8: Action: Go To Room
Moves the player to the room operand.
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_GoToRoom AAA8 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Move the player to the room operand.
AAAB LD A,(IX+$01) Fetch the destination room (the operand) from *IX+01 into A.
AAAE CALL ChangeRoom Call ChangeRoom to change room to that ID.
AAB1 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: AA8A Up: Map Next: AAB4