summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-08-05 08:21:36 -0400
committerGitHub <noreply@github.com>2019-08-05 08:21:36 -0400
commit1fc64b85824a49345b0fcd9672a65bf4e6acf3db (patch)
treee2acc41ee2e3e187156e3798fa6b9cda0078dc21 /asm
parent483e5173c95551de267ee5904c567257b81706a8 (diff)
parentc8cc39cb5714d21bcb0b6816122949e5d5dc88d8 (diff)
Merge pull request #767 from DizzyEggg/pokenav_8
More pokenav
Diffstat (limited to 'asm')
-rw-r--r--asm/pokenav_unk_9.s199
1 files changed, 0 insertions, 199 deletions
diff --git a/asm/pokenav_unk_9.s b/asm/pokenav_unk_9.s
index 7f9d5d15b..5a91510fd 100644
--- a/asm/pokenav_unk_9.s
+++ b/asm/pokenav_unk_9.s
@@ -5,206 +5,7 @@
@ File centered around AllocSubstruct(9)
- thumb_func_start sub_81CF9BC
-sub_81CF9BC: @ 81CF9BC
- push {r4,lr}
- movs r0, 0x9
- movs r1, 0x20
- bl AllocSubstruct
- adds r4, r0, 0
- cmp r4, 0
- beq _081CF9FC
- ldr r1, =0x000006ac
- movs r0, 0x12
- bl AllocSubstruct
- str r0, [r4, 0x1C]
- cmp r0, 0
- beq _081CF9FC
- ldr r0, =sub_81CFA68
- str r0, [r4]
- ldr r0, =sub_81CFB74
- movs r1, 0x1
- bl CreateLoopedTask
- str r0, [r4, 0x4]
- movs r0, 0
- str r0, [r4, 0x14]
- movs r0, 0x1
- b _081CF9FE
- .pool
-_081CF9FC:
- movs r0, 0
-_081CF9FE:
- pop {r4}
- pop {r1}
- bx r1
- thumb_func_end sub_81CF9BC
-
- thumb_func_start sub_81CFA04
-sub_81CFA04: @ 81CFA04
- push {r4,lr}
- movs r0, 0x9
- movs r1, 0x20
- bl AllocSubstruct
- adds r4, r0, 0
- cmp r4, 0
- beq _081CFA2C
- movs r0, 0x12
- bl GetSubstructPtr
- str r0, [r4, 0x1C]
- ldr r0, =sub_81CFA88
- str r0, [r4]
- movs r0, 0x1
- str r0, [r4, 0x14]
- b _081CFA2E
- .pool
-_081CFA2C:
- movs r0, 0
-_081CFA2E:
- pop {r4}
- pop {r1}
- bx r1
- thumb_func_end sub_81CFA04
-
- thumb_func_start sub_81CFA34
-sub_81CFA34: @ 81CFA34
- push {lr}
- movs r0, 0x9
- bl GetSubstructPtr
- ldr r1, [r0]
- bl _call_via_r1
- pop {r1}
- bx r1
- thumb_func_end sub_81CFA34
- thumb_func_start sub_81CFA48
-sub_81CFA48: @ 81CFA48
- push {lr}
- movs r0, 0x9
- bl GetSubstructPtr
- ldr r0, [r0, 0x18]
- cmp r0, 0
- bne _081CFA5C
- movs r0, 0x12
- bl FreePokenavSubstruct
-_081CFA5C:
- movs r0, 0x9
- bl FreePokenavSubstruct
- pop {r0}
- bx r0
- thumb_func_end sub_81CFA48
-
- thumb_func_start sub_81CFA68
-sub_81CFA68: @ 81CFA68
- push {r4,lr}
- adds r4, r0, 0
- ldr r0, [r4, 0x4]
- bl IsLoopedTaskActive
- cmp r0, 0
- bne _081CFA7A
- ldr r0, =sub_81CFA88
- str r0, [r4]
-_081CFA7A:
- movs r0, 0
- pop {r4}
- pop {r1}
- bx r1
- .pool
- thumb_func_end sub_81CFA68
-
- thumb_func_start sub_81CFA88
-sub_81CFA88: @ 81CFA88
- push {r4,r5,lr}
- adds r4, r0, 0
- ldr r2, =gMain
- ldrh r1, [r2, 0x30]
- movs r0, 0x40
- ands r0, r1
- cmp r0, 0
- beq _081CFAA0
- movs r0, 0x1
- b _081CFAFE
- .pool
-_081CFAA0:
- movs r0, 0x80
- ands r0, r1
- cmp r0, 0
- beq _081CFAAC
- movs r0, 0x2
- b _081CFAFE
-_081CFAAC:
- ldrh r1, [r2, 0x2E]
- movs r0, 0x20
- ands r0, r1
- cmp r0, 0
- beq _081CFABA
- movs r0, 0x3
- b _081CFAFE
-_081CFABA:
- movs r0, 0x10
- ands r0, r1
- lsls r0, 16
- lsrs r2, r0, 16
- cmp r2, 0
- beq _081CFACA
- movs r0, 0x4
- b _081CFAFE
-_081CFACA:
- movs r0, 0x2
- ands r0, r1
- cmp r0, 0
- beq _081CFAE0
- str r2, [r4, 0x18]
- ldr r0, =sub_81CFB08
- str r0, [r4]
- movs r0, 0x5
- b _081CFAFE
- .pool
-_081CFAE0:
- movs r5, 0x1
- adds r0, r5, 0
- ands r0, r1
- cmp r0, 0
- bne _081CFAEE
- movs r0, 0
- b _081CFAFE
-_081CFAEE:
- bl GetSelectedMatchCall
- ldr r1, [r4, 0x1C]
- strh r0, [r1, 0x2]
- str r5, [r4, 0x18]
- ldr r0, =sub_81CFB10
- str r0, [r4]
- movs r0, 0x6
-_081CFAFE:
- pop {r4,r5}
- pop {r1}
- bx r1
- .pool
- thumb_func_end sub_81CFA88
-
- thumb_func_start sub_81CFB08
-sub_81CFB08: @ 81CFB08
- ldr r0, =0x000186a5
- bx lr
- .pool
- thumb_func_end sub_81CFB08
-
- thumb_func_start sub_81CFB10
-sub_81CFB10: @ 81CFB10
- ldr r0, =0x000186ad
- bx lr
- .pool
- thumb_func_end sub_81CFB10
-
- thumb_func_start sub_81CFB18
-sub_81CFB18: @ 81CFB18
- push {lr}
- movs r0, 0x9
- bl GetSubstructPtr
- ldr r0, [r0, 0x14]
- pop {r1}
- bx r1
- thumb_func_end sub_81CFB18
thumb_func_start sub_81CFB28
sub_81CFB28: @ 81CFB28