• 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.

Battle Back-facing sprite zoom?

Boonzeet

Pokémon Secrets of the Ages Developer
  • 188
    Posts
    16
    Years
    I have no method of resizing the animated gifs for the battlers I have, so I figure there would be a way to do this by editing part of PokeBattle_ActualScene.

    However, I cannot find the right variable to edit that doesn't affect the zoom status of both Pokemon.

    tl;dr how can I edit it to 'blow up' the player's pokemon sprite to a 4x zoom?
     
    There is a part in class PokeballPlayerSendOutAnimation that handles your Pokemon's sprite's zoom when sending it out (in the def update). You can adjust the numbers to your liking.

    However, you will need to alter some stuff in pbFainted as well as some really unpleasant details in PBAnimationPlayerX. I don't really remember the specifics of what you need to do anymore, but those are the places I'm pretty sure you need to look at. These alterations are needed because for those methods, new sprites get initialized, which will not have the proper zoom (don't quote me on that). Additionally, I believe, the animation player reverts custom zoom to the default state.
     
    On a similar note, is it possible to shrink a sprite down by a certain degree? Does it work the same way Luka S.J. just suggested?
     
    There is a part in classHowever, you will need to alter some stuff in pbFainted as well as some really unpleasant details in PBAnimationPlayerX. I don't really remember the specifics of what you need to do anymore, but those are the places I'm pretty sure you need to look at. These alterations are needed because for those methods, new sprites get initialized, which will not have the proper zoom (don't quote me on that). Additionally, I believe, the animation player reverts custom zoom to the default state.

    Yeah, the sprites appear at 4x zoom now but upon using a move they are reset to 1x zoom.

    Is there anyone that knows what to edit here as I'm completely out of my depth :(
     
    Luka already told you what needs editing, roughly. It's very fiddly, though, and not something you should try if you're not really good at coding (which you're not).

    I would suggest you spend your time looking for software that'll resize your graphics instead.
     
    Back
    Top