View Single Post
  #17    
Old January 18th, 2015 (3:11 PM). Edited February 6th, 2015 by Luka S.J..
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
Jealous Croatian
     
    Join Date: Dec 2008
    Location: Croatia
    Age: 25
    Gender: Male
    Nature: Adamant
    Posts: 1,114
    Quote:
    Originally Posted by Luka S.J. View Post
    This was just an idea in development, I haven't fully implemented all of it yet, so I have not released an official tutorial. That being said, to fix your problem, go to the PokemonPokedex script, and in the class PokemonPokedexScene, under def setIconBitmap, replace
    Code:
    @sprites["icon"].setBitmap(file)
    with
    Code:
    @sprites["icon"].bitmap=AnimatedBitmapWrapper.new(file).bitmap
    Quote:
    Originally Posted by RiceGate View Post
    Replacing @sprites["icon"].bitmap=AnimatedBitmapWrapper.new(file).bitmap fixed the main Pokédex bug, but the Info page and Form Page still display all frames at once.
    But, like you said, "This was just an idea in development", so if you have time, that problem still need to be fixed.
    I'll keep trying to fix this problem by my own (but I'm not sure about my success).
    Anyway, great work, I'll look forward for your add-on.
    My apologies, I misunderstood you. I thought you only needed the fix for the main Pokedex page. In PokemonNestAndForm replace all AnimatedBitmap instances with my AnimatedBitmapWrapper. In PokemonPokedex, around line 727 you should see
    Code:
    pkmnbitmap=AnimatedBitmap.new(pbPokemonBitmapFile(species,false))
    replace the AnimatedBitmap part in that, with my AnimatedBitmapWrapper.


    *compatibility with EB2015
    __________________

    Reply With Quote