mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
parent
af29f1f97c
commit
f9a60cff7a
@ -1,3 +1,7 @@
|
|||||||
|
CELADONDEPTSTORE6F_FRESH_WATER_PRICE EQU 200
|
||||||
|
CELADONDEPTSTORE6F_SODA_POP_PRICE EQU 300
|
||||||
|
CELADONDEPTSTORE6F_LEMONADE_PRICE EQU 350
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const CELADONDEPTSTORE6F_SUPER_NERD
|
const CELADONDEPTSTORE6F_SUPER_NERD
|
||||||
const CELADONDEPTSTORE6F_YOUNGSTER
|
const CELADONDEPTSTORE6F_YOUNGSTER
|
||||||
@ -33,29 +37,29 @@ CeladonDeptStore6FVendingMachine:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.FreshWater:
|
.FreshWater:
|
||||||
checkmoney YOUR_MONEY, 200
|
checkmoney YOUR_MONEY, CELADONDEPTSTORE6F_FRESH_WATER_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem FRESH_WATER
|
giveitem FRESH_WATER
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 200
|
takemoney YOUR_MONEY, CELADONDEPTSTORE6F_FRESH_WATER_PRICE
|
||||||
itemtotext FRESH_WATER, MEM_BUFFER_0
|
itemtotext FRESH_WATER, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
.SodaPop:
|
.SodaPop:
|
||||||
checkmoney YOUR_MONEY, 300
|
checkmoney YOUR_MONEY, CELADONDEPTSTORE6F_SODA_POP_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem SODA_POP
|
giveitem SODA_POP
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 300
|
takemoney YOUR_MONEY, CELADONDEPTSTORE6F_SODA_POP_PRICE
|
||||||
itemtotext SODA_POP, MEM_BUFFER_0
|
itemtotext SODA_POP, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
.Lemonade:
|
.Lemonade:
|
||||||
checkmoney YOUR_MONEY, 350
|
checkmoney YOUR_MONEY, CELADONDEPTSTORE6F_LEMONADE_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem LEMONADE
|
giveitem LEMONADE
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 350
|
takemoney YOUR_MONEY, CELADONDEPTSTORE6F_LEMONADE_PRICE
|
||||||
itemtotext LEMONADE, MEM_BUFFER_0
|
itemtotext LEMONADE, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
CELADONGAMECORNERPRIZEROOM_TM32_COINS EQU 1500
|
||||||
|
CELADONGAMECORNERPRIZEROOM_TM29_COINS EQU 3500
|
||||||
|
CELADONGAMECORNERPRIZEROOM_TM15_COINS EQU 7500
|
||||||
|
CELADONGAMECORNERPRIZEROOM_PIKACHU_COINS EQU 2222
|
||||||
|
CELADONGAMECORNERPRIZEROOM_PORYGON_COINS EQU 5555
|
||||||
|
CELADONGAMECORNERPRIZEROOM_LARVITAR_COINS EQU 8888
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const CELADONGAMECORNERPRIZEROOM_GENTLEMAN
|
const CELADONGAMECORNERPRIZEROOM_GENTLEMAN
|
||||||
const CELADONGAMECORNERPRIZEROOM_PHARMACIST
|
const CELADONGAMECORNERPRIZEROOM_PHARMACIST
|
||||||
@ -26,42 +33,42 @@ CeladonPrizeRoom_tmcounterloop:
|
|||||||
loadmenu CeladonPrizeRoom_TMMenuHeader
|
loadmenu CeladonPrizeRoom_TMMenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
ifequal 1, .doubleteam
|
ifequal 1, .DoubleTeam
|
||||||
ifequal 2, .psychic
|
ifequal 2, .Psychic
|
||||||
ifequal 3, .hyperbeam
|
ifequal 3, .HyperBeam
|
||||||
jump CeladonPrizeRoom_cancel
|
jump CeladonPrizeRoom_CancelPurchaseScript
|
||||||
|
|
||||||
.doubleteam
|
.DoubleTeam:
|
||||||
checkcoins 1500
|
checkcoins CELADONGAMECORNERPRIZEROOM_TM32_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
itemtotext TM_DOUBLE_TEAM, MEM_BUFFER_0
|
itemtotext TM_DOUBLE_TEAM, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
giveitem TM_DOUBLE_TEAM
|
giveitem TM_DOUBLE_TEAM
|
||||||
iffalse CeladonPrizeRoom_notenoughroom
|
iffalse CeladonPrizeRoom_notenoughroom
|
||||||
takecoins 1500
|
takecoins CELADONGAMECORNERPRIZEROOM_TM32_COINS
|
||||||
jump CeladonPrizeRoom_purchased
|
jump CeladonPrizeRoom_purchased
|
||||||
|
|
||||||
.psychic
|
.Psychic:
|
||||||
checkcoins 3500
|
checkcoins CELADONGAMECORNERPRIZEROOM_TM29_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
itemtotext TM_PSYCHIC_M, MEM_BUFFER_0
|
itemtotext TM_PSYCHIC_M, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
giveitem TM_PSYCHIC_M
|
giveitem TM_PSYCHIC_M
|
||||||
iffalse CeladonPrizeRoom_notenoughroom
|
iffalse CeladonPrizeRoom_notenoughroom
|
||||||
takecoins 3500
|
takecoins CELADONGAMECORNERPRIZEROOM_TM29_COINS
|
||||||
jump CeladonPrizeRoom_purchased
|
jump CeladonPrizeRoom_purchased
|
||||||
|
|
||||||
.hyperbeam
|
.HyperBeam:
|
||||||
checkcoins 7500
|
checkcoins CELADONGAMECORNERPRIZEROOM_TM15_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
itemtotext TM_HYPER_BEAM, MEM_BUFFER_0
|
itemtotext TM_HYPER_BEAM, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
giveitem TM_HYPER_BEAM
|
giveitem TM_HYPER_BEAM
|
||||||
iffalse CeladonPrizeRoom_notenoughroom
|
iffalse CeladonPrizeRoom_notenoughroom
|
||||||
takecoins 7500
|
takecoins CELADONGAMECORNERPRIZEROOM_TM15_COINS
|
||||||
jump CeladonPrizeRoom_purchased
|
jump CeladonPrizeRoom_purchased
|
||||||
|
|
||||||
CeladonPrizeRoom_askbuy:
|
CeladonPrizeRoom_askbuy:
|
||||||
@ -88,7 +95,7 @@ CeladonPrizeRoom_notenoughroom:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
CeladonPrizeRoom_cancel:
|
CeladonPrizeRoom_CancelPurchaseScript:
|
||||||
writetext CeladonPrizeRoom_ComeAgainText
|
writetext CeladonPrizeRoom_ComeAgainText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -127,19 +134,19 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
loadmenu .MenuHeader
|
loadmenu .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
ifequal 1, .pikachu
|
ifequal 1, .Pikachu
|
||||||
ifequal 2, .porygon
|
ifequal 2, .Porygon
|
||||||
ifequal 3, .larvitar
|
ifequal 3, .Larvitar
|
||||||
jump CeladonPrizeRoom_cancel
|
jump CeladonPrizeRoom_CancelPurchaseScript
|
||||||
|
|
||||||
.pikachu
|
.Pikachu:
|
||||||
checkcoins 2222
|
checkcoins CELADONGAMECORNERPRIZEROOM_PIKACHU_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
||||||
pokenamemem PIKACHU, MEM_BUFFER_0
|
pokenamemem PIKACHU, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
@ -147,17 +154,17 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writebyte PIKACHU
|
writebyte PIKACHU
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke PIKACHU, 25
|
givepoke PIKACHU, 25
|
||||||
takecoins 2222
|
takecoins CELADONGAMECORNERPRIZEROOM_PIKACHU_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.porygon
|
.Porygon:
|
||||||
checkcoins 5555
|
checkcoins CELADONGAMECORNERPRIZEROOM_PORYGON_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
||||||
pokenamemem PORYGON, MEM_BUFFER_0
|
pokenamemem PORYGON, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
@ -165,17 +172,17 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writebyte PORYGON
|
writebyte PORYGON
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke PORYGON, 15
|
givepoke PORYGON, 15
|
||||||
takecoins 5555
|
takecoins CELADONGAMECORNERPRIZEROOM_PORYGON_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.larvitar
|
.Larvitar:
|
||||||
checkcoins 8888
|
checkcoins CELADONGAMECORNERPRIZEROOM_LARVITAR_COINS
|
||||||
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
ifequal HAVE_LESS, CeladonPrizeRoom_notenoughcoins
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
ifequal PARTY_LENGTH, CeladonPrizeRoom_notenoughroom
|
||||||
pokenamemem LARVITAR, MEM_BUFFER_0
|
pokenamemem LARVITAR, MEM_BUFFER_0
|
||||||
scall CeladonPrizeRoom_askbuy
|
scall CeladonPrizeRoom_askbuy
|
||||||
iffalse CeladonPrizeRoom_cancel
|
iffalse CeladonPrizeRoom_CancelPurchaseScript
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
@ -183,7 +190,7 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writebyte LARVITAR
|
writebyte LARVITAR
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke LARVITAR, 40
|
givepoke LARVITAR, 40
|
||||||
takecoins 8888
|
takecoins CELADONGAMECORNERPRIZEROOM_LARVITAR_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.MenuHeader:
|
.MenuHeader:
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
GOLDENRODDEPTSTORE6F_FRESH_WATER_PRICE EQU 200
|
||||||
|
GOLDENRODDEPTSTORE6F_SODA_POP_PRICE EQU 300
|
||||||
|
GOLDENRODDEPTSTORE6F_LEMONADE_PRICE EQU 350
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const GOLDENRODDEPTSTORE6F_LASS
|
const GOLDENRODDEPTSTORE6F_LASS
|
||||||
const GOLDENRODDEPTSTORE6F_SUPER_NERD
|
const GOLDENRODDEPTSTORE6F_SUPER_NERD
|
||||||
@ -22,29 +26,29 @@ GoldenrodVendingMachine:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.FreshWater:
|
.FreshWater:
|
||||||
checkmoney YOUR_MONEY, 200
|
checkmoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_FRESH_WATER_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem FRESH_WATER
|
giveitem FRESH_WATER
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 200
|
takemoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_FRESH_WATER_PRICE
|
||||||
itemtotext FRESH_WATER, MEM_BUFFER_0
|
itemtotext FRESH_WATER, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
.SodaPop:
|
.SodaPop:
|
||||||
checkmoney YOUR_MONEY, 300
|
checkmoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_SODA_POP_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem SODA_POP
|
giveitem SODA_POP
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 300
|
takemoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_SODA_POP_PRICE
|
||||||
itemtotext SODA_POP, MEM_BUFFER_0
|
itemtotext SODA_POP, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
.Lemonade:
|
.Lemonade:
|
||||||
checkmoney YOUR_MONEY, 350
|
checkmoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_LEMONADE_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem LEMONADE
|
giveitem LEMONADE
|
||||||
iffalse .NotEnoughSpace
|
iffalse .NotEnoughSpace
|
||||||
takemoney YOUR_MONEY, 350
|
takemoney YOUR_MONEY, GOLDENRODDEPTSTORE6F_LEMONADE_PRICE
|
||||||
itemtotext LEMONADE, MEM_BUFFER_0
|
itemtotext LEMONADE, MEM_BUFFER_0
|
||||||
jump .VendItem
|
jump .VendItem
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
GOLDENRODGAMECORNER_TM25_COINS EQU 5500
|
||||||
|
GOLDENRODGAMECORNER_TM14_COINS EQU 5500
|
||||||
|
GOLDENRODGAMECORNER_TM38_COINS EQU 5500
|
||||||
|
GOLDENRODGAMECORNER_ABRA_COINS EQU 100
|
||||||
|
GOLDENRODGAMECORNER_CUBONE_COINS EQU 800
|
||||||
|
GOLDENRODGAMECORNER_WOBBUFFET_COINS EQU 1500
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const GOLDENRODGAMECORNER_CLERK
|
const GOLDENRODGAMECORNER_CLERK
|
||||||
const GOLDENRODGAMECORNER_RECEPTIONIST1
|
const GOLDENRODGAMECORNER_RECEPTIONIST1
|
||||||
@ -68,36 +75,36 @@ GoldenrodGameCornerTMVendor_LoopScript:
|
|||||||
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
||||||
|
|
||||||
.Thunder:
|
.Thunder:
|
||||||
checkcoins 5500
|
checkcoins GOLDENRODGAMECORNER_TM25_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
itemtotext TM_THUNDER, MEM_BUFFER_0
|
itemtotext TM_THUNDER, MEM_BUFFER_0
|
||||||
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
||||||
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
||||||
giveitem TM_THUNDER
|
giveitem TM_THUNDER
|
||||||
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
takecoins 5500
|
takecoins GOLDENRODGAMECORNER_TM25_COINS
|
||||||
jump GoldenrodGameCornerTMVendor_FinishScript
|
jump GoldenrodGameCornerTMVendor_FinishScript
|
||||||
|
|
||||||
.Blizzard:
|
.Blizzard:
|
||||||
checkcoins 5500
|
checkcoins GOLDENRODGAMECORNER_TM14_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
itemtotext TM_BLIZZARD, MEM_BUFFER_0
|
itemtotext TM_BLIZZARD, MEM_BUFFER_0
|
||||||
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
||||||
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
||||||
giveitem TM_BLIZZARD
|
giveitem TM_BLIZZARD
|
||||||
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
takecoins 5500
|
takecoins GOLDENRODGAMECORNER_TM14_COINS
|
||||||
jump GoldenrodGameCornerTMVendor_FinishScript
|
jump GoldenrodGameCornerTMVendor_FinishScript
|
||||||
|
|
||||||
.FireBlast:
|
.FireBlast:
|
||||||
checkcoins 5500
|
checkcoins GOLDENRODGAMECORNER_TM38_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
itemtotext TM_FIRE_BLAST, MEM_BUFFER_0
|
itemtotext TM_FIRE_BLAST, MEM_BUFFER_0
|
||||||
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
||||||
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
||||||
giveitem TM_FIRE_BLAST
|
giveitem TM_FIRE_BLAST
|
||||||
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
takecoins 5500
|
takecoins GOLDENRODGAMECORNER_TM38_COINS
|
||||||
jump GoldenrodGameCornerTMVendor_FinishScript
|
jump GoldenrodGameCornerTMVendor_FinishScript
|
||||||
|
|
||||||
GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript:
|
GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript:
|
||||||
@ -163,13 +170,13 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
loadmenu .MenuHeader
|
loadmenu .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
ifequal 1, .abra
|
ifequal 1, .Abra
|
||||||
ifequal 2, .cubone
|
ifequal 2, .Cubone
|
||||||
ifequal 3, .wobbuffet
|
ifequal 3, .Wobbuffet
|
||||||
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
||||||
|
|
||||||
.abra
|
.Abra:
|
||||||
checkcoins 100
|
checkcoins GOLDENRODGAMECORNER_ABRA_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
@ -183,11 +190,11 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writebyte ABRA
|
writebyte ABRA
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke ABRA, 5
|
givepoke ABRA, 5
|
||||||
takecoins 100
|
takecoins GOLDENRODGAMECORNER_ABRA_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.cubone
|
.Cubone:
|
||||||
checkcoins 800
|
checkcoins GOLDENRODGAMECORNER_CUBONE_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
@ -201,11 +208,11 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writebyte CUBONE
|
writebyte CUBONE
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke CUBONE, 15
|
givepoke CUBONE, 15
|
||||||
takecoins 800
|
takecoins GOLDENRODGAMECORNER_CUBONE_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.wobbuffet
|
.Wobbuffet:
|
||||||
checkcoins 1500
|
checkcoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
||||||
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
||||||
@ -219,7 +226,7 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writebyte WOBBUFFET
|
writebyte WOBBUFFET
|
||||||
special GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke WOBBUFFET, 15
|
givepoke WOBBUFFET, 15
|
||||||
takecoins 1500
|
takecoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
||||||
jump .loop
|
jump .loop
|
||||||
|
|
||||||
.MenuHeader:
|
.MenuHeader:
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE EQU 500
|
||||||
|
GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE EQU 300
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const GOLDENRODUNDERGROUND_SUPER_NERD1
|
const GOLDENRODUNDERGROUND_SUPER_NERD1
|
||||||
const GOLDENRODUNDERGROUND_SUPER_NERD2
|
const GOLDENRODUNDERGROUND_SUPER_NERD2
|
||||||
@ -194,7 +197,7 @@ OlderHaircutBrotherScript:
|
|||||||
writetext UnknownText_0x7c5f9
|
writetext UnknownText_0x7c5f9
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
checkmoney YOUR_MONEY, 500
|
checkmoney YOUR_MONEY, GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
writetext UnknownText_0x7c69a
|
writetext UnknownText_0x7c69a
|
||||||
buttonsound
|
buttonsound
|
||||||
@ -225,7 +228,7 @@ OlderHaircutBrotherScript:
|
|||||||
jump .then
|
jump .then
|
||||||
|
|
||||||
.then
|
.then
|
||||||
takemoney YOUR_MONEY, 500
|
takemoney YOUR_MONEY, GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE
|
||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c6b8
|
writetext UnknownText_0x7c6b8
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -277,7 +280,7 @@ YoungerHaircutBrotherScript:
|
|||||||
writetext UnknownText_0x7c75c
|
writetext UnknownText_0x7c75c
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
checkmoney YOUR_MONEY, 300
|
checkmoney YOUR_MONEY, GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
writetext UnknownText_0x7c7f1
|
writetext UnknownText_0x7c7f1
|
||||||
buttonsound
|
buttonsound
|
||||||
@ -308,7 +311,7 @@ YoungerHaircutBrotherScript:
|
|||||||
jump .then
|
jump .then
|
||||||
|
|
||||||
.then
|
.then
|
||||||
takemoney YOUR_MONEY, 300
|
takemoney YOUR_MONEY, GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE
|
||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c80e
|
writetext UnknownText_0x7c80e
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
MAHOGANYTOWN_RAGECANDYBAR_PRICE EQU 300
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const MAHOGANYTOWN_POKEFAN_M
|
const MAHOGANYTOWN_POKEFAN_M
|
||||||
const MAHOGANYTOWN_GRAMPS
|
const MAHOGANYTOWN_GRAMPS
|
||||||
@ -54,13 +56,13 @@ RageCandyBarMerchantScript:
|
|||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
checkmoney YOUR_MONEY, 300
|
checkmoney YOUR_MONEY, MAHOGANYTOWN_RAGECANDYBAR_PRICE
|
||||||
ifequal HAVE_LESS, .NotEnoughMoney
|
ifequal HAVE_LESS, .NotEnoughMoney
|
||||||
giveitem RAGECANDYBAR
|
giveitem RAGECANDYBAR
|
||||||
iffalse .NoRoom
|
iffalse .NoRoom
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
takemoney YOUR_MONEY, 300
|
takemoney YOUR_MONEY, MAHOGANYTOWN_RAGECANDYBAR_PRICE
|
||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext RageCandyBarMerchantSavorItText
|
writetext RageCandyBarMerchantSavorItText
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
ROUTE39FARMHOUSE_MILK_PRICE EQU 500
|
||||||
|
|
||||||
const_def 2 ; object constants
|
const_def 2 ; object constants
|
||||||
const ROUTE39FARMHOUSE_POKEFAN_M
|
const ROUTE39FARMHOUSE_POKEFAN_M
|
||||||
const ROUTE39FARMHOUSE_POKEFAN_F
|
const ROUTE39FARMHOUSE_POKEFAN_F
|
||||||
@ -25,11 +27,11 @@ FarmerMScript_SellMilk:
|
|||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
yesorno
|
yesorno
|
||||||
iffalse FarmerMScript_NoSale
|
iffalse FarmerMScript_NoSale
|
||||||
checkmoney YOUR_MONEY, 500
|
checkmoney YOUR_MONEY, ROUTE39FARMHOUSE_MILK_PRICE
|
||||||
ifequal HAVE_LESS, FarmerMScript_NoMoney
|
ifequal HAVE_LESS, FarmerMScript_NoMoney
|
||||||
giveitem MOOMOO_MILK
|
giveitem MOOMOO_MILK
|
||||||
iffalse FarmerMScript_NoRoom
|
iffalse FarmerMScript_NoRoom
|
||||||
takemoney YOUR_MONEY, 500
|
takemoney YOUR_MONEY, ROUTE39FARMHOUSE_MILK_PRICE
|
||||||
special PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
|
Loading…
Reference in New Issue
Block a user