• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] FR - Snorlax doesn't immediately go away..?

  • 77
    Posts
    9
    Years
    So in advance map I moved snorlax's script to a different route and it works and all, but after battle when his sprite is supposed to be removed, it's still there and doesn't go away until you go out of its range and come back...so what I'm wondering is why isn't the sprite being removed after battle?
     
    It would help if you posted the script. If I had to guess, I'd say you forgot to include hidesprite.

    In the script, use hidesprite 0x<person event number of sprite> in the script right after where says setflag 0x<person id of sprite>.
     
    Last edited:
    It would help if you posted the script. If I had to guess, I'd say you forgot to include hidesprite.

    In the script, use hidesprite 0x<person event number of sprite> in the script right after where says setflag 0x<person id of sprite>.

    It's the original FR script, I didn't change it at all, just moved the script to a different location
     
    It's the original FR script, I didn't change it at all, just moved the script to a different location

    Snorlax gets hidden by a level script (type 05).
    It checks if a flag is set, and if it is, then hide the OW.
    This makes the transition from battle to overworld look seamless (in comparison to fadescreening then hiding it).
     
    Snorlax gets hidden by a level script (type 05).
    It checks if a flag is set, and if it is, then hide the OW.
    This makes the transition from battle to overworld look seamless (in comparison to fadescreening then hiding it).

    And how is this level script activated? Battle? And if so then after battle the ow should be hidden immediately, according to the level script, unless there's something I'm missing...
     
    And how is this level script activated? Battle? And if so then after battle the ow should be hidden immediately, according to the level script, unless there's something I'm missing...
    It happens when flag 0x807 is set, which happens right before the battle. Did you add the level script to the new map?
     
    Back
    Top