summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-07-12 16:47:04 -0700
committerGitHub <noreply@github.com>2017-07-12 16:47:04 -0700
commit37eb934ee355fecf853cc1f085299529ab03b55b (patch)
treee3afb71e524d92df9f5081afe6c71bca2d360c15 /home.asm
parent63a1c0e42a2d12ef86f389542a34285afa9183e3 (diff)
parentf177ec55b1691fda4162b2a7de11b06854e01938 (diff)
Merge pull request #23 from PikalaxALT/master
Document RNG
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home.asm b/home.asm
index 1f1e6fa..7da2d24 100644
--- a/home.asm
+++ b/home.asm
@@ -147,8 +147,8 @@ Start: ; 0x150
ld [rIE], a ; Only enable LCD Status interrupt
ei
ld a, $ff
- ld [wd810], a
- call Func_97a
+ ld [wRNGModulus], a
+ call ResetRNG
xor a
ld [wBootCheck], a
ld a, BANK(Func_1ffc)
@@ -236,8 +236,8 @@ SoftReset:
ld [rIE], a
ei
ld a, $ff
- ld [wd810], a
- call Func_97a
+ ld [wRNGModulus], a
+ call ResetRNG
ld a, [hGameBoyColorFlag]
ld [$fffd], a
xor a
@@ -785,7 +785,7 @@ INCLUDE "home/random.asm"
INCLUDE "home/joypad.asm"
INCLUDE "home/palettes.asm"
-Func_dd4: ; 0xdd4
+HorrendousMultiplyAbyL: ; 0xdd4
; Return a * l to hl
; Stupid waste of space
push bc