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

[Script] Trainers just resets

  • 84
    Posts
    4
    Years
    • Seen Apr 21, 2025
    Hello everybody

    i am making a firered hack and i am pretty much at the end of it, i am testing it out and correcting any minor error i might find but i encountered an issue i seem to have no idea how to resolve

    i placed some trainers outside victory road on route 23, on the way where the npc asks you the gym badges
    everything works fine, both battles and sentences
    everything is ok untill you get to victory road and (for any reason) you white out
    when you do so, the first 3 trainers just resets and fights you again
    but only the first 3 while all the others behave normally just sitting there already defeated

    this is pretty strange since it NEVER happened in any other point in the game
    i made those trainers the same as every single other trainer in the whole ROM and they reactivate only if you white out...

    these are the lines for the three trainers (i changes only WHAT they say for...spoiler reasons :P)

    Spoiler:


    Spoiler:


    Spoiler:


    i'll add one of the other trainers present on the same route that works fine and don't reset, only to show that it's coded the same

    Spoiler:
     
    Back
    Top