The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Reload this Page Research Quick command overview (194/213)
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Thread Tools
Old February 17th, 2008 (2:20 PM).
Mastermind_X's Avatar
Mastermind_X Mastermind_X is offline
Join Date: Feb 2007
Location: Germany
Nature: Adamant
Posts: 92
Send a message via ICQ to Mastermind_X
No documentation for the moment, but used as quick reference, you'll find "all" posssible scripting commands here:
Reply With Quote

Relevant Advertising!

Old February 18th, 2008 (3:13 PM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~
Silver Tier
Join Date: May 2007
Location: Philippines
Age: 25
Gender: Male
Nature: Careful
Posts: 8,359
I think you should make it clear for what ROMS these are for, but meh, it's for FireRed and LeafGreen, and I think it's quite useful for the hackers of those ROMs.

Nicely done~

FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

Reply With Quote
Old February 18th, 2008 (3:36 PM).
SerenadeDS's Avatar
SerenadeDS SerenadeDS is offline
Join Date: Feb 2007
Posts: 283
Originally Posted by Mastermind_X View Post
you'll find "all" posssible scripting commands
So does that mean you hope that you found "ALL" of them

Whooz, that is a nice list. Thankz Mastermind_X! I am sure scripiters will use it to there advantage. I know I will.
Reply With Quote
Old February 18th, 2008 (4:14 PM).
Keyrin Keyrin is offline
Join Date: Jan 2008
Posts: 51
This is useful. Thanks, Mastermind! I still haven't gotten a hang of scripting much, but I am practicing to become a master! :D
Reply With Quote
Old February 18th, 2008 (4:25 PM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
Silver Tier
Join Date: Feb 2007
Location: United States
Age: 21
Gender: Male
Nature: Impish
Posts: 1,150
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Awesome, now If someone can add them to pokescript!

Reply With Quote
Old February 19th, 2008 (1:24 AM).
loadingNOW loadingNOW is offline
Join Date: Jan 2008
Posts: 39
they are in this
also the normal scripting is compatible between rs/fl/e with a few exeptions later games have more commands and a few rs commands were dropped. But the differences are really minor
Reply With Quote
Old February 19th, 2008 (2:29 AM).
thethethethe thethethethe is offline
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
WOW. I don't think I have too much more to say. I'll have to mess around with all these and see how many I can get to work.
Reply With Quote
Old March 21st, 2008 (8:42 AM). Edited March 21st, 2008 by Teh Baro.
Teh Baro's Avatar
Teh Baro Teh Baro is offline
In my times...!
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
Posts: 522
I've just copied all those commands to my rubikon.dat using the rubikon2Keditor.

So, it'd be cool to make a more complete rubikon.dat and a manual on it (with the commands it has and its parameters with the info on what do they do) (and its equivalent for pokescript, if it exists AND is doable, else the authors could just port it)... It'd be great if we all collaborate with stuff we discover by ourselves, specially on the uncommon commands. Right now I'm trying to discover how does the 0xAA command work (creates a sprite). I don't even know how many parameters it has, but I already got the picture, the X and y coords, the behaviour (but it doesn't follow the usual values, gotta test that).

With a powerful and comprehensible command database, more powerful scripts can be done!

So I'm done with 0xAA, which creates a sprite on the map.
6 parameters:
BYTE: sprite picture
BYTE: ???
WORD: X coordinates
WORD: Y coordinates
BYTE: ??? Values higher than 0F cause every sprite to be invisible
BYTE: behaviour
Looks like no matter what, you can walk over the sprite and it has no script attached (

So, that, if anyone discovers new stuff through testing, it'd be cool to share, or is mastermind_X already doing it?

The behaviours for createsprite:
00 - look down
02 - look up
03 - look left
04 - look right
09 - walk on the spot down
0B - walk on the spot up
0C - walk on the spot left
0D - walk on the spot right
12 - walk+ on the spot down
14 - walk+ on the spot up
15 - walk+ on the spot left
16 - walk+ on the spot right
1B - walk++ on the spot down
1D - walk++ on the spot up
1E - walk++ on the spot left
1F - walk++ on the spot right
24 - walk+++ on the spot down
26 - walk+++ on the spot up
27 - walk+++ on the spot left
28 - walk+++ on the spot right
2D - run on the spot (hero) down
2F - run on the spot (hero) up
30 - run on the spot (hero) left
31 - run on the spot (hero) right
3F - spin and stop left
41 - spin and stop right
42 - spin and stop down
43 - spin and stop up
48 - four slow steps down on spot

Walk+++ is really fun to watch. Got to say, I tried to load walk+++ left, right and down at the same time and they didn't load correctly (lol, overflow?)
what the fudge
Reply With Quote
Old March 21st, 2008 (11:30 AM).
ZodiacDaGreat's Avatar
ZodiacDaGreat ZodiacDaGreat is offline
Working on a Mobile System
Join Date: Feb 2007
Location: South Pacific
Age: 23
Gender: Male
Nature: Relaxed
Posts: 429
Send a message via ICQ to ZodiacDaGreat
Another good news, theres no need to port it to other games, as XSE's almost complete, nearly all those commands are included, with alot of new functions.
Reply With Quote
Old March 22nd, 2008 (12:15 AM).
Binary's Avatar
Binary Binary is offline
Join Date: Aug 2007
Age: 21
Posts: 3,994
Wow, good to see some commands, they'll be really helpful to me.
Nice work!
Reply With Quote
Old March 22nd, 2008 (3:44 PM). Edited March 23rd, 2008 by Teh Baro.
Teh Baro's Avatar
Teh Baro Teh Baro is offline
In my times...!
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
Posts: 522
ROM:0815FB58 DCD sh_69_jingle+1
I've always knew that it's not "jingle", but I've just realized that what this command does is freezing everyone.
For example, if you have people with a behaviour that implies movement (running on the spot, or walking around) they'd just freeze until the end of the script.

Like lock, but it should be caled "lockall"
what the fudge
Reply With Quote
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 GMT -8. The time now is 10:23 AM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.