~rabbits/donsol

cd3fbe033bf3b725d3881809b5ae77c49127bb99 — neauoire 1 year, 4 months ago 801c04f
Added hp ratios
2 files changed, 6 insertions(+), 1 deletions(-)

M src/main.tal
M src/strings.tal
M src/main.tal => src/main.tal +1 -1
@@ 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 #05 ;draw-ui-progress JSR2
		.player/hp-tween LDZ [ TOS ;health-ratios ++ LDA ] #05 ;draw-ui-progress JSR2
	( sick )
	.frame/x LDZ2 #0010 ++ .Screen/x DEO2
	.frame/y LDZ2 #0010 ++ .Screen/y DEO2

M src/strings.tal => src/strings.tal +5 -0
@@ 31,6 31,11 @@
@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