Skip to content

Commit

Permalink
Applying id SST constant to RunObject subroutines
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Nov 9, 2015
1 parent 2213778 commit b361207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s2.asm
Expand Up @@ -27239,7 +27239,7 @@ RunObjects:

; sub_15FCC:
RunObject:
move.b (a0),d0 ; get the object's ID
move.b id(a0),d0 ; get the object's ID
beq.s RunNextObject ; if it's obj00, skip it

add.w d0,d0
Expand Down Expand Up @@ -27272,7 +27272,7 @@ RunObjectsWhenPlayerIsDead:
; sub_15FF2:
RunObjectDisplayOnly:
moveq #0,d0
move.b (a0),d0 ; get the object's ID
move.b id(a0),d0 ; get the object's ID
beq.s + ; if it's obj00, skip it
tst.b render_flags(a0) ; should we render it?
bpl.s + ; if not, skip it
Expand Down

0 comments on commit b361207

Please sign in to comment.