![]() |
Routines |
| Prev: EB9A | Up: Map | Next: EBB2 |
|
Take the diamond unless the spider is present.
|
||||
| Take_Diamond | EB9F | LD A,$4D | Call Take_IsPlayerHoldingItem with item 4D: "A diamond.". | |
| EBA1 | CALL Take_IsPlayerHoldingItem | |||
| EBA4 | LD A,$4E | Call ValidateItemPresent with item 4E: "A venomous spider.". | ||
| EBA6 | CALL ValidateItemPresent | |||
| EBA9 | JP NZ,TakeItem | Jump to TakeItem if "A venomous spider." is not present. | ||
|
This entry point is used by the routine at Kiss_Chest.
Print "The spider prevents you.".
|
||||
| Take_Diamond_0 | EBAC | LD HL,$D256 | HL=Messaging_TheSpiderPreventsYou. | |
| EBAF | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: EB9A | Up: Map | Next: EBB2 |