Prev: AA5C Up: Map Next: AA91
AA74: Event: The Hole Vanishes
Makes $0B - "Mountains Side Door" invisible, then at location 2A prints that the hole vanishes. The hole record at CAC5 calls this.
Event_TheHoleVanishes AA74 LD HL,$C2BC Return if $0B - "Mountains Side Door" is open.
AA77 BIT 5,(HL)
AA79 RET NZ
AA7A LD A,($CAC3) Store the object's location in the hole script.
AA7D LD ($CAC4),A
AA80 LD HL,$C2BC Make $0B - "Mountains Side Door" invisible, and return if the current location is not 2A.
AA83 RES 7,(HL)
AA85 LD A,($C12B)
AA88 CP $2A
AA8A RET NZ
This entry point is used by the routine at Event_CloseTheHole.
Event_TheHoleVanishes_PrintTheVanishing AA8B LD HL,$B2A4 Point at the message "the hole vanish(s|d|ing|es)[0x15]" (B2A4).
AA8E JP PrintMessage Jump back to PrintMessage to print "the hole vanish(s|d|ing|es)".
Prev: AA5C Up: Map Next: AA91