pokeemerald/data/maps/Underwater_SealedChamber/scripts.inc

29 lines
821 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
compare VAR_0x8004, 12
2019-11-07 02:38:53 +01:00
goto_if_ne Underwater_SealedChamber_EventScript_SurfaceRoute134
compare VAR_0x8005, 44
2019-11-07 02:38:53 +01:00
goto_if_ne Underwater_SealedChamber_EventScript_SurfaceRoute134
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, 255, 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, 255, 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
2019-11-07 02:38:53 +01:00
braillemessage Underwater_SealedChamber_Braille_GoUpHere
2017-11-10 02:21:31 +01:00
waitbuttonpress
2019-10-31 22:00:37 +01:00
closebraillemessage
2017-11-10 02:21:31 +01:00
releaseall
end