• 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] Script won't execute

DaimyoHermit

G Rank
  • 59
    Posts
    4
    Years
    help my script doesn't execute and i have no freaking idea why!!!!!!!!! I'ts a very long script so i'll just post the starting pointer

    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    applymovement 0x08 @emote1
    waitmovement 0x08
    msgbox @talk1 0x6
    applymovement 0x08 @move1
    applymovement 0x07 @move1
    applymovement 0x06 @move1
    applymovement 0x09 @move1
    msgbox @talk2 0x6...

    It's on a script event when i step on it it just locks the game forever and won't execute the rest!!!!
    I got all the raw movement codes correctly and put an #raw 0xFE at the end
    Also i got all of the person event's numbers correctly!!!!!
     
    Last edited:
    I will help you. As scripting is pretty easy for me, u forgot to add another waitmovement after those 4 u added...and u have to finish with releaseall and end
     
    I will help you. As scripting is pretty easy for me, u forgot to add another waitmovement after those 4 u added...and u have to finish with releaseall and end

    no the movement is supposed to come along with the message box and putting "releaseall" at the end still didn't work.
    I did try to put waitmovement after all of the applymovements and no change at all
     
    Last edited:
    Two things to note:
    1. The lock command is used when activating a script by talking to a person. It locks that person's sprite only. Since you're using a tile, the game may be getting stuck because it doesn't know which person to lock. Try getting rid of the lock or using lockall instead.
    2. The script tile may be refusing to activate regardless of your script. Try adding a random variable that will always be 0 into the tile's var slot in advance map and see if that helps.

    If neither of those help, can you please post all of your code? Just put it in a spoiler if it's so long :)
     
    2. The script tile may be refusing to activate regardless of your script. Try adding a random variable that will always be 0 into the tile's var slot in advance map and see if that helps.

    I felt like a dumbass this one helped thanks for reminding me
     
    Back
    Top