summaryrefslogtreecommitdiff
path: root/asm/battle_frontier_1.s
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-01-26 23:41:52 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-01-26 23:41:52 -0600
commit2da7bdbb1175802e55103c4f9df95e035aa38c40 (patch)
tree9f6051ec143da9f029c8867ef98fb5c6ff7dff2c /asm/battle_frontier_1.s
parent7d8a2ae7f0d9edaca7770cf472909bf9197acf2a (diff)
Begin menu.s decomp
Diffstat (limited to 'asm/battle_frontier_1.s')
-rw-r--r--asm/battle_frontier_1.s38
1 files changed, 38 insertions, 0 deletions
diff --git a/asm/battle_frontier_1.s b/asm/battle_frontier_1.s
index 91c8215e5..976543692 100644
--- a/asm/battle_frontier_1.s
+++ b/asm/battle_frontier_1.s
@@ -16009,6 +16009,44 @@ _0819715C:
pop {r0}
bx r0
.pool
+
thumb_func_end sub_8197080
+ thumb_func_start sub_8197184
+sub_8197184: @ 8197184
+ push {r4,r5,lr}
+ adds r4, r1, 0
+ adds r5, r2, 0
+ lsls r0, 24
+ lsrs r0, 24
+ movs r1, 0
+ bl GetWindowAttribute
+ lsls r0, 24
+ lsrs r0, 24
+ ldr r1, =gUnknown_0860EA6C
+ movs r2, 0x80
+ lsls r2, 1
+ lsls r4, 16
+ lsrs r4, 16
+ adds r3, r4, 0
+ bl LoadBgTiles
+ ldr r0, =gUnknown_0860EA4C
+ lsls r5, 20
+ lsrs r5, 16
+ adds r1, r5, 0
+ movs r2, 0x20
+ bl LoadPalette
+ pop {r4,r5}
+ pop {r0}
+ bx r0
+ .pool
+ thumb_func_end sub_8197184
+
+ thumb_func_start sub_81971C4
+sub_81971C4: @ 81971C4
+ push {lr}
+ bl sub_819645C
+ pop {r0}
+ bx r0
+ thumb_func_end sub_81971C4
.align 2, 0 @ Don't pad with nop.