The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => Topic started by: Jameon on March 19, 2008, 05:00:48 AM

Title: RMVX Bank
Post by: Jameon on March 19, 2008, 05:00:48 AM
Hey im lookin 4 a tut that makes you have a bank
Title: Re: RMVX Bank
Post by: &&&&&&&&&&&&& on March 19, 2008, 05:51:44 AM
QuoteShow choices
- Withdraw
- deposit

if withdraw then Show choices
   - withdraw 10
   - withdraw 100
   - withdraw 1000
   - withdraw 10000
if 10 make variable money + 10 and money - 10
if 100 make variable money + 100 and money - 100
if 1000 make variable money + 1000 and money - 1000
if 10000 make variable money + 10000 and money - 10000
else if money doesn't = 10 then message "You don't have 10 money"
else if money doesn't = 100 then message "You don't have 100 money"
else if money doesn't = 1000 then message "You don't have 1000 money"
else if money doesn't = 10000 then message "You don't have 10000 money"

if deposit then show choices
   - deposit 10
   - deposit 100
   - deposit 1000
   - deposit 10000
if 10 make variable money - 10 and money +10
if 100 make variable money - 100 and money + 100
if 1000 make variable money - 1000 and money + 1000
if 10000 make variable money - 10000 and money + 10000
else if variable doesn't = 10 then message "You don't have 10 money in your account"
else if variable doesn't = 100 then message "You don't have 100 money in your account"
else if variable doesn't = 1000 then message "You don't have 1000 money in your account"
else if variable doesn't = 10000 then message "You don't have 10000 money in your account"