Prev: 61028 Up: Map Next: 61069
61043: Process: Examine Sword
Are any of the variations of the sword in the current room/ players inventory?
Process_ExamineSword 61043 LD HL,58258 Call CheckItemGroupPresent with Data_ItemGroup_Sword.
61046 CALL CheckItemGroupPresent
The player wants to examine the sword but is it in their inventory?
61049 CALL IsPlayerCarryingItem Call IsPlayerCarryingItem.
Restore the original item ID to check which item was found in the item group.
61052 LD A,E Jump to ExamineSword_NotHeld if the original requested item ID is not equal to item 56: "A sword".
61053 CP 56
61055 JR NZ,ExamineSword_NotHeld
Print "It's perfectly balanced for you. This is a sword of legend. Known by many names and in many times,both past and yet to be.".
61057 LD HL,53373 HL=Messaging_PerfectlyBalanced.
61060 JP 60781 Jump to 60781.
Print "The blade has a blue sheen."
ExamineSword_NotHeld 61063 LD HL,53496 HL=Messaging_BladeWithBlueSheen.
61066 JP 60781 Jump to 60781.
Prev: 61028 Up: Map Next: 61069