summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_OutsideEast
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-16 04:22:34 -0400
committerGitHub <noreply@github.com>2019-10-16 04:22:34 -0400
commitb4a9298205ee9355fadd4455a9b8f692dcd3e787 (patch)
tree156f18275a5187ae20fc5f5c3a72d61635f126ec /data/maps/BattleFrontier_OutsideEast
parent20fa13616f3ad2ec2f7d68668b9f386355a10fa7 (diff)
parent60a592a2c32d07d47c892204659a8576017584d1 (diff)
Merge branch 'master' into document-gyms2
Diffstat (limited to 'data/maps/BattleFrontier_OutsideEast')
-rw-r--r--data/maps/BattleFrontier_OutsideEast/scripts.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/BattleFrontier_OutsideEast/scripts.inc b/data/maps/BattleFrontier_OutsideEast/scripts.inc
index 3873c5c01..5170716d7 100644
--- a/data/maps/BattleFrontier_OutsideEast/scripts.inc
+++ b/data/maps/BattleFrontier_OutsideEast/scripts.inc
@@ -9,7 +9,7 @@ BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
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
@@ -133,11 +133,11 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
- compare VAR_RESULT, 1
+ compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
- compare VAR_RESULT, 4
+ compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
- compare VAR_RESULT, 5
+ compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
setflag FLAG_DEFEATED_SUDOWOODO
release