mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
25 lines
756 B
C++
25 lines
756 B
C++
Underwater_SealedChamber_MapScripts::
|
|
map_script MAP_SCRIPT_ON_DIVE_WARP, Underwater_SealedChamber_OnDive
|
|
.byte 0
|
|
|
|
Underwater_SealedChamber_OnDive:
|
|
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
|
|
goto Underwater_SealedChamber_EventScript_SurfaceSealedChamber
|
|
|
|
Underwater_SealedChamber_EventScript_SurfaceRoute134::
|
|
setdivewarp MAP_ROUTE134, 60, 31
|
|
end
|
|
|
|
Underwater_SealedChamber_EventScript_SurfaceSealedChamber::
|
|
setdivewarp MAP_SEALED_CHAMBER_OUTER_ROOM, 10, 19
|
|
end
|
|
|
|
Underwater_SealedChamber_EventScript_Braille::
|
|
lockall
|
|
braillemsgbox Underwater_SealedChamber_Braille_GoUpHere
|
|
releaseall
|
|
end
|
|
|