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

Sierra's MEGA-HUGE XSE Scripting Tutorial

Can you add how to make a script. Like Where you have to chose hitmonlee or hitmonchan.
Because I really need help with that. So could you please add it to your tutorial :)
 
Can you add how to make a script. Like Where you have to chose hitmonlee or hitmonchan.
Because I really need help with that. So could you please add it to your tutorial :)

In truth, it is already included in the tutorial. You'll just have to find out how to make the script.
And I'd also like to note that there is a thread for all your scripting problems.

Edit:
@Irish Chameleon:

Spoiler:


There's no need for the "if 0x0 goto..." the script simply continues in the same header if the flag isn't set
And you should make your pointers simple. They're way too confusing.
 
Hey guys,

I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error:

Unknown keyword "
setvar" at line 10.

Here is the script:

HTML:
#dynamic 0x800898

#org @start
lock
checkflag 0x200
if 0x1 goto @release
setvar 0x8004 0x3
setvar 0x8005 12
setvar 0x8006 12
setvar 0x8007 3
special 0x136
waitspecial
pause 0x40
apply movement 0xFF @move0
applymovement 0x1 @move1
waitmovement 0x1
applymovement 0x2 @move2
waitmovement 0x2
msgbox @Hey 0x6
applymovement 0x1 @move3
waitmovement 0x1
applymovement 0x2 @move4
waitmovement 0x2
applymovement 0xFF @move5
warp 0x3 0x0 0xFF 0x18 0x14
setflag 0x200
release
end


#org @release
release
end

#org @move0
#raw 0x65 0xFE

#org @move1
#raw 0x62 0x1E 0x1F 0x1F 0x1F 0x1F 0x1F 0x1E 0x1F 0x1F 0x1F 0x1F 0x1E 0x02 0xFE

#org @move2 
#raw 0x1E 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x01 0xFE

@Hey
= Henry: Oi!\nGuys!\nWhat just happened?\nWas it an earthquake?\pPeter: It couldn't have been.\nWe don't get those around here\pHenry: Then what could it be?\pPeter: Let's go check it out.

#org @move3
#raw 0x1D 0x1D 0x1D 0x1F 0x1D 0x60 0xFE

#org @move4
#raw 0x1D 0x1D 0x1D 0x1D 0x60 0xFE

#org @move5
#raw 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE


Line ten is "setvar 0x8007 3"
Any Ideas?? Greatly appreciated~

BTW I'm making an earthquake script
 
Thanks Binary helps a lot :)

and I make my pointers long and weird to make sure i never use it again by accident in another script :):):)
very helpful advice though :)
 
Hey guys,

I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error:

Unknown keyword "
setvar" at line 10.

Here is the script:

Code:
#dynamic 0x800898

#org @start
lock
checkflag 0x200
if 0x1 goto @release
setvar 0x8004 0x3
setvar 0x8005 [COLOR=DarkOrange]0x[/COLOR]12
setvar 0x8006 [COLOR=DarkOrange]0x[/COLOR]12
setvar 0x8007 [COLOR=DarkOrange]0x[/COLOR]3
special 0x136
waitspecial
pause 0x40
apply movement 0xFF @move0
applymovement 0x1 @move1
waitmovement 0x1
applymovement 0x2 @move2
waitmovement 0x2
msgbox @Hey 0x6
applymovement 0x1 @move3
waitmovement 0x1
applymovement 0x2 @move4
waitmovement 0x2
applymovement 0xFF @move5
warp 0x3 0x0 0xFF 0x18 0x14
setflag 0x200
release
end


#org @release
release
end

#org @move0
#raw 0x65 0xFE

#org @move1
#raw 0x62 0x1E 0x1F 0x1F 0x1F 0x1F 0x1F 0x1E 0x1F 0x1F 0x1F 0x1F 0x1E 0x02 0xFE

#org @move2 
#raw 0x1E 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x01 0xFE

@Hey
= Henry: Oi!\nGuys!\nWhat just happened?\nWas it an earthquake?\pPeter: It couldn't have been.\nWe don't get those around here\pHenry: Then what could it be?\pPeter: Let's go check it out.

#org @move3
#raw 0x1D 0x1D 0x1D 0x1F 0x1D 0x60 0xFE

#org @move4
#raw 0x1D 0x1D 0x1D 0x1D 0x60 0xFE

#org @move5
#raw 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE
Line ten is "setvar 0x8007 3"
Any Ideas?? Greatly appreciated~

BTW I'm making an earthquake script

