ref: 3664cee79bbebbcc71745ff768e7a4c1f37407fe
parent: 7d0de22e7ec409ca05cb43679061f4ce0652f6a1
author: mid-kid <esteve.varela@gmail.com>
date: Sun Sep 1 13:51:15 EDT 2019
Add s5_a800 labels
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -3571,10 +3571,10 @@
ld a, [w3_d090]
cp $1
jr nz, .asm_119b66
- ld a, $5
+ ld a, BANK(s5_a800)
call GetSRAMBank
ld a, $4
- ld [$a800], a
+ ld [s5_a800], a
call CloseSRAM
.asm_119b66
@@ -3671,10 +3671,10 @@
.asm_119be3
ld a, $19
ld [wcf66], a
- ld a, $5
+ ld a, BANK(s5_a800)
call GetSRAMBank
ld a, $1
- ld [$a800], a
+ ld [s5_a800], a
call CloseSRAM
xor a
ld [w3_d090], a
@@ -3736,10 +3736,10 @@
.asm_119c68
ld a, $19
ld [wcf66], a
- ld a, $5
+ ld a, BANK(s5_a800)
call GetSRAMBank
ld a, $1
- ld [$a800], a
+ ld [s5_a800], a
call CloseSRAM
xor a
ld [w3_d090], a
@@ -7014,10 +7014,10 @@
ld a, $1
ldh [rSVBK], a
- ld a, $5
+ ld a, BANK(s5_a800)
call GetSRAMBank
- ld de, $a800
+ ld de, s5_a800
ld a, $1
ld [de], a
inc de