![]() |
Routines |
| Prev: 89ED | Up: Map | Next: 8A1E |
|
Used by the routine at MOVE_HUMPBACK.
The heavier of the two penalties. If it would go below zero the stack is dropped and control goes straight to the death routine, so the caller never returns.
Only the humpback calls it, on every pass it touches the player. Landing on exactly zero is not caught here -- only a borrow is -- and the next drain in PLAYER_TICK then turns the zero into 255 (measured in the simulator, 2026-09-27).
|
||||
| LOSE_FOOD_SIXTEEN | 8A15 | LD A,($5E28) | Sixteen, against the eight LOSE_FOOD_EIGHT takes. | |
| 8A18 | SUB $10 | |||
| 8A1A | JR C,FOOD_GONE | |||
| 8A1C | JR SET_FOOD_LEVEL | |||
| Prev: 89ED | Up: Map | Next: 8A1E |