Fixed bug in previous commit

This commit is contained in:
Maruno17
2022-05-15 20:35:26 +01:00
parent 22f0c8627a
commit cf338b3a6a

View File

@@ -390,7 +390,7 @@ def pbBugContestBattle(species, level)
pbBugContestState.pbStartJudging
end
# Save the result of the battle in Game Variable 1
BattleCreationHelperMethods(decision, 1)
BattleCreationHelperMethods.set_outcome(decision, 1)
# Used by the Poké Radar to update/break the chain
EventHandlers.trigger(:on_wild_battle_end, species, level, decision)
# Return false if the player lost or drew the battle, and true if any other result