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 ;update JSR2
&no-r &no-r
DUP #01 NEQ ,&no-a JCN DUP #01 NEQ ,&no-a JCN
.player/r LDZ2k #0008 SUB2 ROT STZ2 .player/r LDZ2k #0008 SUB2 #03ff AND2 ROT STZ2
;update JSR2 ;update JSR2
&no-a &no-a
DUP #02 NEQ ,&no-b JCN DUP #02 NEQ ,&no-b JCN
.player/r LDZ2k #0008 ADD2 ROT STZ2 .player/r LDZ2k #0008 ADD2 #03ff AND2 ROT STZ2
;update JSR2 ;update JSR2
&no-b &no-b
POP POP
@ -80,15 +80,13 @@ BRK
@on-button ( -> ) @on-button ( -> )
;draw-viewport JSR2 ;update JSR2
;draw-minimap JSR2
BRK BRK
@on-mouse ( -> ) @on-mouse ( -> )
;draw-viewport JSR2 ;update JSR2
;draw-minimap JSR2
BRK BRK
@ -97,8 +95,6 @@ BRK
@update ( -- ) @update ( -- )
.player/a LDZ2k #03ff AND2 ROT STZ2
.player/r LDZ2k #03ff AND2 ROT STZ2
;draw-viewport JSR2 ;draw-viewport JSR2
;draw-minimap JSR2 ;draw-minimap JSR2