| The Hobbit (v1.0) | Routines |
| Prev: 8FE0 | Up: Map | Next: 9055 |
|
Called whenever Bilbo is killed (for example by Thorin at the end of the fight in 90DB, or by the stinging thing in AA2E). Prints 'you are dead' and the score ('you have mastered 0.0% of this adventure') from the message at AEE3 and 81AD, waits for a key, and restarts the game at 6C27 with everything restored from the backups.
|
||||
| 903C | SUB A | The actor is Bilbo again | ||
| 903D | LD ($B5DB),A | |||
| 9040 | LD HL,$AEE3 | "you are dead." | ||
| 9043 | CALL $72D4 | |||
| 9046 | CALL $81AD | Print the score | ||
|
This entry point is used by the routine at A8CA.
|
||||
| 9049 | XOR A | Wait for a key | ||
| 904A | IN A,($FE) | |||
| 904C | AND $1F | |||
| 904E | CP $1F | |||
| 9050 | JR Z,$9049 | |||
| 9052 | JP $6C27 | Restart the game | ||
| Prev: 8FE0 | Up: Map | Next: 9055 |