Prev: 62601 Up: Map Next: 62709
62649: Process: Throw Urn Into Fire
The players wants to throw the urn into the fire, but are they in the room which has the fire?
Process_ThrowUrnIntoFire 62649 LD A,(42947) Jump to Response_YouCant_Duplicate if *CurrentRoom is not equal to room 79: The Fomorians' Cavern.
62652 CP 79
62654 JP NZ,Response_YouCant_Duplicate
The player is in the correct room, so start destroying items...
62657 LD A,18 Call Handler_DestroyItemEvent with item 18: "The flickering flames".
62659 CALL Handler_DestroyItemEvent
62662 LD A,28 Call Handler_DestroyItemEvent with item 28: "An urn".
62664 CALL Handler_DestroyItemEvent
62667 LD A,4 Call Handler_DestroyItemEvent with item 4: N/A.
62669 CALL Handler_DestroyItemEvent
62672 LD A,5 Call Handler_DestroyItemEvent with item 5: N/A.
62674 CALL Handler_DestroyItemEvent
Change the Fomorian tribe state!
62677 LD BC,3856 Call TransformItem to transform item 15 ("The Fomorian tribe") into item 16 ("Many Fomorian bodies").
62680 CALL TransformItem
62683 LD HL,42861 Set bit 5 of *Flag_GameStates_02 which relates to the Fomorian tribe.
62686 SET 5,(HL)
62688 LD A,4 Call AddToScore to add 4 points to the score.
62690 CALL AddToScore
The urn has been burnt and is gone, so handle the inventory count.
62693 LD HL,42896 Decrease *Count_InventoryItems by one.
62696 DEC (HL)
Print "The urn lands in the fire. Slowly,the wax melts.As the ashes spill into the flames an eerie wind starts to blow...".
62697 LD HL,55966 HL=Messaging_UrnLandsInTheFire.
62700 CALL PrintStringAndNewline Call PrintStringAndNewline.
Print "From the flames march the shadowy forms of the Nemedian host.They silently fall upon the Fomorian wariors and destroy them utterly. The Nemedians melt back into the flames.".
62703 LD HL,56081 HL=Messaging_FromTheFlames.
62706 JP PausePrintStringAndScroll_Duplicate Jump to PausePrintStringAndScroll_Duplicate.
Prev: 62601 Up: Map Next: 62709