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

[Other] Script Causes Freezing

  • 86
    Posts
    10
    Years
    • Seen Dec 19, 2018
    Hi! I'm pretty new around here, and I've encountered a problem with a script. Scripting has never been a strong suit of mine so I'd appreciate some help figuring this thing out.

    Basically, I need the script to run when leaving an area of the Rusturf tunnel that only triggers after you defeat the Aqua grunt. It's right on the steps you take to get in and out on the Rustboro side, so I need it to not trigger on the way up but then go off when you walk back down after the battle. I figured it be just a simple checkflag but it turned out to be not so simple.

    As of now, I'm just trying to get a message box to appear just so I know the script is activating properly. It doesn't activate before fighting the aqua grunt, which is good, but after the fight, if I step on it, it freezes. The flag I used is one that is set by the aqua grunt in the original unedited game. Trying to add another flag to that script causes an entirely different issue.

    I set it up with a dynamic, but when compiled and saved it automatically changed it to normal offsets, which I'm pretty sure is normal. Here's the script.

    Spoiler:
     
    try the script in a person event > if don't freezes you need to put a personal var in your script tile.
     
    Back
    Top