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

XSE Scripting Tutorial

Status
Not open for further replies.
7
Posts
14
Years
  • Seen Mar 14, 2010
question

hello everyone my first reply in poke community
my question: when i try to compile my script it says ''too less parameters on line 6". What the hell does that mean and how to fix it ?
thanks to anyone who answers.
 

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
hello everyone my first reply in poke community
my question: when i try to compile my script it says ''too less parameters on line 6". What the hell does that mean and how to fix it ?
thanks to anyone who answers.

Well, did you READ it?
XSE is telling you exactly what is wrong with your script.
On line 6, you need at least one more parameter...
Next time, read the error message, it will always help you out.
 
7
Posts
14
Years
  • Seen Mar 14, 2010
umm what is parameter?
thanks iand yes iam a noob

umm yes a noob question again
what is parameter?
 
Last edited:

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
Well, commands in XSE, PKSV, PokeScript, ScriptED, etc etc, are set up like this...

[Command] [Parameter]

For instance:

sound 0x2
The command is sound, and the parameter is 0x2, you see?
Some commands have more than one parameter...

compare LASTRESULT 0x2

Compare is the command
LASTRESULT (Or ox800D) is the first parameter
and 0x2 is the second parameter.
Now what XSE is telling you, that you don't have enough parameters on the 6th line of your script.

Post your script here, I'll point out what is wrong if you don't have it by now...
 
7
Posts
14
Years
  • Seen Mar 14, 2010
explain arameter please thank you

#Dynamic 0x800000
#ORG @Start
Lock
Faceplayer
Message @Speak
Boxset 0x6
Release
End
#ORG @Speak
=Hello!
 
Last edited:

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
explain arameter please thank you

#dynamic 0x800000
#ORG @Start
lock
faceplayer
message @Speak 0x6
release
end
#ORG @Speak
= Hello!

Changes are in the quote, in BOLD RED
Here are a few pointers.
1: You shouldn't capitalize every command, it makes it harder to read amazingly enough.
2: The newest XSE doesn't use boxset anymore, instead, it adds the boxset onto message...
3: VERY IMPORTANT, when making a message, be sure to have a space between the = and the message itself...
Code:
#ORG @Speak
=Hello!
The little bit of code above is BAD, the = is touching the letters!
Code:
#ORG @Speak
= Hello!
THAT is better! lol

Try to compile it now, it should work perfectly.
 
7
Posts
14
Years
  • Seen Mar 14, 2010
thank you omega arsenal
i will try it

so thats why i have trouble
i have the new version
what do i do next to the window that came up
 
Last edited:

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
I'm done helping, time for you to read a few tutorials... or even better, have XSE open and press F2, and read that WHOLE thing.
ALL of it, you won't really need my help after you do.
 
1
Posts
14
Years
  • Seen Mar 23, 2010
hey my script isn't working can anyone help???

#dynamic 0x800002

#org @start
lock
faceplayer
msgbox @yesno 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yes
msgbox @yes2 0x6
release
end

#org @no
msgbox @no2 0x6
release
end

#org @yesno
= Are you stupid???

#org @yes2
= HAHAHA!!!

#org @no2
= Liar!!!



I talk to the guy and he asks the question but no matter how i answer he says "Liar!!!"
 

Ty2

New Hacker and Working Hard
87
Posts
18
Years
Every time I try to make a script it always says that Release, End, GivePokemon, etc. Are unknown keywords. Yes I am using XSE. How do I fix this problem?
 

Pheonix_slayer

WASUP YALL?????
17
Posts
14
Years
ummmmmm....

Ok, number one, in what circumstance do you start making a script from scratch.
number 2, how do you change scripts
number 3, you kinda rushed it.
anyone care to explain?
 
10,078
Posts
15
Years
  • Age 32
  • UK
  • Seen Oct 17, 2023
Ok, number one, in what circumstance do you start making a script from scratch.
number 2, how do you change scripts
number 3, you kinda rushed it.
anyone care to explain?

1. In almost every case if you want to be a hacker.

2. In the same way you make them - try following this or one of the other tutorials.

3. This is in no way rushed, read it, it goes through all key commands and even some that will rarely be used.
 
10,078
Posts
15
Years
  • Age 32
  • UK
  • Seen Oct 17, 2023
I cant find my ROM
I try to ...
well u know
File:open
I dont see my Fire Red Or Emerald in that

in XSE you open rbc / other script files, you don't have to open the ROM file.

Write your script, save it, then go batch compiler, and find your ROM in the top section. This is probably the easiest way to compile as you can do multiple scripts at once.

Make sure you double check where your ROM file is located
 
Last edited:

xGGxToiZ

>.//:SO HOT:\\.<
44
Posts
14
Years
Correction

hey my script isn't working can anyone help???

#dynamic 0x800002

#org @start
lock
faceplayer
msgbox @yesno 0x5
compare 0x800D 0x1
if 0x1 goto @yes

msgbox @no2 0x6
release
end

#org @yes
msgbox @yes2 0x6
release
end

#org @yesno
= Are you stupid???

#org @yes2
= HAHAHA!!!

#org @no2
= Liar!!!



I talk to the guy and he asks the question but no matter how i answer he says "Liar!!!"

The ones in bold are the corrections. You should only have one if. (Though you can have both but this one is much less complicated.)

compare 0x800D 0x1
- 0x1 stands for "YES"

or you can do this:
#dynamic 0x800002

#org @start
lock
faceplayer
msgbox @yesno 0x5
compare 0x800D 0x0
if 0x1 goto @no

msgbox @yes2 0x6
release
end

#org @no
msgbox @no2 0x6
release
end

#org @yesno
= Are you stupid???

#org @yes2
= HAHAHA!!!

#org @no2
= Liar!!!

In this case, 0x0 stands for "no"

Hope it helps! ^^

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