29 lines
821 B
PHP
Raw Normal View History

2021-07-20 15:18:31 -04:00
Underwater_SealedChamber_MapScripts::
2019-11-06 20:38:53 -05:00
map_script MAP_SCRIPT_ON_DIVE_WARP, Underwater_SealedChamber_OnDive
2017-11-09 19:21:31 -06:00
.byte 0
2021-07-20 15:18:31 -04:00
Underwater_SealedChamber_OnDive:
2017-11-09 19:21:31 -06:00
getplayerxy VAR_0x8004, VAR_0x8005
compare VAR_0x8004, 12
2019-11-06 20:38:53 -05:00
goto_if_ne Underwater_SealedChamber_EventScript_SurfaceRoute134
compare VAR_0x8005, 44
2019-11-06 20:38:53 -05:00
goto_if_ne Underwater_SealedChamber_EventScript_SurfaceRoute134
goto Underwater_SealedChamber_EventScript_SurfaceSealedChamber
2017-11-09 19:21:31 -06:00
2021-07-20 15:18:31 -04:00
Underwater_SealedChamber_EventScript_SurfaceRoute134::
setdivewarp MAP_ROUTE134, 255, 60, 31
2017-11-09 19:21:31 -06:00
end
2021-07-20 15:18:31 -04:00
Underwater_SealedChamber_EventScript_SurfaceSealedChamber::
setdivewarp MAP_SEALED_CHAMBER_OUTER_ROOM, 255, 10, 19
2017-11-09 19:21:31 -06:00
end
2021-07-20 15:18:31 -04:00
Underwater_SealedChamber_EventScript_Braille::
2017-11-09 19:21:31 -06:00
lockall
2019-11-06 20:38:53 -05:00
braillemessage Underwater_SealedChamber_Braille_GoUpHere
2017-11-09 19:21:31 -06:00
waitbuttonpress
2019-10-31 17:00:37 -04:00
closebraillemessage
2017-11-09 19:21:31 -06:00
releaseall
end