| Routines

37046: Kill Willy

Used by the routine at 38430 when Willy hits a nasty.
37046 | POP HL | Drop the return address from the stack
This entry point is used by the routines at 36564 (when Willy lands after falling from too great a height), 37310 (when an arrow or guardian hits Willy) and 38196 (when Willy gets too close to Maria).
37047 | POP HL | Drop the return address from the stack
37048 | LD A,255 | Set the airborne status indicator at 34257 to 255 (meaning Willy has had a fatal accident)
37050 | LD (34257),A
37053 | JP 35317 | Jump back into the main loop