Adds option for toggling custom eggs

This commit is contained in:
chardub
2025-02-16 16:16:32 -05:00
parent 28a982ce15
commit 541c98ba6b
4 changed files with 19 additions and 8 deletions

View File

@@ -46,6 +46,7 @@ def pbLoadPokemonBitmap(pokemon, species, back = false)
end
def getEggBitmapPath(pokemon)
return "Graphics/Battlers/Eggs/000" if $PokemonSystem.use_custom_eggs
bitmapFileName = sprintf("Graphics/Battlers/Eggs/%s", getConstantName(PBSpecies, pokemon.species)) rescue nil
if !pbResolveBitmap(bitmapFileName)
if pokemon.species >= NUM_ZAPMOLCUNO