Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] XSE Scripting Tutorial

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
 
Thread Tools
  #176    
Old July 19th, 2008 (11:53 AM). Edited July 19th, 2008 by Christos.
dbrown123's Avatar
dbrown123 dbrown123 is offline
 
Join Date: Jul 2008
Location: ny
Gender:
Posts: 35
Im confused i no how to do it but like how do you chose wat person to give it to

ok i found out how to import it but im confused about 1 thing its about wild pokemon were do you plac it on the map do you place it on a person or do you place it like in random grass is there like any thing i have to do yo make the wild pokemon apperar

thanks for your help
  #177    
Old July 20th, 2008 (09:39 AM).
second's Avatar
second second is offline
Working on Pokemon Lunar
 
Join Date: Apr 2008
Location: England
Gender:
Posts: 15
how do you do a wild battle script and a give pokemon script?
  #178    
Old July 22nd, 2008 (04:46 PM).
twi1ight's Avatar
twi1ight twi1ight is offline
Pokemon Paradox Creator
 
Join Date: May 2008
Location: on the earth
Gender:
Nature: Relaxed
Posts: 34
I have a long script I need help with I have already tried the script help thread.
Spoiler:
#dynamic 0x34EB8C
#org @getcelebi
checkflag 0x828
if 0x0 goto @continue
if 0x1 goto @continue1
release
end
#org @continue
msgbox @help
boxset 0x6
applymovement 0xFF @hurry
waitmovement 0x0
msgbox @idk
boxset 0x6
applymovement 0x05 @kick
waitmovement 0x0
msgbox @udono
boxset 0x6
applymovement 0x06 @4argument1
applymovement 0x07 @4argument11
waitmovement 0x0
msgbox @argument1
boxset 6
applymovement 0x06 @lookdown
applymovement 0x07 @lookdown
waitmovement 0x0
applymovement 0x03 @look
waitmovement 0x0
msgbox @othnkgd
boxset 0x6
givepokemon 0x251 0x5 0x0 0x0 0x0 0x0
setflag 0x828
applymovement 0x05 @2me
applymovement 0x03 @outofway
waitmovement 0x0
trainerbattle 0x1 0x146 0x0 @hah @darn
goto @finish
end
#org @continue1
checktrainerflag 0x146
if 0x0 goto @continue2
if 0x1 goto @done
end
#org @continue2
applymovement 0xFF @hurry
waitmovement 0x0
msgbox @urback
boxset 0x06
applymovement 0x05 @2me
applymovement 0x03 @outofway
waitmovement 0x0
trainerbattle 0x1 0x146 0x0 @heh @darn
goto @finish
end
#org @done
release
end
#org @help
=Somebody Help!
#org @hurry
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE
#org @idk
=Alder:I don't know what your \ntalking about.\p???SILENCE!
#org @kick
#raw 0x1D
#raw 0x32
#raw 0xFE
#org @udono
=???:You know very well what We're\ntalking about!\pGive me the Celebi!
#org @4argument1
#raw 0x03
#raw 0xFE
#org @4argument11
#raw 0x02
#raw 0xFE
#org @argument1
=???:NO give it to me! \nNo me! \pBoth of you SHUT UP!! \p...\p...\pWe'll talk it over with the \nbosses later.
#org @lookdown
#raw 0x00
#raw 0xFE
#org @look
#raw 0x30 0x2F 0x2D 0x62 0xFE
#org @othnkgd
=Oh \v\h01! \nI am so glad you're here.\nTake this you are probably \nbetter at battling than I am.\p???:I'll battle him!\p???:NO ME! \???:I'm gonna battle him...ect.
#org @2me
#raw 0x10
#raw 0x10
#raw 0xFE
#org @outofway
#raw 0x12
#raw 0xFE
#org @hah
=I'll be your oppponent!
#org @darn
=It seems you are better than me.
#org @urback
=Thank you for coming back!
#org @heh
=???:I wanted to battle\nhim this time.\p???:Ya me too. \p???:Too bad!
#org @finish
msgbox @notovryt
boxset 0x6
fadescreen 0x1
setflag 0x200
hidesprite 0x03
setflag 0x201
hidesprite 0x06
setflag 0x202
hidesprite 0x07
fadescreen 0x0
msgbox @thnx
boxset 0x6
fadescreen 0x1
warp 0x4 0x3 0x0 0x6 0x4
fadescreen 0x0
release
end
#org @notovryt
=THIS ISNT THE END!! ???:Thats right. ???:Yep
#org @thnx
=\v\h01 thank you so much\nfor coming.\nIf you hadn't he would have gotten\nthe CELEBI.\pTo reward you I have \na present back at the\nlab for you.\pCom'on.

