![]() |
Routines |
| Prev: EB9F | Up: Map | Next: EBC5 |
|
Take the sapphire unless the dragon is present.
|
||||
| Take_Sapphire | EBB2 | LD A,$5C | Call Take_IsPlayerHoldingItem with item 5C: "A sapphire.". | |
| EBB4 | CALL Take_IsPlayerHoldingItem | |||
| EBB7 | LD A,$5D | Call ValidateItemPresent with item 5D: "A dragon.". | ||
| EBB9 | CALL ValidateItemPresent | |||
| EBBC | JP NZ,TakeItem | Jump to TakeItem if "A dragon." is not present. | ||
|
Print "The dragon prevents you.".
|
||||
| EBBF | LD HL,$D441 | HL=Messaging_TheDragonPreventsYou. | ||
| EBC2 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: EB9F | Up: Map | Next: EBC5 |