Removed unused /a

This commit is contained in:
neauoire 2022-09-10 20:21:42 -07:00
parent a036e4a7fb
commit d7cf2f98ab
1 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,6 @@
#0060 .player/x STZ2 #0060 .player/x STZ2
#0070 .player/y STZ2 #0070 .player/y STZ2
#0000 .player/a STZ2
;draw-minimap JSR2 ;draw-minimap JSR2
@ -51,7 +50,10 @@ BRK
.Controller/button DEI .Controller/button DEI
DUP #10 NEQ ,&no-u JCN 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 ;update JSR2
&no-u &no-u
DUP #20 NEQ ,&no-d JCN DUP #20 NEQ ,&no-d JCN
@ -102,7 +104,6 @@ JMP2r
@draw-viewport ( -- ) @draw-viewport ( -- )
.player/a LDZ2
#00 .Screen/auto DEO #00 .Screen/auto DEO
#0080 #0000 #0080 #0000
&h &h
@ -110,7 +111,6 @@ JMP2r
DUP2 .player/r LDZ2 ADD2 #03ff AND2 ;ray-tile JSR2 ;draw-col JSR2 DUP2 .player/r LDZ2 ADD2 #03ff AND2 ;ray-tile JSR2 ;draw-col JSR2
INC2 GTH2k ,&h JCN INC2 GTH2k ,&h JCN
POP2 POP2 POP2 POP2
.player/a STZ2
JMP2r JMP2r