• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] Player sprite and trback stopped appearing

princessyiris

Banned
  • 34
    Posts
    5
    Years
    • Seen Feb 6, 2020
    I don't know how this happened, but the trainer and trback sprites for the player no longer appear when I start a new game.
    [PokeCommunity.com] Player sprite and trback stopped appearing

    [PokeCommunity.com] Player sprite and trback stopped appearing


    Now, I have no idea why this is. On another save, the trainer and trback sprites appear just fine.
    [PokeCommunity.com] Player sprite and trback stopped appearing

    [PokeCommunity.com] Player sprite and trback stopped appearing


    To my knowledge, nothing unusual is happening in the intro or the metadata. I haven't even touched them.
    Metadata:
    [PokeCommunity.com] Player sprite and trback stopped appearing

    Intro:
    [PokeCommunity.com] Player sprite and trback stopped appearing

    Game files:
    [PokeCommunity.com] Player sprite and trback stopped appearing
     
    I solved the issue I was having. I'll explain it here in case anyone else has a similar problem:

    I'm using another fangame and its scripts as a base. At some point I replaced some of the original trainers in PBS\trainertypes.txt
    That led to errors, so I duplicated those trainers further down the list.
    [PokeCommunity.com] Player sprite and trback stopped appearing

    What was happening was that the metadata was reading that the player character should be using TRAINER_AEVIS for its sprites, and was using the TRAINER_AEVIS in position 401 instead of the one I intended it to use in position 001.

    Long story short: If your player sprite isn't showing up on the trainer card or the backsprites aren't appearing in battle, double check the PBS\trainertypes.txt and make sure there aren't any other trainer types with the same title as the one the player character should be using.
     
    Back
    Top