diff options
author | sceptillion <33798691+sceptillion@users.noreply.github.com> | 2017-12-16 23:54:22 -0800 |
---|---|---|
committer | sceptillion <33798691+sceptillion@users.noreply.github.com> | 2017-12-16 23:54:22 -0800 |
commit | 670fef77ac4d9116d5fdc28c0da40622919a062b (patch) | |
tree | 61c0e925f059404473826ac775305ba5e2706ab1 /asm/text_window_graphics.s |
first commit
Diffstat (limited to 'asm/text_window_graphics.s')
-rw-r--r-- | asm/text_window_graphics.s | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/asm/text_window_graphics.s b/asm/text_window_graphics.s new file mode 100644 index 000000000..6c725a553 --- /dev/null +++ b/asm/text_window_graphics.s @@ -0,0 +1,30 @@ + .include "constants/gba_constants.inc" + .include "asm/macros.inc" + + .syntax unified + + .text + + thumb_func_start sub_8069788 +sub_8069788: @ 8069788 + push {lr} + lsls r0, 24 + lsrs r0, 24 + cmp r0, 0x13 + bhi _080697A0 + lsls r0, 3 + ldr r1, _0806979C @ =gUnknown_8471E8C + adds r0, r1 + b _080697A2 + .align 2, 0 +_0806979C: .4byte gUnknown_8471E8C +_080697A0: + ldr r0, _080697A8 @ =gUnknown_8471E8C +_080697A2: + pop {r1} + bx r1 + .align 2, 0 +_080697A8: .4byte gUnknown_8471E8C + thumb_func_end sub_8069788 + + .align 2, 0 @ Don't pad with nop. |