• 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.

[Other✓] Script Help [ANSWERED]

  • 3
    Posts
    11
    Years
    • Seen May 19, 2014
    Hello guys! I'm pretty new to scripting, and I've ran into some trouble.

    My question is about a pretty basic script that you can find here:
    #dynamic 0x8007DC

    #org @start
    checkflag 0x1337
    if 0x1 goto @moveaway
    msgbox @talk1 0x6
    release
    end

    #org @moveaway
    msgbox @talk2 0x6
    playsong 0x012E 0x0
    applymovement 1 @walk1
    waitmovement 1
    hidesprite 1
    setflag 0x1336
    fadesong 0x0132
    release
    end



    #org @talk1
    = Don't you have a lesson to\nattend to?\pChuong is waiting for you in\nEsteraden.

    #org @talk2
    = Oh, I see you've finished your\nlesson. Go ahead and walk through.

    #org @walk1
    #raw 0x66
    #raw 0x13
    #raw 0xFE

    As you can see in the end of the script, I want the person to move a step right and then disappear for good. However, when I take another step he reappears. How do I make him disappear permanently?

    Thanks in advance
    Wetroz
     
    Last edited:
    Hello guys! I'm pretty new to scripting, and I've ran into some trouble.

    My question is about a pretty basic script that you can find here:


    As you can see in the end of the script, I want the person to move a step right and then disappear for good. However, when I take another step he reappears. How do I make him disappear permanently?

    Thanks in advance
    Wetroz

    You can stop the OW reappearing by placing the flag number you set into the OW's 'Person ID' in Advance Map.

    Also, you shouldn't be using flags as high as 0x1336 or 0x1337. There are safer flags that are readily avaliable. Read this thread for more information.
     
    You can stop the OW reappearing by placing the flag number you set into the OW's 'Person ID' in Advance Map.

    Thanks alot for the reply, it solved my problem!
    Also, I'll try to use lower flags in the future
     
    Back
    Top