Prev: 8FBC Up: Map Next: 90C0
90B6: Kill Willy
Used by the routine at 961E when Willy hits a nasty.
Input
Output
90B6 POP HL Drop the return address from the stack
This entry point is used by the routines at 8ED4 (when Willy lands after falling from too great a height), 91BE (when an arrow or guardian hits Willy) and 9534 (when Willy gets too close to Maria).
90B7 POP HL Drop the return address from the stack
90B8 LD A,$FF Set the airborne status indicator at 85D1 to 0xFF (meaning Willy has had a fatal accident)
90BA LD ($85D1),A
90BD JP $89F5 Jump back into the main loop
Prev: 8FBC Up: Map Next: 90C0