Skip to content

Commit ccfcdb4

Browse files
mrcookISSOtm
authored andcommitted
fix: player can now MoveUp
1 parent 66102f2 commit ccfcdb4

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)