mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 23:06:00 +00:00
Changed naming convention for various sprites, and added compiler script that renames files for this
This commit is contained in:
@@ -28,10 +28,10 @@ class PokemonEggHatch_Scene
|
||||
@pokemon.form, @pokemon.shiny?,
|
||||
false, false, true) # Egg sprite
|
||||
# Load egg cracks bitmap
|
||||
crackfilename = sprintf("Graphics/Battlers/%seggCracks", @pokemon.species)
|
||||
crackfilename = sprintf("Graphics/Pokemon/Eggs/%s_cracks", @pokemon.species)
|
||||
if !pbResolveBitmap(crackfilename)
|
||||
crackfilename = sprintf("Graphics/Battlers/%03deggCracks", @pokemon.species_data.id_number)
|
||||
crackfilename = sprintf("Graphics/Battlers/eggCracks") if !pbResolveBitmap(crackfilename)
|
||||
crackfilename = sprintf("Graphics/Pokemon/Eggs/%03d_cracks", @pokemon.species_data.id_number)
|
||||
crackfilename = sprintf("Graphics/Pokemon/Eggs/000_cracks") if !pbResolveBitmap(crackfilename)
|
||||
end
|
||||
crackfilename=pbResolveBitmap(crackfilename)
|
||||
@hatchSheet=AnimatedBitmap.new(crackfilename)
|
||||
|
||||
@@ -108,7 +108,7 @@ class RpgxpMartAdapter
|
||||
def getItemIcon(item)
|
||||
return nil if !item
|
||||
if item == 0
|
||||
return sprintf("Graphics/Icons/itemBack")
|
||||
return sprintf("Graphics/Items/back")
|
||||
elsif item.respond_to?("icon_index")
|
||||
return "Graphics/System/IconSet"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user