summaryrefslogtreecommitdiff
path: root/mobile/mobile_12_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/mobile_12_2.asm')
-rw-r--r--mobile/mobile_12_2.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile/mobile_12_2.asm b/mobile/mobile_12_2.asm
index d85b0eba7..d886f85ed 100644
--- a/mobile/mobile_12_2.asm
+++ b/mobile/mobile_12_2.asm
@@ -424,15 +424,15 @@ Function4aad3:
ld c, a
xor a
- ld [hObjectStructIndexBuffer], a
+ ldh [hObjectStructIndexBuffer], a
.loop
push bc
push hl
ld e, MONICON_PARTYMENU
farcall LoadMenuMonIcon
- ld a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndexBuffer]
inc a
- ld [hObjectStructIndexBuffer], a
+ ldh [hObjectStructIndexBuffer], a
pop hl
pop bc
dec c
@@ -686,7 +686,7 @@ Function4ac58:
.asm_4ac96
ld a, $1
- ld [hBGMapMode], a
+ ldh [hBGMapMode], a
call Function4acaa
call ExitMenu
and a
@@ -728,7 +728,7 @@ Function4acaa:
call StaticMenuJoypad
ld de, SFX_READ_TEXT_2
call PlaySFX
- ld a, [hJoyPressed]
+ ldh a, [hJoyPressed]
bit 0, a
jr nz, .asm_4acf4
bit 1, a