• 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 Conquest 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.
Ok so i put it in like this
Spoiler:


But the game froze before I could even beat the trainer, then have a rematch.
Does anyone know whats wrong?
 
For one, you have your labels messed up. @vsseeker shouldn't be raw text. I think it should be:

#org @vsseeker
trainerbattle 0x5 0x(trainer number) 0x0 @beforelabel @afterlabel
end

And the text you have as @vsseeker should be the before label of the second trainerbattle.
 
Game: Pokemon Fire Red
Type: moving script
Editor: XSE
Script:
Spoiler:


This script works except that it plays over and over each time you step on it and I also need to know how to make the moving sprites dissapear at the end
 
@KhaosMonsterEnergy:
Are you sure that the flag isn't taken? And to make sprites permanently disappear use
setflag 0x[person ID]
Use the person ID as a flag. Clearflag makes the sprite appear again.
 
Script not working:

Game: Emerald
Type: Trigger
Editor: XSE
Spoiler:


So, basically, your dad should appear, move around, talk a bit, and fight a magikarp for you. Except none of the movements are happening, even though the door is closing. And the wildbattle isn't happening. Any advice?
 
Can you help me?

Game: Pokemon fire red
Type: person script I guess but the script would go on a script box.
Editor: I'm Using XSE
I'm trying to get the players parents to walk over to the player and then talk to him once he steps on a script box. But when I test it my character steps on the box and he can't move. When I tested it without the flags, only the mom moves and she moves in the wrong way then the message comes up. Here's the script. (Mom:0, Dad:1)
ps. I am somewhat new to scripting.
Spoiler:

Can someone help?
Thanks in advance
 
@jwag:

Spoiler:


It should work now. You're using the correct person event no. right? and you've put the var value and unknown.
 
Game : Pokemon Fire Red
Script : Script box
Editor : XSE
Im trying to make PROF.OAK walk over to him when he walks out his door (onto the script box) however, it will compile just when ever i test it just freezes, here is code.
Spoiler:
 
Game: Pokemon fire red
Type: person script I guess but the script would go on a script box.
Editor: I'm Using XSE
I'm trying to get the players parents to walk over to the player and then talk to him once he steps on a script box. But when I test it my character steps on the box and he can't move. When I tested it without the flags, only the mom moves and she moves in the wrong way then the message comes up. Here's the script. (Mom:0, Dad:1)
ps. I am somewhat new to scripting.
Spoiler:

Can someone help?
Thanks in advance

You are looking at the wrong number there, it should be the next number down, so the person event numbers are PROBABLY 1 and 2 respectively. 0 cannot be an event number.

Everything else is ok, but why do you want to hide the sprites after talking to you? You should probably have a fadescreen 0x1 fadescreen 0x0 on the script like this.

fadescreen 0x1
hidesprite 0x00
hidesprite 0x01
fadescreen 0x0

That way the screen will go black and when it comes back the parents will have disappeared :).

Also remember to set another flag, and put the flag number as the Person ID in a-map.







--------------------


@Evilcrizpy

Check the Unknown and Var numbers on the script tile as I don't see anything essentially wrong with your .

Unknown: 0003
VarNumber: 4050
 
Thankyou,

however, i have another problem,

It will start the script but how ever it just creates !! below my character and PROF.OAK does not move to me... and he does not speak.
Same code as above.

Spoiler:
 
Last edited:
Are you sure PROF. OAK's person event number is 2?

Like I said, I don't see anything wrong with it. Do you have a copy of the script before it was compiled?
 
yhhh i do here.

Spoiler:
 
Done that, but still wont work

Spoiler:
 
Ok well my final recommendation is:

-Remove all level scripts incase they are interferring with the sprites.
-Try changing the person event number of the sprite being used.

The script *should* be working now, so I have no idea why even the msgbox isn't showing.
 
I have just done what u said...
but nothing...
It seems to be getting there due to the fact that it pauses and waits, but the problem is he still dont move...
 
I have just done what u said...
but nothing...
It seems to be getting there due to the fact that it pauses and waits, but the problem is he still dont move...

Where is the setvar? I can't see it. Every script should have a setvar, be it a walkable trigger or a level script. Each script should have an unique variable assigned, indeed.
 
Okay,
I have finallly fixed it but however, he is not where he is suppose to be, i place him in one place. in game, completely different spot
i have made sure they are the right #raw command movements for fire red.
here is code.

Spoiler:
 
Last edited:
Status
Not open for further replies.
Back
Top