summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-11-17 19:47:42 +0100
committermid-kid <esteve.varela@gmail.com>2019-11-18 18:21:57 +0100
commit1c41b2e579315ca582157fb3c824bda8ce4ecbbe (patch)
tree02d99983627bbf27fc74b4375a74274fd6025984 /mobile
parent77803f571fed52bfce19b60ddafd98019c113e99 (diff)
Fix some mobile-related things
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_40.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index 1d2856682..53cfae708 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -1091,9 +1091,9 @@ Function1006dc:
ld [de], a
ret
-Function1006fd:
- ld a, $04
- ld hl, $a800
+MobileBattleResetTimer:
+ ld a, BANK(sMobileBattleTimer)
+ ld hl, sMobileBattleTimer
call GetSRAMBank
xor a
ld [hli], a
@@ -1274,7 +1274,7 @@ Function100826:
.asm_100830
ld [hld], a
ccf
- ld a, [wBGMapBufferPtrs]
+ ld a, [wcd70]
adc [hl]
sub $3c
jr nc, .asm_10083c
@@ -7551,7 +7551,7 @@ Function10378c:
ld a, c
and a
ret z
- farcall Function1006fd
+ farcall MobileBattleResetTimer
ret
.failed_to_save