From d7cf2f98ab2eaa9722d7f6aaba70b272706e5cc9 Mon Sep 17 00:00:00 2001 From: neauoire Date: Sat, 10 Sep 2022 20:21:42 -0700 Subject: [PATCH] Removed unused /a --- ray/src/ray.tal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ray/src/ray.tal b/ray/src/ray.tal index b066113..a6a48c2 100644 --- a/ray/src/ray.tal +++ b/ray/src/ray.tal @@ -38,7 +38,6 @@ #0060 .player/x STZ2 #0070 .player/y STZ2 - #0000 .player/a STZ2 ;draw-minimap JSR2 @@ -51,7 +50,10 @@ BRK .Controller/button DEI DUP #10 NEQ ,&no-u JCN - .player/y LDZ2k #0001 SUB2 ROT STZ2 + .player/r LDZ2 #0002 STH2k ;raycast JSR2 + SWP2 .player/x LDZ2 STH2kr #01 SFT2 SUB2 ADD2 + SWP2 .player/y LDZ2 STH2r #01 SFT2 SUB2 ADD2 + .player/y STZ2 .player/x STZ2 ;update JSR2 &no-u DUP #20 NEQ ,&no-d JCN @@ -102,7 +104,6 @@ JMP2r @draw-viewport ( -- ) - .player/a LDZ2 #00 .Screen/auto DEO #0080 #0000 &h @@ -110,7 +111,6 @@ JMP2r DUP2 .player/r LDZ2 ADD2 #03ff AND2 ;ray-tile JSR2 ;draw-col JSR2 INC2 GTH2k ,&h JCN POP2 POP2 - .player/a STZ2 JMP2r