Fix increment_x

This commit is contained in:
Pedro de Oliveira 2014-08-20 05:19:47 +01:00
parent 161b0956e8
commit 3a5d5e4286
1 changed files with 3 additions and 5 deletions

View File

@ -50,11 +50,8 @@ main
dec c ; Decrement counter
jr nz, main ; Repeat if not zero
;push hl
;push bc
;call increment_x ; Increment X position in each star
;pop bc
;pop hl
call increment_x ; Increment X position in each star
jr main_start ; Do it all over again
pop bc
@ -161,6 +158,7 @@ increment_x_update
ld (hl), a
inc hl
inc hl
inc hl
dec c
jr nz, increment_x_loop
pop bc