• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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] Help with making blocked doors scripts

ChocolateDream

Guest
  • 0
    Posts
    Hello I need help. I want to make the cerulean city gym in firered be blocked off until you beat surge and I'm wondering if that's possible. Also if you could help me with making the viridian city gym become accessible after beating the fuchsia city gym.
     
    Last edited:
    You'll need a checkflag script.

    Here's a list of the special flags in FR/LG:

    Spoiler:


    With this now in mind, your own script should look something like this:

    Spoiler:

    Assuming you know the basics of XSE scripting, I won't explain the above line by line.

    Be sure to go by the script and assign the blocking NPC an ID of 100 in AdvanceMap. This is to ensure it never comes back once the gym is unlocked.

    For the Fuchsia version, simply change the checkflag value in the script to 0x824 as well as the setflag value from 0x100 to a different value, and of course change the text accordingly.
     
    Last edited:
    Back
    Top