Hi. I'm trying to create a process by which the lost HP and MP of the party are figured out to yield a 'full heal' cost.
Now, the HP part of this works fine: I load the member info, have a variable record the difference between Max HP and current hp (I've debugged this through displaying and messing with the debug menu and it works). The MP one, however, is not working. What happens is that the game loads the Max MP of my protagonist as being 10 less than it is, but records her current MP as correct. In the menu, her max MP is displayed as 26, but the info loaded into the variable is 16. If I use the debug menu to set her max mp at 26 and then try again, it, for some reason, works and I get 26 as the output for the max MP variable.
Is this a known glitch within the software or have I muddled a script up somewhere else? What makes no sense is that the game obviously thinks the character has 26 Max Mp, as that is both what her status screen says AND what the game allows her current MP to get to, considering that the game has built in scripts concerning going over the max HP and MP stats.
Any help would be cool.
Now, the HP part of this works fine: I load the member info, have a variable record the difference between Max HP and current hp (I've debugged this through displaying and messing with the debug menu and it works). The MP one, however, is not working. What happens is that the game loads the Max MP of my protagonist as being 10 less than it is, but records her current MP as correct. In the menu, her max MP is displayed as 26, but the info loaded into the variable is 16. If I use the debug menu to set her max mp at 26 and then try again, it, for some reason, works and I get 26 as the output for the max MP variable.
Is this a known glitch within the software or have I muddled a script up somewhere else? What makes no sense is that the game obviously thinks the character has 26 Max Mp, as that is both what her status screen says AND what the game allows her current MP to get to, considering that the game has built in scripts concerning going over the max HP and MP stats.
Any help would be cool.

Comment