Prev: E7AE Up: Map Next: E829
E7FE: Update Wally on the moving floor.
Used by the routine at Update_Room00.
Input
Output
Handler_MovingFloor E7FE LD A,(DeathFlag) Ignore if dead.
E801 OR A
E802 RET NZ
E803 LD A,(Pocket1) See if Wally is carrying the remote control. If he is don't update making it look like the floor has been stopped.
E806 CP $12
E808 RET Z
E809 LD A,(Pocket2)
E80C CP $12
E80E RET Z
E80F LD A,(Wally_Y) If Wally is above the floor then don't update.
E812 CP $91
E814 RET C
E815 CALL Wally_Erase Update Wally moving him to the right.
E818 LD A,L
E819 ADD A,$02
E81B CP $E8
E81D JR C,Handler_MovingFloor_0
E81F LD A,$E8
Handler_MovingFloor_0 E821 LD L,A
E822 LD (Wally_X),HL
E825 CALL Wally_Draw
E828 RET
Prev: E7AE Up: Map Next: E829