Prev: EE64 Up: Map Next: EE8D
EE73: Process: Examine Sword
Are any of the variations of the sword in the current room/ players inventory?
Process_ExamineSword EE73 LD HL,$E392 Call CheckItemGroupPresent with Data_ItemGroup_Sword.
EE76 CALL CheckItemGroupPresent
The player wants to examine the sword but is it in their inventory?
EE79 CALL IsPlayerCarryingItem Call IsPlayerCarryingItem.
Restore the original item ID to check which item was found in the item group.
EE7C LD A,E Jump to ExamineSword_NotHeld if the original requested item ID is not equal to item 38: "A sword".
EE7D CP $38
EE7F 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.".
EE81 LD HL,$D07D HL=Messaging_PerfectlyBalanced.
EE84 JP $ED6D Jump to ED6D.
Print "The blade has a blue sheen."
ExamineSword_NotHeld EE87 LD HL,$D0F8 HL=Messaging_BladeWithBlueSheen.
EE8A JP $ED6D Jump to ED6D.
Prev: EE64 Up: Map Next: EE8D