• 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] [FireRed] Roadblock script

  • 36
    Posts
    6
    Years
    • Seen Apr 18, 2024
    So I'm new to using scripts, is there a script for moving the player back one tile and telling them it's unsafe to go somewhere if they don't have a Pokemon yet? Thanks!

    Here's my script so far, the message shows but the player isn't locked or moved anywhere. Is there something wrong?
    Spoiler:
     
    Last edited:
    Here's a version of your script that should work with comments explaining why:

    Spoiler:


    When you're using script tiles, its generally better to use variable rather than flags. This is because variables can automatically deactivate script tiles so that they no longer trigger and you won't get some annoying issues, like the player stopping for a brief second of time every time they walk over the script (which is very noticeable when on a bicycle). I'd suggest checking out the script tile segment of this tutorial to learn how to use them effectively.
     
    Back
    Top