mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Improved console messages when compiling didn't happen, egg crack graphics are now found in the same way as egg graphics
This commit is contained in:
@@ -28,9 +28,7 @@ class PokemonEggHatch_Scene
|
||||
@pokemon.form, @pokemon.shiny?,
|
||||
false, false, true) # Egg sprite
|
||||
# Load egg cracks bitmap
|
||||
crackfilename = sprintf("Graphics/Pokemon/Eggs/%s_cracks", @pokemon.species)
|
||||
crackfilename = sprintf("Graphics/Pokemon/Eggs/000_cracks") if !pbResolveBitmap(crackfilename)
|
||||
crackfilename = pbResolveBitmap(crackfilename)
|
||||
crackfilename = GameData::Species.egg_cracks_sprite_filename(@pokemon.species, @pokemon.form)
|
||||
@hatchSheet = AnimatedBitmap.new(crackfilename)
|
||||
# Create egg cracks sprite
|
||||
@sprites["hatch"] = Sprite.new(@viewport)
|
||||
|
||||
Reference in New Issue
Block a user