Fixed evolution-related code causing errors in Battle Frontier battles

This commit is contained in:
Maruno17
2021-12-11 16:05:45 +00:00
parent c1695dd21b
commit 85bf1a334c
3 changed files with 10 additions and 3 deletions

View File

@@ -591,6 +591,7 @@ Events.onEndBattle += proc { |_sender,e|
(decision!=2 && decision!=5) # not a loss or a draw
$game_temp.party_levels_before_battle = nil
$game_temp.party_critical_hits_dealt = nil
$game_temp.party_direct_damage_taken = nil
# Check for blacking out or gaining Pickup/Huney Gather items
case decision
when 1, 4 # Win, capture