Use more constants in scripts

This commit is contained in:
Remy Oukaour
2018-01-12 01:40:20 -05:00
parent b23085f526
commit d83aefb30a
120 changed files with 828 additions and 732 deletions

View File

@@ -27,11 +27,11 @@ FarmerMScript_SellMilk:
special PlaceMoneyTopRight
yesorno
iffalse FarmerMScript_NoSale
checkmoney $0, 500
if_equal $2, FarmerMScript_NoMoney
checkmoney YOUR_MONEY, 500
if_equal HAVE_LESS, FarmerMScript_NoMoney
giveitem MOOMOO_MILK
iffalse FarmerMScript_NoRoom
takemoney $0, 500
takemoney YOUR_MONEY, 500
special PlaceMoneyTopRight
waitsfx
playsound SFX_TRANSACTION