Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Change Azurill in R/S | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
interdpth

Rex
Level: 36

Posts: 20/527
EXP: 294398
For next: 13712

Since: 03-20-04

Since last post: 10 days
Last activity: 31 days
Posted on 04-04-04 03:35 AM Link | Quote
For now I can only change the image palette later to night.


STEP 1 --- IMAGES

Azurill's image pointer: e0f1c8
Pikachu's image pointer: d405e4

At ROM location b2b8 is the pointer in Ruby:448e1e08 In Sapphire48D1E08 .
If you follow this, you end up smack dab in the middle of the image pointer table. Recognize that pointer you're now at?
That's Azurill's image.

Now, find the offset to Pikachu's image pointer. This should be at In Ruby:1e841c In Sapphire:1e83ac . Reverse this into the
pointer in Ruby:1c841e08 in Sapphire:AC831e08 and go back to b2b8. Insert our new pointer at this location and start a new
game.

Now, the example Pokemon should be a Pikachu instead of an Azurill. Problem is, she's all blue. She's in fact, still using
Azurill's palette.
Tauwasser

Goomba
Level: 10

Posts: 7/27
EXP: 3424
For next: 990

Since: 03-16-04

Since last post: 18 hours
Last activity: 18 hours
Posted on 04-04-04 02:12 PM Link | Quote
In Fact. That Blue is a Security-Thingy

B2B8h = Pointer to Pointer to the compressed picture of the PKMN
B2C4h = Pointer to Pointer to the compressed pallette data of the PKMN

But the Pallete handle is tricky It can normally only access regular numbers (hope it's the right word oO .. i mean : 0 ,2,4 etc.).

That is controled by the Byte at B286 (Byte + Leftshift about 1 bit = Number of PKMN AF (10101111) --> 15E (101011110) )

I Made a patch for the odd numbers In which you only need to locate your Number in reversed byteorder at 15E5C64 for right pallette access

A Patch can be found here http://mitglied.lycos.de/tauwasser/DL/odnbrpch.cab

EDIT: Oh yeah. All Creditz to me and it's for Sapphire.

cYa,
Tauwasser


(edited by Tauwasser on 04-04-04 05:12 AM)
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 29/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 04-05-04 11:10 PM Link | Quote
*Kawa-oneechan coughs a bit and taps a microphone.

I tried this subject a very long time ago. Only, it was meant to be private. I guess I'll just release it now, eh?




/***************************/
/* Author's new year notes */
/*
Tauwasser

Goomba
Level: 10

Posts: 8/27
EXP: 3424
For next: 990

Since: 03-16-04

Since last post: 18 hours
Last activity: 18 hours
Posted on 04-06-04 11:28 PM Link | Quote
Like i said you can't change it to an odd number

cYa,

Tauwasser
interdpth

Rex
Level: 36

Posts: 21/527
EXP: 294398
For next: 13712

Since: 03-20-04

Since last post: 10 days
Last activity: 31 days
Posted on 04-07-04 06:08 AM Link | Quote
Ok original data goes to Kawa but it didn't work for sapphire >o< So the one I did was just updated for Sapphire and didn't include the Palette info on purpose.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - Change Azurill in R/S | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.012 seconds.