pokeemerald/data/maps/Underwater_SealedChamber/scripts.inc

25 lines
756 B
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Underwater_SealedChamber_MapScripts::
2019-11-07 02:38:53 +01:00
map_script MAP_SCRIPT_ON_DIVE_WARP, Underwater_SealedChamber_OnDive
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
Underwater_SealedChamber_OnDive:
2017-11-10 02:21:31 +01:00
getplayerxy VAR_0x8004, VAR_0x8005
goto_if_ne VAR_0x8004, 12, Underwater_SealedChamber_EventScript_SurfaceRoute134
goto_if_ne VAR_0x8005, 44, Underwater_SealedChamber_EventScript_SurfaceRoute134
2019-11-07 02:38:53 +01:00
goto Underwater_SealedChamber_EventScript_SurfaceSealedChamber
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
Underwater_SealedChamber_EventScript_SurfaceRoute134::
setdivewarp MAP_ROUTE134, 60, 31
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Underwater_SealedChamber_EventScript_SurfaceSealedChamber::
setdivewarp MAP_SEALED_CHAMBER_OUTER_ROOM, 10, 19
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Underwater_SealedChamber_EventScript_Braille::
2017-11-10 02:21:31 +01:00
lockall
2021-10-30 22:19:10 +02:00
braillemsgbox Underwater_SealedChamber_Braille_GoUpHere
2017-11-10 02:21:31 +01:00
releaseall
end