Adding a Battle Counter Icon to Galv's Menu Themes Engine

Okay, so I may have posted my last thread regarding this in the wrong place, so let's try this again. I'm trying to add a battle counter into Galv's Menu Theme Engine. The thing is, I actually succeeded in adding the counter already, as seen here:

lclp.jpg


And the code to get that there:

  def refresh    contents.clear    self.contents.font.name = mtheme::FONT    self.contents.font.size = mtheme::FONT_SIZE    draw_gld    draw_battlecount    draw_location    draw_playtime  end    def draw_battlecount    value = $game_system.battle_count    draw_text(tx,ty,Graphics.width,line_height,$game_system.battle_count,0)  endMy problem, however, is getting a an icon next to it just like how my money has an icon next to it. I can't, for the life of me, figure this out. (And I'm willing to bet it's something simple that I'm overlooking.)

Thanks in advance!

Original script: http://galvs-scripts.com/galvs-menu-themes-engine/
def draw_battlecount
draw_text(tx + 24,ty,Graphics.width,line_height,$game_system.battle_count,0)


draw_icon(1, 0, -1, true)


end

Although you might have some gold/battle amount number overlap issues late game 🙂
Oh, sweet~ Yeah, I anticipated that, so I'ma do some testing and see how things look. Thanks a lot, Galv~

[Edit]

7p9j.jpg


\o/ Only problem is, with those numbers, the scrolling stars start to lag a bit.

Original thread: https://forums.rpgmakerweb.com/threads/adding-a-battle-counter-icon-to-galvs-menu-themes-engine.18313/