• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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 Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
26
Posts
12
Years
    • Seen Jul 8, 2016
    flag 1 is NOWHERE near safe. It's used by the game engine and is constantly changing.

    I've read a few flag tutorials now and to say the least, I'm still confused about what flags I can use. Flags seem to be the most confusing part of all for me.
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • I've read a few flag tutorials now and to say the least, I'm still confused about what flags I can use. Flags seem to be the most confusing part of all for me.

    200-2ff IF you remove old events. If you use Jambo51's ASM you can expand to 1000-11ff If i'm not mistaken
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    The code looks like this now and it still doesn't work. He doesn't disappear when it fades and comes back.

    Spoiler:
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • The code looks like this now and it still doesn't work. He doesn't disappear when it fades and comes back.

    Spoiler:

    The person's person ID in advance map needs to be 0200. This way the game can hide him because he = the flag.
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    Hidesprite only seems to work with level scripts.. Try applymovement 0x1 @move

    #org @move
    #raw 0x__
    #raw 0xfe

    Don't forget to repoint

    I know I can move him, but I want him out of the room. If I walk him towards the door, he doesn't go out the door via the warp.
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • I know I can move him, but I want him out of the room. If I walk him towards the door, he doesn't go out the door via the warp.

    Why would he warp? lol
    He's just there. Just do the movement for hide then set the flag.
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • You didn't give me a movement for hide you gave me 0x_

    I know. You should check applymovements.rbc sometime. Here:
    Spoiler:
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    I know. You should check applymovements.rbc sometime. Here:

    Here's what my main and movement script looks like now (sans talking scripts). It doesn't work. He talks, but he doesn't do any of the movements.

    Spoiler:
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • Here's what my main and movement script looks like now (sans talking scripts). It doesn't work. He talks, but he doesn't do any of the movements.

    Spoiler:

    Because you need waitmovement 0x1. It's going to set the movement but right after the script ends so nothing happens. Repoint again. And why does he need to hide 5 times? Just once.
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    Because you need waitmovement 0x1. It's going to set the movement but right after the script ends so nothing happens. Repoint again. And why does he need to hide 5 times? Just once.

    Looks like this now. Meant to make him walk down not disappear 5x. Still doesn't work. Wasn't sure what you were telling me to repoint again?

    Spoiler:
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • Looks like this now. Meant to make him walk down not disappear 5x. Still doesn't work. Wasn't sure what you were telling me to repoint again?

    Spoiler:

    This looks perfect. Can you screenshot a-map and post on snag.gy?
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    I see the problem right away. The person's person ID is 0000, not 200 or whatever your flag is. You do it like setflag 0x(whatever) and if his person ID is equal to the flag he will go away forever

    I set the flag and it still doesn't work. Do I have to set a new flag for every person who moves?

    Spoiler:
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • I set the flag and it still doesn't work. Do I have to set a new flag for every person who moves?

    Spoiler:

    You see in advance map on the right where all the data is? You see the box that is labeled person id? put 200 there since you flag is 200
     
    26
    Posts
    12
    Years
    • Seen Jul 8, 2016
    You see in advance map on the right where all the data is? You see the box that is labeled person id? put 200 there since you flag is 200

    I tried that already. I tried setting it at 200 and also tried setting it at 0200 before I messaged you last :) Still not working.
     

    GoGoJJTech

    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
    2,475
    Posts
    11
    Years
  • I tried that already. I tried setting it at 200 and also tried setting it at 0200 before I messaged you last :) Still not working.

    When you assemble the script you need to change the offset of the script in a-map too so it loads
     
    Status
    Not open for further replies.
    Back
    Top