Sonic Jam 6/Art Editing

From Sonic Retro

Revision as of 04:37, 25 March 2020 by Black Squirrel (talk | contribs) (Text replacement - "__NOTOC__ {{SCHG (.*)}} ==" to "{{SCHG $1}} ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SCHG: Sonic Jam 6
Main Article
ROM Editing
Editing ROM
Title Screen
Bonus Level
Sound Driver
Play BGM
Play SFX
RAM Editing
Editing RAM
Art Editing
Editing Art
Title Screen
Title Screen Palette
Level Palettes
Value Reference
Value Reference
Level Map Numbers
SFX Numbers

Title Screen

Title Screen Palette

At ROM:FFFE, there are the four palette lines for the Title screen. The first is the palette line for the big Sonic, the second is for the wings and the circle behind Sonic, the third is for the "Sonic Jam 6" writing and the background, the fourth is unused and contains green and pink repeated for eight times (so it's likely a kind of "free field" for hacking).


Level palettes

At ROM:16CA, there's the instruction lea (off_EC66).l,a3, which specifies the address where there is the array of pointers to level palettes. Then (usually at 0xEC66) you find an array of pointers. There's a pointer for each level map, and this pointer points to the four palette lines for the level. Once you go to the address specified by level palette pointer, it's very easy to modify the palette. There are four palette lines in standard Megadrive format.