Conversation Between TheRexion and Wichu
Showing Visitor Messages 1 to 3 of 3
-
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
-
April 10th, 2009 10: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
-
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?