aboutsummaryrefslogtreecommitdiffstats
path: root/yellow/bank3d
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-06-05 14:01:18 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-06-05 15:10:39 -0500
commitd48ea223eaad84af95e4f29043c279b56aa4ae88 (patch)
tree2fd8807ed257d9d9f03e351c2d6a71d7b208d671 /yellow/bank3d
parentMerge branch 'master' of https://github.com/iimarckus/pokered (diff)
downloadpokeyellow-d48ea223eaad84af95e4f29043c279b56aa4ae88.tar.gz
pokeyellow-d48ea223eaad84af95e4f29043c279b56aa4ae88.tar.xz
pokeyellow-d48ea223eaad84af95e4f29043c279b56aa4ae88.zip
Fix a lot of bugs
Diffstat (limited to 'yellow/bank3d')
-rw-r--r--yellow/bank3d/random.asm15
1 files changed, 0 insertions, 15 deletions
diff --git a/yellow/bank3d/random.asm b/yellow/bank3d/random.asm
deleted file mode 100644
index b7fb0edd..00000000
--- a/yellow/bank3d/random.asm
+++ /dev/null
@@ -1,15 +0,0 @@
-SECTION "bank3d",ROMX[$67DC],BANK[$3D]
-
-Random_::
-; 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