Added stat for cancelled evolutions

This commit is contained in:
Maruno17
2021-11-13 23:16:22 +00:00
parent c6ecf60172
commit 46a92a33ef
2 changed files with 3 additions and 1 deletions

View File

@@ -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