Prev: 29482 Up: Map Next: 29546
29514: Move Magic Knight one room to the left if possible
Used by the routine at 29468.
Input
A (Entry at 29530 only) Magic Knight's new x-coordinate
29514 LD DE,0 Set DE to zero (dealing with current room's left exit)
29517 LD A,230 Load A with Magic Knight's new coordinate when he arrives in new room (230 is near right-hand side of room)
29519 CALL 29482 Change Magic Knight's current room (if possible) based upon left exit of his current room
29522 JR Z,29540 If Magic Knight can't leave his current room then jump to 29540
29524 LD HL,34824 Set instruction at 34821 to jump to 34824 (left-facing version of update Magic Knight's current frame routine)...
29527 LD (34822),HL ...
This entry point is used by the routine at 29546.
29530 LD (25387),A Set Magic Knight's x-coordinate
29533 LD A,(65529) Load Magic Knight's current room into A
29536 CALL 27865 Move Magic Knight into room A, initialise room-specific data and draw room
29539 RET Return
29540 LD A,1 Set Magic Knight's temporary-movement flags to 1 (Magic Knight can't move left because he can't leave his current room)...
29542 LD (23410),A ...
29545 RET Return
Prev: 29482 Up: Map Next: 29546