summaryrefslogtreecommitdiff
path: root/asm/field_effect_helpers.s
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-09-10 12:28:51 -0400
committerscnorton <scnorton@biociphers.org>2017-09-10 12:28:51 -0400
commit6ca5e691bf555cce48719ce666c087dbc86fd28d (patch)
treeb0999d11b8f5d20eb5461facd154a8a54dc4aa0c /asm/field_effect_helpers.s
parent6a848e2f9d014a7460137fa0e3d0b334867ef416 (diff)
sub_81287C4
Diffstat (limited to 'asm/field_effect_helpers.s')
-rw-r--r--asm/field_effect_helpers.s32
1 files changed, 0 insertions, 32 deletions
diff --git a/asm/field_effect_helpers.s b/asm/field_effect_helpers.s
index 823f80dda..df3610f42 100644
--- a/asm/field_effect_helpers.s
+++ b/asm/field_effect_helpers.s
@@ -6,38 +6,6 @@
.text
- thumb_func_start sub_81287C4
-sub_81287C4: @ 81287C4
- push {r4,lr}
- adds r4, r0, 0
- adds r0, 0x3F
- ldrb r1, [r0]
- movs r0, 0x10
- ands r0, r1
- cmp r0, 0
- beq _081287E2
- ldrh r1, [r4, 0x30]
- lsls r1, 24
- lsrs r1, 24
- adds r0, r4, 0
- bl FieldEffectStop
- b _081287F8
-_081287E2:
- adds r0, r4, 0
- movs r1, 0
- bl sub_806487C
- ldrh r0, [r4, 0x2E]
- lsls r0, 24
- lsrs r0, 24
- adds r1, r4, 0
- movs r2, 0
- bl SetObjectSubpriorityByZCoord
-_081287F8:
- pop {r4}
- pop {r0}
- bx r0
- thumb_func_end sub_81287C4
-
thumb_func_start sub_8128800
sub_8128800: @ 8128800
push {lr}