• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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] How to have someone temporarily block your path?

  • 6
    Posts
    9
    Years
    • Seen Jun 15, 2020
    I built a pokemon center in the opening town, and I want to avoid the glitch that occurs when you talk to nurse joy when you have no pokemon.

    I'm trying to make a person who stops you if you have no pokemon, but disappears after you receive your starter using PKSVUI.

    How do you program it to know when you get your starter?
     
    A simple check flag and remove sprite script should work. I could write one for you in xse if you really can't figure it out.

    But basically put the person in front of the door, check flag and then make person event disappear.
     
    I'm still not sure how to make it check if you got your starter though

    Check flag 0x828 (assuming FireRed). This is the flag that enables the "Pokémon" Start menu option, and it's set when you receive your first Pokémon.
     
    You just need to change it's Person ID to 828, then it will disappear when you get your starter.
     
    Back
    Top