diff --git a/Data/Scripts/004_Game classes/013_Game_Stats.rb b/Data/Scripts/004_Game classes/013_Game_Stats.rb index 50f807066..a63624355 100644 --- a/Data/Scripts/004_Game classes/013_Game_Stats.rb +++ b/Data/Scripts/004_Game classes/013_Game_Stats.rb @@ -25,7 +25,7 @@ class GameStats attr_accessor :lottery_prize_count # Times won any prize at all # Pokémon attr_accessor :eggs_hatched - attr_accessor :evolution_count # Doesn't count cancelled evolutions + attr_accessor :evolution_count, :evolutions_cancelled attr_accessor :trade_count attr_accessor :moves_taught_by_item, :moves_taught_by_tutor, :moves_taught_by_reminder attr_accessor :day_care_deposits, :day_care_levels_gained @@ -96,6 +96,7 @@ class GameStats # Pokémon @eggs_hatched = 0 @evolution_count = 0 + @evolutions_cancelled = 0 @trade_count = 0 @moves_taught_by_item = 0 @moves_taught_by_tutor = 0 diff --git a/Data/Scripts/016_UI/001_Non-interactive UI/004_UI_Evolution.rb b/Data/Scripts/016_UI/001_Non-interactive UI/004_UI_Evolution.rb index a7a79fc79..a62265f59 100644 --- a/Data/Scripts/016_UI/001_Non-interactive UI/004_UI_Evolution.rb +++ b/Data/Scripts/016_UI/001_Non-interactive UI/004_UI_Evolution.rb @@ -558,6 +558,7 @@ class PokemonEvolutionScene end while metaplayer1.playing? && metaplayer2.playing? pbFlashInOut(canceled,oldstate,oldstate2) if canceled + $stats.evolutions_cancelled += 1 pbMessageDisplay(@sprites["msgwindow"], _INTL("Huh? {1} stopped evolving!",@pokemon.name)) { pbUpdate } else