![]() |
Routines |
| Prev: EC04 | Up: Map | Next: EC3A |
|
Take the key that is here, or ask the player to be more specific.
|
||||
| Take_Key | EC1F | LD HL,$E51D | HL=Data_ItemGroup_Key. | |
| EC22 | CALL FindActiveScenicEvent | Call FindActiveScenicEvent. | ||
| EC25 | CP $02 | Jump to Response_PleaseBeMoreSpecific if more than one key is present. | ||
| EC27 | JP NC,Response_PleaseBeMoreSpecific | |||
| EC2A | LD HL,$E51D | HL=Data_ItemGroup_Key. | ||
| EC2D | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||
| EC30 | CP $28 | Jump to Take_JewelledKey if the key is "A jewelled key.". | ||
| EC32 | JP Z,Take_JewelledKey | |||
| EC35 | CP $47 | Jump to Take_GoldKey if the key is "A gold key.". | ||
| EC37 | JP Z,Take_GoldKey | |||
|
Continue on to Take_CopperKey.
|
||||
| Prev: EC04 | Up: Map | Next: EC3A |