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

[Eventing Question] Is there a way to change the trainer sprite midgame with an event

104
Posts
2
Years
    • Seen Mar 12, 2024
    Yes. You can add a new player sprite in the "metadata" pbs, adding in the appropriate sprite sheets. Then you use:

    pbChangePlayer(3)

    That will transform your player into your new metadata id. (Where 3 is the number you put as the id in the metadata.) You can change them back with the same script (1 is default boy and 2 is default girl).


    If you allow multiple sprites as your default sprite in the game and you want them to be able to change back, I'd recommend using a conditional branch to set a specific switch for each sprite so that it remembers what the player was originally, or something similar.
     
    Back
    Top