![]() |
Routines |
| Prev: 8A15 | Up: Map | Next: 8A2F |
|
What touching one of the four big hunters costs -- the mummy, Dracula, Frankenstein's monster and the devil call it on every pass they touch the player. Both penalties share the tail: store the new level, redraw the indicator, and on underflow die instead. As with LOSE_FOOD_SIXTEEN, a result of exactly zero is stored and the player lives, until the next drain wraps it to 255.
|
||||||||
| LOSE_FOOD_EIGHT | 8A1E | LD A,($5E28) | Eight. | |||||
| 8A21 | SUB $08 | |||||||
| 8A23 | JR C,FOOD_GONE | |||||||
|
This entry point is used by the routine at LOSE_FOOD_SIXTEEN.
|
||||||||
| SET_FOOD_LEVEL | 8A25 | LD ($5E28),A | Store it, then redraw the roast on the scroll. | |||||
| 8A28 | JP DRAW_FOOD | |||||||
|
This entry point is used by the routine at LOSE_FOOD_SIXTEEN.
|
||||||||
| FOOD_GONE | 8A2B | POP HL | ||||||
| 8A2C | JP LOSE_LIFE | |||||||
| Prev: 8A15 | Up: Map | Next: 8A2F |