pokeemerald/data/maps/Underwater_SealedChamber/scripts.inc

29 lines
871 B
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Underwater_SealedChamber_MapScripts:: @ 82390C4
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
2019-11-07 02:38:53 +01:00
Underwater_SealedChamber_OnDive: @ 82390CA
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
2019-11-07 02:38:53 +01:00
Underwater_SealedChamber_EventScript_SurfaceRoute134:: @ 82390EA
setdivewarp MAP_ROUTE134, 255, 60, 31
2017-11-10 02:21:31 +01:00
end
2019-11-07 02:38:53 +01:00
Underwater_SealedChamber_EventScript_SurfaceSealedChamber:: @ 82390F3
setdivewarp MAP_SEALED_CHAMBER_OUTER_ROOM, 255, 10, 19
2017-11-10 02:21:31 +01:00
end
2019-11-07 02:38:53 +01:00
Underwater_SealedChamber_EventScript_Braille:: @ 82390FC
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