Prev: 60564 Up: Map Next: 60606
60578: Routine at ECA2
60578 LD A,39 Call 44753 with item 39: "An armed warrior (You may not pass)".
60580 CALL 44753
60583 CP 27 Return if the armed warrior is not in room 27: The Causeway.
60585 RET NZ
To pass the armed warrior the player needs "A bronze helmet" in their inventory.
60586 LD A,31 Call CheckObjectInInventory with item 31: "A bronze helmet".
60588 CALL CheckObjectInInventory
60591 JR Z,60599 Jump to 60599 if the player has "A bronze helmet" in their inventory.
The player doesn't have "A bronze helmet" in their inventory, but do they have "A bronze helmet (worn)" instead?
60593 LD A,32 Call CheckObjectInInventory with item 32: "A bronze helmet (worn)".
60595 CALL CheckObjectInInventory
60598 RET NZ Return if the player doesn't have "A bronze helmet (worn)" in their inventory.
60599 LD BC,10024 Call TransformItem to transform item 39 ("An armed warrior (You may not pass)") into item 40 ("An armed warrior (Welcome Warlor)").
60602 CALL TransformItem
60605 RET Return.
Prev: 60564 Up: Map Next: 60606