• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
More Pokédex Page : Size Comparison

Resource More Pokédex Page : Size Comparison 2.0.0

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
Just replace this function in this plugin:
Ruby:
Expand Collapse Copy
def self.height_sprite_bitmap(*params)
    bitmap = nil
    filename = self.height_sprite_filename(*params)
    return (bitmap) ? bitmap : (filename) ? AnimatedBitmap.new(filename) : nil
end

With this:
Ruby:
Expand Collapse Copy
def self.height_sprite_bitmap(*params)
    filename = self.height_sprite_filename(*params)
    if PluginManager.installed?("[DBK] Animated Pokémon System")
        sp_data = GameData::SpeciesMetrics.get_species_form(params[0], params[1], params[2] == 1)
        return (filename) ? DeluxeBitmapWrapper.new(filename, sp_data) : nil
    else
        return (filename) ? AnimatedBitmap.new(filename) : nil
    end
end
I will try.
 

Thobov

Novice
Member
Joined
Feb 11, 2019
Posts
16
Just replace this function in this plugin:
Ruby:
Expand Collapse Copy
def self.height_sprite_bitmap(*params)
    bitmap = nil
    filename = self.height_sprite_filename(*params)
    return (bitmap) ? bitmap : (filename) ? AnimatedBitmap.new(filename) : nil
end

With this:
Ruby:
Expand Collapse Copy
def self.height_sprite_bitmap(*params)
    filename = self.height_sprite_filename(*params)
    if PluginManager.installed?("[DBK] Animated Pokémon System")
        sp_data = GameData::SpeciesMetrics.get_species_form(params[0], params[1], params[2] == 1)
        return (filename) ? DeluxeBitmapWrapper.new(filename, sp_data) : nil
    else
        return (filename) ? AnimatedBitmap.new(filename) : nil
    end
end
Thanks a lot, truly!
 
Back
Top