• 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!
  • 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 make the Pokémon party icons not "jump" when selected

Majarath

ROM-hacker
  • 12
    Posts
    13
    Years
    Hello,

    Well, the question is simple. What do I have to edit or delete (I suppose it must be in the PokemonParty script section?) so the Pokémon party icons don't move up and down when a Pokémon is selected? I'm quite new to scripting, so I can't find it myself...

    Thank you in advance :)
     
    Actually, what you're looking for is in the section PokemonSprite.

    Find this bit of code:

    Code:
        if self.selected
          @adjusted_x=4
          @adjusted_y=(@animframe==0) ? -2 : 6
        else
          @adjusted_x=0
          @adjusted_y=0
        end

    and change those seven lines to this:

    Code:
          @adjusted_x=0
          @adjusted_y=0
     
    Wow, that was fast. It works perfectly, thank you very much! I'll make sure to mention you in the thank-you list of my project.

    Problem solved :)
     
    Back
    Top