diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-06-24 23:22:50 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-06-24 23:22:50 -0400 |
commit | 67d1364c7acfd5e8e2256080e16a14cfa59a5abc (patch) | |
tree | fcf1bcbc2990b8fdeb5d63159d15382a8bdf719a /home/game_time.asm | |
parent | 91f914718a263839daef24d44eda857bfc7cca95 (diff) |
Fix triple newlines left over from removing address comments
Diffstat (limited to 'home/game_time.asm')
-rw-r--r-- | home/game_time.asm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/home/game_time.asm b/home/game_time.asm index 61cff0a16..a7808cbea 100644 --- a/home/game_time.asm +++ b/home/game_time.asm @@ -8,7 +8,6 @@ ResetGameTime:: ld [wGameTimeFrames], a ret - GameTimer:: nop @@ -24,12 +23,10 @@ GameTimer:: ld [rSVBK], a ret - UpdateGameTimer:: ; Increment the game timer by one frame. ; The game timer is capped at 999:59:59.00. - ; Don't update if game logic is paused. ld a, [wGameLogicPaused] and a @@ -45,7 +42,6 @@ UpdateGameTimer:: bit 0, [hl] ret nz - ; +1 frame ld hl, wGameTimeFrames ld a, [hl] @@ -57,7 +53,6 @@ UpdateGameTimer:: ld [hl], a ret - .second xor a ld [hl], a @@ -73,7 +68,6 @@ UpdateGameTimer:: ld [hl], a ret - .minute xor a ld [hl], a @@ -89,7 +83,6 @@ UpdateGameTimer:: ld [hl], a ret - .hour xor a ld [hl], a @@ -101,7 +94,6 @@ UpdateGameTimer:: ld l, a inc hl - ; Cap the timer after 1000 hours. ld a, h cp HIGH(1000) @@ -119,7 +111,6 @@ UpdateGameTimer:: ld [wGameTimeSeconds], a ret - .ok ld a, h ld [wGameTimeHours], a |