i am trying to make a section of code for the rpgmaker2003 that will allow an event to be able to subract money from the main player when clicked upon but make it so that if the main player doesn't have enough money that the event will say something like "sorry, not enough money" and the event will end the process. any ideas?
It is very easy, you use a conditional branch to do it.
Set the condition as equal to or more then XX amount of money(last option on branch) and have an else case which means if there is not enough money, it can say sorry your too poor. But if there is more or equal to XX amount, it will subtract it and say thank you.
Use any text u want of course.
Attached is an example of it. Talk to the guy in black first, you wont have enough money so you will be rejected. Next go talk to the guy in red to recieve money then go back to the other guy to subtract money.
Just copy and paste an RPG_RT.exe into the file to get it to work.
Enjoy!
"why I've gotta be one of the cool kids just to walk by/
- without being tripped, thrown down on the ground and kicked/
Insulting me for no reason, I was treated like shit/
The teachers let it happen/
I've even seen some of them teachers laughing/
That's why I had a smile on my face when I started blastin/" - Ill Bill - The Anatomy of a School Shooting