Skip to content

Commit 75c4470

Browse files
avivacemrcook
andauthored
fix Galactic Armada: player MoveUp broken (fix #147)
Supersedes #148 Co-authored-by: Michael R. Cook <work.mrc@pm.me>
1 parent 66102f2 commit 75c4470

File tree

1 file changed

+2
-2
lines changed
  • galactic-armada/src/main/states/gameplay/objects

1 file changed

+2
-2
lines changed

galactic-armada/src/main/states/gameplay/objects/player.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ MoveUp:
234234
sub PLAYER_MOVE_SPEED
235235
ld [wPlayerPositionY], a
236236

237-
ld a, [wPlayerPositionY]
237+
ld a, [wPlayerPositionY+1]
238238
sbc 0
239-
ld [wPlayerPositionY], a
239+
ld [wPlayerPositionY+1], a
240240

241241
ret
242242

0 commit comments

Comments
 (0)