Housekeeping

This commit is contained in:
neauoire 2022-09-10 17:25:01 -07:00
parent d78e0f21a1
commit 7dcb59d93e
1 changed files with 4 additions and 8 deletions

View File

@ -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