Use B_OUTCOME constants for GetBattleOutcome

This commit is contained in:
GriffinR authored and huderlem committed 2019-10-07 16:36:47 -05:00
1 parent 7ba11b7a1b
commit bcf74df27f
17 files changed
+79 -79

No files matched your search

+3 -3
View File
@@ -79,11 +79,11 @@ Route119_EventScript_272365:: @ 8272365
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_RemoveKecleon
compare VAR_RESULT, 4
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_RemoveKecleon
compare VAR_RESULT, 5
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_RemoveKecleon
release
end