MV Help with Changing MogHunter's Chrono Engine CT Graphics

I've wanted to use the CT meter in my project but would like to change the graphics to suit my game more. Unfortunately, when I tried changing it, the gauge in the meter disappeared. I've tried editing the Javascript file for a bit but I don't understand JS and nothing really changed. I'm pretty new to RPG Maker MV/RPG Maker in general.

Here's what it looks like in-game:
Screen Shot 2023-03-10 at 11.42.05 pm.png


Here's the Javascript I've edited:
Screen Shot 2023-03-10 at 11.49.10 pm.png
dont edit the plugin itself if you dont know what to do and why it is for.

most gauges by plugin can mostly be altered in plugin parameters,
and you should always read the help document of the plugin.

follow the gauges image rule.

as those are mostly bound, it could have a different effect, and if you
are compleetly new, learn the engine and built in tutorial before adding
and messing with plugins.

as plugins can overwelm new players.

now to your problem of the gauge not showing up.

this can have serveral issues (plugin configuring) which is maybe incorrect,
might be your image not follow the rules, or the image isn't loaded correctly.

there could be other, but the most important thing is the plugin ORDER.
wrong order or conflict with other plugins can cause issues or misbehavior.

so we need more details + plugin database to see what plugin you exactly
use and if there is a possibility of a plugin conflict.

to figure that out, if there is anything in the console log (F8 or F12) than we
need that info too as it could help you pinpoint the cause.
dont edit the plugin itself if you dont know what to do and why it is for.

most gauges by plugin can mostly be altered in plugin parameters,
and you should always read the help document of the plugin.

follow the gauges image rule.

as those are mostly bound, it could have a different effect, and if you
are compleetly new, learn the engine and built in tutorial before adding
and messing with plugins.

as plugins can overwelm new players.

now to your problem of the gauge not showing up.

this can have serveral issues (plugin configuring) which is maybe incorrect,
might be your image not follow the rules, or the image isn't loaded correctly.

there could be other, but the most important thing is the plugin ORDER.
wrong order or conflict with other plugins can cause issues or misbehavior.

so we need more details + plugin database to see what plugin you exactly
use and if there is a possibility of a plugin conflict.

to figure that out, if there is anything in the console log (F8 or F12) than we
need that info too as it could help you pinpoint the cause.
Thanks for replying! Here are all the screenshots you said to send, I hope this helps with figuring out what's wrong with it.

Spoiler: Plugin Manager + Console Log
Screen Shot 2023-03-11 at 12.00.08 pm.png

Screen Shot 2023-03-11 at 12.00.23 pm.png

Screen Shot 2023-03-11 at 12.00.39 pm.png

Screen Shot 2023-03-11 at 12.04.18 pm.png

Screen Shot 2023-03-11 at 12.04.44 pm.png

Screen Shot 2023-03-11 at 12.05.08 pm.png

Screen Shot 2023-03-11 at 12.05.21 pm.png

Screen Shot 2023-03-11 at 12.05.32 pm.png

Screen Shot 2023-03-11 at 12.05.48 pm.png

Also, I took an image of a weird glitch/bug the gauge does when it's running out.
Spoiler: Gauge Glitch
Screen Shot 2023-03-11 at 12.06.29 pm.png

I'm also going to be including the energy bar graphics here:
Spoiler: Energy Bar
CT_Layout.png
CT_Meter.png

I hope this is enough information to solve this.
console.log = useless and is require the TAB "Console" which prints
errors/ etc.

I dont get MP bar, does it only work when the bar is empty?
if it is, than there might be a work around, but what version on MV
are you running?
console.log = useless and is require the TAB "Console" which prints
errors/ etc.

I dont get MP bar, does it only work when the bar is empty?
if it is, than there might be a work around, but what version on MV
are you running?

I'm not making an MP bar, I'm using Mog"s Chrono CT which is basically a stamina bar. And yes, it seemingly only works when the bar is empty or nearly empty. I'm using version 1.6.2 of MV.
while I dont use CT, is the effect the same if you do a parallel event
for a test purpose?

on the map itself, set up this dummy event in parallel, see if it works.
make sure it start on 0 (zero).
(no scriptcall).

Code:
(change control variable to mp if using that)

wait 15  (wait 15 frames  1/4 secon)
if (variable x) >= 50
control variable x = 50
else
control variable x += 1
end

and see if it runs up correctly, after a new page (copy/paste page)
and change += 1 to -= 1 and start with 50 or higher, and check if variable x
is lower <= 0 and set variable x to 0.
this is to check if the mp bar is running up and drainging correctly.

you can also set a switch if variable hits higher than 50 to SS A ON and on the
other page when 0 SS is OFF. see if it running up and down accordanly.

if filling or draining dissapear somewhere, we can figure out why.
run the filling up and down 3-5x see when its working, and when does not.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-changing-moghunters-chrono-engine-ct-graphics.155676/