oh, I'm guessing mod stores up to set amount of numbers like a variable could. I just took a calculator and tried: 30(current)/58(Max) and got .51724137(yada yada) so it's probably storing "51724137" into the variable ><; and it probably reads left to right until it hits capped amount it can store.
Bummer, guess I'll have to think of another way to do his AI
EDIT: Was just talking to a friend and he figured out a way (if above is the case) I would just make a simple loop of
loop
if number > 100
number /10
end loop
and before the loop I just make a condition branch that checks if the mod is = 0 (full HP) I'll put resolved in the title once I test this out.
EDIT2: Ugh... still doesn't work. Here is what I have now
If my math is wrong, then that could be the problem (again), but if it isn't it "should" work. Though it doesn't... could it be possible that since this is a parallel process that RMVX is over looking the labels and is skipping them completely?