(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-18-24 04:40 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Zelda 3 Sprite Palette Confusion
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Reshaper256
Posts: 159/196
(I posted this on the other board, but I'm not sure how many people will see it there.)

Does anybody know anything about what controls which half of the sprite palettes are used by any sprite using the "lower fourth" of the loaded enemy GFX?

For example:



I captured these with Virtual SNES (a savestate editor). GFX that are green are using the first "half" of the sprite palettes, while GFX that are blue are using the second "half." Sometimes (pic 1), the lower fourth of the loaded enemy GFX will use the second half of the sprite palettes, while other times (pic 2), the lower fourth will use the first half, just like the rest of the enemy GFX. I can't seem to figure out what is making the game do this swap; the exact same palette values seem to be loaded for the sprites using these GFX, so I don't see what's telling the game to use the other half of the palettes. I believe it is somehow based on the value loaded to $0AA3, which is the EnemyBlk (HM name) value for dungeons plus #$40, and determines which enemy GFX is loaded into the tileset shown in the pictures above. But I've looked and found nothing, so I could be wrong about that. The value might somehow be tied to the actual "fourth" of graphics itself, instead of connected to the entire "EnemyBlk" value.

If anyone could offer any insight as to what's actually causing this, it'd be great.

edit: Hmm... this thread is slowly sliding down the page... I guess nobody knows.
Acmlm's Board - I3 Archive - ROM Hacking - Zelda 3 Sprite Palette Confusion


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.002 seconds; used 349.65 kB (max 377.55 kB)