Jet Set Willy: Routine at 38046

| Routines

38046: Move Willy into the room to the right

Used by the routine at 36796.
38046 | LD A,(33002) | Pick up the number of the room to the right from 33002
38049 | LD (33824),A | Make it the current room number by copying it to 33824
38052 | LD A,(34259) | Adjust Willy's screen x-coordinate (at 34259) to 0 (on the far left)
38055 | AND 224
38057 | LD (34259),A
38060 | POP HL | Drop the return address (35281, in the main loop) from the stack
38061 | JP 35090 | Draw the room and re-enter the main loop