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

RaiRai-kun's XSE Tutorial [Updated Big-Time!]

Status
Not open for further replies.
this tutorial is really helpful, but can you translate some more pokemon hex numbers please,
and also some help please, the warping script isnt really explained, how could i make a script, where you talk to someone, they say something, then u get warped to viridian city, but i want this to only happen once,
and the give pokedex script, how does that work,
cheers.
 
@Andre: Behaviour Bytes have hardly anything to do with scripting. Behaviour Bytes are what make certain tiles do what.

@Jack-s-b: I will. Just give me time. Pokedex: You use a flag in the flag list. Just check that out, ok?
Warps: (command) 0x(map bank in hex) 0x(map number in hex) 0x(X-position on map) 0x(Y-position on map)

@dfdgds121: I'm still figuring that out, ok? Until I post it here, use thethethethe's script tutorial on that. Just translate the pokescript commands to XSE's.
 
how do you...make it so that someone talks to you AND gives you a pokemon? For example, like
"I need someone to take care of this ________ for me. Will you?"
YES/NO
YES: YOU RECIEVED A ________! GIVE A NICKNAME TO __________? and then followed by "Take good care of that ___________ for me."
NO: "Oh, alright. I'll get someone else to take it, then."

also, trainer battles? that'd be nice to mess around with.
 
would it be possible for you to write up a tutorial for wildbattle?
because wildbattle is the ones ive been trying to figure out so if you could explain it that would be great! xD

I know its wildbattle 0x0 0x0 0x0 0x0 but i dont know the hex i need to put in...
 
finally a xse tutorial with give pokemon. thanks alot lol :)
 
@Andre: Behaviour Bytes have hardly anything to do with scripting. Behaviour Bytes are what make certain tiles do what.
I mean behaviour bytes from the spritebehave command. Sorry if I didn't make myself clear.
 
hey seth.i have asked a mod to remove my thread. I did not make the thread to insult you or hockepanda's tutorials. I was just trying to help by pointing out some flaws but it appears i was wrong. so forget about it ok?
 
I've been trying to create a yes/no warp script.
When I play it, however, It stops at the Yes/No message, and when I click, either Yes or No, it releases and stops the script.

#org @start
lock
faceplayer
message @ready
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @ready
= Are you ready to go?

#org @yes
= OK let's go.
warp 0x2 0x31 0x0B 0x0E

#org @no
= Need some more time?
 
Last edited:
I've been trying to create a yes/no warp script.
When I play it, however, It stops at the Yes/No message, and when I click, either Yes or No, it releases and stops the script.

#org @start
lock
faceplayer
message @ready
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @ready
= Are you ready to go?

#org @yes
= OK let's go.
warp 0x2 0x31 0x0B 0x0E

#org @no
= Need some more time?
Well it should be something like this:
Code:
#org @start
lock
faceplayer
message @ready
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
msgbox @no
callstd 0x2
release
end
 
#org @ready
= Are you ready to go?
 
#org @yes
msgbox @yes2
callstd 0x2
warp 0x2 0x31 0x0B 0x0E
release
end
 
#org @yes2
= OK let's go.
 
#org @no
= Need some more time?
 
thanks that did it
what are each of the boxsets/callstds?

Well it should be something like this:
Code:
#org @start
lock
faceplayer
message @ready
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
msgbox @no
callstd 0x2
release
end
 
#org @ready
= Are you ready to go?
 
#org @yes
msgbox @yes2
callstd 0x2
warp 0x2 0x31 0x0B 0x0E
release
end
 
#org @yes2
= OK let's go.
 
#org @no
= Need some more time?
 
can someone help me?

i made a sprite and i double click on it and xse comes up and i make the script for that person and save it and compile it, but when i close it, I then click on the sprite guy again and it comes up with the default script..

any ideas?
 
I'm having trouble with the giveitem script:

Code:
#Dynamic 0x9A6740

#org @start
checkflag 0x201
if b_true goto @gone
lock
faceplayer
giveitem 0x3 0x5 0x0
setflag 0x201
release
end

#org @gone
hidesprite 0x8
end

What's wrong?
 
Ive learned everything in this tutorail along with combinig things like movemnt, flags, give pokemon, and such. How do i move to more advanced scripting with different commands and examples? Do you suggest any specific tutorials?
 
when i put in the pickachu hex thing it turns out its a vulpix .
do you know why ?
it might be wrong
 
Status
Not open for further replies.
Back
Top