Due to our recent technical difficulties, we only have OVER NINE THOUSAAAAAAAAAAND of our images and files working. The Sonic Retro staff is working as fast as they can to restore these documents. Please do not report broken links at this time.
SCHG:Equivalent Subroutines
From Sonic Retro
Please add more subroutines if you know them.
Label format details:
Sonic 1: Hivebrain 2005 label/SVN label (where applicable)
Sonic 2: Nemesis label/Xenowhirl 2007 label/SVN label (where applicable)
| S1 | S2B | S2 | S2K | S3 | S&K |
|---|---|---|---|---|---|
| Demo_Time | E56 | sub_7E6
DemoTime | DemoTime | ? | $95A |
| Demo_TimeEnd | E70 | locret_800
DemoTime_End | return_300504 | ? | $976 |
| JoypadInit | 12FC | 10EC
JoypadInit | JoypadInit | 1342 | $10AE |
| ReadJoypads | 132C | 111C
ReadJoypads | ReadJoypads | 1372 | $10DE |
| Joypad_Read | 133A | sub_112A
Joypad_Read | Joypad_Read | ? | $10EC |
| VDPSetupGame | 1368 | sub_1158
VDPSetupGame | VDPSetupGame | 13AE | $111A |
| VDP_Loop | 137C | loc_116C
VDP_Loop | ? | ? | $112E |
| VDP_ClrCRAM | 13B0 | loc_11A0
VDP_ClrCRAM | ? | ? | $1162 |
| VDPSetupArray | 13F2 | word_11E2
VDPSetupArray | VDPSetupArray | ? | $11A4 |
| ClearScreen | 142A, and 1458 | 1248, and 1276
ClearScreen | ClearScreen | 14D4, and 1502 | $11CA |
| PlayMusic | 14C0 | sub_135E
PlayMusic | PlayMusic | ? | $1358 |
| PlaySound | 14C6 | sub_1370
PlaySound | PlaySound | ? | $1380 |
| PauseGame | 14DC | sub_1388
PauseGame | PauseGame | ? | $13E4 |
| NemDec | 15FC | NemDec_14DE
NemDec | NemDec | ? | $15BA |
| LoadPLC | 173C | sub_161E
LoadPLC | LoadPLC | ? | $16FA |
| LoadPLC2 | 176E | sub_1650
LoadPLC2 | LoadPLC2 | ? | $1746 |
| ClearPLC | 179A | sub_167C
ClearPLC | ClearPLC | ? | $1772 |
| ClearPLC_Loop | 17A0 | loc_1682 | ? | ? | $1778 |
| RunPLC_RAM | 17A8 | sub_168A
RunPLC_RAM | RunPLC_RAM | ? | $1780 |
| RunPLC_ROM | 18A8 | sub_178A
RunPLC_ROM | RunPLC_ROM | ? | $1882/$1892 |
| Pal_FadeTo | 2596 | sub_23C6
Pal_FadeTo | Pal_FadeTo | ? | $3AF0 |
| Pal_ToBlack | 25AE | loc_23DE
Pal_ToBlack | Pal_ToBlack | ? | $3B80 |
| Pal_FadeFrom | 263A | sub_246A
Pal_FadeFrom | Pal_FadeFrom | ? | $3BE4 |
| Pal_FadeOut | 265A | sub_248A
Pal_FadeOut | Pal_FadeOut | ? | $3C04 |
| PalLoad1 | 28E2 | 2712
PalLoad1 | PalLoad1 | ? | $3DBE |
| PalLoad2 | 28FE | 272E
PalLoad2 | PalLoad2 | ? | $3DDA |
| PalLoad3_Water | 2916 | 2746
PalLoad3_Water | PalLoad3_Water | ? | $3DF2 |
| PalLoad4_Water | 2932 | 2764
PalLoad4_Water | PalLoad4_Water | ? | $3E0E |
| DelayProgram | 31D8 | sub_3384
DelayProgram | DelayProgram | ? | $1D18 |
| RandomNumber | 31E4 | sub_3390
RandomNumber | RandomNumber | ? | $1D24 |
| CalcSine | 320A | sub_33B6
CalcSine | CalcSine | ? | $1D4C |
| LoadPLC | ? | sub_F65E
LoadPLC | LoadPLC | ? | $16FA |
| ObjectFall | D24E | sub_16380
ObjectMoveAndFall | ObjectMoveAndFall | ? | $1AB32 |
| SpeedToPos | D27A | sub_163AC
ObjectMove | ObjectMove | ? | $1AB52 |
| MarkObjGone | D2A0 | loc_163D2
MarkObjGone | MarkObjGone | ? | $1B588 |
| DisplaySprite | D3C2 | sub_164F4
DisplaySprite | DisplaySprite | 19240 | $1ABC6 |
| DeleteObject | D3B4 | loc_164E6
DeleteObject | DeleteObject | ? | $1ABB6 |
| DeleteObject2 | ? | sub_164E8
DeleteObject2 | DeleteObject2 | ? | $1ABB8 |
| AnimateSprite | D412 | sub_16544
AnimateSprite | AnimateSprite | ? | $1ABE8 |
| SingleObjLoad | ? | loc_17FDA
SingleObjLoad | SingleObjLoad | ? | $1BAF2 |
| SingleObjLoad2 | E788 | loc_17FFA
SingleObjLoad2 | SingleObjLoad2 | ? | $1BAFA |
| SolidObject | ? | loc_19718
SolidObject | SolidObject | ? | ? |
| PlatformObject | ? | loc_19C32
PlatformObject | PlatformObject | ? | ? |
| ObjHitFloor | 13898 | loc_1EDFA
ObjCheckFloorDist | ObjCheckFloorDist | ? | ? |
| BossDefeated | ? | loc_2D6CC | ? | ? | ? |
| BossMove | ? | loc_2DB0E | ? | ? | ? |
| AddPoints | ? | sub_40D06
AddPoints | ? | ? | $DCCA |
| KillSonic | ? | loc_3F926
KillCharacter | KillCharacter | ? | $10366 |
| Sonic_Move | ? | loc_1A35A
Sonic_Move | Knuckles_Move | ? | $11060 |
| Sonic_MoveLeft | ? | loc_1A6C0
Sonic_MoveLeft | Knuckles_MoveLeft | ? | ? |
| Sonic_MoveRight | ? | loc_1A746
Sonic_MoveRight | Knuckles_MoveRight | ? | ? |
| DebugMode | ? | loc_41A78
DebugMode | DebugMode | ? | $92A0E |
| Touch_Monitor | ? | loc_3F73C
TouchMonitor | Touch_Monitor | ? | $1001A |
| Touch_Enemy | ? | loc_3F78C
TouchEnemy | Touch_Enemy | ? | $100BC |
| Touch_ChkValue | ? | loc_3F6F2
Touch_ChkValue | Touch_ChkValue | ? | $FFD4 |
| LevSelControls | ? | loc_94DC
LevSelControls | LevSelControls | loc_6B4A | sub_7E64 |
| Sonic_ChgJumpDir | ? | loc_1A8E8
Sonic_ChgJumpDir | Knuckles_ChgJumpDir | ? | $1164E |
| Sonic_RollLeft | ? | loc_1A8A2
Sonic_RollLeft | Knuckles_RollLeft | ? | ? |
| Sonic_RollRight | ? | loc_1A8C6
Sonic_RollRight | Knuckles_RollRight | ? | ? |
| Sonic_LevelBound | ? | loc_1A974
Sonic_LevelBound | Knuckles_LevelBoundaries | ? | $116DE |
| Boundary_Bottom | ? | loc_1A9B6
Sonic_Boundary_Bottom | Knuckles_Boundary_Bottom | ? | $1172C |
| Sonic_Jump | ? | loc_1AA38
Sonic_Jump | Knuckles_Jump | ? | $117DA |
| Sonic_Floor | ? | loc_1AEAA
Sonic_DoLevelCollision | Knuckles_DoLevelCollision | ? | ? |


