You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
give/takeitem *, 1: the 1 is optional
This commit is contained in:
@@ -36,7 +36,7 @@ CeladonVendingMachine:
|
||||
.FreshWater
|
||||
checkmoney $0, 200
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem FRESH_WATER, 1
|
||||
giveitem FRESH_WATER
|
||||
iffalse .NotEnoughSpace
|
||||
takemoney $0, 200
|
||||
itemtotext FRESH_WATER, $0
|
||||
@@ -45,7 +45,7 @@ CeladonVendingMachine:
|
||||
.SodaPop
|
||||
checkmoney $0, 300
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem SODA_POP, 1
|
||||
giveitem SODA_POP
|
||||
iffalse .NotEnoughSpace
|
||||
takemoney $0, 300
|
||||
itemtotext SODA_POP, $0
|
||||
@@ -54,7 +54,7 @@ CeladonVendingMachine:
|
||||
.Lemonade
|
||||
checkmoney $0, 350
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem LEMONADE, 1
|
||||
giveitem LEMONADE
|
||||
iffalse .NotEnoughSpace
|
||||
takemoney $0, 350
|
||||
itemtotext LEMONADE, $0
|
||||
|
||||
Reference in New Issue
Block a user