![]() |
Routines |
| Prev: EBCF | Up: Map | Next: EBE7 |
|
Take the money unless the barrowight is present.
|
||||
| Take_Money | EBD4 | LD A,$21 | Call Take_IsPlayerHoldingItem with item 21: "Some money.". | |
| EBD6 | CALL Take_IsPlayerHoldingItem | |||
| EBD9 | LD A,$22 | Call ValidateItemPresent with item 22: "A barrowight.". | ||
| EBDB | CALL ValidateItemPresent | |||
| EBDE | JP NZ,TakeItem | Jump to TakeItem if "A barrowight." is not present. | ||
|
Print "The barrowight prevents you.".
|
||||
| EBE1 | LD HL,$D26F | HL=Messaging_TheBarrowightPreventsYou. | ||
| EBE4 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: EBCF | Up: Map | Next: EBE7 |