2019-02-16 10:19:39 -08:00
|
|
|
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
|
|
|
|
|
2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const GOLDENRODGAMECORNER_CLERK
|
|
|
|
const GOLDENRODGAMECORNER_RECEPTIONIST1
|
|
|
|
const GOLDENRODGAMECORNER_RECEPTIONIST2
|
|
|
|
const GOLDENRODGAMECORNER_PHARMACIST1
|
|
|
|
const GOLDENRODGAMECORNER_PHARMACIST2
|
|
|
|
const GOLDENRODGAMECORNER_POKEFAN_M1
|
|
|
|
const GOLDENRODGAMECORNER_COOLTRAINER_M
|
|
|
|
const GOLDENRODGAMECORNER_POKEFAN_F
|
|
|
|
const GOLDENRODGAMECORNER_COOLTRAINER_F
|
|
|
|
const GOLDENRODGAMECORNER_GENTLEMAN
|
|
|
|
const GOLDENRODGAMECORNER_POKEFAN_M2
|
2018-08-16 07:05:21 -07:00
|
|
|
const GOLDENRODGAMECORNER_MOVETUTOR
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodGameCorner_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; callbacks
|
2018-08-16 07:05:21 -07:00
|
|
|
callback MAPCALLBACK_OBJECTS, .MoveTutor
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-16 07:05:21 -07:00
|
|
|
.MoveTutor:
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse .finish
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem COIN_CASE
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse .move_tutor_inside
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal WEDNESDAY, .move_tutor_outside
|
|
|
|
ifequal SATURDAY, .move_tutor_outside
|
2015-12-24 19:58:42 -08:00
|
|
|
.move_tutor_inside
|
2018-08-16 07:05:21 -07:00
|
|
|
appear GOLDENRODGAMECORNER_MOVETUTOR
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.move_tutor_outside
|
2015-07-18 12:46:38 -07:00
|
|
|
checkflag ENGINE_DAILY_MOVE_TUTOR
|
2015-12-24 19:58:42 -08:00
|
|
|
iftrue .finish
|
2018-08-16 07:05:21 -07:00
|
|
|
disappear GOLDENRODGAMECORNER_MOVETUTOR
|
2015-12-24 19:58:42 -08:00
|
|
|
.finish
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2018-08-16 07:05:21 -07:00
|
|
|
MoveTutorInsideScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-16 07:05:21 -07:00
|
|
|
writetext MoveTutorInsideText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-08-16 07:05:21 -07:00
|
|
|
turnobject GOLDENRODGAMECORNER_MOVETUTOR, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-05-21 18:54:56 -07:00
|
|
|
GoldenrodGameCornerCoinVendorScript:
|
2015-07-11 23:00:17 -07:00
|
|
|
jumpstd gamecornercoinvendor
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-05-21 18:54:56 -07:00
|
|
|
GoldenrodGameCornerTMVendorScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorIntroText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem COIN_CASE
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
2018-06-24 07:09:41 -07:00
|
|
|
GoldenrodGameCornerTMVendor_LoopScript:
|
2018-01-24 08:17:05 -08:00
|
|
|
special DisplayCoinCaseBalance
|
2018-02-25 17:05:37 -08:00
|
|
|
loadmenu GoldenrodGameCornerTMVendorMenuHeader
|
2015-12-15 15:59:49 -08:00
|
|
|
verticalmenu
|
2015-12-24 19:58:42 -08:00
|
|
|
closewindow
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 1, .Thunder
|
|
|
|
ifequal 2, .Blizzard
|
|
|
|
ifequal 3, .FireBlast
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.Thunder:
|
2019-02-16 10:19:39 -08:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM25_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_3, TM_THUNDER
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem TM_THUNDER
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM25_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.Blizzard:
|
2019-02-16 10:19:39 -08:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM14_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_3, TM_BLIZZARD
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem TM_BLIZZARD
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM14_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.FireBlast:
|
2019-02-16 10:19:39 -08:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM38_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_3, TM_FIRE_BLAST
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem TM_FIRE_BLAST
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM38_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorConfirmPrizeText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
end
|
|
|
|
|
2018-05-21 18:54:56 -07:00
|
|
|
GoldenrodGameCornerTMVendor_FinishScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerTMVendor_LoopScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNeedMoreCoinsText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNoMoreRoomText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendor_CancelPurchaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorQuitText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendor_NoCoinCaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNoCoinCaseText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
GoldenrodGameCornerTMVendorMenuHeader:
|
2018-01-14 02:59:56 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 0, 2, 15, TEXTBOX_Y - 1
|
2018-01-23 13:08:43 -08:00
|
|
|
dw .MenuData
|
2013-04-30 23:28:11 -07:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
.MenuData:
|
2018-01-14 02:59:56 -08:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2013-04-30 23:28:11 -07:00
|
|
|
db 4 ; items
|
|
|
|
db "TM25 5500@"
|
|
|
|
db "TM14 5500@"
|
|
|
|
db "TM38 5500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeMonVendorScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorIntroText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem COIN_CASE
|
2015-12-24 19:58:42 -08:00
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
|
|
|
.loop
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
2018-01-24 08:17:05 -08:00
|
|
|
special DisplayCoinCaseBalance
|
2018-02-25 17:05:37 -08:00
|
|
|
loadmenu .MenuHeader
|
2015-12-15 15:59:49 -08:00
|
|
|
verticalmenu
|
2015-12-24 19:58:42 -08:00
|
|
|
closewindow
|
2019-02-16 10:19:39 -08:00
|
|
|
ifequal 1, .Abra
|
|
|
|
ifequal 2, .Cubone
|
|
|
|
ifequal 3, .Wobbuffet
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-02-16 10:19:39 -08:00
|
|
|
.Abra:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_ABRA_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getmonname STRING_BUFFER_3, ABRA
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 12:31:59 -07:00
|
|
|
setval ABRA
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke ABRA, 5
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_ABRA_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .loop
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-02-16 10:19:39 -08:00
|
|
|
.Cubone:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_CUBONE_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getmonname STRING_BUFFER_3, CUBONE
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 12:31:59 -07:00
|
|
|
setval CUBONE
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke CUBONE, 15
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_CUBONE_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .loop
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-02-16 10:19:39 -08:00
|
|
|
.Wobbuffet:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 12:31:59 -07:00
|
|
|
getmonname STRING_BUFFER_3, WOBBUFFET
|
2015-12-24 19:58:42 -08:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 12:31:59 -07:00
|
|
|
setval WOBBUFFET
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke WOBBUFFET, 15
|
2019-02-16 10:19:39 -08:00
|
|
|
takecoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .loop
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
.MenuHeader:
|
2018-01-14 02:59:56 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 0, 2, 17, TEXTBOX_Y - 1
|
2018-01-23 13:08:43 -08:00
|
|
|
dw .MenuData
|
2013-04-30 23:28:11 -07:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
.MenuData:
|
2018-01-14 02:59:56 -08:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2013-04-30 23:28:11 -07:00
|
|
|
db 4 ; items
|
|
|
|
db "ABRA 100@"
|
|
|
|
db "CUBONE 800@"
|
|
|
|
db "WOBBUFFET 1500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPharmacistScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPharmacistText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject LAST_TALKED, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM1Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPokefanM1Text
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject GOLDENRODGAMECORNER_POKEFAN_M1, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCooltrainerMScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerCooltrainerMText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject GOLDENRODGAMECORNER_COOLTRAINER_M, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanFScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerPokefanFText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject GOLDENRODGAMECORNER_POKEFAN_F, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCooltrainerFScript:
|
|
|
|
jumptextfaceplayer GoldenrodGameCornerCooltrainerFText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerGentlemanScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-24 19:58:42 -08:00
|
|
|
writetext GoldenrodGameCornerGentlemanText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject GOLDENRODGAMECORNER_GENTLEMAN, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM2Script:
|
|
|
|
jumptextfaceplayer GoldenrodGameCornerPokefanM2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerLeftTheirDrinkScript:
|
|
|
|
jumptext GoldenrodGameCornerLeftTheirDrinkText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerSlotsMachineScript:
|
|
|
|
random 6
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2019-03-10 12:31:59 -07:00
|
|
|
setval FALSE
|
2018-01-24 08:17:05 -08:00
|
|
|
special SlotMachine
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerLuckySlotsMachineScript:
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2019-03-10 12:31:59 -07:00
|
|
|
setval TRUE
|
2018-01-24 08:17:05 -08:00
|
|
|
special SlotMachine
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCardFlipMachineScript:
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2018-01-24 08:17:05 -08:00
|
|
|
special CardFlip
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorIntroText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Welcome!"
|
|
|
|
|
|
|
|
para "We exchange your"
|
|
|
|
line "game coins for"
|
|
|
|
cont "fabulous prizes!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorWhichPrizeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Which prize would"
|
|
|
|
line "you like?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorConfirmPrizeText:
|
2018-11-17 10:33:03 -08:00
|
|
|
text_ram wStringBuffer3
|
2014-03-05 21:29:44 -08:00
|
|
|
text "."
|
|
|
|
line "Is that right?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorHereYouGoText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Here you go!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorNeedMoreCoinsText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry! You need"
|
|
|
|
line "more coins."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorNoMoreRoomText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry. You can't"
|
|
|
|
line "carry any more."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorQuitText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OK. Please save"
|
|
|
|
line "your coins and"
|
|
|
|
cont "come again!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPrizeVendorNoCoinCaseText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh? You don't have"
|
|
|
|
line "a COIN CASE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPharmacistText:
|
2019-04-12 08:18:35 -07:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "This machine looks"
|
|
|
|
line "the same as the"
|
|
|
|
cont "others."
|
|
|
|
done
|
|
|
|
else
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I always play this"
|
|
|
|
line "slot machine. It"
|
|
|
|
|
|
|
|
para "pays out more than"
|
|
|
|
line "others, I think."
|
|
|
|
done
|
2019-04-12 08:18:35 -07:00
|
|
|
endc
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM1Text:
|
2019-04-12 08:18:35 -07:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "These machines"
|
|
|
|
line "seem different"
|
|
|
|
|
|
|
|
para "from the ones at"
|
|
|
|
line "CELADON CITY!"
|
|
|
|
done
|
|
|
|
else
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I just love this"
|
|
|
|
line "new slot machine."
|
|
|
|
|
|
|
|
para "It's more of a"
|
|
|
|
line "challenge than the"
|
|
|
|
cont "ones in CELADON."
|
|
|
|
done
|
2019-04-12 08:18:35 -07:00
|
|
|
endc
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCooltrainerMText:
|
2019-04-12 08:18:35 -07:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "Nothing is certain"
|
|
|
|
line "in this area."
|
|
|
|
done
|
|
|
|
else
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Life is a gamble."
|
|
|
|
line "I'm going to flip"
|
|
|
|
cont "cards till I drop!"
|
|
|
|
done
|
2019-04-12 08:18:35 -07:00
|
|
|
endc
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanFText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Card flip…"
|
|
|
|
|
2019-04-12 08:18:35 -07:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
para "Different from the"
|
|
|
|
line "other machines."
|
|
|
|
done
|
|
|
|
else
|
2014-03-05 21:29:44 -08:00
|
|
|
para "I prefer it over"
|
|
|
|
line "the slots because"
|
|
|
|
|
|
|
|
para "it's easier to"
|
|
|
|
line "figure the odds."
|
|
|
|
|
|
|
|
para "But the payout is"
|
|
|
|
line "much lower."
|
|
|
|
done
|
2019-04-12 08:18:35 -07:00
|
|
|
endc
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCooltrainerFText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I won't quit until"
|
|
|
|
line "I win!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerGentlemanText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I taught BLIZZARD"
|
|
|
|
line "to my #MON."
|
|
|
|
|
|
|
|
para "It was hard to get"
|
|
|
|
line "enough coins for"
|
|
|
|
|
|
|
|
para "it, but it was"
|
|
|
|
line "worth it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM2Text:
|
2019-04-12 08:18:35 -07:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "COIN CASE? I threw"
|
|
|
|
line "it away in the"
|
|
|
|
cont "UNDERGROUND."
|
|
|
|
done
|
|
|
|
else
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I couldn't win at"
|
|
|
|
line "the slots, and I"
|
|
|
|
|
|
|
|
para "blew it on card"
|
|
|
|
line "flipping…"
|
|
|
|
|
|
|
|
para "I got so furious,"
|
|
|
|
line "I tossed out my"
|
|
|
|
|
|
|
|
para "COIN CASE in the"
|
|
|
|
line "UNDERGROUND."
|
|
|
|
done
|
2019-04-12 08:18:35 -07:00
|
|
|
endc
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-16 07:05:21 -07:00
|
|
|
MoveTutorInsideText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wahahah! The coins"
|
|
|
|
line "keep rolling in!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerLeftTheirDrinkText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Someone left their"
|
|
|
|
line "drink."
|
|
|
|
|
|
|
|
para "It smells sweet."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodGameCorner_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 2, 13, GOLDENROD_CITY, 10
|
|
|
|
warp_event 3, 13, GOLDENROD_CITY, 10
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 31 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 6, 6, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 7, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 8, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 9, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 10, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 11, BGEVENT_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 7, 6, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 7, 7, BGEVENT_READ, GoldenrodGameCornerLuckySlotsMachineScript
|
|
|
|
bg_event 7, 8, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 7, 9, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 7, 10, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 7, 11, BGEVENT_LEFT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 6, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 7, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 8, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 9, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 12, 10, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 11, BGEVENT_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 13, 6, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 7, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 8, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 9, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 13, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 11, BGEVENT_LEFT, GoldenrodGameCornerCardFlipMachineScript
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 18, 6, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 7, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 8, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 9, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 18, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 11, BGEVENT_RIGHT, GoldenrodGameCornerCardFlipMachineScript
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 12, 1, BGEVENT_LEFT, GoldenrodGameCornerLeftTheirDrinkScript
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 12 ; object events
|
2018-05-21 18:54:56 -07:00
|
|
|
object_event 3, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerCoinVendorScript, -1
|
|
|
|
object_event 16, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerTMVendorScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 18, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPrizeMonVendorScript, -1
|
|
|
|
object_event 8, 7, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, DAY, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPharmacistScript, -1
|
|
|
|
object_event 8, 7, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, NITE, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPharmacistScript, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 11, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM1Script, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 14, 8, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerCooltrainerMScript, -1
|
|
|
|
object_event 17, 6, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanFScript, -1
|
|
|
|
object_event 10, 3, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerCooltrainerFScript, -1
|
|
|
|
object_event 5, 10, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerGentlemanScript, -1
|
|
|
|
object_event 2, 9, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM2Script, -1
|
2018-08-16 07:05:21 -07:00
|
|
|
object_event 17, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, MoveTutorInsideScript, EVENT_GOLDENROD_GAME_CORNER_MOVE_TUTOR
|