summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-06 16:45:53 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-06 16:45:53 -0400
commiteb03b1ab0f00d97126caaade3c7988a973c3a2bb (patch)
treea8f40974818dadf9ce70a5914d818f54fde27100 /asm
parent9236084ad807cc1d2062d87217beb82a874119ec (diff)
parent281507d72ea0bc03189469d7d97d4f28979b1cf9 (diff)
Merge branch 'master' of https://github.com/pret/pokefirered into text
Diffstat (limited to 'asm')
-rw-r--r--asm/random.s36
1 files changed, 0 insertions, 36 deletions
diff --git a/asm/random.s b/asm/random.s
deleted file mode 100644
index dcf706524..000000000
--- a/asm/random.s
+++ /dev/null
@@ -1,36 +0,0 @@
- .include "asm/macros.inc"
- .include "constants/constants.inc"
-
- .syntax unified
-
- .text
-
- thumb_func_start Random
-Random: @ 8044EC8
- ldr r2, _08044EDC @ =gUnknown_3005000
- ldr r1, [r2]
- ldr r0, _08044EE0 @ =0x41c64e6d
- muls r0, r1
- ldr r1, _08044EE4 @ =0x00006073
- adds r0, r1
- str r0, [r2]
- lsrs r0, 16
- bx lr
- .align 2, 0
-_08044EDC: .4byte gUnknown_3005000
-_08044EE0: .4byte 0x41c64e6d
-_08044EE4: .4byte 0x00006073
- thumb_func_end Random
-
- thumb_func_start SeedRng
-SeedRng: @ 8044EE8
- lsls r0, 16
- lsrs r0, 16
- ldr r1, _08044EF4 @ =gUnknown_3005000
- str r0, [r1]
- bx lr
- .align 2, 0
-_08044EF4: .4byte gUnknown_3005000
- thumb_func_end SeedRng
-
- .align 2, 0 @ Don't pad with nop.