Skip to content

Commit

Permalink
Correcting comment
Browse files Browse the repository at this point in the history
Turns out that instruction has a use
  • Loading branch information
Clownacy committed Jan 17, 2016
1 parent 354e747 commit 6004f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2.asm
Expand Up @@ -16581,7 +16581,7 @@ ScrollVerti:
move.w Camera_Max_Y_pos_now-Camera_Min_X_pos(a2),d1 ; prevent camera from going any further down
; loc_D868:
.doScroll:
move.w (a1),d4 ; get old pos (this instruction is a leftover from S1)
move.w (a1),d4 ; get old pos (used by SetVertiScrollFlags)
swap d1 ; actual Y-coordinate is now the high word, as Camera_Y_pos expects it
move.l d1,d3
sub.l (a1),d3
Expand Down

0 comments on commit 6004f4b

Please sign in to comment.