[2k3] Increase maximum MP while holding certain weapons

Hey!

So I want to increase the max. MP while the character holds a certain weaon, and if the Char equips another weapon or lays the MP increasing weapon down it should go back to the normal max MP. How would I do this? There is no Conditional Branch option to check if the Char has no weapon equipped, so I don't know how to achieve this.
Use a variable to set the actor's weapon number. If the value is at 0, it means they have no weapon equipped.
Tech Support is for when you can't get the engine to work.

I've moved this thread to 2003 Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/2k3-increase-maximum-mp-while-holding-certain-weapons.107314/