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

  • 16
    Posts
    6
    Years
    • Seen May 1, 2021
    I'm trying to set up a script that allows you to pass the npcs once you have delivered oak's parcel and obtained the pokedex, but this does not work. Anybody know how to fix it?

    Code:
    '---------------
    #org 0x800078
    setworldmapflag 0x894
    setvar 0x405B 0x1
    setflag 0x3D
    checkflag 0x829
    if 0x1 goto 0x880008E
    end
    
    '---------------
    #org 0x80008E
    hidesprite 0x0
    setflag 0x1B39
    hidesprite 0x1
    setflag 0x4D2
    hidesprite 0x2
    setflag 0x10E1
    hidesprite 0x3
    setflag 0x25E0
    end
     
    Those flags are incredibly dangerous in FR as they overlap with other parts of the RAM. It's best to use flags 0x200 - 0x2FF. Check out this thread for more information.

    That being said, you don't need to make any branching scripts if you just want some NPCs to disappear after you get the Pokedex. Type in '829' in each NPC's 'Person ID' box in AdvanceMap, as it will stop those NPCs from being loaded when that flag is set.
     
    Those flags are incredibly dangerous in FR as they overlap with other parts of the RAM. It's best to use flags 0x200 - 0x2FF. Check out this thread for more information.

    That being said, you don't need to make any branching scripts if you just want some NPCs to disappear after you get the Pokedex. Type in '829' in each NPC's 'Person ID' box in AdvanceMap, as it will stop those NPCs from being loaded when that flag is set.

    Will do, thanks!
     
    Back
    Top