The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.


Advertise here

Reply
 
Thread Tools
  #1    
Old February 17th, 2008, 02:20 PM
Mastermind_X's Avatar
Mastermind_X
ASM-Hacker
 
Join Date: Feb 2007
Location: Germany
Gender:
Nature: Adamant
Send a message via ICQ to Mastermind_X

Advertise here
No documentation for the moment, but used as quick reference, you'll find "all" posssible scripting commands here:

http://sfc.pokemon-inside.net/news-334
Reply With Quote
  #2    
Old February 18th, 2008, 03:13 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
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~
__________________
Reply With Quote
  #3    
Old February 18th, 2008, 03:36 PM
SerenadeDS's Avatar
SerenadeDS
Trainer
 
Join Date: Feb 2007
Quote:
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
  #4    
Old February 18th, 2008, 04:14 PM
Keyrin
Beginning Trainer
 
Join Date: Jan 2008
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
  #5    
Old February 18th, 2008, 04:25 PM
cooley's Avatar
cooley
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 19
Gender: Male
Nature: Impish
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
  #6    
Old February 19th, 2008, 01:24 AM
loadingNOW
Beginning Trainer
 
Join Date: Jan 2008
Gender:
they are in this
www pokecommunity.com/showthread.php?t=127326
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
  #7    
Old February 19th, 2008, 02:29 AM
thethethethe
Gym Leader
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
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.
__________________
Gone.
Reply With Quote
  #8    
Old March 21st, 2008, 08:42 AM
Teh Baro's Avatar
Teh Baro
In my times...!
 
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
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!


EDIT
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?

EDIT 2
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

Last edited by Teh Baro; March 21st, 2008 at 09:36 AM.
Reply With Quote
  #9    
Old March 21st, 2008, 11:30 AM
ZodiacDaGreat's Avatar
ZodiacDaGreat
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 21
Gender: Male
Nature: Relaxed
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
  #10    
Old March 22nd, 2008, 12:15 AM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 19
Wow, good to see some commands, they'll be really helpful to me.
Nice work!
__________________
Reply With Quote
  #11    
Old March 22nd, 2008, 03:44 PM
Teh Baro's Avatar
Teh Baro
In my times...!
 
Join Date: Mar 2006
Location: Spain
Gender: Male
Nature: Quiet
Hmmm
ROM:0815FB58 DCD sh_69_jingle+1
Not.
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

Last edited by Teh Baro; March 23rd, 2008 at 03:12 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 04:22 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
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 - 2014 The PokéCommunity / PokéCommunity.com.
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.