Go Back   The PokéCommunity Forums > Ashedragon

Notices
For all updates, view the main page.



Conversation Between Ashedragon and Wichu
Showing Visitor Messages 1 to 3 of 3
  1. Ashedragon
    April 19th, 2009 12:03 PM
    Ashedragon
    Now I've got another problem for the fix you gave me,
    #1 It does not work for trainer battles
    #2 when you first go to a pokemon's status screen
    it is still in the wrong place, but when you switch
    it's fine, and if you switch back it fine again
  2. Wichu
    April 10th, 2009 02:51 AM
    Wichu
    Well, I can't really fix them, since the D/P sprites are 80x80, and therefore resizing them will always make them look distorted.
    Anyway, I think there's a bug in Essentials regarding using differently-sized sprites. Find these lines in PokemonUtilities:
    def pbPositionPokemonSprite(sprite,left,top)
    if sprite.bitmap && !sprite.bitmap.disposed?
    sprite.x=left+(sprite.bitmap.width-128)/2
    sprite.y=top+(sprite.bitmap.height-128)/2
    else
    sprite.x=left
    sprite.y=top
    end
    end
    And replace them with these:
    def pbPositionPokemonSprite(sprite,left,top)
    if sprite.bitmap && !sprite.bitmap.disposed?
    sprite.x=left+(128-sprite.bitmap.width)/2
    sprite.y=top+(128-sprite.bitmap.height)/2
    else
    sprite.x=left
    sprite.y=top
    end
    end
  3. Ashedragon
    April 9th, 2009 12:56 PM
    Ashedragon
    The x160 Pokemon Platinum Sprites are not in the right place, i don't know what's wrong. But the 128X Sprites are but they don't look that good. Can you fix them?

All times are UTC -8. The time now is 04:45 PM.