• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

How to change the size of trainer sprites

Cyberglass

the stuff Porygon are made of
  • 156
    Posts
    14
    Years
    • Seen Jun 1, 2022
    Is there any way to change the default size of trainer sprites? I would like to use trainer classes from the DS games, but those sprites are 160 pixels square (after doubling), while Essentials is set up for 128 pixels square. Since Pokémon sprites are already 160 px, there shouldn't be any issues space-wise on the screen, but I'm not sure which script sections I would need to change, or if it would even be wise to do so.
     
    PokeBattle_Scene, around line 1594, are the following two lines of code:

    Code:
        pawidth=128
        pbwidth=128

    Try changing those to 160 and see what happens. Not sure if it'll work, but it's promising.
     
    Actually, now that I'm looking at the scripts it looks like this was fixed already in v15 or 15.1 so that the game just grabs the actual dimensions of the trainer sprite you're using. Just tried switching to the newer Bug Catcher sprite in v15.1 without any other changes, and it worked perfectly. Whoops! I guess that teaches me to try things out instead of relying on the wiki so much.
     
    Back
    Top