Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Spenceroone3's 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
  #26    
Old November 11th, 2007 (08:41 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Send a message via Windows Live Messenger to spenceroone3
Quote originally posted by Juan:
In the Weather Script, it has that to place some value in the fields "Unknown and
Var Number" of a-map?
I left thus and he did not function:
Unknown: 00 00
Var Number: 00 00
Sorry, that is a bit hard too understand in all tutorials. That is also in foullump's tut, but he made it hard as to understand. Thanks.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #27    
Old November 12th, 2007 (08:05 AM).
Juan Juan is offline
Brazilian with a bad English
 
Join Date: Jun 2007
Location: Pindamonhangaba - SP
Age: 24
Nature: Adamant
Posts: 92
Quote originally posted by coin3:
It should be:

Unknown: 03 00
Var Number: 50 40
This is for applymovements, does not function to Weather, I already tried and he does not function.
__________________
  #28    
Old November 12th, 2007 (08:50 AM).
coin3's Avatar
coin3 coin3 is offline
 
Join Date: Aug 2006
Nature: Adamant
Posts: 84
Look for a script already in the game that uses weather then.
__________________

Click here to feed me a Rare Candy!




My friends: DP Master, Spenceroone3, Hiidoran, Destinedjagold.
Spoiler:

My family. I am twins with Spenceroon3 .
Dad: Celebi_XD
Mom: Sea_Guardian
Best friend(S): ___________
Brother(s): Gotron228, Godot
Sister(s): ___________
Twin (Coin3 can get triplets though as well): Spenceroone3
Best enemy(s): Kid Nino
Girlfriend/Pair: _____________
  #29    
Old November 12th, 2007 (11:40 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote originally posted by Juan:
This is for applymovements, does not function to Weather, I already tried and he does not function.
03 00
50 40
Is really generic it should work just about every script.

I was having trouble with the setweather and doweather command a while ago so I reverted it back to a #raw format and that seemed to fix it.

#raw A4 is setweather
** is the weather
#raw A5 is doweather

Try using this.
Code:
#raw 0xA4 0x**
#raw 0xA5
__________________
Gone.
  #30    
Old November 12th, 2007 (01:01 PM). Edited November 12th, 2007 by Twinx.
Twinx's Avatar
Twinx Twinx is offline
s o m e t h i n g M O R E
 
Join Date: Nov 2006
Location: m i l e s A W A Y
Age: 25
Gender:
Nature: Brave
Posts: 1,802
I see you covered some stuff others didn't mention... 10x man! very useful.
I'll give these a try in my free time :D
Didn't understand the Randomization part Does that mean that the person says or does random things every time?
__________________
coming back looking delicious

:: my deviantArt ::
  #31    
Old November 12th, 2007 (02:08 PM). Edited November 12th, 2007 by Juan.
Juan Juan is offline
Brazilian with a bad English
 
Join Date: Jun 2007
Location: Pindamonhangaba - SP
Age: 24
Nature: Adamant
Posts: 92
Quote originally posted by thethethethe:
03 00
50 40
Is really generic it should work just about every script.

I was having trouble with the setweather and doweather command a while ago so I reverted it back to a #raw format and that seemed to fix it.

#raw A4 is setweather
** is the weather
#raw A5 is doweather

Try using this.
Code:
#raw 0xA4 0x**
#raw 0xA5
It continues not functioning.
Spoiler:
#org $teste
#raw 0xA4 0x0B
#raw 0xA5
end

Spoiler:
'-----------------------
#org 0x800198
setweather 0xB
doweather
end

__________________
  #32    
Old November 12th, 2007 (08:54 PM).
totiman_mantito's Avatar
totiman_mantito totiman_mantito is offline
 
Join Date: Nov 2007
Gender:
Posts: 3
I've tried TUTORIAL ELEVEN or WILD BATTLE TUT
But when I press compile the LOG will show up then a pop-up box will appear and say:
Run-time error '457':
The key is already associated with an element of this collection

Why is that happening???
__________________
  #33    
Old November 12th, 2007 (09:01 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Send a message via Windows Live Messenger to spenceroone3
I have no idea. Let me try it. I'll edit this post.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #34    
Old November 17th, 2007 (07:45 PM).
thetribemaster's Avatar
thetribemaster thetribemaster is offline
Pokemon: Brink of Oblivion
 
Join Date: Nov 2007
Gender:
Posts: 25
Hey dude can you send me pokéscript? Plz I rly need it cuz I cant get rubikon scriptEd to work...
  #35    
Old November 17th, 2007 (07:47 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Send a message via Windows Live Messenger to spenceroone3
Search for it over the internet. I can't really give it to you, sorry. :(
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #36    
Old December 20th, 2007 (01:23 AM).
0m3ga_S1nn3r's Avatar
0m3ga_S1nn3r 0m3ga_S1nn3r is offline
Beginner Hacker :)
 
Join Date: Dec 2007
Location: In my house
Age: 18
Gender:
Posts: 80
Send a message via Windows Live Messenger to 0m3ga_S1nn3r
Alright, here's a few question's that im really confused about.
1. Alright, u no the rbc thingy i dont get it one bit, could explain to me how to save it please.
2.I've downloaded Pokescript and this other program that i dont even no how to use its called PokemonAdv and it says it needs some windows 32 or sumfing.
3. IF anyone would be kind enough, could they tell me how to get ScriptEd.
  #37    
Old December 20th, 2007 (02:34 AM).
Kristian's Avatar
Kristian Kristian is offline
 
Join Date: Sep 2007
Location: Norway? :b
Nature: Calm
Posts: 170
Quote originally posted by kingdude256:
Alright, here's a few question's that im really confused about.
1. Alright, u no the rbc thingy i dont get it one bit, could explain to me how to save it please.
2.I've downloaded Pokescript and this other program that i dont even no how to use its called PokemonAdv and it says it needs some windows 32 or sumfing.
3. IF anyone would be kind enough, could they tell me how to get ScriptEd.
I'll answer question 2 and 3..

2: PokemonAdv, is the command base(rubicon) for pokescript..you have to install pokemon adv in the same folder as pokescript.

3: ScriptEd comes with the elitemap package.
  #38    
Old December 20th, 2007 (04:22 AM).
0m3ga_S1nn3r's Avatar
0m3ga_S1nn3r 0m3ga_S1nn3r is offline
Beginner Hacker :)
 
Join Date: Dec 2007
Location: In my house
Age: 18
Gender:
Posts: 80
Send a message via Windows Live Messenger to 0m3ga_S1nn3r
Quote originally posted by Kristian:
I'll answer question 2 and 3..

2: PokemonAdv, is the command base(rubicon) for pokescript..you have to install pokemon adv in the same folder as pokescript.

3: ScriptEd comes with the elitemap package.
2.ok it comes up with the following error "run time error 429" and under that it says ActiveX component cant ctreate object

3. where would it be located because i dont think i got it.

but thanks for the info Kristain sorry if i spelt ur name wrong!
__________________
Things I like:
Music Genre: R&B
Song: We Run This [Stick it Edit]
Ice-Cream: Chocolate
Tv Show: Simpsons
Pokemon: Chimchar
Pokemon Game: Pokemon Red

¨°-_,,_-°¨
::~- Elite -~::
..-v'' ''v-...




  #39    
Old December 20th, 2007 (05:48 PM). Edited December 20th, 2007 by derv1205.
derv1205's Avatar
derv1205 derv1205 is offline
Trade/Battle/Breed/Clone (X,B2,D)
 
Join Date: Dec 2007
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 273
Hi, in the colouring text, i want to put in a message for example i put:
message $GotMagby
$GotMagby 1 = You received a MAGBY. Congratulations!

and i just want the word "MAGBY" to be coloured with red, so i put:

$GotMagby 1 = You received a \c\h01\h05MAGBY. Congratulations!

But when i see it in the rom, the word "Congratulatios!" is also coloured =S

What do i have to do?

Thankz
__________________
FC 3DS: 1821 - 8876 - 6418 , Playing Pokemon X & Omega Ruby - Add me and let me know please!
FS: Flying type - Swanna, Doduo, Hawlucha
TSV: 2631 - if needed contact me.

Derv1205's Shop! <- Several IV, Shiny, Legendary, Event Pokemon! Come in take a look

Trader Review thread <- If we've traded a review is much appreciated. Thank you!

"Trade. Breed. Train. Battle."
  #40    
Old December 21st, 2007 (06:19 AM).
kaijudo's Avatar
kaijudo kaijudo is offline
Hacking Fan, Bored to Death
 
Join Date: Oct 2007
Location: NETHERLANDS OF THE HOENN REGION SEPERATED BY KANTO AND SINNOH WITH Jht
Age: 19
Gender:
Nature: Impish
Posts: 21
This may be a tutorial thing but i need someone
to give me pocket script and pkmadv database.
the original site has shut dow or something!
HELP ME!!!!!!!!!!!!!!!!!!!!!!!

and cool scripting tutorial
:'(
  #41    
Old December 21st, 2007 (01:31 PM).
derv1205's Avatar
derv1205 derv1205 is offline
Trade/Battle/Breed/Clone (X,B2,D)
 
Join Date: Dec 2007
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 273
Quote originally posted by kaijudo:
This may be a tutorial thing but i need someone
to give me pocket script and pkmadv database.
the original site has shut dow or something!
HELP ME!!!!!!!!!!!!!!!!!!!!!!!

and cool scripting tutorial
:'(
Send me a PM and i'll give you all the programs , and i think there
is a thread with all this here

And, forgot about my question, i already know the answer .
__________________
FC 3DS: 1821 - 8876 - 6418 , Playing Pokemon X & Omega Ruby - Add me and let me know please!
FS: Flying type - Swanna, Doduo, Hawlucha
TSV: 2631 - if needed contact me.

Derv1205's Shop! <- Several IV, Shiny, Legendary, Event Pokemon! Come in take a look

Trader Review thread <- If we've traded a review is much appreciated. Thank you!

"Trade. Breed. Train. Battle."
  #42    
Old December 24th, 2007 (04:53 PM).
Mechanic's Avatar
Mechanic Mechanic is offline
Shin!~ hohohohoho!~
 
Join Date: Apr 2005
Age: 24
Gender: Male
Nature: Quirky
Posts: 317
Send a message via AIM to Mechanic
I must say this. You are my GOD...

Just with this tutorial in about 5 minutes i learned how to script ANYTHING there is to script for me, and now i am off to create godly scripting text BUAHAHAHAHAHHAA


-Unit - Merry Christmas
__________________
Twitter!!~ Follow Re-follow
  #43    
Old December 24th, 2007 (07:36 PM).
syaoranccs syaoranccs is offline
 
Join Date: Sep 2007
Gender:
Posts: 9
Excuse me
How can I make a battle with legandary pokemon when meet its sprite
  #44    
Old December 25th, 2007 (10:17 AM).
wingzro17's Avatar
wingzro17 wingzro17 is offline
......................... .....
 
Join Date: Aug 2007
Location: Under a box, near 31st street, on FAKE AVE. in FAKE YORK.
Nature: Quiet
Posts: 46
Send a message via AIM to wingzro17 Send a message via Windows Live Messenger to wingzro17
thanks this really helped me a lot!
  #45    
Old January 2nd, 2008 (07:10 AM). Edited January 2nd, 2008 by jk-pingx.
jk-pingx's Avatar
jk-pingx jk-pingx is offline
developing a hack
 
Join Date: Dec 2007
Age: 21
Posts: 10
Send a message via AIM to jk-pingx
#org $begin
lock
faceplayer
checkflag 0x232
if B_true goto $gotit
message $q
boxset 6
message $mygod
boxset 6
givepokemon 280 5 0
message $namecharm
boxset 5
setflag 0x232
setflag 0x828
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = how's that TORCHIC?

#org $q
$q 1 = please help me\ntake this TORCHIC!

#org $mygod
$mygod 1 = You recived the TORCHIC!

message $namecharm
$namecharm 1 = give TORCHIC a nickname
boxset 5
compare LASTRESULT 1
if b_false goto $seeya
Namepokemon
setflag 0x203

message $seeya
$seeya 1 = thanks!
release
end

heres your give pokemon script changed slughtly i was wondering if there was something worng with it because when it gies to name pokemon it does noot go to the naming screen also how do you make the sprite vanish after reciving the pokemon
__________________


Im developing a hack,
if you wanna help pm
me
  #46    
Old January 5th, 2008 (03:34 PM).
SilverPlatinum's Avatar
SilverPlatinum SilverPlatinum is offline
Beginner
 
Join Date: Aug 2007
Location: London
Age: 22
Gender: Male
Nature: Relaxed
Posts: 29
OMG!!!!!!! thanks so much for the tut spenceroone3 your brilliant please make more commands
__________________

Silver's Blaze the level 13 Ninetales!
  #47    
Old January 6th, 2008 (03:35 AM).
Swampert 22's Avatar
Swampert 22 Swampert 22 is offline
Is making tools for you...
Silver Tier
 
Join Date: Sep 2005
Location: Switzerland
Age: 24
Gender: Male
Nature: Brave
Posts: 393
Hey Spenceroone3 are you still around? We'd love for you to update this tutorial. I'm especially interested in knowing how to do money and field move scripts...
__________________

I've made some tools for Pokémon hacking! Please check out the thread... Swampert Tools Showcase

Head over to my thread to check out my latest tool, Pokémon Red/Blue Trainer Editor!

Visit my site for Pokémon ROM Hacking tools! Swampert Tools Homepage
  #48    
Old January 6th, 2008 (05:33 PM).
pokeglitch86 pokeglitch86 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 28
I'm having a similar problem. whenever I click complie on any of my scripts it come up with this:
-------------------------
Run-time error 6

overflow
-------------------------
Any ideas?
  #49    
Old January 7th, 2008 (08:03 AM).
Swampert 22's Avatar
Swampert 22 Swampert 22 is offline
Is making tools for you...
Silver Tier
 
Join Date: Sep 2005
Location: Switzerland
Age: 24
Gender: Male
Nature: Brave
Posts: 393
Quote originally posted by pokeglitch86:
I'm having a similar problem. whenever I click complie on any of my scripts it come up with this:
-------------------------
Run-time error 6

overflow
-------------------------
Any ideas?
I had this problem when I did movement scripts. If you have too many movements in one line, it tends to screw up. Try splitting them up if thats the case. If not then post a script. There may be something wrong with it...
__________________

I've made some tools for Pokémon hacking! Please check out the thread... Swampert Tools Showcase

Head over to my thread to check out my latest tool, Pokémon Red/Blue Trainer Editor!

Visit my site for Pokémon ROM Hacking tools! Swampert Tools Homepage
  #50    
Old January 7th, 2008 (08:40 AM).
Satoshi Sugimori's Avatar
Satoshi Sugimori Satoshi Sugimori is offline
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 22
Gender: Male
Nature: Timid
Posts: 862
Send a message via Windows Live Messenger to Satoshi Sugimori
I think it maybe is a typo or something like you have two the same offsets..
__________________
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 10:05 PM.