• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] What is wrong with this script?

  • 71
    Posts
    9
    Years
    • Seen Aug 1, 2020
    I put the script below. The player is supposed to walk onto a script event and wonder what pokemon he will get. Once he has done this, nothing will happen if he walks over the event again. When I try to play, I just freeze when I step onto the script. Why does the message not appear?
     

    Attachments

    • [PokeCommunity.com] What is wrong with this script?
      script1.PNG
      37.1 KB · Views: 17
    I put the script below. The player is supposed to walk onto a script event and wonder what pokemon he will get. Once he has done this, nothing will happen if he walks over the event again. When I try to play, I just freeze when I step onto the script. Why does the message not appear?

    You have to use "setvar" command and put a value in script and Advance map. They must be different otherwise script will always run
     
    You have to use "setvar" command and put a value in script and Advance map. They must be different otherwise script will always run

    I don't understand the setvar command very well, could you show an example on how I would use it in this script?
     
    Back
    Top