aboutsummaryrefslogtreecommitdiffstats
path: root/engine/play_time.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/play_time.asm')
-rw-r--r--engine/play_time.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/play_time.asm b/engine/play_time.asm
index dcba88c2..9b4491de 100644
--- a/engine/play_time.asm
+++ b/engine/play_time.asm
@@ -1,7 +1,7 @@
TrackPlayTime::
call CountDownIgnoreInputBitReset
- ld a, [wd732]
- bit 0, a
+ ld a, [wStatusFlags6]
+ bit BIT_GAME_TIMER_COUNTING, a
ret z
ld a, [wPlayTimeMaxed]
and a
@@ -48,12 +48,12 @@ CountDownIgnoreInputBitReset:
ld [wIgnoreInputCounter], a
and a
ret nz
- ld a, [wd730]
- res 1, a
- res 2, a
- bit 5, a
- res 5, a
- ld [wd730], a
+ ld a, [wStatusFlags5]
+ res BIT_UNKNOWN_5_1, a
+ res BIT_UNKNOWN_5_2, a
+ bit BIT_DISABLE_JOYPAD, a
+ res BIT_DISABLE_JOYPAD, a
+ ld [wStatusFlags5], a
ret z
xor a
ldh [hJoyPressed], a