diff --git a/updatedshmup.p8 b/updatedshmup.p8 index 3105a3f..227c880 100644 --- a/updatedshmup.p8 +++ b/updatedshmup.p8 @@ -245,6 +245,7 @@ function drawgame() drawhud() end +powcols=split"170,154,153,148,68" function drawhud() -- 112-and-right is hud zone rectfill(112, 0, 127, 127,0x56) @@ -258,7 +259,7 @@ function drawhud() dropshadow("pwr",114,59,1) inset(114,66,125,92) fillp(0x5a5a) - vertmeter(115,67,124,91,primary_ship.power, primary_ship.max_power, {170,154,153,148,68}) + vertmeter(115,67,124,91,primary_ship.power, primary_ship.max_power, powcols) dropshadow("h s",114,97,1)