IDK what causes unknown keyword (keyword=command) error here but try rewriting the line also i`ve noticed some missing 0xes i`ve written them in orange at quote
 
Hey guys,

I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error:

Unknown keyword "
setvar" at line 10.

Here is the script:

HTML:
#dynamic 0x800898

#org @start
lock
checkflag 0x200
if 0x1 goto @release
setvar 0x8004 0x3
setvar 0x8005 0x12
setvar 0x8006 0x12
setvar 0x8007 0x3
special 0x136
waitspecial
pause 0x40
applymovement 0xFF @move0
applymovement 0x1 @move1
waitmovement 0x1
applymovement 0x2 @move2
waitmovement 0x2
msgbox @Hey 0x6
applymovement 0x1 @move3
waitmovement 0x1
applymovement 0x2 @move4
waitmovement 0x2
applymovement 0xFF @move5
warp 0x3 0x0 0xFF 0x18 0x14
setflag 0x200
release
end


#org @release
release
end

#org @move0
#raw 0x65 0xFE

#org @move1
#raw 0x62
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1E
#raw 0x02
#raw 0xFE

#org @move2 
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x01
#raw 0xFE

@Hey
= Henry: Oi!\nGuys!\nWhat just happened?\nWas it an earthquake?\pPeter: It couldn't have been.\nWe don't get those around here\pHenry: Then what could it be?\pPeter: Let's go check it out.

#org @move3
#raw 0x1D 0x1D 0x1D 0x1F 0x1D 0x60 0xFE

#org @move4
#raw 0x1D 0x1D 0x1D 0x1D 0x60 0xFE

#org @move5
#raw 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE
Line ten is "setvar 0x8007 3"
Any Ideas?? Greatly appreciated~

BTW I'm making an earthquake script
Look at tinix's post, and also, I fixed every problem I could see. Try just copy/pasting now.
 
Thanks for the fixes guys, but the error moved onto line 12 "waitspecial". =.=
 
That is because waitspecial isn't a command... use waitstate
(A good way to tell if the command you are typing is correct... type the command and press space, if the yellow box saying "No Parameters Required" pops up, it is a command... waitspecial isn't one.)
 
Hey guys,

I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error:

Unknown keyword "
setvar" at line 10.

Here is the script:

HTML:
#dynamic 0x800898

#org @start
lock
checkflag 0x200
if 0x1 goto @release
setvar 0x8004 0x3
setvar 0x8005 0x12
setvar 0x8006 0x12
setvar 0x8007 0x3
special 0x136
waitstate
pause 0x40
applymovement 0xFF @move0
applymovement 0x1 @move1
waitmovement 0x1
applymovement 0x2 @move2
waitmovement 0x2
msgbox @Hey 0x6
applymovement 0x1 @move3
waitmovement 0x1
applymovement 0x2 @move4
waitmovement 0x2
applymovement 0xFF @move5
warp 0x3 0x0 0xFF 0x18 0x14
setflag 0x200
release
end


#org @release
release
end

#org @move0
#raw 0x65
#raw 0xFE

#org @move1
#raw 0x62
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1E
#raw 0x02
#raw 0xFE

#org @move2 
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x01
#raw 0xFE

@Hey
= Henry: Oi!\nGuys!\nWhat just happened?\nWas it an earthquake?\pPeter: It couldn't have been.\nWe don't get those around here\pHenry: Then what could it be?\pPeter: Let's go check it out.

#org @move3
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1D
#raw 0x60
#raw 0xFE

#org @move4
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x60
#raw 0xFE

#org @move5
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE
There are no errors here anymore, I am about 99.999999... percent sure I got them all, including "waitspecial." Fixed all movements, and all that...
 
Spoiler:


Besides that part, everything's right.
Man, you guys should post in the script help thread -.-
 
Hlp!

I made a script to get a guy to give you a pokemon as you walk out of pallet town and this is what i got
Spoiler:


But when i do the game will freeze when he starts walkin toward me
or will freeze when he starts talking

i did the unknown and Var thing just like the pic showed but i cant get it
 
@pringles_king:

Spoiler:
 
@binary
omg ty
but i gotta ask
do i use 0xFE after EVERY raw or just the first one?
 
How do I tell what codes are for what area in the game and for what people?
 
Hey, uhmm, whats the best offset to start searching for free space?
 
#Dynamic 0x800010

#ORG @main
Lock
FacePlayer
Message @Speak
BoxSet 0x6
Release
End
release
end

#org @Speak
= Hi, I'm Andy.\n I came from Johto.
 
Back
Top