diff options
| author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-03-05 06:06:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 06:06:51 -0500 |
| commit | 362cddc0f512d86af0d7e9bbf7c8edba2115c175 (patch) | |
| tree | 9c24f5cc84e71ea519ae1f8ccb32135556f58244 /data/maps/Route16 | |
| parent | 437fe6631adfe04ce89f966c189b7b015d81cf26 (diff) | |
| parent | 102744163be40ec7fdab95beafac819d1e118bb5 (diff) | |
Merge pull request #285 from GriffinRichards/doc-scriptclean
Clean up script documentation
Diffstat (limited to 'data/maps/Route16')
| -rw-r--r-- | data/maps/Route16/map.json | 2 | ||||
| -rw-r--r-- | data/maps/Route16/scripts.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/Route16/map.json b/data/maps/Route16/map.json index f6f26ac5f..e9ddd5030 100644 --- a/data/maps/Route16/map.json +++ b/data/maps/Route16/map.json @@ -114,7 +114,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" }, { diff --git a/data/maps/Route16/scripts.inc b/data/maps/Route16/scripts.inc index 27a5efccc..62d47983f 100644 --- a/data/maps/Route16/scripts.inc +++ b/data/maps/Route16/scripts.inc @@ -26,7 +26,7 @@ Route16_OnWarp:: @ 8168113 .2byte 0 Route16_OnWarpCyclingRoad:: @ 816811D - special Special_ForcePlayerOntoBike + special ForcePlayerOntoBike end Route16_EventScript_Snorlax:: @ 8168121 @@ -48,7 +48,7 @@ Route16_EventScript_Snorlax:: @ 8168121 setflag FLAG_SYS_SPECIAL_WILD_BATTLE 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 Route16_EventScript_FoughtSnorlax compare VAR_RESULT, B_OUTCOME_RAN |
