pokeemerald/data/maps/SealedChamber_InnerRoom/scripts.inc

74 lines
1.8 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleBackWall::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_FirstWailordLastRelicanth
2019-11-07 02:38:53 +01:00
goto_if_set FLAG_REGI_DOORS_OPENED, SealedChamber_InnerRoom_EventScript_NoEffect
2017-11-10 02:21:31 +01:00
specialvar VAR_RESULT, CheckRelicanthWailord
goto_if_eq VAR_RESULT, FALSE, SealedChamber_InnerRoom_EventScript_NoEffect
2017-11-10 02:21:31 +01:00
fadeoutbgm 0
2020-08-21 00:02:00 +02:00
playse SE_TRUCK_MOVE
2021-10-30 17:59:14 +02:00
special DoSealedChamberShakingEffect_Long
2017-11-10 02:21:31 +01:00
waitstate
delay 40
2021-10-30 17:59:14 +02:00
special DoSealedChamberShakingEffect_Short
2017-11-10 02:21:31 +01:00
waitstate
playse SE_DOOR
delay 40
2021-10-30 17:59:14 +02:00
special DoSealedChamberShakingEffect_Short
2017-11-10 02:21:31 +01:00
waitstate
playse SE_DOOR
delay 40
2021-10-30 17:59:14 +02:00
special DoSealedChamberShakingEffect_Short
2017-11-10 02:21:31 +01:00
waitstate
playse SE_DOOR
delay 40
2019-08-15 05:38:42 +02:00
msgbox gText_DoorOpenedFarAway, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
fadeinbgm 0
2019-01-02 22:12:43 +01:00
setflag FLAG_REGI_DOORS_OPENED
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_NoEffect::
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart1::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_InThisCaveWeHaveLived
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart2::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_WeOweAllToThePokemon
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart3::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_ButWeSealedThePokemonAway
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart4::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_WeFearedIt
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart5::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_ThoseWithCourageHope
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
SealedChamber_InnerRoom_EventScript_BrailleStoryPart6::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox SealedChamber_InnerRoom_Braille_OpenDoorEternalPokemonWaits
2017-11-10 02:21:31 +01:00
releaseall
end