@@ 1,9 1,9 @@
(
Donsol
TODO
- - Win state
- - Death state
- - Keep score
+ - Keep best score
+ - Print best score on splash
+ - Lock touch/input on timer
)
%+ { ADD } %- { SUB } %* { MUL } %/ { NEQ }
@@ 128,24 128,27 @@ BRK
@on-mouse-menu ( -> )
;draw-cursor JSR2
- .Mouse/state DEI #00 = ,&no-click JCN
- ;go-game JSR2 BRK
- &no-click
.Mouse/y DEI2 .frame/y LDZ2 -- 8// NIP #11 ! ,&skip JCN
.Mouse/x DEI2 .frame/x LDZ2 -- 8// NIP
DUP #09 > ,&no-easy JCN
- #00 ;set-mode JSR2 POP BRK
+ #00 ;set-mode JSR2
+ ,&resume JMP
&no-easy
DUP #11 > ,&no-normal JCN
- #01 ;set-mode JSR2 POP BRK
+ #01 ;set-mode JSR2
+ ,&resume JMP
&no-normal
DUP #18 > ,&no-hard JCN
- #02 ;set-mode JSR2 POP BRK
+ #02 ;set-mode JSR2
+ ,&resume JMP
&no-hard
+ &resume
POP
- #00 ;set-mode JSR2
- &skip
+ &skip
+ .Mouse/state DEI #00 = ,&no-click JCN
+ ;go-game JSR2 BRK
+ &no-click
BRK