Difference between revisions of "Chaotix"
From Sonic Retro
m (→Art Pointers) |
(A GENEROUS DONATION) |
||
Line 123: | Line 123: | ||
|$11B088 | |$11B088 | ||
|Mighty ring and hand | |Mighty ring and hand | ||
+ | |} | ||
+ | |||
+ | ==RAM Locations== | ||
+ | These locations are offset from the base of RAM ($FF0000, which is mirrored to $FFFF0000). | ||
+ | {| border="1" class="prettytable" | ||
+ | !RAM offset||Size||Description | ||
+ | |- | ||
+ | |$D460 | ||
+ | |$40 words | ||
+ | |Genesis palette cache. | ||
+ | |- | ||
+ | |$DFDE | ||
+ | |Word | ||
+ | |Current game mode. Known values: | ||
+ | *$00: Sega screen | ||
+ | *$08: Title screen | ||
+ | *$18: Level | ||
+ | *$20: Special Stage | ||
+ | *$38: Demo | ||
+ | *$50: Bonus Stage | ||
+ | |- | ||
+ | |$DFF2 | ||
+ | |Word | ||
+ | |Current level: | ||
+ | *$00: Botanic Base | ||
+ | *$01: Speed Slider | ||
+ | *$02: Amazing Arena | ||
+ | *$03: Techno Tower | ||
+ | *$04: Marina Madness | ||
+ | *$05: Isolated Island (Tutorial) | ||
+ | *$06: Isolated Island (Introduction) | ||
+ | *$07: World Entrance | ||
+ | *$09: Bonus Stage | ||
+ | *$0A: Special Stage | ||
+ | |- | ||
+ | |$DFF4 | ||
+ | |Word | ||
+ | |Current stage number; starts from 0. | ||
+ | |- | ||
+ | |$DFF6 | ||
+ | |Word | ||
+ | |Current time of day: | ||
+ | *$00: Morning | ||
+ | *$02: Day | ||
+ | *$04: Sunset | ||
+ | *$06: Night | ||
+ | |- | ||
+ | |$E008 | ||
+ | |Word | ||
+ | |Number of rings. | ||
+ | |- | ||
+ | |$FCE6 | ||
+ | |Byte | ||
+ | |Current pan of the ring sound; positive is left, negative/zero is right. | ||
+ | |- | ||
+ | |$FCFC | ||
+ | |Byte | ||
+ | |Current song; only set by a certain function and only used by the Bonus Stage to replay the previous song when exiting. | ||
+ | |- | ||
+ | |$FFD0 | ||
+ | |Byte | ||
+ | |Current demo number (0-4). | ||
|} | |} | ||
Revision as of 23:32, 17 January 2010
This is the Sonic Community Hacking Guide for Knuckles' Chaotix.
Contents
Palette Locations
Genesis Format
Palette Offset | Description |
---|---|
$0066C8 | Credits - Flames |
$006E18 | Sound Test - Foreground |
$006E98 | Sound Test - Amy |
$2B3CF0 | Amazing Arena - Morning / Day |
$2B3D70 | Amazing Arena - Sunset / Night |
$2B3EF0 | Techno Tower - Morning |
$2B4070 | Techno Tower - Day |
$2B41F0 | Techno Tower - Sunset |
$2B42F0 | Techno Tower - Night |
$2B4470 | Marina Madness - Morning |
$2B44F0 | Marina Madness - Day |
$2B4570 | Marina Madness - Sunset |
$2B45F0 | Marina Madness - Night |
$2B4670 | Introduction - Morning |
$2B46F0 | Introduction - Day |
$2B4770 | Introduction - Sunset |
$2B47F0 | Introduction - Night |
MARS Format
Palette Offset | Description |
---|---|
$00001924 | HUD (maybe Sonic, Tails) |
$0000E7C4 | Espio's Rotating Palette |
$0022921A | Mighty The Armadillo |
$0022923E | Knuckles The Echidna |
$0022925C | Charmy The Bee |
$0022927E | Vector The Crocodile |
$002292A0 | Heavy The Mechanic |
$002292BE | Bomb The Mechanic |
$002292DC | Espio The Chameleon |
$002299D6 | Sega logo |
To convert from standard RGB colors to MARS colors, use HBGDRGB2GBA32XCC.
Art Pointers
Note: All pointers for these locations add $2000000 to the listed offset.
Art Offset | Description |
---|---|
$0A0504 | Mighty |
$0B18BC | Knuckles |
$0CB3B4 | Charmy |
$0D4E44 | Vector |
$0F1130 | Bomb |
$0F6A18 | Heavy |
$101304 | Espio |
$11B088 | Mighty ring and hand |
RAM Locations
These locations are offset from the base of RAM ($FF0000, which is mirrored to $FFFF0000).
RAM offset | Size | Description |
---|---|---|
$D460 | $40 words | Genesis palette cache. |
$DFDE | Word | Current game mode. Known values:
|
$DFF2 | Word | Current level:
|
$DFF4 | Word | Current stage number; starts from 0. |
$DFF6 | Word | Current time of day:
|
$E008 | Word | Number of rings. |
$FCE6 | Byte | Current pan of the ring sound; positive is left, negative/zero is right. |
$FCFC | Byte | Current song; only set by a certain function and only used by the Bonus Stage to replay the previous song when exiting. |
$FFD0 | Byte | Current demo number (0-4). |