Actions

SCHG

Difference between revisions of "Equivalent Subroutines"

From Sonic Retro

(...and CalcRoomOverHead)
(37 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
''Please add more subroutines if you know them.''
 
''Please add more subroutines if you know them.''
  
{| border='1'
+
Label format details:
! S1 || S2B || S2* || S2K || S3 || S3&K
+
 
 +
Sonic 1: Hivebrain 2005 label'''/'''{{red|SVN label (where applicable)}}
 +
 
 +
Sonic 2: Nemesis label'''/'''{{grey|Xenowhirl 2007 label}}'''/'''{{green|SVN label (where applicable)}}
 +
 
 +
{| class="prettytable"
 +
! S1 || S2B || S2 || S2K || S3 || S&K || S3K
 
|-
 
|-
 
|Demo_Time
 
|Demo_Time
 
|E56
 
|E56
 
|sub_7E6
 
|sub_7E6
 +
{{grey|DemoTime}}
 +
{{green|Do_Updates}}
 +
|DemoTime
 
|?
 
|?
|?
+
|$95A
 
|?
 
|?
 
|-
 
|-
Line 14: Line 23:
 
|E70
 
|E70
 
|locret_800
 
|locret_800
 +
{{grey|DemoTime_End}}
 +
|return_300504
 
|?
 
|?
|?
+
|$976
 
|?
 
|?
 
|-
 
|-
Line 21: Line 32:
 
|12FC
 
|12FC
 
|10EC
 
|10EC
|?
+
{{grey|JoypadInit}}
 +
|JoypadInit
 
|1342
 
|1342
|10AE
+
|$10AE
 +
|Init_Controllers
 
|-
 
|-
 
|ReadJoypads
 
|ReadJoypads
 
|132C
 
|132C
 
|111C
 
|111C
|?
+
{{grey|ReadJoypads}}
 +
|ReadJoypads
 
|1372
 
|1372
|10DE
+
|$10DE
 +
|Poll_Controllers
 
|-
 
|-
 
|Joypad_Read
 
|Joypad_Read
 +
{{red|@read}}
 
|133A
 
|133A
 
|sub_112A
 
|sub_112A
 +
{{grey|Joypad_Read}}
 +
|Joypad_Read
 
|?
 
|?
|?
+
|$10EC
|?
+
|Poll_Controller
 
|-
 
|-
 
|VDPSetupGame
 
|VDPSetupGame
 
|1368
 
|1368
 
|sub_1158
 
|sub_1158
|?
+
{{grey|VDPSetupGame}}
 +
|VDPSetupGame
 
|13AE
 
|13AE
|111A
+
|$111A
 +
|Init_VDP
 
|-
 
|-
 
|VDP_Loop
 
|VDP_Loop
 +
{{red|@setreg}}
 
|137C
 
|137C
 
|loc_116C
 
|loc_116C
 +
{{grey|VDP_Loop}}
 
|?
 
|?
 
|?
 
|?
|?
+
|$112E
 +
|$$setRegisters
 
|-
 
|-
 
|VDP_ClrCRAM
 
|VDP_ClrCRAM
 +
{{red|@clrCRAM}}
 
|13B0
 
|13B0
 
|loc_11A0
 
|loc_11A0
 +
{{grey|VDP_ClrCRAM}}
 
|?
 
|?
 
|?
 
|?
|?
+
|$1162
 +
|$$clearCRAM
 
|-
 
|-
 
|VDPSetupArray
 
|VDPSetupArray
 
|13F2
 
|13F2
 
|word_11E2
 
|word_11E2
 +
{{grey|VDPSetupArray}}
 +
|VDPSetupArray
 
|?
 
|?
|?
+
|$11A4
|?
+
|VDP_register_values
 
|-
 
|-
 
|ClearScreen
 
|ClearScreen
 
|142A, and 1458
 
|142A, and 1458
 
|1248, and 1276
 
|1248, and 1276
|?
+
{{grey|ClearScreen}}
 +
|ClearScreen
 
|14D4, and 1502
 
|14D4, and 1502
|1240, and 126E
+
|$11CA
 +
|Clear_DisplayData
 
|-
 
|-
|PlaySong
+
|PlaySound
 
|14C0
 
|14C0
 
|sub_135E
 
|sub_135E
 +
{{grey|PlayMusic}}
 +
|PlayMusic
 
|?
 
|?
|?
+
|$1358
 
|?
 
|?
 
|-
 
|-
|PlaySound
+
|PlaySound_Special
 
|14C6
 
|14C6
 
|sub_1370
 
|sub_1370
 +
{{grey|PlaySound}}
 +
|PlaySound
 
|?
 
|?
|?
+
|$1380
 
|?
 
|?
 
|-
 
|-
Line 91: Line 125:
 
|14DC
 
|14DC
 
|sub_1388
 
|sub_1388
 +
{{grey|PauseGame}}
 +
|PauseGame
 
|?
 
|?
|?
+
|$13E4
 
|?
 
|?
 
|-
 
|-
Line 98: Line 134:
 
|15FC
 
|15FC
 
|NemDec_14DE
 
|NemDec_14DE
 +
{{grey|NemDec}}
 +
|NemDec
 
|?
 
|?
|?
+
|$15BA
 
|?
 
|?
 
|-
 
|-
 
|LoadPLC
 
|LoadPLC
 +
{{red|AddPLC}}
 
|173C
 
|173C
 
|sub_161E
 
|sub_161E
 +
{{grey|LoadPLC}}
 +
|LoadPLC
 
|?
 
|?
|?
+
|$16FA
 
|?
 
|?
 
|-
 
|-
 
|LoadPLC2
 
|LoadPLC2
 +
{{red|NewPLC}}
 
|176E
 
|176E
 
|sub_1650
 
|sub_1650
 +
{{grey|LoadPLC2}}
 +
|LoadPLC2
 
|?
 
|?
|?
+
|$1746
 
|?
 
|?
 
|-
 
|-
Line 119: Line 163:
 
|179A
 
|179A
 
|sub_167C
 
|sub_167C
 +
{{grey|ClearPLC}}
 +
|ClearPLC
 
|?
 
|?
|?
+
|$1772
 
|?
 
|?
 
|-
 
|-
 
|ClearPLC_Loop
 
|ClearPLC_Loop
 +
{{red|@loop}}
 
|17A0
 
|17A0
 
|loc_1682
 
|loc_1682
 
|?
 
|?
 
|?
 
|?
 +
|$1778
 
|?
 
|?
 
|-
 
|-
 
|RunPLC_RAM
 
|RunPLC_RAM
 +
{{red|RunPLC}}
 
|17A8
 
|17A8
 
|sub_168A
 
|sub_168A
 +
{{grey|RunPLC_RAM}}
 +
|RunPLC_RAM
 
|?
 
|?
|?
+
|$1780
 
|?
 
|?
 
|-
 
|-
 
|RunPLC_ROM
 
|RunPLC_ROM
 +
{{red|QuickPLC}}
 
|18A8
 
|18A8
 
|sub_178A
 
|sub_178A
 +
{{grey|RunPLC_ROM}}
 +
|RunPLC_ROM
 
|?
 
|?
|?
+
|$1882'''/'''$1892
 
|?
 
|?
 
|-
 
|-
 
|Pal_FadeTo
 
|Pal_FadeTo
 +
{{red|PaletteFadeIn}}
 
|2596
 
|2596
 
|sub_23C6
 
|sub_23C6
 +
{{grey|Pal_FadeTo}}
 +
|Pal_FadeTo
 
|?
 
|?
|?
+
|$3AF0
 
|?
 
|?
 
|-
 
|-
 
|Pal_ToBlack
 
|Pal_ToBlack
 +
{{red|@fill}}
 
|25AE
 
|25AE
 
|loc_23DE
 
|loc_23DE
 +
{{grey|Pal_ToBlack}}
 +
|Pal_ToBlack
 
|?
 
|?
|?
+
|$3B80
 
|?
 
|?
 
|-
 
|-
 
|Pal_FadeFrom
 
|Pal_FadeFrom
|?
+
{{red|PaletteFadeOut}}
 +
|263A
 
|sub_246A
 
|sub_246A
 +
{{grey|Pal_FadeFrom}}
 +
|Pal_FadeFrom
 
|?
 
|?
|?
+
|$3BE4
 
|?
 
|?
 
|-
 
|-
 
|Pal_FadeOut
 
|Pal_FadeOut
|?
+
{{red|FadeOut_ToBlack}}
 +
|265A
 
|sub_248A
 
|sub_248A
 +
{{grey|Pal_FadeOut}}
 +
|Pal_FadeOut
 
|?
 
|?
|?
+
|$3C04
 
|?
 
|?
 
|-
 
|-
 
|PalLoad1
 
|PalLoad1
|?
+
|28E2
 
|2712
 
|2712
 +
{{grey|PalLoad1}}
 +
|PalLoad1
 
|?
 
|?
|?
+
|$3DBE
 
|?
 
|?
 
|-
 
|-
 
|PalLoad2
 
|PalLoad2
|?
+
|28FE
 
|272E
 
|272E
 +
{{grey|PalLoad2}}
 +
|PalLoad2
 
|?
 
|?
|?
+
|$3DDA
 
|?
 
|?
 
|-
 
|-
 
|PalLoad3_Water
 
|PalLoad3_Water
|?
+
|2916
 
|2746
 
|2746
 +
{{grey|PalLoad3_Water}}
 +
|PalLoad3_Water
 
|?
 
|?
|?
+
|$3DF2
 
|?
 
|?
 
|-
 
|-
 
|PalLoad4_Water
 
|PalLoad4_Water
|?
+
|2932
 
|2764
 
|2764
 +
{{grey|PalLoad4_Water}}
 +
|PalLoad4_Water
 
|?
 
|?
|?
+
|$3E0E
 
|?
 
|?
 
|-
 
|-
 
|DelayProgram
 
|DelayProgram
|?
+
{{red|WaitForVBla}}
 +
|31D8
 
|sub_3384
 
|sub_3384
 +
{{grey|DelayProgram}}
 +
{{green|WaitForVint}}
 +
|DelayProgram
 
|?
 
|?
|?
+
|$1D18
 
|?
 
|?
 
|-
 
|-
Line 210: Line 288:
 
|31E4
 
|31E4
 
|sub_3390
 
|sub_3390
|302EEA
+
{{grey|RandomNumber}}
 +
|RandomNumber
 
|?
 
|?
 +
|$1D24
 
|?
 
|?
 
|-
 
|-
Line 217: Line 297:
 
|320A
 
|320A
 
|sub_33B6
 
|sub_33B6
|302F10
+
{{grey|CalcSine}}
|?
+
|CalcSine
|?
 
|-
 
|LoadPLC
 
|?
 
|sub_F65E
 
|?
 
 
|?
 
|?
 +
|$1D4C
 
|?
 
|?
 
|-
 
|-
 
|ObjectFall
 
|ObjectFall
|D5B2
+
|D24E
 
|sub_16380
 
|sub_16380
 +
{{grey|ObjectMoveAndFall}}
 +
|ObjectMoveAndFall
 
|?
 
|?
|?
+
|$1AB32
 
|?
 
|?
 
|-
 
|-
Line 238: Line 315:
 
|D27A
 
|D27A
 
|sub_163AC
 
|sub_163AC
|312C9A
+
{{grey|ObjectMove}}
 +
|ObjectMove
 
|?
 
|?
 +
|$1AB52
 
|?
 
|?
 
|-
 
|-
 
|MarkObjGone
 
|MarkObjGone
 +
{{red|RememberState}}
 
|D2A0
 
|D2A0
 
|loc_163D2
 
|loc_163D2
|312CC0
+
{{grey|MarkObjGone}}
 +
|MarkObjGone
 
|?
 
|?
 +
|$1B588
 
|?
 
|?
 
|-
 
|-
 
|DisplaySprite
 
|DisplaySprite
|?
+
|D3C2
 
|sub_164F4
 
|sub_164F4
 +
{{grey|DisplaySprite}}
 +
|DisplaySprite
 +
|19240
 +
|$1ABC6
 
|?
 
|?
|19240
 
|219240
 
 
|-
 
|-
 
|DeleteObject
 
|DeleteObject
|?
+
|D3B4
 
|loc_164E6
 
|loc_164E6
 +
{{grey|DeleteObject}}
 +
|DeleteObject
 
|?
 
|?
|?
+
|$1ABB6
 
|?
 
|?
 
|-
 
|-
 
|DeleteObject2
 
|DeleteObject2
|?
+
|Offset_0x00D3B6
 
|sub_164E8
 
|sub_164E8
 +
{{grey|DeleteObject2}}
 +
|DeleteObject2
 
|?
 
|?
|?
+
|$1ABB8
 
|?
 
|?
 
|-
 
|-
Line 273: Line 361:
 
|D412
 
|D412
 
|sub_16544
 
|sub_16544
|312DD0
+
{{grey|AnimateSprite}}
|?
+
|AnimateSprite
 +
|AnimateSprite
 +
|$1ABE8
 
|?
 
|?
 
|-
 
|-
 
|SingleObjLoad
 
|SingleObjLoad
|?
+
|SingleObjectLoad
 
|loc_17FDA
 
|loc_17FDA
 +
{{grey|SingleObjLoad}}
 +
|SingleObjLoad
 
|?
 
|?
|?
+
|$1BAF2
 
|?
 
|?
 
|-
 
|-
 
|SingleObjLoad2
 
|SingleObjLoad2
|?
+
|E788
 
|loc_17FFA
 
|loc_17FFA
 +
{{grey|SingleObjLoad2}}
 +
|SingleObjLoad2
 
|?
 
|?
|?
+
|$1BAFA
 
|?
 
|?
 
|-
 
|-
 
|SolidObject
 
|SolidObject
|?
+
|SolidObject
 
|loc_19718
 
|loc_19718
 +
{{grey|SolidObject}}
 +
|SolidObject
 
|?
 
|?
 
|?
 
|?
|?
+
|sub_1DC56
 
|-
 
|-
 
|PlatformObject
 
|PlatformObject
 
|?
 
|?
 
|loc_19C32
 
|loc_19C32
 +
{{grey|PlatformObject}}
 +
|PlatformObject
 
|?
 
|?
 
|?
 
|?
Line 306: Line 404:
 
|-
 
|-
 
|ObjHitFloor
 
|ObjHitFloor
 +
{{red|ObjFloorDist}}
 
|13898
 
|13898
 
|loc_1EDFA
 
|loc_1EDFA
 +
{{grey|ObjCheckFloorDist}}
 +
|ObjCheckFloorDist
 
|?
 
|?
 
|?
 
|?
Line 313: Line 414:
 
|-
 
|-
 
|BossDefeated
 
|BossDefeated
 +
|none
 +
|loc_2D6CC
 +
{{green|BossLoadExplosion}}
 
|?
 
|?
|loc_2D6CC
 
 
|?
 
|?
 
|?
 
|?
Line 322: Line 425:
 
|?
 
|?
 
|loc_2DB0E
 
|loc_2DB0E
 +
|?
 
|?
 
|?
 
|?
 
|?
Line 327: Line 431:
 
|-
 
|-
 
|AddPoints
 
|AddPoints
|?
+
|AddPoints
 
|sub_40D06
 
|sub_40D06
 +
{{grey|AddPoints}}
 
|?
 
|?
 
|?
 
|?
 +
|$DCCA
 
|?
 
|?
 
|-
 
|-
Line 336: Line 442:
 
|?
 
|?
 
|loc_3F926
 
|loc_3F926
 +
{{grey|KillCharacter}}
 +
|KillCharacter
 
|?
 
|?
|?
+
|$10366
 
|?
 
|?
 
|-
 
|-
Line 343: Line 451:
 
|?
 
|?
 
|loc_1A35A
 
|loc_1A35A
 +
{{grey|Sonic_Move}}
 +
|Knuckles_Move
 
|?
 
|?
|?
+
|$11060
 
|?
 
|?
 
|-
 
|-
Line 350: Line 460:
 
|?
 
|?
 
|loc_1A6C0
 
|loc_1A6C0
 +
{{grey|Sonic_MoveLeft}}
 +
|Knuckles_MoveLeft
 
|?
 
|?
 
|?
 
|?
Line 355: Line 467:
 
|-
 
|-
 
|Sonic_MoveRight
 
|Sonic_MoveRight
|?
+
|Sonic_MoveRight
 
|loc_1A746
 
|loc_1A746
 +
{{grey|Sonic_MoveRight}}
 +
|Knuckles_MoveRight
 
|?
 
|?
 
|?
 
|?
Line 362: Line 476:
 
|-
 
|-
 
|DebugMode
 
|DebugMode
|?
+
|Debug_Mode
 
|loc_41A78
 
|loc_41A78
 +
{{grey|DebugMode}}
 +
|DebugMode
 
|?
 
|?
|?
+
|$92A0E
 
|?
 
|?
 
|-
 
|-
 
|Touch_Monitor
 
|Touch_Monitor
 +
{{red|React_Monitor}}
 
|?
 
|?
 
|loc_3F73C
 
|loc_3F73C
 +
{{grey|TouchMonitor}}
 +
|Touch_Monitor
 
|?
 
|?
|?
+
|$1001A
 
|?
 
|?
 
|-
 
|-
 
|Touch_Enemy
 
|Touch_Enemy
 +
{{red|React_Enemy}}
 
|?
 
|?
 
|loc_3F78C
 
|loc_3F78C
 +
{{grey|TouchEnemy}}
 +
|Touch_Enemy
 
|?
 
|?
|?
+
|$100BC
 
|?
 
|?
 
|-
 
|-
 
|Touch_ChkValue
 
|Touch_ChkValue
 +
{{red|@withiny}}
 
|?
 
|?
 
|loc_3F6F2
 
|loc_3F6F2
 +
{{grey|Touch_ChkValue}}
 +
|Touch_ChkValue
 
|?
 
|?
|?
+
|$FFD4
 
|?
 
|?
 
|-
 
|-
Line 392: Line 517:
 
|?
 
|?
 
|loc_94DC
 
|loc_94DC
|?
+
{{grey|LevSelControls}}
|?
+
|LevSelControls
 +
|loc_6B4A
 +
|sub_7E64
 
|?
 
|?
 
|-
 
|-
 
|Sonic_ChgJumpDir
 
|Sonic_ChgJumpDir
 +
{{red|Sonic_JumpDirection}}
 
|?
 
|?
 
|loc_1A8E8
 
|loc_1A8E8
 +
{{grey|Sonic_ChgJumpDir}}
 +
|Knuckles_ChgJumpDir
 
|?
 
|?
|?
+
|$1164E
 
|?
 
|?
 
|-
 
|-
Line 406: Line 536:
 
|?
 
|?
 
|loc_1A8A2
 
|loc_1A8A2
 +
{{grey|Sonic_RollLeft}}
 +
|Knuckles_RollLeft
 
|?
 
|?
 
|?
 
|?
Line 413: Line 545:
 
|?
 
|?
 
|loc_1A8C6
 
|loc_1A8C6
 +
{{grey|Sonic_RollRight}}
 +
|Knuckles_RollRight
 
|?
 
|?
 
|?
 
|?
Line 420: Line 554:
 
|?
 
|?
 
|loc_1A974
 
|loc_1A974
 +
{{grey|Sonic_LevelBound}}
 +
|Knuckles_LevelBoundaries
 
|?
 
|?
|?
+
|$116DE
 
|?
 
|?
 
|-
 
|-
 
|Boundary_Bottom
 
|Boundary_Bottom
 +
{{red|@bottom}}
 
|?
 
|?
 
|loc_1A9B6
 
|loc_1A9B6
 +
{{grey|Sonic_Boundary_Bottom}}
 +
|Knuckles_Boundary_Bottom
 
|?
 
|?
|?
+
|$1172C
 
|?
 
|?
 
|-
 
|-
Line 434: Line 573:
 
|?
 
|?
 
|loc_1AA38
 
|loc_1AA38
 +
{{grey|Sonic_Jump}}
 +
|Knuckles_Jump
 
|?
 
|?
|?
+
|$117DA
 
|?
 
|?
 
|-
 
|-
Line 441: Line 582:
 
|?
 
|?
 
|loc_1AEAA
 
|loc_1AEAA
 +
{{grey|Sonic_DoLevelCollision}}
 +
|Knuckles_DoLevelCollision
 +
|?
 +
|?
 +
|?
 +
|-
 +
|Sonic_WalkSpeed
 +
|Sonic_WalkSpeed
 +
|loc_1A64E
 +
{{grey|CalcRoomInFront}}
 +
|CalcRoomInFront
 +
|?
 
|?
 
|?
 +
|sub_F61C
 +
|-
 +
|sub_14D48
 +
|Offset_0x0136F2
 +
|CalcRoomOverHead
 +
|CalcRoomOverHead
 
|?
 
|?
 
|?
 
|?
 +
|sub_F72E
 
|}
 
|}
 
<nowiki>*</nowiki> Nemesis' Sonic 2 Disassembly
 
  
 
{{SCHGuides}}
 
{{SCHGuides}}
[[Category:Sonic Community Hacking Guide]]
+
[[Category:Sonic Community Hacking Guide|Equivalent Subroutines]]

Revision as of 08:22, 27 August 2014

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 S3K
Demo_Time E56 sub_7E6

DemoTime Do_Updates

DemoTime ? $95A ?
Demo_TimeEnd E70 locret_800

DemoTime_End

return_300504 ? $976 ?
JoypadInit 12FC 10EC

JoypadInit

JoypadInit 1342 $10AE Init_Controllers
ReadJoypads 132C 111C

ReadJoypads

ReadJoypads 1372 $10DE Poll_Controllers
Joypad_Read

@read

133A sub_112A

Joypad_Read

Joypad_Read ? $10EC Poll_Controller
VDPSetupGame 1368 sub_1158

VDPSetupGame

VDPSetupGame 13AE $111A Init_VDP
VDP_Loop

@setreg

137C loc_116C

VDP_Loop

? ? $112E $$setRegisters
VDP_ClrCRAM

@clrCRAM

13B0 loc_11A0

VDP_ClrCRAM

? ? $1162 $$clearCRAM
VDPSetupArray 13F2 word_11E2

VDPSetupArray

VDPSetupArray ? $11A4 VDP_register_values
ClearScreen 142A, and 1458 1248, and 1276

ClearScreen

ClearScreen 14D4, and 1502 $11CA Clear_DisplayData
PlaySound 14C0 sub_135E

PlayMusic

PlayMusic ? $1358 ?
PlaySound_Special 14C6 sub_1370

PlaySound

PlaySound ? $1380 ?
PauseGame 14DC sub_1388

PauseGame

PauseGame ? $13E4 ?
NemDec 15FC NemDec_14DE

NemDec

NemDec ? $15BA ?
LoadPLC

AddPLC

173C sub_161E

LoadPLC

LoadPLC ? $16FA ?
LoadPLC2

NewPLC

176E sub_1650

LoadPLC2

LoadPLC2 ? $1746 ?
ClearPLC 179A sub_167C

ClearPLC

ClearPLC ? $1772 ?
ClearPLC_Loop

@loop

17A0 loc_1682 ? ? $1778 ?
RunPLC_RAM

RunPLC

17A8 sub_168A

RunPLC_RAM

RunPLC_RAM ? $1780 ?
RunPLC_ROM

QuickPLC

18A8 sub_178A

RunPLC_ROM

RunPLC_ROM ? $1882/$1892 ?
Pal_FadeTo

PaletteFadeIn

2596 sub_23C6

Pal_FadeTo

Pal_FadeTo ? $3AF0 ?
Pal_ToBlack

@fill

25AE loc_23DE

Pal_ToBlack

Pal_ToBlack ? $3B80 ?
Pal_FadeFrom

PaletteFadeOut

263A sub_246A

Pal_FadeFrom

Pal_FadeFrom ? $3BE4 ?
Pal_FadeOut

FadeOut_ToBlack

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

WaitForVBla

31D8 sub_3384

DelayProgram WaitForVint

DelayProgram ? $1D18 ?
RandomNumber 31E4 sub_3390

RandomNumber

RandomNumber ? $1D24 ?
CalcSine 320A sub_33B6

CalcSine

CalcSine ? $1D4C ?
ObjectFall D24E sub_16380

ObjectMoveAndFall

ObjectMoveAndFall ? $1AB32 ?
SpeedToPos D27A sub_163AC

ObjectMove

ObjectMove ? $1AB52 ?
MarkObjGone

RememberState

D2A0 loc_163D2

MarkObjGone

MarkObjGone ? $1B588 ?
DisplaySprite D3C2 sub_164F4

DisplaySprite

DisplaySprite 19240 $1ABC6 ?
DeleteObject D3B4 loc_164E6

DeleteObject

DeleteObject ? $1ABB6 ?
DeleteObject2 Offset_0x00D3B6 sub_164E8

DeleteObject2

DeleteObject2 ? $1ABB8 ?
AnimateSprite D412 sub_16544

AnimateSprite

AnimateSprite AnimateSprite $1ABE8 ?
SingleObjLoad SingleObjectLoad loc_17FDA

SingleObjLoad

SingleObjLoad ? $1BAF2 ?
SingleObjLoad2 E788 loc_17FFA

SingleObjLoad2

SingleObjLoad2 ? $1BAFA ?
SolidObject SolidObject loc_19718

SolidObject

SolidObject ? ? sub_1DC56
PlatformObject ? loc_19C32

PlatformObject

PlatformObject ? ? ?
ObjHitFloor

ObjFloorDist

13898 loc_1EDFA

ObjCheckFloorDist

ObjCheckFloorDist ? ? ?
BossDefeated none loc_2D6CC

BossLoadExplosion

? ? ? ?
BossMove ? loc_2DB0E ? ? ? ?
AddPoints 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 Sonic_MoveRight loc_1A746

Sonic_MoveRight

Knuckles_MoveRight ? ? ?
DebugMode Debug_Mode loc_41A78

DebugMode

DebugMode ? $92A0E ?
Touch_Monitor

React_Monitor

? loc_3F73C

TouchMonitor

Touch_Monitor ? $1001A ?
Touch_Enemy

React_Enemy

? loc_3F78C

TouchEnemy

Touch_Enemy ? $100BC ?
Touch_ChkValue

@withiny

? loc_3F6F2

Touch_ChkValue

Touch_ChkValue ? $FFD4 ?
LevSelControls ? loc_94DC

LevSelControls

LevSelControls loc_6B4A sub_7E64 ?
Sonic_ChgJumpDir

Sonic_JumpDirection

? 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

@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 ? ? ?
Sonic_WalkSpeed Sonic_WalkSpeed loc_1A64E

CalcRoomInFront

CalcRoomInFront ? ? sub_F61C
sub_14D48 Offset_0x0136F2 CalcRoomOverHead CalcRoomOverHead ? ? sub_F72E
Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information