• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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.

What is the flag for beating the league

  • 36
    Posts
    4
    Years
    • Seen Jun 22, 2022
    Does anyone know what the flag is for beating the elite 4 or entering the hall of fame? I want to have a guard blocking a road until you have beaten the elite 4

    Thank you
     
    Thank you, I found this on that link so that should work?

    'Flags 0x4B8 - 0x4BC are set if the player has beaten {whoever} in the Elite Four during their current attempt at it. They're cleared upon entering the Hall of Fame registration room.'
     
    And I'm very new to scripting so wouldn't know have to change the champion battle?
     
    That topic should have a list of 'safe' flags. Safe flags can be used for whatever purpose you want. In this case, you can change the script of the final battle to have setflag 0x[flag] after the player wins. Then, that guard blocking the road can have a script with checkflag 0x[flag], and moving out of the way if the flag is set.
    Strongly recommend you go through a tutorial like this to learn that stuff: https://www.pokecommunity.com/showthread.php?p=9705692
    It's not as difficult as it may sound
     
    And I'm very new to scripting so wouldn't know have to change the champion battle?

    A-Trainer. (Advance Trainer) You can edit every trainer in the game, and find them by entering their hex offsets or their in-game names, e.g. "BROCK" would navigate to the first Gym Leader, Brock.
     
    Back
    Top