summaryrefslogtreecommitdiff
path: root/data/maps/Route12
diff options
context:
space:
mode:
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