2022-06-06 21:25:42 +00:00
|
|
|
DEF GOLDENRODGAMECORNER_TM25_COINS EQU 5500
|
|
|
|
DEF GOLDENRODGAMECORNER_TM14_COINS EQU 5500
|
|
|
|
DEF GOLDENRODGAMECORNER_TM38_COINS EQU 5500
|
|
|
|
DEF GOLDENRODGAMECORNER_ABRA_COINS EQU 100
|
|
|
|
DEF GOLDENRODGAMECORNER_CUBONE_COINS EQU 800
|
|
|
|
DEF GOLDENRODGAMECORNER_WOBBUFFET_COINS EQU 1500
|
2019-02-16 18:19:39 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00: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 14:05:21 +00:00
|
|
|
const GOLDENRODGAMECORNER_MOVETUTOR
|
2015-11-27 05:22:14 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodGameCorner_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2018-08-16 14:05:21 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .MoveTutor
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-16 14:05:21 +00:00
|
|
|
.MoveTutor:
|
2015-06-25 03:20:04 +00:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse .finish
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem COIN_CASE
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse .move_tutor_inside
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal WEDNESDAY, .move_tutor_outside
|
|
|
|
ifequal SATURDAY, .move_tutor_outside
|
2015-12-25 03:58:42 +00:00
|
|
|
.move_tutor_inside
|
2018-08-16 14:05:21 +00:00
|
|
|
appear GOLDENRODGAMECORNER_MOVETUTOR
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.move_tutor_outside
|
2015-07-18 19:46:38 +00:00
|
|
|
checkflag ENGINE_DAILY_MOVE_TUTOR
|
2015-12-25 03:58:42 +00:00
|
|
|
iftrue .finish
|
2018-08-16 14:05:21 +00:00
|
|
|
disappear GOLDENRODGAMECORNER_MOVETUTOR
|
2015-12-25 03:58:42 +00:00
|
|
|
.finish
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-16 14:05:21 +00:00
|
|
|
MoveTutorInsideScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-08-16 14:05:21 +00:00
|
|
|
writetext MoveTutorInsideText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-08-16 14:05:21 +00:00
|
|
|
turnobject GOLDENRODGAMECORNER_MOVETUTOR, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-05-22 01:54:56 +00:00
|
|
|
GoldenrodGameCornerCoinVendorScript:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd GameCornerCoinVendorScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-05-22 01:54:56 +00:00
|
|
|
GoldenrodGameCornerTMVendorScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorIntroText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem COIN_CASE
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
2018-06-24 14:09:41 +00:00
|
|
|
GoldenrodGameCornerTMVendor_LoopScript:
|
2018-01-24 16:17:05 +00:00
|
|
|
special DisplayCoinCaseBalance
|
2018-02-26 01:05:37 +00:00
|
|
|
loadmenu GoldenrodGameCornerTMVendorMenuHeader
|
2015-12-15 23:59:49 +00:00
|
|
|
verticalmenu
|
2015-12-25 03:58:42 +00:00
|
|
|
closewindow
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal 1, .Thunder
|
|
|
|
ifequal 2, .Blizzard
|
|
|
|
ifequal 3, .FireBlast
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.Thunder:
|
2019-02-16 18:19:39 +00:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM25_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getitemname STRING_BUFFER_3, TM_THUNDER
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-05 01:20:14 +00:00
|
|
|
giveitem TM_THUNDER
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM25_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.Blizzard:
|
2019-02-16 18:19:39 +00:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM14_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getitemname STRING_BUFFER_3, TM_BLIZZARD
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-05 01:20:14 +00:00
|
|
|
giveitem TM_BLIZZARD
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM14_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.FireBlast:
|
2019-02-16 18:19:39 +00:00
|
|
|
checkcoins GOLDENRODGAMECORNER_TM38_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getitemname STRING_BUFFER_3, TM_FIRE_BLAST
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-05 01:20:14 +00:00
|
|
|
giveitem TM_FIRE_BLAST
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_TM38_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerTMVendor_FinishScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorConfirmPrizeText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
end
|
|
|
|
|
2018-05-22 01:54:56 +00:00
|
|
|
GoldenrodGameCornerTMVendor_FinishScript:
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerTMVendor_LoopScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNeedMoreCoinsText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNoMoreRoomText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendor_CancelPurchaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorQuitText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendor_NoCoinCaseScript:
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorNoCoinCaseText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 21:08:43 +00:00
|
|
|
GoldenrodGameCornerTMVendorMenuHeader:
|
2018-01-14 10:59:56 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 0, 2, 15, TEXTBOX_Y - 1
|
2018-01-23 21:08:43 +00:00
|
|
|
dw .MenuData
|
2013-05-01 06:28:11 +00:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-01-23 21:08:43 +00:00
|
|
|
.MenuData:
|
2018-01-14 10:59:56 +00:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2013-05-01 06:28:11 +00:00
|
|
|
db 4 ; items
|
|
|
|
db "TM25 5500@"
|
|
|
|
db "TM14 5500@"
|
|
|
|
db "TM38 5500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeMonVendorScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorIntroText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem COIN_CASE
|
2015-12-25 03:58:42 +00:00
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
|
|
|
.loop
|
|
|
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
2018-01-24 16:17:05 +00:00
|
|
|
special DisplayCoinCaseBalance
|
2018-02-26 01:05:37 +00:00
|
|
|
loadmenu .MenuHeader
|
2015-12-15 23:59:49 +00:00
|
|
|
verticalmenu
|
2015-12-25 03:58:42 +00:00
|
|
|
closewindow
|
2019-02-16 18:19:39 +00:00
|
|
|
ifequal 1, .Abra
|
|
|
|
ifequal 2, .Cubone
|
|
|
|
ifequal 3, .Wobbuffet
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-02-16 18:19:39 +00:00
|
|
|
.Abra:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_ABRA_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getmonname STRING_BUFFER_3, ABRA
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
setval ABRA
|
2018-01-24 16:17:05 +00:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke ABRA, 5
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_ABRA_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-02-16 18:19:39 +00:00
|
|
|
.Cubone:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_CUBONE_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getmonname STRING_BUFFER_3, CUBONE
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
setval CUBONE
|
2018-01-24 16:17:05 +00:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke CUBONE, 15
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_CUBONE_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-02-16 18:19:39 +00:00
|
|
|
.Wobbuffet:
|
|
|
|
checkcoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2019-03-10 19:31:59 +00:00
|
|
|
getmonname STRING_BUFFER_3, WOBBUFFET
|
2015-12-25 03:58:42 +00:00
|
|
|
scall GoldenrodGameCornerPrizeVendor_ConfirmPurchaseScript
|
|
|
|
iffalse GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
setval WOBBUFFET
|
2018-01-24 16:17:05 +00:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke WOBBUFFET, 15
|
2019-02-16 18:19:39 +00:00
|
|
|
takecoins GOLDENRODGAMECORNER_WOBBUFFET_COINS
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-23 21:08:43 +00:00
|
|
|
.MenuHeader:
|
2018-01-14 10:59:56 +00:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 21:38:14 +00:00
|
|
|
menu_coords 0, 2, 17, TEXTBOX_Y - 1
|
2018-01-23 21:08:43 +00:00
|
|
|
dw .MenuData
|
2013-05-01 06:28:11 +00:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-01-23 21:08:43 +00:00
|
|
|
.MenuData:
|
2018-01-14 10:59:56 +00:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2013-05-01 06:28:11 +00:00
|
|
|
db 4 ; items
|
|
|
|
db "ABRA 100@"
|
|
|
|
db "CUBONE 800@"
|
|
|
|
db "WOBBUFFET 1500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPharmacistScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPharmacistText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject LAST_TALKED, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPokefanM1Text
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODGAMECORNER_POKEFAN_M1, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCooltrainerMScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerCooltrainerMText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODGAMECORNER_COOLTRAINER_M, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanFScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerPokefanFText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODGAMECORNER_POKEFAN_F, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCooltrainerFScript:
|
|
|
|
jumptextfaceplayer GoldenrodGameCornerCooltrainerFText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerGentlemanScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-25 03:58:42 +00:00
|
|
|
writetext GoldenrodGameCornerGentlemanText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODGAMECORNER_GENTLEMAN, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM2Script:
|
|
|
|
jumptextfaceplayer GoldenrodGameCornerPokefanM2Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerLeftTheirDrinkScript:
|
|
|
|
jumptext GoldenrodGameCornerLeftTheirDrinkText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerSlotsMachineScript:
|
|
|
|
random 6
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
2018-01-12 06:40:20 +00:00
|
|
|
refreshscreen
|
2019-03-10 19:31:59 +00:00
|
|
|
setval FALSE
|
2018-01-24 16:17:05 +00:00
|
|
|
special SlotMachine
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerLuckySlotsMachineScript:
|
2018-01-12 06:40:20 +00:00
|
|
|
refreshscreen
|
2019-03-10 19:31:59 +00:00
|
|
|
setval TRUE
|
2018-01-24 16:17:05 +00:00
|
|
|
special SlotMachine
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCardFlipMachineScript:
|
2018-01-12 06:40:20 +00:00
|
|
|
refreshscreen
|
2018-01-24 16:17:05 +00:00
|
|
|
special CardFlip
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorIntroText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Welcome!"
|
|
|
|
|
|
|
|
para "We exchange your"
|
|
|
|
line "game coins for"
|
|
|
|
cont "fabulous prizes!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorWhichPrizeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Which prize would"
|
|
|
|
line "you like?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorConfirmPrizeText:
|
2018-11-17 18:33:03 +00:00
|
|
|
text_ram wStringBuffer3
|
2014-03-06 05:29:44 +00:00
|
|
|
text "."
|
|
|
|
line "Is that right?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorHereYouGoText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Here you go!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorNeedMoreCoinsText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry! You need"
|
|
|
|
line "more coins."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorNoMoreRoomText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry. You can't"
|
|
|
|
line "carry any more."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorQuitText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OK. Please save"
|
|
|
|
line "your coins and"
|
|
|
|
cont "come again!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPrizeVendorNoCoinCaseText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh? You don't have"
|
|
|
|
line "a COIN CASE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPharmacistText:
|
2019-04-12 15:18:35 +00:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "This machine looks"
|
|
|
|
line "the same as the"
|
|
|
|
cont "others."
|
|
|
|
done
|
|
|
|
else
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I always play this"
|
|
|
|
line "slot machine. It"
|
|
|
|
|
|
|
|
para "pays out more than"
|
|
|
|
line "others, I think."
|
|
|
|
done
|
2019-04-12 15:18:35 +00:00
|
|
|
endc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM1Text:
|
2019-04-12 15:18:35 +00:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "These machines"
|
|
|
|
line "seem different"
|
|
|
|
|
|
|
|
para "from the ones at"
|
|
|
|
line "CELADON CITY!"
|
|
|
|
done
|
|
|
|
else
|
2014-03-06 05:29:44 +00: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 15:18:35 +00:00
|
|
|
endc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCooltrainerMText:
|
2019-04-12 15:18:35 +00:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "Nothing is certain"
|
|
|
|
line "in this area."
|
|
|
|
done
|
|
|
|
else
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Life is a gamble."
|
|
|
|
line "I'm going to flip"
|
|
|
|
cont "cards till I drop!"
|
|
|
|
done
|
2019-04-12 15:18:35 +00:00
|
|
|
endc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanFText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Card flip…"
|
|
|
|
|
2019-04-12 15:18:35 +00:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
para "Different from the"
|
|
|
|
line "other machines."
|
|
|
|
done
|
|
|
|
else
|
2014-03-06 05:29:44 +00: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 15:18:35 +00:00
|
|
|
endc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCooltrainerFText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I won't quit until"
|
|
|
|
line "I win!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerGentlemanText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM2Text:
|
2019-04-12 15:18:35 +00:00
|
|
|
if DEF(_CRYSTAL_AU)
|
|
|
|
text "COIN CASE? I threw"
|
|
|
|
line "it away in the"
|
|
|
|
cont "UNDERGROUND."
|
|
|
|
done
|
|
|
|
else
|
2014-03-06 05:29:44 +00: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 15:18:35 +00:00
|
|
|
endc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-16 14:05:21 +00:00
|
|
|
MoveTutorInsideText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wahahah! The coins"
|
|
|
|
line "keep rolling in!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerLeftTheirDrinkText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Someone left their"
|
|
|
|
line "drink."
|
|
|
|
|
|
|
|
para "It smells sweet."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodGameCorner_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 13, GOLDENROD_CITY, 10
|
|
|
|
warp_event 3, 13, GOLDENROD_CITY, 10
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2018-02-02 03:22:07 +00: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 19:31:25 +00:00
|
|
|
bg_event 12, 10, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 11, BGEVENT_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
2018-02-02 03:22:07 +00: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 19:31:25 +00:00
|
|
|
bg_event 13, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 11, BGEVENT_LEFT, GoldenrodGameCornerCardFlipMachineScript
|
2018-02-02 03:22:07 +00: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 19:31:25 +00:00
|
|
|
bg_event 18, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 11, BGEVENT_RIGHT, GoldenrodGameCornerCardFlipMachineScript
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 12, 1, BGEVENT_LEFT, GoldenrodGameCornerLeftTheirDrinkScript
|
2017-12-24 18:46:34 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-05-22 01:54:56 +00: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-02 03:22:07 +00: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 19:31:25 +00: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-02 03:22:07 +00: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 14:05:21 +00: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
|