• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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✓] [SOLVED] Script containing applymovement freezes game?

  • 3
    Posts
    4
    Years
    • Seen Dec 23, 2020
    [SOLVED]
    What is wrong with this script below? I have it set to happen when I run over a certain tile, but when I run over that tile the game just freezes.

    #dynamic 0x800000
    #org @start
    msgbox @woah 0x6
    applymovement 0x01 @move1
    waitmovement 0x01
    msgbox @t1 0x6
    applymovement 0x01 @move2
    waitmovement 0x01
    applymovement 0xFF @move3
    waitmovement 0xFF
    release
    end



    #org @woah
    = [black_fr]Woah, watch out!

    #org @t1
    = [black_fr]Give this guy some room, will you\nkid? He's passed out in the road!

    #org @move1
    #raw 0x2
    #raw 0xFE

    #org @move2
    #raw 0x3
    #raw 0xFE

    #org @move3
    #raw 0x11
    #raw 0xFE
     
    Last edited:
    Nevermind, I figured it out. I forgot to make the unknown values 3 and the var number 6000 in advancemap.
     
    Nevermind, I figured it out. I forgot to make the unknown values 3 and the var number 6000 in advancemap.

    Unknown value doesn't matter, but the Var number does. If the Var number is set to a safe Var, the script will run. Otherwise, it won't. And make SURE to keep it in between safe Var's, or you'll game will explode!
     

    Attachments

    • Firered_Flags_and_Vars.txt
      72.2 KB · Views: 8
    Back
    Top