diff options
| author | GriffinR <griffin.richards@comcast.net> | 2019-10-06 23:07:59 -0400 |
|---|---|---|
| committer | huderlem <huderlem@gmail.com> | 2019-10-07 16:36:47 -0500 |
| commit | bcf74df27f852f5e83393a76bd0e774a570579ca (patch) | |
| tree | 0a1f0c0c55b49309f0b940513cdde27a39764638 /data/maps/SouthernIsland_Interior/scripts.inc | |
| parent | 7ba11b7a1b4e8639cdd65ab147a24b430f6424c5 (diff) | |
Use B_OUTCOME constants for GetBattleOutcome
Diffstat (limited to 'data/maps/SouthernIsland_Interior/scripts.inc')
| -rw-r--r-- | data/maps/SouthernIsland_Interior/scripts.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/SouthernIsland_Interior/scripts.inc b/data/maps/SouthernIsland_Interior/scripts.inc index 6283516b0..7f4a55f29 100644 --- a/data/maps/SouthernIsland_Interior/scripts.inc +++ b/data/maps/SouthernIsland_Interior/scripts.inc @@ -9,7 +9,7 @@ SouthernIsland_Interior_MapScript1_242A50: @ 8242A50 SouthernIsland_Interior_EventScript_242A5A:: @ 8242A5A specialvar VAR_RESULT, GetBattleOutcome - compare VAR_RESULT, 7 + compare VAR_RESULT, B_OUTCOME_CAUGHT goto_if_ne Common_EventScript_NopReturn removeobject 2 return @@ -86,11 +86,11 @@ SouthernIsland_Interior_EventScript_242AD0:: @ 8242AD0 waitstate clearflag FLAG_SYS_CTRL_OBJ_DELETE specialvar VAR_RESULT, GetBattleOutcome - compare VAR_RESULT, 1 + compare VAR_RESULT, B_OUTCOME_WON goto_if_eq SouthernIsland_Interior_EventScript_242B81 - compare VAR_RESULT, 4 + compare VAR_RESULT, B_OUTCOME_RAN goto_if_eq SouthernIsland_Interior_EventScript_242B8F - compare VAR_RESULT, 5 + compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED goto_if_eq SouthernIsland_Interior_EventScript_242B8F setflag FLAG_CAUGHT_LATIAS_OR_LATIOS releaseall |
