aboutsummaryrefslogtreecommitdiffstats
path: root/engine/bank3d/random.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-12-31 15:24:54 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-12-31 15:24:54 -0500
commit94eee4e89ef5c0857599c2951befee9dc709ae85 (patch)
tree463218b7b459d0f1d90f0e488cd026e7a2da27dc /engine/bank3d/random.asm
parentBankF documentation from HasMonFainted to Func_3d536 (diff)
downloadpokeyellow-94eee4e89ef5c0857599c2951befee9dc709ae85.tar.gz
pokeyellow-94eee4e89ef5c0857599c2951befee9dc709ae85.tar.xz
pokeyellow-94eee4e89ef5c0857599c2951befee9dc709ae85.zip
Cleanup with yellow-exclusive banks
Also introduce charmap for $ec (unfilled menu arrow cursor)
Diffstat (limited to 'engine/bank3d/random.asm')
-rw-r--r--engine/bank3d/random.asm13
1 files changed, 0 insertions, 13 deletions
diff --git a/engine/bank3d/random.asm b/engine/bank3d/random.asm
deleted file mode 100644
index ddf042df..00000000
--- a/engine/bank3d/random.asm
+++ /dev/null
@@ -1,13 +0,0 @@
-Random_:: ; f67dc (3d:67dc)
-; Generate a random 16-bit value.
- ld a, [rDIV]
- ld b, a
- ld a, [hRandomAdd]
- adc b
- ld [hRandomAdd], a
- ld a, [rDIV]
- ld b, a
- ld a, [hRandomSub]
- sbc b
- ld [hRandomSub], a
- ret