• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.
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.
 
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
 
The code looks like this now and it still doesn't work. He doesn't disappear when it fades and comes back.

Spoiler:
 
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.
 
I know, it's set to 200 and it still doesn't work.

Hidesprite only seems to work with level scripts.. Try applymovement 0x1 @move

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

Don't forget to repoint
 
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.
 
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.
 
You didn't give me a movement for hide you gave me 0x_

I know. You should check applymovements.rbc sometime. Here:
Spoiler:
 
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:
 
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.
 
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:
 
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?
 
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:
 
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
 
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.
 
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