M src/main.tal => src/main.tal +3 -3
@@ 676,7 676,7 @@ RTN
.frame/y LDZ2
OVR2 OVR2 #0010 ++ ;hp-txt #02 ;draw-label JSR2
OVR2 #0020 ++ OVR2 #0010 ++ .player/hp-tween LDZ #01 ;draw-value JSR2
- .player/hp-tween LDZ [ TOS ;health-ratios ++ LDA ] #05 ;draw-ui-progress JSR2
+ .player/hp-tween LDZ [ TOS ;hp-ratios ++ LDA ] #05 ;draw-ui-progress JSR2
( sick )
.frame/x LDZ2 #0010 ++ .Screen/x DEO2
.frame/y LDZ2 #0010 ++ .Screen/y DEO2
@@ 688,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 [ TOS ;shield-ratios ++ LDA ] #0f ;draw-ui-progress JSR2
+ .player/sp-tween LDZ [ TOS ;sp-ratios ++ LDA ] #0f ;draw-ui-progress JSR2
( durability )
.frame/x LDZ2 #0048 ++ .Screen/x DEO2
.frame/y LDZ2 #0010 ++ .Screen/y DEO2
@@ 700,7 700,7 @@ RTN
.frame/y LDZ2
OVR2 OVR2 #0010 ++ ;xp-txt #02 ;draw-label JSR2
OVR2 #0020 ++ OVR2 #0010 ++ .player/xp LDZ #02 ;draw-value JSR2
- .player/xp LDZ #0a ;draw-ui-progress JSR2
+ .player/xp LDZ [ TOS ;hp-ratios ++ LDA ] #0a ;draw-ui-progress JSR2
( run )
;can-run JSR2 STH
M src/strings.tal => src/strings.tal +15 -6
@@ 31,13 31,7 @@
@xp-txt "XP $1
@run-txt "RUN $1
-@health-ratios
- 00 01 02 03 04 06 07 08
- 09 11 13 14 16 18 1a 1c
- 1f 21 23 25 27 29
-@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 )
@@ 58,6 52,21 @@
38 39 58 4a 00 51 00 4b
00 41 00 00 00 00 00 00
+@hp-ratios
+ 00 01 02 03 04 06 07 08
+ 09 11 13 14 16 18 1a 1c
+ 1f 21 23 25 27 29
+
+@sp-ratios
+ 00 02 05 09 10 16 1a 1c 20 23 26 29
+
+@xp-ratios
+ 00 01 02 02 03 04 04 05 06 06 07 08 08
+ 09 10 10 11 12 12 13 14 14 15 16 16 17
+ 18 19 19 1a 1a 1b 1b 1c 1c 1d 1d 1e 1e
+ 21 22 22 23 23 24 24 25 25 26 26 27 27
+ 28 28 29
+
@cards
&h01 "White_Mage_11 $1 &d01 "Red_Mage_11 $1 &s01 "Empress_17 $1 &c01 "Empress_17 $1
&h02 "Small_Potion_2 $1 &d02 "Buckler_2 $1 &s02 "Slime_2 $1 &c02 "Rat_2 $1