Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,443,160
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-20-24 06:28 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 1 bot

Main - ROM Hacking - Seeking help with Pokemon Ruby hacking New thread | New reply


Delmaru
Posted on 05-31-09 07:08 PM Link | Quote | ID: 107835


Leever
Level: 33

Posts: 191/193
EXP: 209111
Next: 20068

Since: 08-26-07

Last post: 5437 days
Last view: 5402 days


I'm looking for someone who is willing to script in Pokemon Ruby for me. I really don't feel like learning it, and I would like a bit of help with it. So if anyone is willing to teach me, or even do it for me, anything would be appreciated.

____________________



Kawa
Posted on 05-31-09 07:12 PM Link | Quote | ID: 107836


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 1880/5344
EXP: 30930847
Next: 732134

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
It's really not that hard, y'know.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Delmaru
Posted on 05-31-09 07:14 PM Link | Quote | ID: 107837


Leever
Level: 33

Posts: 192/193
EXP: 209111
Next: 20068

Since: 08-26-07

Last post: 5437 days
Last view: 5402 days


Posted by Kawa
It's really not that hard, y'know.


Everything I've found seems too complicated to me. Is there a decent tutorial somewhere? And what's the best program for scripting?

____________________



Kawa
Posted on 05-31-09 07:21 PM (rev. 2 of 05-31-09 07:23 PM) Link | Quote | ID: 107838


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 1881/5344
EXP: 30930847
Next: 732134

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
Simple script to make a person say something:
loadpointer 0 (some offset)
callstd 4
end
Where "some offset" is a regular GBA pointer, pointing to a line of text. This compiles to the following byte stream:
0F (that offset), 09 04, 02
Pokémon scripting is not that complicated.

As for applications to do it with, I haven't exactly kept track. Push comes to shove, you can always do it by hand in a hex editor. I have a list of commands and their parameters if you want.

Edit: added command delimiters to the byte stream. Also note that different applications may have different command names. The script editor that comes with EliteMap is sorely outdated and has missing commands. Missing commands mess up the code, parsing parameters as more commands.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Delmaru
Posted on 05-31-09 07:25 PM Link | Quote | ID: 107839


Leever
Level: 33

Posts: 193/193
EXP: 209111
Next: 20068

Since: 08-26-07

Last post: 5437 days
Last view: 5402 days


Hmm
What about a warp command/script? (I'm using advanced map btw)

____________________



Kawa
Posted on 05-31-09 07:30 PM Link | Quote | ID: 107841


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 1882/5344
EXP: 30930847
Next: 732134

Since: 02-20-07
From: The Netherlands

Last post: 4492 days
Last view: 2627 days
Warps are funky, I for one haven't figured them out completely yet. All I know is that there are several variants, and all but one of these take three bytes and two variables as parameters.
warp (25, 24, 255, 0x6, 0x8);
^ Actual statement from Ruby.

That's one interesting thing you should know: a lot of commands take parameters that are either variables or integer constants depending on the value being higher than 0x4000. So you could either set a variable to 25 and pass that var to givepokemon, or you could call it with parameter 25 directly.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Main - ROM Hacking - Seeking help with Pokemon Ruby hacking New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.021 seconds. (341KB of memory used)
MySQL - queries: 47, rows: 73/73, time: 0.016 seconds.