Thnx :D
__________________
My Hack

  #179    
Old July 23rd, 2008 (01:21 AM).
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL 0m3GA ARS3NAL is offline
Im comin' home...
Silver Tier
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 22
Gender: Male
Nature: Gentle
Posts: 1,816
PEOPLE! This is not the script help thread! If you need script help, go HERE!
Seriously, I dont want such a great thread being locked down, keep it on topic please. (Also, this Tutorial is great darthatron, I looked it over, and you helped me understand a bit more about XSE, I am still waiting for Hackmew's full tutorial though, but thanks for this, it has helped me!)
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #180    
Old July 23rd, 2008 (01:24 AM).
[HoN] Jereziah's Avatar
[HoN] Jereziah [HoN] Jereziah is offline
Till DEATH do us part!
 
Join Date: Mar 2008
Location: Destiny Island
Age: 19
Gender: Male
Nature: Brave
Posts: 651
Wow!
Nice XSE Scripting Tuts yah got there Darth!
.....
Thanks for this tut
__________________
spoiler warning
The proceeding text contains a spoiler.
Plot and/or ending details follow containing information on League of Legends.

If you wanna play LoL click:
https://signup.leagueoflegends.com/?ref=4bf10adbb6c1a


Play this game, if you like DotA.

  #181    
Old July 23rd, 2008 (08:11 AM).
twi1ight's Avatar
twi1ight twi1ight is offline
Pokemon Paradox Creator
 
Join Date: May 2008
Location: on the earth
Gender:
Nature: Relaxed
Posts: 34
i did go to the script help thread and nobody is giving me help!
__________________
My Hack

  #182    
Old July 23rd, 2008 (09:17 AM).
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL 0m3GA ARS3NAL is offline
Im comin' home...
Silver Tier
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 22
Gender: Male
Nature: Gentle
Posts: 1,816
Quote originally posted by twi1ight:
i did go to the script help thread and nobody is giving me help!
It happens, but you cant just post it here, you wont get help. If nobody answers your post after a few posts, ask nicely again, if that doesn't work, PM me your script and the problem, I'll see what I can do, but ONLY PM me if you have already tried the Script help thread a few times. (I know how hard it is, I have asked for some help in there before, and I get nothing, usually, I am lucky to get a response, but please try to keep your scripts in the script help tread. (There are more than one if you search for them, just dont accidentally revive an old thread, cuz that is against the rules)
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #183    
Old July 23rd, 2008 (03:39 PM).
twi1ight's Avatar
twi1ight twi1ight is offline
Pokemon Paradox Creator
 
Join Date: May 2008
Location: on the earth
Gender:
Nature: Relaxed
Posts: 34
Quote originally posted by 0m3GA AR$3NAL:
It happens, but you cant just post it here, you wont get help. If nobody answers your post after a few posts, ask nicely again, if that doesn't work, PM me your script and the problem, I'll see what I can do, but ONLY PM me if you have already tried the Script help thread a few times. (I know how hard it is, I have asked for some help in there before, and I get nothing, usually, I am lucky to get a response, but please try to keep your scripts in the script help tread. (There are more than one if you search for them, just dont accidentally revive an old thread, cuz that is against the rules)
ok i'll try again. *sigh*
__________________
My Hack

  #184    
Old July 23rd, 2008 (05:28 PM).
dbrown123's Avatar
dbrown123 dbrown123 is offline
 
Join Date: Jul 2008
Location: ny
Gender:
Posts: 35
i found out that there are #s that after a batlle with a legendary they dissaper. i no theres a way to do it in the game so does anyone no the numbers that make the pokemon like kyorger to dissaper after the battle
  #185    
Old August 15th, 2008 (12:31 AM). Edited August 15th, 2008 by OutOfOrder.
OutOfOrder's Avatar
OutOfOrder OutOfOrder is offline
Saving you from yourself...
 
Join Date: Jul 2008
Gender:
Posts: 34
Well seeing as you are one of the people who have made a XSE guide, i was wondering if you knew how to make a trainer battle script and how to make a wild battle script.


I have looked through this thread and none of these scripts work on and EMERALD rom... so i was wondering if someone knows what the script for a EMERALD ROM would be for the trainer battle and the wild battle.


Thanks!
__________________
Need Help in My EMERALD Hack:
Trainer Battle Script <---- Really need this one soon!
Applymovement Script <--- This one is also pretty important!

If you have any of these scripts for EMERALD VERSION then please pm me!

Thanks!
  #186    
Old August 15th, 2008 (07:19 PM).
Semblance Semblance is offline
 
Join Date: Aug 2008
Posts: 152
Quote originally posted by T:
Spoiler:
'-----------------------
#Dynamic 0x800000

#org 0x800000
lock
faceplayer
checkflag 0x200
if B_true goto @gotit
givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
setflag 0x200
release
end

#ORG @gotit
message @speak
release
end

#ORG @recived
= Take this!

#ORG @speak

= How's Squirtle doing?


Can someone tell me whats wrong with this script?
The person doesn't talk, and whenever I try to talk to him the givepokemon repeats...
I think you forgot the if B-False goto @recived
right now in your script theres no pointer to recived

Does anyone get weird dots on the start menu after the input a code into the ROM?
  #187    
Old August 28th, 2008 (05:53 PM).
M O M U S U's Avatar
M O M U S U M O M U S U is offline
Fail-safe
 
Join Date: May 2008
Location: Twinleaf Town
Age: 21
Nature: Quiet
Posts: 108
Ok, how do you make a wild battle script? Like, you talk to a Mew on the map and it initiates the legendary battle, with a Mew cry and legendary battle music and everything.

I've tried using Pokescript and changing it to XSE, but that doesn't work.

It says "unknown keyword at line _", then it says that lock, faceplayer, etc. are unknown keywords.

Help please? I'm desperate here.
__________________

R o x a s
No one would miss me.

  #188    
Old September 14th, 2008 (01:14 PM).
Ineffable~'s Avatar
Ineffable~ Ineffable~ is offline
DAT SNARKITUDE
Crystal Tier
 
Join Date: Aug 2008
Location: Any ol' place really
Age: 21
Gender: Female
Nature: Naive
Posts: 2,742
Here's my script:
Code:
 
#Dynamic 0x1DCBF8
#ORG @Wow! Lock FacePlayer Message @Speak BoxSet 0x6 Release End #ORG @Speak = This is a message!
When I click compile, it says, "No dynamic start offset specified."
I copied and pasted the code straight from your thread, so I couldn't
have typed something wrong... What's going on?!
__________________

#077: Ponyta - The Fire Horse Pokémon
Fire ~ Field eggs
3'03" ~ 66.1lbs ~ 50/50

Its hooves are 10 times harder
than diamonds. It can trample
anything completely flat in moments.

Abilities: Run Away or Flash Fire or Flame Body
Moves: Growl, Flame Wheel, Stomp, Agility
Locations: Pokémon Mansion

Cry

Other names:

jp: ポニータ (Ponyta)
de: Ponita
fr: Ponyta
cn: 小火馬 (Xiǎohuǒmǎ)


  #189    
Old September 14th, 2008 (02:09 PM). Edited September 15th, 2008 by machomuu.
machomuu's Avatar
machomuu machomuu is offline
We'll practice like it's 1999!
Moderator
 
Join Date: Apr 2008
Location: Americalanavania
Gender: Male
Nature: Relaxed
Posts: 7,327
Wow, when I first heard about this, I thought it seemed to complicated, however, When I tried it I found it wasn't all that hard and actally pretty good, plus, I can still use pokescript, which makes this even better, nice one Mew :D!!
__________________
  #190    
Old September 15th, 2008 (01:35 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
 
Join Date: Jun 2006
Posts: 1,314
Quote originally posted by silversea_rainbowsky:
Ok, how do you make a wild battle script? Like, you talk to a Mew on the map and it initiates the legendary battle, with a Mew cry and legendary battle music and everything.

I've tried using Pokescript and changing it to XSE, but that doesn't work.

It says "unknown keyword at line _", then it says that lock, faceplayer, etc. are unknown keywords.

Help please? I'm desperate here.
Do you mind showing use the script you tried to compile? That would sure help.


Quote originally posted by Lilbittygoat:
Here's my script:
Code:
 
#Dynamic 0x1DCBF8
#ORG @Wow! Lock FacePlayer Message @Speak BoxSet 0x6 Release End #ORG @Speak = This is a message!
When I click compile, it says, "No dynamic start offset specified."
I copied and pasted the code straight from your thread, so I couldn't
have typed something wrong... What's going on?!
Are you sure you're using latest version of XSE?
__________________
  #191    
Old September 19th, 2008 (06:12 AM). Edited September 19th, 2008 by jin14.
jin14 jin14 is offline
 
Join Date: Sep 2008
Posts: 61
sorry what is wrong in this script:
#dynamic 0x877554
#org @start
lock
faceplayer
applymovement 0x15 @lino
waitmovement 0x15
message @trino
boxset 6
pause 0x30
release
end


#org @lino
#raw 1
#raw 0
#raw 1
#raw FE

#org @trino
= Ciao.

SOMEBODY CAN ANSWER MY QUESTIONS WHY THESE SCRIPT DON'T GO?
PLEASE HELP ME!
  #192    
Old September 19th, 2008 (12:32 PM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
Quote originally posted by jin14:
sorry what is wrong in this script:
#dynamic 0x877554
#org @start
lock
faceplayer
applymovement 0x15 @lino
waitmovement 0x15
message @trino
boxset 6
pause 0x30
release
end


#org @lino
#raw 1
#raw 0
#raw 1
#raw FE

#org @trino
= Ciao.

SOMEBODY CAN ANSWER MY QUESTIONS WHY THESE SCRIPT DON'T GO?
PLEASE HELP ME!
Try this:

Spoiler:

#dynamic 0x877554

#org @start
lock
faceplayer
applymovement 0x0F @lino
waitmovement 0
message @trino
boxset 6
release
end

#org @lino
#raw(enter movements here)
#raw 0xFE

#org @trino
= Ciao.


If you want to know proper movements, go to: http://pokehacks.dabomstew.com/index.php?token=srmovements
Just add #raw then the movement(s).
  #193    
Old September 20th, 2008 (04:22 AM). Edited September 20th, 2008 by jin14.
jin14 jin14 is offline
 
Join Date: Sep 2008
Posts: 61
thank's now i try and i hope that it go!

this is correct?
#dynamic 0x877569

#org @start
lock
faceplayer
applymovement 0x0F @lino
waitmovement 0x2
message @trino
boxset 6
release
end

#org @lino
#raw 0x1
#raw 0x1
#raw 0xFE

#org @trino
= Ciao.

these script is correct o no?
  #194    
Old September 21st, 2008 (05:20 AM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
Quote originally posted by jin14:
thank's now i try and i hope that it go!

this is correct?
#dynamic 0x877569

#org @start
lock
faceplayer
applymovement 0x0F @lino
waitmovement 0
message @trino
boxset 6
release
end

#org @lino
#raw 0x01
#raw 0x01

#raw 0xFE

#org @trino
= Ciao.

these script is correct o no?
I just corrected some things. They are in Bold.
  #195    
Old September 21st, 2008 (05:28 AM).
jin14 jin14 is offline
 
Join Date: Sep 2008
Posts: 61
ok but if i wuold that after speak paople go in another zone?
  #196    
Old September 21st, 2008 (05:46 AM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
Quote originally posted by jin14:
ok but if i wuold that after speak paople go in another zone?
You want the person to disappear?
Try using hidesprite 0x0F or #raw 0x60.

Spoiler:

#dynamic 0x877569

#org @start
lock
faceplayer
applymovement 0x0F @lino
waitmovement 0
message @trino
boxset 6
hidesprite 0x0F
setflag 0x212

release
end

#org @lino
#raw 0x60
#raw 0xFE

#org @trino
= Ciao.


In advance map, put the people ID of the person: 212.
  #197    
Old September 21st, 2008 (06:03 AM).
Shadows's Avatar
Shadows Shadows is offline
 
Join Date: Jul 2008
Location: Chicago, IL
Age: 19
Nature: Calm
Posts: 857
Okay, just to clear this out, this is not the script help thread...
THIS IS
if you post a script here, don't expect to get help anymore...
__________________
  #198    
Old September 21st, 2008 (06:30 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by T:
Okay, just to clear this out, this is not the script help thread...
THIS IS
if you post a script here, don't expect to get help anymore...
Okay, just to clear this out, this is not the back seat moderating thread...
THIS IS
Oh... wait... that thread doesn't exist.
_________________________

Keep posting here if you need help.
__________________
あなた は しきしゃ です
わたし は ばか です
  #199    
Old September 22nd, 2008 (07:48 AM).
Chimchar 9's Avatar
Chimchar 9 Chimchar 9 is offline
(:
Silver Tier
 
Join Date: Jan 2008
Location: England, Southampton.
Age: 21
Gender: Male
Nature: Calm
Posts: 1,621
could you update this thread please because it will be helpful to me and the other user's here
well nice tutorial
__________________
Pokemon Green Diamond
Status: On Hold.
  #200    
Old September 24th, 2008 (11:18 AM).
Platinum Lucario's Avatar
Platinum Lucario Platinum Lucario is offline
The Legendary Master of Light!
Crystal Tier
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 22
Gender: Male
Nature: Calm
Posts: 1,523
Quote originally posted by Lucario 9:
could you update this thread please because it will be helpful to me and the other user's here
well nice tutorial
Well I think there is other tutorials on scripting, you should check them out!
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 01:18 AM.