show picture based on low MP/HP

In rpg maker vx ace, Is there any way in eventing or scripting if need be in a non battle environment , to show pictures when your mp/hp is low? say for instance you have 1000 MP/HP, and when you get to 400 you can show pictures until you get your mana/ hp back up to a decent amount?
You can run a parallel process common event that checks for HP every few frames and shows or hides that picture
ok so like inside of the common event tab I make myself an event that checks for HP/MP drops on a certain number or frames im alittle confused on that part! but im gonna check it now ill see what I can do
ok only problem I got is, how to make the system check for specific MP  like 400/1000 mp then trigger the event which show picture (again this is non-battle)
I GOT ITTT NVM i just had to create an control variable! ( and tmw I thought th was the answer LOLOL well it seems like it doesnt work on a specific MP like what i need is like when the MP/HP gets to a certain point, show these pictures i know u need a variable for this, i even created an item to test to see if it work but it doesnt maybe im doing something wrong here

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-based-on-low-mp-hp.71931/