Hi there. My issue is a pretty simple one. All I want is for an item (Using Yanfly Action sequences in particular), to only effect the user/selected party member if they are below 100 HP. My only issue is I'm not the most familiar with the scripting of RPG maker terms. I know how to check for map ID, Switches, variables, and stuff like that with scripts, but I do not know what script I need to run in order to check the HP of the user/selected ally. I'm probably just not looking hard enough, but I haven't been able to find anyone else with a similar inquiry, on the forum or otherwise. In theory, the code would go something like this:
If anyone could help me figure out how to do this conditional branch I'd really appreciate it. Thank you!
Code:
<target action>
action effect
if ((script to check user hp)) >= 100
add state 140: user, show
else
end
<\target action>
If anyone could help me figure out how to do this conditional branch I'd really appreciate it. Thank you!