Difference between revisions of "Sonic the Hedgehog (16-bit)/Miscellaneous Hacking"
From Sonic Retro
Revision as of 19:32, 30 November 2009
|This short article is in need of work. You can help Sonic Retro by.|
|SCHG: Sonic the Hedgehog|
Level order in Sonic 1 is stored as a set of values in the following format:
Assume Z is the zone number and A is the act number.
lvl_ord.bin specifies the level to load at the end of each level. Each two bits are reserved for a different level slot.
So, the format of lvl_ord.bin is as follows, based on the original level order.
GHZ1 GHZ2 GHZ3 GHZ4 LZ1 LZ2 LZ3 LZ4(SBZ3) MZ1 MZ2 MZ3 MZ4 SLZ1 SLZ2 SLZ3 SLZ4 SYZ1 SYZ2 SYZ3 SYZ4 SBZ1 SBZ2 SBZ3(FZ) SBZ4
Say you wanted to USE GHZ4. In that case, assuming an otherwise normal level order, you'd have bits 05-08 as follows:
00 03 02 00
For those who're not sure of the original zone order, zone IDs are as follows: