![]() |
Routines |
Prev: F0DB | Up: Map | Next: F126 |
|
||||
The player wants to give the acorns to the raven, check if the player is carrying the acorns.
|
||||
Process_GiveAcornsToRaven | F0FD | LD A,$1B | Call IsPlayerCarryingItem with item 1B: "Some acorns". | |
F0FF | CALL IsPlayerCarryingItem | |||
The player is carrying the acorns, so destroy the item.
|
||||
F102 | LD A,E | Call Handler_DestroyItemEvent with the item ID originally passed to the routine. | ||
F103 | CALL Handler_DestroyItemEvent | |||
The raven has eaten an item so handle the inventory count.
|
||||
F106 | LD HL,$A790 | Decrease *Count_InventoryItems by one. | ||
F109 | DEC (HL) | |||
Handle destroying the raven, and spawning the torc at this location.
|
||||
F10A | LD A,$1D | Call Handler_DestroyItemEvent with item 1D: "A raven,perched on the root of a large tree". | ||
F10C | CALL Handler_DestroyItemEvent | |||
F10F | LD A,$69 | Call Handler_UpdateItemEventCurrentRoom with item 69: "A torc". | ||
F111 | CALL Handler_UpdateItemEventCurrentRoom | |||
Print "The raven takes the acorns.
The air starts to shimmer...".
|
||||
F114 | LD HL,$D3A7 | HL=Messaging_RavenTakesAcorns. | ||
F117 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
Print "The goddess Danu stands before
you.She smiles and says:-
"My cleaver Warlord,hero of our
people.Take this torc so that
it may aid you in your quest."
She leaves the torc on the
ground,then vanishes...".
|
||||
F11A | LD HL,$D3E0 | HL=Messaging_GoddessDanuStandsBeforeYou. | ||
F11D | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll. | ||
Print "From above,you hear the beating
of velvet wings receding into
the distance.".
|
||||
F120 | LD HL,$D4A9 | HL=Messaging_FromAboveYouHear. | ||
F123 | JP PausePrintStringAndScroll_Duplicate | Jump to PausePrintStringAndScroll_Duplicate. |
Prev: F0DB | Up: Map | Next: F126 |