mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Created and implemented GameData::Species
This commit is contained in:
@@ -29,7 +29,7 @@ class PokemonBoxIcon < IconSprite
|
||||
|
||||
def refresh
|
||||
return if !@pokemon
|
||||
self.setBitmap(pbPokemonIconFile(@pokemon))
|
||||
self.setBitmap(GameData::Species.icon_filename_from_pokemon(@pokemon))
|
||||
self.src_rect = Rect.new(0,0,self.bitmap.height,self.bitmap.height)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user