Prev: 37974 Up: Map Next: 38046
38026: Move Willy into the room to the left
Used by the routine at 36796.
Input
Output
38026 LD A,(33001) Pick up the number of the room to the left from 33001
38029 LD (33824),A Make it the current room number by copying it to 33824
38032 LD A,(34259) Adjust Willy's screen x-coordinate (at 34259) to 30 (on the far right)
38035 OR 31
38037 AND 254
38039 LD (34259),A
38042 POP HL Drop the return address (35281, in the main loop) from the stack
38043 JP 35090 Draw the room and re-enter the main loop
Prev: 37974 Up: Map Next: 38046