Made a set of PBS files for Shadow Pokémon data, grouped shadow_pokemon.txt with it

This commit is contained in:
Maruno17
2023-01-22 22:25:20 +00:00
parent 3d9c3e2c00
commit f6213057d8
8 changed files with 271 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ class Pokemon
# Record this Pokémon's Shadow moves
if data
data.moves.each do |m|
@shadow_moves.push(m.to_sym) if GameData::Move.exists?(m.to_sym)
@shadow_moves.push(m) if GameData::Move.exists?(m)
break if @shadow_moves.length >= MAX_MOVES
end
end