summaryrefslogtreecommitdiff
path: root/asm/battle_controller_wally.s
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-01 01:12:42 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-01 01:12:42 +0200
commit729f4e10ed8a53155d992b8904926a10181acafa (patch)
tree247207eb07b7313981785f8ec73f2e8094701cf3 /asm/battle_controller_wally.s
parent13017a3b194257c9db1588ac710c888607467b2e (diff)
start decompiling battle2
Diffstat (limited to 'asm/battle_controller_wally.s')
-rw-r--r--asm/battle_controller_wally.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/asm/battle_controller_wally.s b/asm/battle_controller_wally.s
index eab717466..51193024f 100644
--- a/asm/battle_controller_wally.s
+++ b/asm/battle_controller_wally.s
@@ -3592,10 +3592,10 @@ _0816A3AC:
thumb_func_start sub_816A3B8
sub_816A3B8: @ 816A3B8
push {r4,lr}
- ldr r0, =gUnknown_02022E14
+ ldr r0, =gBattle_BG0_X
movs r1, 0
strh r1, [r0]
- ldr r0, =gUnknown_02022E16
+ ldr r0, =gBattle_BG0_Y
strh r1, [r0]
ldr r4, =gActiveBank
ldrb r0, [r4]
@@ -3646,9 +3646,9 @@ sub_816A430: @ 816A430
lsrs r1, r0, 24
cmp r1, 0
bne _0816A456
- ldr r0, =gUnknown_02022E14
+ ldr r0, =gBattle_BG0_X
strh r1, [r0]
- ldr r1, =gUnknown_02022E16
+ ldr r1, =gBattle_BG0_Y
movs r0, 0xA0
strh r0, [r1]
ldr r1, =gBattleBankFunc
@@ -3749,9 +3749,9 @@ _0816A522:
lsrs r1, r0, 24
cmp r1, 0
bne _0816A574
- ldr r0, =gUnknown_02022E14
+ ldr r0, =gBattle_BG0_X
strh r1, [r0]
- ldr r1, =gUnknown_02022E16
+ ldr r1, =gBattle_BG0_Y
movs r2, 0xA0
lsls r2, 1
adds r0, r2, 0