![]() |
Routines |
Prev: EC94 | Up: Map | Next: ECBE |
|
||||
ECA2 | LD A,$27 | Call AED1 with item 27: "An armed warrior (You may not pass)". | ||
ECA4 | CALL $AED1 | |||
ECA7 | CP $1B | Return if the armed warrior is not in room 1B: The Causeway. | ||
ECA9 | RET NZ | |||
To pass the armed warrior the player needs "A bronze helmet" in their inventory.
|
||||
ECAA | LD A,$1F | Call CheckObjectInInventory with item 1F: "A bronze helmet". | ||
ECAC | CALL CheckObjectInInventory | |||
ECAF | JR Z,$ECB7 | Jump to ECB7 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?
|
||||
ECB1 | LD A,$20 | Call CheckObjectInInventory with item 20: "A bronze helmet (worn)". | ||
ECB3 | CALL CheckObjectInInventory | |||
ECB6 | RET NZ | Return if the player doesn't have "A bronze helmet (worn)" in their inventory. | ||
ECB7 | LD BC,$2728 | Call TransformItem to transform item 27 ("An armed warrior (You may not pass)") into item 28 ("An armed warrior (Welcome Warlor)"). | ||
ECBA | CALL TransformItem | |||
ECBD | RET | Return. |
Prev: EC94 | Up: Map | Next: ECBE |