aboutsummaryrefslogtreecommitdiff
path: root/rng.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-03-07 18:07:40 +0900
committerAstatin <[email protected]>2025-03-07 18:07:40 +0900
commit329953d54d3d07b517dcff391a40229acd89bd59 (patch)
tree811917d6b3284cb696fb2a943e7062039b5f0e42 /rng.gbasm
parent3649b73eca599701db818dbbf470b1b17e660083 (diff)
Add floor counter + a lot of little bug fixes
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