![]() |
Routines |
| Prev: F611 | Up: Map | Next: F6A3 |
|
Take the map unless the pirate is present.
|
||||
| Take_Map | F690 | LD A,$61 | A=61. | |
|
This entry point is used by the routine at Take_Shovel.
Take the item in A unless the pirate is present.
|
||||
| Take_Map_UnlessPiratePresent | F692 | CALL Take_IsPlayerHoldingItem | Call Take_IsPlayerHoldingItem. | |
| F695 | LD A,$62 | Call ValidateItemPresent with item 62: "A pirate.". | ||
| F697 | CALL ValidateItemPresent | |||
| F69A | JP NZ,TakeItem | Jump to TakeItem if the Z flag is not set. | ||
|
Print "The pirate prevents you.".
|
||||
| F69D | LD HL,$E0EA | HL=Messaging_ThePiratePreventsYou. | ||
| F6A0 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: F611 | Up: Map | Next: F6A3 |