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

@@ -542,6 +542,7 @@ module Compiler
# Compile Shadow Pokémon data
#=============================================================================
def compile_shadow_pokemon(*paths)
return if !safeExists?("PBS/shadow_pokemon.txt")
compile_PBS_file_generic(GameData::ShadowPokemon, *paths) do |final_validate, hash|
(final_validate) ? validate_all_compiled_shadow_pokemon : validate_compiled_shadow_pokemon(hash)
end