You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fix triple newlines left over from removing address comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user