summaryrefslogtreecommitdiff
path: root/data/maps/Route120
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route120')
-rw-r--r--data/maps/Route120/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route120/scripts.inc b/data/maps/Route120/scripts.inc
index fa74c60cf..9a17e54a2 100644
--- a/data/maps/Route120/scripts.inc
+++ b/data/maps/Route120/scripts.inc
@@ -25,7 +25,7 @@ Route120_EventScript_1F5406:: @ 81F5406
Route120_EventScript_1F5449:: @ 81F5449
specialvar VAR_RESULT, GetBattleOutcome
- compare VAR_RESULT, 7
+ compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject 30
removeobject 36
@@ -33,7 +33,7 @@ Route120_EventScript_1F5449:: @ 81F5449
Route120_EventScript_1F5460:: @ 81F5460
specialvar VAR_RESULT, GetBattleOutcome
- compare VAR_RESULT, 7
+ compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
@@ -215,11 +215,11 @@ Route120_EventScript_1F568B:: @ 81F568B
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
- compare VAR_RESULT, 1
+ compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq Route120_EventScript_1F571C
- compare VAR_RESULT, 4
+ compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq Route120_EventScript_1F571C
- compare VAR_RESULT, 5
+ compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq Route120_EventScript_1F571C
goto Route120_EventScript_1F572C
end