aboutsummaryrefslogtreecommitdiff
path: root/rng.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'rng.gbasm')
-rw-r--r--rng.gbasm5
1 files changed, 5 insertions, 0 deletions
diff --git a/rng.gbasm b/rng.gbasm
index 00d3cd5..16ce967 100644
--- a/rng.gbasm
+++ b/rng.gbasm
@@ -60,9 +60,14 @@ RNG_Step:
LD A, D
LD $mem_rng_state_1, A
+ LD A, $mem_loop_rng_timer
+ LD D, A
+
LD A, E
LD $mem_rng_state_2, A
+ ; XOR D
+
POP DE
POP BC
RET