Compare commits

...

2 Commits

Author SHA1 Message Date
tA
9f2ddc6621 Merge branch 'master' of lain.church:tA/testingAnimation
cos i fuarked up lmao why else
2020-05-24 18:01:03 +12:00
tA
58bd0c46ff moving sprite, still ugly 2020-05-24 18:00:27 +12:00
2 changed files with 5 additions and 4 deletions

View File

@ -46,6 +46,7 @@ Start:
game_loop:
call Wait_VBlank
call Read_Pad
call PC_Update
call Clear_OAM
ld de, wShadowOAM
ld hl, Player

View File

@ -124,12 +124,12 @@ PC_Update:
jr nz, .last
ld c, 1
.last:
ld a, [rPlayerX]
ld a, [Player_XPos]
add c
ld [rPlayerX], a
ld a, [rPlayerY]
ld [Player_XPos], a
ld a, [Player_YPos]
add b
ld [rPlayerY], a
ld [Player_YPos], a
.end:
ret