Merged species Type1/Type2 into Types, did the same for Pokemon and Battler

This commit is contained in:
Maruno17
2021-11-22 23:55:28 +00:00
parent a5f91f62ea
commit 00c2df5772
33 changed files with 3756 additions and 5552 deletions

View File

@@ -192,10 +192,7 @@ class Battle::Battler
__shadow__pbInitPokemon(*arg)
# Called into battle
if shadowPokemon?
if GameData::Type.exists?(:SHADOW)
self.type1 = :SHADOW
self.type2 = :SHADOW
end
self.types = [:SHADOW] if GameData::Type.exists?(:SHADOW)
self.pokemon.change_heart_gauge("battle") if pbOwnedByPlayer?
end
end