aboutsummaryrefslogtreecommitdiff
path: root/rng.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'rng.gbasm')
-rw-r--r--rng.gbasm6
1 files changed, 2 insertions, 4 deletions
diff --git a/rng.gbasm b/rng.gbasm
index e2c30ae..8867c56 100644
--- a/rng.gbasm
+++ b/rng.gbasm
@@ -60,13 +60,11 @@ RNG_Step:
LD A, D
LD $mem_rng_state_1, A
- LD A, $mem_loop_frame_timer
- LD D, A
-
LD A, E
LD $mem_rng_state_2, A
- XOR D
+ LD A, $mem_loop_frame_timer
+ XOR E
POP DE
POP BC