Prev: 63116 Up: Map Next: 63259
63229: Handler: Close The Chest
Used by the routine at Action_Close.
Close the chest.
Handler_CloseTheChest 63229 LD HL,59412 Jump to Handler_CloseTheChest_Next unless the player named the witch.
63232 CALL Parser_AdvanceToSeparator
63235 JR NZ,Handler_CloseTheChest_Next
63237 LD A,11 Jump to Response_ItsAlreadyClosed when object 11 (the chest) is here.
63239 CALL IsObjectInCurrentRoom
63242 JP Z,Response_ItsAlreadyClosed
63245 LD A,12 Jump to Response_ItsAlreadyClosed when object 12 (the closed chest) is here.
63247 CALL IsObjectInCurrentRoom
63250 JP Z,Response_ItsAlreadyClosed
63253 JP Response_IDontSeeThePoint Jump back to Response_IDontSeeThePoint to say there is no point.
Handler_CloseTheChest_Next 63256 JP Response_YouCant_GameLoop Tell the player the command is impossible.
Prev: 63116 Up: Map Next: 63259