Prev: 55404 Up: Map Next: 55478
55461: Interrupt routine: End game due to a character starving to death
Used by the routine at 55077.
Input
C Index of character who has starved to death
55461 LD A,C Set starved character to be Current Character...
55462 LD (30615),A ...
55465 POP HL Restore HL (return address from call to routine at 55077)
55466 POP HL Restore HL (return address from call to routine at 54996)
55467 CALL 55574 Restore all registers from stack
55470 POP HL Restore HL (return address from call to interrupt routine)
55471 LD HL,51787 Point HL at "[CHARACTER] HAS STARVED TO DEATH..." text
55474 EI Enable interrupts
55475 JP 35101 Jump to game over routine and return to pre-game menu
Prev: 55404 Up: Map Next: 55478