• 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!
  • 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] Problem w/ Diegoawesome's tutorial

Ayonn-

The Unbelivable
  • 209
    Posts
    10
    Years
    Hi everyone, I'm currently learning scripting with diegoawesome's tutorial, but I'm stuck at a point...I tried to make a script following the things learned with it but when I go on the script's place, the game freeze. Diedo says in his tutorial that there's something to change but I can't see because the image is broken, can someone help me please ?
     
    have u set your var value of the script in A-Map?
    Freezing mainly occurs if var value isn't set.
    And show the actual script that ...so we can see what causing the problem.
     
    I assume you're referencing green script tiles.

    Here's an explanation:

    [PokeCommunity.com] Problem w/ Diegoawesome's tutorial


    I've squared in the two important parts. Var number is the variable that this script is assigned to. You have to assign each script tile to a variable or it won't work. Var value is the hex value assigned to that script (0x0, 0x1, 0xA, etc.). In order for the script to work, the hex value assigned to the variable at the time the player steps on the tile has to be less than or equal to the value in the Var value box. When the number is greater than the value in the Var value box, the script won't run again.
     
    I assume you're referencing green script tiles.



    Here's an explanation:

    [PokeCommunity.com] Problem w/ Diegoawesome's tutorial


    I've squared in the two important parts. Var number is the variable that this script is assigned to. You have to assign each script tile to a variable or it won't work. Var value is the hex value assigned to that script (0x0, 0x1, 0xA, etc.). In order for the script to work, the hex value assigned to the variable at the time the player steps on the tile has to be less than or equal to the value in the Var value box. When the number is greater than the value in the Var value box, the script won't run again.


    Thank you very much !
     
    Back
    Top