From c752e8e1e3c7b8f1625e10203faa5f4d4eb07d35 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sat, 28 Jun 2025 23:10:57 -0700 Subject: [PATCH] fix hpcols_init note that I need to re-call this whenever I have a new max hp also note that vertmeter does not handle 1024 correctly. find out what max hp functions and hardcap it --- vacuum_gambit.p8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index 391e095..63b3a5b 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -130,7 +130,7 @@ hpcols_lut = csv[[36 -- call after any change to maxhp -- configures health gradient function init_hpcols() - hpcols = hpcols_lut[min(primary_ship.maxhp,6)] + hpcols = hpcols_lut[min(primary_ship.maxhp,5)] end function wipe_game()