From a0082c52f75e7fd6bd828ca740c20cf400e39087 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Fri, 12 Mar 2021 23:25:42 +0000 Subject: [PATCH] Fixed bug in previous commit --- Data/Scripts/019_Other battles/004_PBattle_OrgBattleRules.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/019_Other battles/004_PBattle_OrgBattleRules.rb b/Data/Scripts/019_Other battles/004_PBattle_OrgBattleRules.rb index c3d55b246..a6ab0844d 100644 --- a/Data/Scripts/019_Other battles/004_PBattle_OrgBattleRules.rb +++ b/Data/Scripts/019_Other battles/004_PBattle_OrgBattleRules.rb @@ -566,7 +566,7 @@ class UnevolvedFormRestriction ($babySpeciesData[pokemon.species] = pokemon.species_data.get_baby_species) return false if pokemon.species != baby canEvolve=($canEvolve[pokemon.species]!=nil) ? $canEvolve[pokemon.species] : - ($canEvolve[pokemon.species] = pokemon.species_data.get_evolutions(true).length > 0)) + ($canEvolve[pokemon.species] = pokemon.species_data.get_evolutions(true).length > 0) return false if !canEvolve return true end