![]() |
Routines |
| Prev: F68C | Up: Map | Next: F71B |
|
Used by the routine at Action_Close.
Close the chest.
|
||||
| Handler_CloseTheChest | F6FD | LD HL,$E814 | Jump to Handler_CloseTheChest_Next unless the player named the witch. | |
| F700 | CALL Parser_AdvanceToSeparator | |||
| F703 | JR NZ,Handler_CloseTheChest_Next | |||
| F705 | LD A,$0B | Jump to Response_ItsAlreadyClosed when object 0B (the chest) is here. | ||
| F707 | CALL IsObjectInCurrentRoom | |||
| F70A | JP Z,Response_ItsAlreadyClosed | |||
| F70D | LD A,$0C | Jump to Response_ItsAlreadyClosed when object 0C (the closed chest) is here. | ||
| F70F | CALL IsObjectInCurrentRoom | |||
| F712 | JP Z,Response_ItsAlreadyClosed | |||
| F715 | JP Response_IDontSeeThePoint | Jump back to Response_IDontSeeThePoint to say there is no point. | ||
| Handler_CloseTheChest_Next | F718 | JP Response_YouCant_GameLoop | Tell the player the command is impossible. | |
| Prev: F68C | Up: Map | Next: F71B |