Refining event evolution mechanics

This commit is contained in:
Maruno17
2021-11-07 21:20:47 +00:00
parent 34ab0b8afe
commit 15babcf835
6 changed files with 23 additions and 64 deletions

View File

@@ -1025,8 +1025,8 @@ class Pokemon
return nil
end
def trigger_event_evolution(value = 0)
new_species = check_evolution_by_event(value)
def trigger_event_evolution(number)
new_species = check_evolution_by_event(number)
if new_species
pbFadeOutInWithMusic {
evo = PokemonEvolutionScene.new