M src/main.tal => src/main.tal +3 -1
@@ 193,6 193,8 @@ BRK
#15 DUP .player/hp STZ .player/hp-tween STZ
#0000 .player/sp STZ2
#00 .player/xp STZ
+ #00 .player/ran STZ
+ #00 .player/sick STZ
( start deck )
;init-deck JSR2
@@ 686,7 688,7 @@ RTN
.frame/y LDZ2
OVR2 OVR2 #0010 ++ ;sp-txt #02 ;draw-label JSR2
OVR2 #0020 ++ OVR2 #0010 ++ .player/sp-tween LDZ #03 ;draw-value JSR2
- .player/sp-tween LDZ #0f ;draw-ui-progress JSR2
+ .player/sp-tween LDZ [ TOS ;shield-ratios ++ LDA ] #0f ;draw-ui-progress JSR2
( durability )
.frame/x LDZ2 #0048 ++ .Screen/x DEO2
.frame/y LDZ2 #0010 ++ .Screen/y DEO2
M src/strings.tal => src/strings.tal +3 -0
@@ 31,6 31,9 @@
@xp-txt "XP $1
@run-txt "RUN $1
+@shield-ratios
+ 00 02 05 09 10 16 1a 1c 20 23 26 29
+
@card-types
00 00 00 00 00 00 00 00 00 00 00 00 00 ( hearts )
01 01 01 01 01 01 01 01 01 01 01 01 01 ( diamonds )