Compare commits
No commits in common. "9f2ddc6621c5e4c7de922701baff3dbd05f56d25" and "2ca8baf1b34201fe38161a859b75f834bb8ba442" have entirely different histories.
9f2ddc6621
...
2ca8baf1b3
@ -46,7 +46,6 @@ Start:
|
|||||||
game_loop:
|
game_loop:
|
||||||
call Wait_VBlank
|
call Wait_VBlank
|
||||||
call Read_Pad
|
call Read_Pad
|
||||||
call PC_Update
|
|
||||||
call Clear_OAM
|
call Clear_OAM
|
||||||
ld de, wShadowOAM
|
ld de, wShadowOAM
|
||||||
ld hl, Player
|
ld hl, Player
|
||||||
|
@ -124,12 +124,12 @@ PC_Update:
|
|||||||
jr nz, .last
|
jr nz, .last
|
||||||
ld c, 1
|
ld c, 1
|
||||||
.last:
|
.last:
|
||||||
ld a, [Player_XPos]
|
ld a, [rPlayerX]
|
||||||
add c
|
add c
|
||||||
ld [Player_XPos], a
|
ld [rPlayerX], a
|
||||||
ld a, [Player_YPos]
|
ld a, [rPlayerY]
|
||||||
add b
|
add b
|
||||||
ld [Player_YPos], a
|
ld [rPlayerY], a
|
||||||
.end:
|
.end:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user