mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed: player's legs staying invisible when map transferring from tall grass, error when showing the Move Relearner a Pokémon that has no level-up moves it can relearn, Trainer Type Editor spamming the console when selecting the "new" option
This commit is contained in:
@@ -481,7 +481,11 @@ class TrainerTypeLister
|
||||
@sprite.bitmap.dispose if @sprite.bitmap
|
||||
return if index < 0
|
||||
begin
|
||||
@sprite.setBitmap(GameData::TrainerType.front_sprite_filename(@ids[index]), 0)
|
||||
if @ids[index].is_a?(Symbol)
|
||||
@sprite.setBitmap(GameData::TrainerType.front_sprite_filename(@ids[index]), 0)
|
||||
else
|
||||
@sprite.setBitmap(nil)
|
||||
end
|
||||
rescue
|
||||
@sprite.setBitmap(nil)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user