summaryrefslogtreecommitdiff
path: root/data/maps/Route12
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-05 06:06:51 -0500
committerGitHub <noreply@github.com>2020-03-05 06:06:51 -0500
commit362cddc0f512d86af0d7e9bbf7c8edba2115c175 (patch)
tree9c24f5cc84e71ea519ae1f8ccb32135556f58244 /data/maps/Route12
parent437fe6631adfe04ce89f966c189b7b015d81cf26 (diff)
parent102744163be40ec7fdab95beafac819d1e118bb5 (diff)
Merge pull request #285 from GriffinRichards/doc-scriptclean
Clean up script documentation
Diffstat (limited to 'data/maps/Route12')
-rw-r--r--data/maps/Route12/map.json4
-rw-r--r--data/maps/Route12/scripts.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/Route12/map.json b/data/maps/Route12/map.json
index ee56fb220..d9baf947c 100644
--- a/data/maps/Route12/map.json
+++ b/data/maps/Route12/map.json
@@ -145,7 +145,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "EventScript_InteractWithCutTreeObject",
+ "script": "EventScript_CutTree",
"flag": "FLAG_TEMP_12"
},
{
@@ -210,7 +210,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "EventScript_InteractWithCutTreeObject",
+ "script": "EventScript_CutTree",
"flag": "FLAG_TEMP_13"
}
],
diff --git a/data/maps/Route12/scripts.inc b/data/maps/Route12/scripts.inc
index 9fe6d2e39..9ace7b7b0 100644
--- a/data/maps/Route12/scripts.inc
+++ b/data/maps/Route12/scripts.inc
@@ -30,7 +30,7 @@ Route12_EventScript_Snorlax:: @ 8168014
setflag FLAG_WOKE_UP_ROUTE_12_SNORLAX
dowildbattle
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
- specialvar VAR_RESULT, Special_GetBattleOutcome
+ specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq Route12_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN