Prev: ABA8 Up: Map Next: ABBD
ABB1: Action: Move Player
Moves the player in the direction given by the 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_MovePlayer ABB1 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Move in the direction given by the operand.
ABB4 LD C,(IX+$01) Fetch the direction (the operand) from *IX+01 into C.
ABB7 CALL MovePlayer Call MovePlayer to move the player in that direction.
ABBA JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: ABA8 Up: Map Next: ABBD