summaryrefslogtreecommitdiff
path: root/data/maps/AncientTomb/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/AncientTomb/scripts.inc')
-rw-r--r--data/maps/AncientTomb/scripts.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/data/maps/AncientTomb/scripts.inc b/data/maps/AncientTomb/scripts.inc
index 95dd85d28..40d9f0dff 100644
--- a/data/maps/AncientTomb/scripts.inc
+++ b/data/maps/AncientTomb/scripts.inc
@@ -1,34 +1,34 @@
-AncientTomb_MapScripts:: @ 8238FB3
+AncientTomb_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AncientTomb_OnResume
map_script MAP_SCRIPT_ON_LOAD, AncientTomb_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, AncientTomb_OnTransition
.byte 0
-AncientTomb_OnResume: @ 8238FC3
+AncientTomb_OnResume:
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AncientTomb_EventScript_TryRemoveRegisteel
end
-AncientTomb_EventScript_TryRemoveRegisteel:: @ 8238FCD
+AncientTomb_EventScript_TryRemoveRegisteel::
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
-AncientTomb_OnTransition: @ 8238FE1
+AncientTomb_OnTransition:
setflag FLAG_LANDMARK_ANCIENT_TOMB
call_if_unset FLAG_DEFEATED_REGISTEEL, AncientTomb_EventScript_ShowRegisteel
end
-AncientTomb_EventScript_ShowRegisteel:: @ 8238FEE
+AncientTomb_EventScript_ShowRegisteel::
clearflag FLAG_HIDE_REGISTEEL
return
-AncientTomb_OnLoad: @ 8238FF2
+AncientTomb_OnLoad:
call_if_unset FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_HideRegiEntrance
end
-AncientTomb_EventScript_HideRegiEntrance:: @ 8238FFC
+AncientTomb_EventScript_HideRegiEntrance::
setmetatile 7, 19, METATILE_Cave_EntranceCover, 1
setmetatile 8, 19, METATILE_Cave_EntranceCover, 1
setmetatile 9, 19, METATILE_Cave_EntranceCover, 1
@@ -37,7 +37,7 @@ AncientTomb_EventScript_HideRegiEntrance:: @ 8238FFC
setmetatile 9, 20, METATILE_Cave_SealedChamberBraille_Mid, 1
return
-AncientTomb_EventScript_CaveEntranceMiddle:: @ 8239033
+AncientTomb_EventScript_CaveEntranceMiddle::
lockall
goto_if_set FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_BigHoleInWall
braillemessage AncientTomb_Braille_ShineInTheMiddle
@@ -46,12 +46,12 @@ AncientTomb_EventScript_CaveEntranceMiddle:: @ 8239033
releaseall
end
-AncientTomb_EventScript_BigHoleInWall:: @ 8239046
+AncientTomb_EventScript_BigHoleInWall::
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
-AncientTomb_EventScript_CaveEntranceSide:: @ 8239050
+AncientTomb_EventScript_CaveEntranceSide::
lockall
braillemessage AncientTomb_Braille_ShineInTheMiddle
waitbuttonpress
@@ -59,7 +59,7 @@ AncientTomb_EventScript_CaveEntranceSide:: @ 8239050
releaseall
end
-AncientTomb_EventScript_Registeel:: @ 823905A
+AncientTomb_EventScript_Registeel::
lock
faceplayer
waitse
@@ -82,12 +82,12 @@ AncientTomb_EventScript_Registeel:: @ 823905A
release
end
-AncientTomb_EventScript_DefeatedRegisteel:: @ 82390A1
+AncientTomb_EventScript_DefeatedRegisteel::
setflag FLAG_DEFEATED_REGISTEEL
goto Common_EventScript_RemoveStaticPokemon
end
-AncientTomb_EventScript_RanFromRegisteel:: @ 82390AA
+AncientTomb_EventScript_RanFromRegisteel::
setvar VAR_0x8004, SPECIES_REGISTEEL
goto Common_EventScript_LegendaryFlewAway
end