GALV's Bust Menu & Pretty Gauges compatibility issue

Hey all—


I'm trying to use GALV's Bust Menu plugin in conjunction with Rocketmancer's Pretty Gauges plugin. There seems to be some code written in GALV's to be compatible with it. The outlines and everything work fine, but now the Experience points meter is backwards! It starts at a full bar and depletes as the character nears a new level. Does anyone know of a way to reverse this? GALV has a small section written in his plugin specifically for the Pretty Gauges add-on. I am unsure what to change or rewrite to make the Exp bar ascend like normal. Thanks for your help!
Yeah, I asked him about it but he is currently busy to do any compatibility patches. 


I was having issues with Pretty Gauges and Menu Usage Upgrade by SumRndmDde

Spoiler
Pretty Gauges issue


67f8f149f2357b5187df892022965cd9.png



Menu Usage issue


8809cb2546e350805187e2b292f7b31c.png






 
The thing is, GALV already tried to write code to make it compatible, and has likely moved on. I took the bit of script that involves Pretty Gauges and quoted it below. Can anyone take a look at it and see what's backwards, and/or find a way to reverse the Exp bar to ascending order? Thanks!

Code:
if (Galv.BM.rmplugin) {
	// IF ROCKETMANCER'S PRETTIER GAUGES PLUGIN
	
	var parameters = PluginManager.parameters('PrettyGauges');
	var barTypeLeft = String(parameters['barType']).substring(0,1);
	var barTypeRight = String(parameters['barType']).substring(1,2)
	var outline = Number(parameters['outline'] || 0);
	var barHeight = Number(parameters['barHeight'] || 0);
	var outlineColor1 = String(parameters['outlineColor1']);
	var outlineColor2 = String(parameters['outlineColor2']);
	var backgroundColor1 = String(parameters['backgroundColor1']);
	var backgroundColor2 = String(parameters['backgroundColor2']);
	var hpColor1 = String(parameters['hpColor1']);
	var hpColor2 = String(parameters['hpColor2']);
	var mpColor1 = String(parameters['mpColor1']);
	var mpColor2 = String(parameters['mpColor2']);
	var tpColor1 = String(parameters['tpColor1']);
	var tpColor2 = String(parameters['tpColor2']);
	
	
	Window_Base.prototype.drawExpGauge = function(x, y, width, rate, color1, color2) {
		var color3 = this.gaugeBackColor();
		var fillW = Math.floor(width * rate).clamp(0, width);
		var gaugeH = Galv.BM.xpHeight;
		var gaugeY = y + this.lineHeight() - gaugeH - 2;
		var fillW = Math.floor(width * rate);
		var gaugeY = y + this.lineHeight() - gaugeH - 2;
		var fillW = Math.floor(width * rate);
		var gaugeY = y + this.lineHeight() - 2 - barHeight;
		this.contents.fillTrap(x, gaugeY, width, width, barHeight, this.gaugeBackColor1(),  this.gaugeBackColor2());
		this.contents.fillTrap(x, gaugeY, width, fillW, barHeight, color1, color2);
		if (outline) { this.contents.outlineTrap(x, gaugeY, width, barHeight, outlineColor1, outlineColor2)}
		
		
	};

Original thread: https://forums.rpgmakerweb.com/threads/galvs-bust-menu-pretty-gauges-compatibility-issue.71538/