• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Scripting Question] How can you use gen 6-7 party icon sprites?

  • 3
    Posts
    5
    Years
    • Seen Dec 16, 2021
    In Essentials, all Pokémon have a 128x64 pixel two-frame icon, used mainly in the party screen and Pokémon storage screen.

    The default sprites are those that were used from generations 3-5. I really want to update them to the ones used in generations 6-7.

    However, the dimensions of the new sprites end up being 160x60. When you try using a sprite with these dimensions, they don't show properly.

    Does anyone know how you might be able to change it so that 160x60 icons are displayed properly?
     

    Attachments

    • [PokeCommunity.com] How can you use gen 6-7 party icon sprites?
      Ultra Necrozma example.png
      1.2 KB · Views: 9
    • [PokeCommunity.com] How can you use gen 6-7 party icon sprites?
      py7J0GH.png
      53.2 KB · Views: 32
    I guess you're going to need to update the code. Probably the easiest thing to work with is adapting it so that it expects to see two frames (i.e. divides the width of the image by 2), rather than (I assume) expecting two 64x64 frames next to each other. That way you won't need to resize your existing sprites.

    You might have some luck using Ctrl-Shift-F to search for the name of the folder those sprites are loaded from.
     
    Back
    Top