<aside> 📦 BARLIB.acs
</aside>
<aside> âš¡ void SetMugshotColor(int cyan, int blue)
</aside>
By default, when drawing a bar, it will already handle the colors for the base mugshot as well. However, this function can be used to draw a separate mugshot color for the base mugshot from the color being drawn for the bar.
Alternatively, you can use this function to set a mugshot color without even needing to draw a bar!
cyan
: Int - The palette color to change palette color 192 (cyan) to.blue
: Int - The palette color to change palette color 198 (blue) to.The code below sets mugshot colors for a Proto Strike buster upgrade without needing to draw a bar.
script "DrawBar_ProtoStrike" (void) {
SetMugshotColor(87, 42);
}