Prev: 63480 Up: Map Next: 63501
63482: Move Player
Used by the routines at Action_North, Action_South, Action_East, Action_West and Action_Up.
Input
C Requested direction where:
0 NORTH
1 SOUTH
2 EAST
3 WEST
4 UP
5 DOWN
MovePlayer 63482 CALL ParserValidateNoDirectObject Call ParserValidateNoDirectObject.
63485 RET C Return if the direct object is malformed.
63486 LD B,0 Call GetRoomPointer.
63488 CALL GetRoomPointer
63491 ADD HL,BC HL+=BC.
63492 LD A,(HL) A=*HL.
63493 OR A Jump to Response_YouCantGoInThatDirection if the exit is closed.
63494 JP Z,Response_YouCantGoInThatDirection
63497 CALL Handler_ChangeRoom Call Handler_ChangeRoom.
63500 RET Return.
Prev: 63480 Up: Map Next: 63501