summaryrefslogtreecommitdiff
path: root/data/maps/Route16/scripts.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-23 10:24:11 -0500
committerGitHub <noreply@github.com>2020-01-23 10:24:11 -0500
commita01d83a4341cd0cdad01fe2d0b96920301257f2a (patch)
treeac4f4ce6086d4664ea49d515759a8044ecd1d973 /data/maps/Route16/scripts.inc
parente7cd8c59f4ca0f6c56a3b3782c21e896c203694e (diff)
parent91099dbd0c451188742bf045a26a036e0e8d9f89 (diff)
Merge branch 'master' into sync-ai
Diffstat (limited to 'data/maps/Route16/scripts.inc')
-rw-r--r--data/maps/Route16/scripts.inc44
1 files changed, 22 insertions, 22 deletions
diff --git a/data/maps/Route16/scripts.inc b/data/maps/Route16/scripts.inc
index ec6e7270b..1d7c6657c 100644
--- a/data/maps/Route16/scripts.inc
+++ b/data/maps/Route16/scripts.inc
@@ -5,39 +5,39 @@ Route16_MapScripts:: @ 81680E5
.byte 0
Route16_OnResume:: @ 81680F5
- call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_1680FF
+ call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route16_EventScript_RemoveSnorlax
end
-EventScript_1680FF:: @ 81680FF
+Route16_EventScript_RemoveSnorlax:: @ 81680FF
removeobject VAR_LAST_TALKED
return
Route16_OnTransition:: @ 8168103
compare VAR_MAP_SCENE_ROUTE16, 1
- call_if_eq EventScript_16810F
+ call_if_eq Route16_EventScript_EnterCyclingRoad
end
-EventScript_16810F:: @ 816810F
+Route16_EventScript_EnterCyclingRoad:: @ 816810F
setflag FLAG_SYS_ON_CYCLING_ROAD
return
Route16_OnWarp:: @ 8168113
- map_script_2 VAR_MAP_SCENE_ROUTE16, 1, EventScript_16811D
+ map_script_2 VAR_MAP_SCENE_ROUTE16, 1, Route16_EventScript_WarpIntoCyclingRoad
.2byte 0
-EventScript_16811D:: @ 816811D
+Route16_EventScript_WarpIntoCyclingRoad:: @ 816811D
special Special_ForcePlayerOntoBike
end
-Route16_EventScript_168121:: @ 8168121
+Route16_EventScript_Snorlax:: @ 8168121
lock
faceplayer
- goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_1681A3
+ goto_if_unset FLAG_GOT_POKE_FLUTE, Route16_EventScript_SnorlaxNoPokeFlute
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
- msgbox gUnknown_81853CC, MSGBOX_YESNO
+ msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq EventScript_168197
+ goto_if_eq Route16_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse
@@ -50,32 +50,32 @@ Route16_EventScript_168121:: @ 8168121
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
- goto_if_eq EventScript_168199
+ goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN
- goto_if_eq EventScript_168199
+ goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
- goto_if_eq EventScript_168199
+ goto_if_eq Route16_EventScript_FoughtSnorlax
release
end
-EventScript_168197:: @ 8168197
+Route16_EventScript_DontUsePokeFlute:: @ 8168197
release
end
-EventScript_168199:: @ 8168199
- msgbox gUnknown_8185383
+Route16_EventScript_FoughtSnorlax:: @ 8168199
+ msgbox Text_SnorlaxReturnedToMountains
release
end
-EventScript_1681A3:: @ 81681A3
- msgbox gUnknown_8186F3D
+Route16_EventScript_SnorlaxNoPokeFlute:: @ 81681A3
+ msgbox Route16_Text_MonSprawledOutInSlumber
release
end
-Route16_EventScript_1681AD:: @ 81681AD
- msgbox gUnknown_8186F7A, MSGBOX_SIGN
+Route16_EventScript_CyclingRoadSign:: @ 81681AD
+ msgbox Route16_Text_CyclingRoadSign, MSGBOX_SIGN
end
-Route16_EventScript_1681B6:: @ 81681B6
- msgbox gUnknown_8186F98, MSGBOX_SIGN
+Route16_EventScript_RouteSign:: @ 81681B6
+ msgbox Route16_Text_RouteSign, MSGBOX_SIGN
end