- Joined
- Oct 28, 2023
- Posts
- 275
I will try.Just replace this function in this plugin:
Ruby: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: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