Prev: 43612 Up: Map Next: 43665
43636: Event: The Hole Vanishes
Makes 11 - "Mountains Side Door" invisible, then at location 42 prints that the hole vanishes. The hole record at 51909 calls this.
Event_TheHoleVanishes 43636 LD HL,49852 Return if 11 - "Mountains Side Door" is open.
43639 BIT 5,(HL)
43641 RET NZ
43642 LD A,(51907) Store the object's location in the hole script.
43645 LD (51908),A
43648 LD HL,49852 Make 11 - "Mountains Side Door" invisible, and return if the current location is not 42.
43651 RES 7,(HL)
43653 LD A,(49451)
43656 CP 42
43658 RET NZ
This entry point is used by the routine at Event_CloseTheHole.
Event_TheHoleVanishes_PrintTheVanishing 43659 LD HL,45732 Point at the message "the hole vanish(s|d|ing|es)[0x15]" (45732).
43662 JP PrintMessage Jump back to PrintMessage to print "the hole vanish(s|d|ing|es)".
Prev: 43612 Up: Map Next: 43665