diff --git a/ray/src/ray.tal b/ray/src/ray.tal index 80c5e9a..331d54b 100644 --- a/ray/src/ray.tal +++ b/ray/src/ray.tal @@ -67,11 +67,11 @@ BRK ;update JSR2 &no-r DUP #01 NEQ ,&no-a JCN - .player/r LDZ2k #0008 SUB2 ROT STZ2 + .player/r LDZ2k #0008 SUB2 #03ff AND2 ROT STZ2 ;update JSR2 &no-a DUP #02 NEQ ,&no-b JCN - .player/r LDZ2k #0008 ADD2 ROT STZ2 + .player/r LDZ2k #0008 ADD2 #03ff AND2 ROT STZ2 ;update JSR2 &no-b POP @@ -80,15 +80,13 @@ BRK @on-button ( -> ) - ;draw-viewport JSR2 - ;draw-minimap JSR2 + ;update JSR2 BRK @on-mouse ( -> ) - ;draw-viewport JSR2 - ;draw-minimap JSR2 + ;update JSR2 BRK @@ -97,8 +95,6 @@ BRK @update ( -- ) - .player/a LDZ2k #03ff AND2 ROT STZ2 - .player/r LDZ2k #03ff AND2 ROT STZ2 ;draw-viewport JSR2 ;draw-minimap JSR2