[VXA] MP Levels + Galv's Menu Themes Engine - Compability problem



Good morning / afternoon / evening everyone

I'm using Galv's menu themes engine and Victor's MP Levels... But I am having a compatibility problem.

ggggg.png


with MP Levels, MP is supposed to show up like this in the menu


but when I try the Menu Engine by Galv

29.05.2021_15.55.13_REC.png


The MP display is all wrong, it shows the MP from the default engine rather than the MP made with the MP levels

is there a way to fix this?

I tried to put MP levels above and below the menu themes script and the result was the same.

Any help is appreciated.
Thats because Galv completely rewrote the menu scene with new methods.
Add this below both scripts
Ruby:
class Window_Base < Window
  def draw_gmp(actor, x, y, width = 124)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::mp_a) if width > 96
    change_color(normal_color)
    position = width / 2 - (width > 96 ? 12 : 24)
    contents.font.size = Font.default_size - 6
    actor.max_mp_level.times do |i|
      px  = x + i * 20 + position
      draw_text(px - 30, y + 4, 32, line_height, actor.mp_level(i + 1).to_s, 2)
      draw_text(px, y + 4, 24, line_height, "/") if i + 1 != actor.max_mp_level
    end
    contents.font.size = Font.default_size
  end
end
Thank you so much for this!

Original thread: https://forums.rpgmakerweb.com/threads/vxa-mp-levels-galvs-menu-themes-engine-compability-problem.136953/