egg sprites

This commit is contained in:
infinitefusion
2022-04-24 17:08:57 -04:00
parent c01641e73c
commit 002ee032c7
11 changed files with 40 additions and 7 deletions

View File

@@ -913,6 +913,14 @@ class PokemonSummary_Scene
def pbChangePokemon
@pokemon = @party[@partyindex]
@sprites["pokemon"].setPokemonBitmap(@pokemon)
if @pokemon.egg?
@sprites["pokemon"].zoom_x = Settings::EGGSPRITE_SCALE
@sprites["pokemon"].zoom_y = Settings::EGGSPRITE_SCALE
else
@sprites["pokemon"].zoom_x = Settings::FRONTSPRITE_SCALE
@sprites["pokemon"].zoom_y = Settings::FRONTSPRITE_SCALE
end
@sprites["itemicon"].item = @pokemon.item_id
pbSEStop
@pokemon.play_cry