![]() |
Routines |
| Prev: F09E | Up: Map | Next: F0CC |
|
Give the frog to Istar.
|
||||
| Give_Frog | F0A4 | LD A,$05 | Call IsPlayerCarryingItem with item 05: "A frog.". | |
| F0A6 | CALL IsPlayerCarryingItem | |||
| F0A9 | LD A,$04 | Call AddToScore with 04. | ||
| F0AB | CALL AddToScore | |||
| F0AE | LD A,$05 | Call HandlerDestroyItemEvent with item 05: "A frog.". | ||
| F0B0 | CALL HandlerDestroyItemEvent | |||
| F0B3 | LD HL,$AE9A | Decrease *Count_InventoryItems by one. | ||
| F0B6 | DEC (HL) | |||
| F0B7 | XOR A | A=00. | ||
| F0B8 | CALL HandlerUpdateItemEventForTheCurrentRoom | Call HandlerUpdateItemEventForTheCurrentRoom. | ||
|
Print "You kiss the frog...
The air starts to shimmer...".
|
||||
| F0BB | LD HL,$D63A | HL=Messaging_YouKissTheFrog. | ||
| F0BE | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
| F0C1 | LD HL,$AE91 | Set bit 0 of *Flag_FollowingHeroes. | ||
| F0C4 | SET 0,(HL) | |||
|
Print "The frog vanishes,and Beren
stands in its place.".
|
||||
| F0C6 | LD HL,$D66C | HL=Messaging_TheFrogVanishesAndBerenStandsInItsPlace. | ||
| F0C9 | JP PausePrintAndScroll | Jump to PausePrintAndScroll. | ||
| Prev: F09E | Up: Map | Next: F0CC |