pokeemerald/data/maps/SealedChamber_InnerRoom/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

90 lines
1.8 KiB
PHP

SealedChamber_InnerRoom_MapScripts:: @ 82391F7
.byte 0
SealedChamber_InnerRoom_EventScript_2391F8:: @ 82391F8
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6B99
waitbuttonpress
hidebox2
checkflag FLAG_0x0E4
goto_eq SealedChamber_InnerRoom_EventScript_239253
specialvar VAR_RESULT, CheckRelicanthWailord
compare VAR_RESULT, 0
goto_eq SealedChamber_InnerRoom_EventScript_239253
fadeoutbgm 0
playse SE_TRACK_MOVE
special DoSealedChamberShakingEffect1
waitstate
delay 40
special DoSealedChamberShakingEffect2
waitstate
playse SE_DOOR
delay 40
special DoSealedChamberShakingEffect2
waitstate
playse SE_DOOR
delay 40
special DoSealedChamberShakingEffect2
waitstate
playse SE_DOOR
delay 40
msgbox gUnknown_0827301B, MSGBOX_DEFAULT
closemessage
fadeinbgm 0
setflag FLAG_0x0E4
releaseall
end
SealedChamber_InnerRoom_EventScript_239253:: @ 8239253
releaseall
end
SealedChamber_InnerRoom_EventScript_239255:: @ 8239255
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6BCA
waitbuttonpress
hidebox2
releaseall
end
SealedChamber_InnerRoom_EventScript_23925F:: @ 823925F
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6BEC
waitbuttonpress
hidebox2
releaseall
end
SealedChamber_InnerRoom_EventScript_239269:: @ 8239269
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6C0D
waitbuttonpress
hidebox2
releaseall
end
SealedChamber_InnerRoom_EventScript_239273:: @ 8239273
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6C34
waitbuttonpress
hidebox2
releaseall
end
SealedChamber_InnerRoom_EventScript_23927D:: @ 823927D
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6C48
waitbuttonpress
hidebox2
releaseall
end
SealedChamber_InnerRoom_EventScript_239287:: @ 8239287
lockall
braillemessage SealedChamber_InnerRoom_Braille_2A6C73
waitbuttonpress
hidebox2
releaseall
end