Prev: 949E Up: Map Next: 94D2
94B0: Move Willy into the room above
Used by the routines at 89AD and 8DD3.
94B0 LD A,($80EB) Pick up the number of the room above from 80EB
94B3 LD ($8420),A Make it the current room number by copying it to 8420
94B6 LD A,($85D3) Willy should now appear on the bottom floor of the room, so adjust his attribute buffer coordinates (at 85D3) accordingly
94B9 AND $1F
94BB ADD A,$A0
94BD LD ($85D3),A
94C0 LD A,$5D
94C2 LD ($85D4),A
94C5 LD A,$D0 Adjust Willy's y-coordinate (at 85CF) as well
94C7 LD ($85CF),A
94CA XOR A Reset the airborne status indicator at 85D1
94CB LD ($85D1),A
94CE POP HL Drop the return address (either 89D1 or 89D9, in the main loop) from the stack
94CF JP $8912 Draw the room and re-enter the main loop
Prev: 949E Up: Map Next: 94D2