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/DesertRuins | |
| parent | 7ba11b7a1b4e8639cdd65ab147a24b430f6424c5 (diff) | |
Use B_OUTCOME constants for GetBattleOutcome
Diffstat (limited to 'data/maps/DesertRuins')
| -rw-r--r-- | data/maps/DesertRuins/scripts.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/DesertRuins/scripts.inc b/data/maps/DesertRuins/scripts.inc index 525bdff4a..dbadad2ab 100644 --- a/data/maps/DesertRuins/scripts.inc +++ b/data/maps/DesertRuins/scripts.inc @@ -10,7 +10,7 @@ DesertRuins_MapScript1_22D96B: @ 822D96B DesertRuins_EventScript_22D975:: @ 822D975 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 @@ -72,11 +72,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02 waitstate clearflag FLAG_SYS_CTRL_OBJ_DELETE specialvar VAR_RESULT, GetBattleOutcome - compare VAR_RESULT, 1 + compare VAR_RESULT, B_OUTCOME_WON goto_if_eq DesertRuins_EventScript_22DA49 - compare VAR_RESULT, 4 + compare VAR_RESULT, B_OUTCOME_RAN goto_if_eq DesertRuins_EventScript_22DA52 - compare VAR_RESULT, 5 + compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED goto_if_eq DesertRuins_EventScript_22DA52 setflag FLAG_DEFEATED_REGIROCK release |
