Sonic Adventure DX: PC/EXE Editing/Object List
From Sonic Retro
Revision as of 12:42, 28 April 2010 by MainMemory (talk | contribs) (Created page with '{{WIP}} {{SCHG SADX:PC}} __NOTOC__ The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works. All values are in…')
Revision as of 12:42, 28 April 2010 by MainMemory (talk | contribs) (Created page with '{{WIP}} {{SCHG SADX:PC}} __NOTOC__ The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works. All values are in…')
This article is a work in progress. Its content and location may change completely and frequently until this notice is removed. |
The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works. All values are in hex unless explicitly specified otherwise. Names are taken from the text for the removed debug feature for objects that are placeable in a level. Load and Main Sub pointers are given as a RAM address, subtract 0x400000 to find it in the exe file. To load an object in ASM, you need to use the following template:
push [loadsub] push [arg2] push [arg1] call 0xB860 add esp, 0x0C
Then the eax register will contain a pointer to the Master Object Struct of the object, or 0 if it failed to create the object.
Name | Description | Load Sub | Main Sub | Arg 1 | Arg 2 |
---|---|---|---|---|---|
Sonic | The character Sonic, both playable and in cutscenes. | 49A9B0 | 49A9B0 | 7 | 1 |