Skip to content

Sonic 1 equivalency table for SSTs #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions s2.constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,41 @@ ss_rings_hundreds = objoff_3C
ss_rings_tens = objoff_3D
ss_rings_units = objoff_3E
ss_last_angle_index = objoff_3F
; ---------------------------------------------------------------------------
; Sonic 1 equivalency table for SSTs:
obRender = render_flags
obGfx = art_tile
obMap = mappings
obX = x_pos
obScreenY = x_sub
obY = y_pos
obVelX = x_vel
obVelY = y_vel
obInertia = inertia
obHeight = y_radius
obWidth = x_radius
obPriority = priority
obActWid = width_pixels
obFrame = mapping_frame
obAniFrame = anim_frame
obAnim = anim
obPrevAni = prev_anim ; used to be called obNextAni in Sonic 1
obTimeFrame = anim_frame_duration
obColType = collision_flags
obColProp = collision_property
obStatus = status
obRespawnNo = respawn_index
obRoutine = routine
ob2ndRout = routine_secondary
obAngle = angle
obSubtype = subtype

; the following were specific to Sonic in Sonic 1
flashtime = invulnerable_time
inv_time = invincibility_time
shoetime = speedshoes_time
standonobject = interact

; ---------------------------------------------------------------------------
; property of all objects:
object_size = $40 ; the size of an object
Expand Down