mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
131 lines
3.4 KiB
PHP
131 lines
3.4 KiB
PHP
SealedChamber_OuterRoom_MapScripts:: @ 8239106
|
|
map_script MAP_SCRIPT_ON_RESUME, SealedChamber_OuterRoom_OnResume
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SealedChamber_OuterRoom_OnTransition
|
|
map_script MAP_SCRIPT_ON_LOAD, SealedChamber_OuterRoom_OnLoad
|
|
.byte 0
|
|
|
|
SealedChamber_OuterRoom_OnResume: @ 8239116
|
|
setdivewarp MAP_UNDERWATER_SEALED_CHAMBER, 255, 12, 44
|
|
setescapewarp MAP_UNDERWATER_SEALED_CHAMBER, 255, 12, 44
|
|
end
|
|
|
|
SealedChamber_OuterRoom_OnTransition: @ 8239127
|
|
setflag FLAG_LANDMARK_SEALED_CHAMBER
|
|
end
|
|
|
|
SealedChamber_OuterRoom_OnLoad: @ 823912B
|
|
call_if_unset FLAG_SYS_BRAILLE_DIG, SealedChamber_OuterRoom_EventScript_CloseInnerRoomEntrance
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_CloseInnerRoomEntrance:: @ 8239135
|
|
setmetatile 9, 1, METATILE_Cave_EntranceCover, 1
|
|
setmetatile 10, 1, METATILE_Cave_EntranceCover, 1
|
|
setmetatile 11, 1, METATILE_Cave_EntranceCover, 1
|
|
setmetatile 9, 2, METATILE_Cave_SealedChamberBraille_Mid, 1
|
|
setmetatile 10, 2, METATILE_Cave_SealedChamberBraille_Mid, 1
|
|
setmetatile 11, 2, METATILE_Cave_SealedChamberBraille_Mid, 1
|
|
return
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleABC:: @ 823916C
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_ABC
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleGHI:: @ 8239176
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_GHI
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleMNO:: @ 8239180
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_MNO
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleTUV:: @ 823918A
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_TUV
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleDEF:: @ 8239194
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_DEF
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleJKL:: @ 823919E
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_JKL
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BraillePQRS:: @ 82391A8
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_PQRS
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BraillePeriod:: @ 82391B2
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_Period
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleWXYZ:: @ 82391BC
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_WXYZ
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleComma:: @ 82391C6
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_Comma
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_InnerRoomEntranceWall:: @ 82391D0
|
|
lockall
|
|
goto_if_set FLAG_SYS_BRAILLE_DIG, SealedChamber_OuterRoom_EventScript_HoleInWall
|
|
braillemessage SealedChamber_OuterRoom_Braille_DigHere
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_HoleInWall:: @ 82391E3
|
|
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
SealedChamber_OuterRoom_EventScript_BrailleDigHere:: @ 82391ED
|
|
lockall
|
|
braillemessage SealedChamber_OuterRoom_Braille_DigHere
|
|
waitbuttonpress
|
|
closebraillemessage
|
|
releaseall
|
|
end
|
|
|