![]() |
Routines |
| Prev: 62961 | Up: Map | Next: 63116 |
|
Used by the routine at Action_Open.
Open the chest when the player has already found it.
|
||||
| Handler_OpenTheChest | 63077 | LD HL,59412 | Jump to Handler_OpenTheChest_Next unless the player named the witch. | |
| 63080 | CALL Parser_AdvanceToSeparator | |||
| 63083 | JR NZ,Handler_OpenTheChest_Next | |||
| 63085 | LD A,11 | Jump to Response_YouCantItsLocked when object 11 (the chest) is here. | ||
| 63087 | CALL IsObjectInCurrentRoom | |||
| 63090 | JP Z,Response_YouCantItsLocked | |||
| 63093 | LD A,12 | Jump to Response_ItsAlreadyOpen if object 12 (the closed chest) is not here. | ||
| 63095 | CALL IsObjectInCurrentRoom | |||
| 63098 | JP NZ,Response_ItsAlreadyOpen | |||
| 63101 | LD BC,3085 | Replace object 12 (the closed chest) with object 13 (the open chest). | ||
| 63104 | CALL TransformItem | |||
|
Reply with "You open the chest,revealing
the Crystals of Vulcan,within.".
|
||||
| 63107 | LD HL,54792 | Print "You open the chest,revealing the Crystals of Vulcan,within." and return to the game loop. | ||
| 63110 | JP PrintResponse | |||
| Handler_OpenTheChest_Next | 63113 | JP Response_YouCant_GameLoop | Tell the player the command is impossible. | |
| Prev: 62961 | Up: Map | Next: 63116 |