• 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?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

1KewlDude

Really busy... STRESS!!
124
Posts
16
Years
Can someone help me?

I'm trying to figure out the behaviour bytes. If anyone has a list, can they post it here.

Please and thank you :)
 
21
Posts
15
Years
  • Seen Dec 29, 2012
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.
 

.Seth

.explorer.
1,644
Posts
15
Years
@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.
 

fleek

Fleekinator
38
Posts
15
Years
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.
 

RegicidalHack

is the only Mew
4
Posts
15
Years
  • Seen Sep 13, 2008
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...
 

maximum911

Beggining Scripter
104
Posts
16
Years
  • Seen Nov 1, 2009
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?
 
8
Posts
16
Years
  • Seen Mar 11, 2014
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:

1KewlDude

Really busy... STRESS!!
124
Posts
16
Years
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?
 
8
Posts
16
Years
  • Seen Mar 11, 2014
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?
 
3
Posts
15
Years
  • Seen Nov 18, 2008
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?
 
185
Posts
16
Years
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?
 
43
Posts
15
Years
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?
 
Status
Not open for further replies.
Back
Top