2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object 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
|
|
|
|
const GOLDENRODGAMECORNER_POKEFAN_M3
|
|
|
|
|
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-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_OBJECTS, .Callback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Callback:
|
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
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_WEEKDAY
|
2015-12-24 19:58:42 -08:00
|
|
|
if_equal WEDNESDAY, .move_tutor_outside
|
|
|
|
if_equal SATURDAY, .move_tutor_outside
|
|
|
|
.move_tutor_inside
|
2015-11-26 21:22:14 -08:00
|
|
|
appear GOLDENRODGAMECORNER_POKEFAN_M3
|
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
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear GOLDENRODGAMECORNER_POKEFAN_M3
|
2015-12-24 19:58:42 -08:00
|
|
|
.finish
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM3Script:
|
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 GoldenrodGameCornerPokefanM3Text
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface GOLDENRODGAMECORNER_POKEFAN_M3, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGmeCornerCoinVendorScript:
|
2015-07-11 23:00:17 -07:00
|
|
|
jumpstd gamecornercoinvendor
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGmeCornerTMVendorScript:
|
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
|
|
|
|
GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
|
2018-01-24 08:17:05 -08:00
|
|
|
special DisplayCoinCaseBalance
|
2018-01-23 13:08:43 -08:00
|
|
|
loadmenuheader GoldenrodGameCornerTMVendorMenuHeader
|
2015-12-15 15:59:49 -08:00
|
|
|
verticalmenu
|
2015-12-24 19:58:42 -08:00
|
|
|
closewindow
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal 1, .Thunder
|
|
|
|
if_equal 2, .Blizzard
|
|
|
|
if_equal 3, .FireBlast
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.Thunder:
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 5500
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
|
|
|
itemtotext TM_THUNDER, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 5500
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGmeCornerTMVendor_FinishScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.Blizzard:
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 5500
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
|
|
|
itemtotext TM_BLIZZARD, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 5500
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGmeCornerTMVendor_FinishScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
.FireBlast:
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 5500
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
|
|
|
itemtotext TM_FIRE_BLAST, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 5500
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGmeCornerTMVendor_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
|
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGmeCornerTMVendor_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
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGmeCornerTMVendor_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-01-23 13:08:43 -08:00
|
|
|
loadmenuheader .MenuHeader
|
2015-12-15 15:59:49 -08:00
|
|
|
verticalmenu
|
2015-12-24 19:58:42 -08:00
|
|
|
closewindow
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal 1, .abra
|
|
|
|
if_equal 2, .cubone
|
|
|
|
if_equal 3, .wobbuffet
|
2015-12-24 19:58:42 -08:00
|
|
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.abra
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 100
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
|
|
|
pokenamemem ABRA, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte ABRA
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke ABRA, 5
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 100
|
2015-12-24 19:58:42 -08:00
|
|
|
jump .loop
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.cubone
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 800
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
|
|
|
pokenamemem CUBONE, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte CUBONE
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke CUBONE, 15
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 800
|
2015-12-24 19:58:42 -08:00
|
|
|
jump .loop
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.wobbuffet
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcoins 1500
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal HAVE_LESS, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal PARTY_LENGTH, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
|
|
|
pokenamemem WOBBUFFET, MEM_BUFFER_0
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte WOBBUFFET
|
2018-01-24 08:17:05 -08:00
|
|
|
special GameCornerPrizeMonCheckDex
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke WOBBUFFET, 15
|
2013-02-16 22:54:07 -08:00
|
|
|
takecoins 1500
|
2015-12-24 19:58:42 -08:00
|
|
|
jump .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
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface 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
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface 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
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface 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
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface 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
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface 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
|
|
|
|
if_equal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2015-12-24 19:58:42 -08:00
|
|
|
writebyte 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
|
2015-12-24 19:58:42 -08:00
|
|
|
writebyte 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:
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer3
|
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:
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM1Text:
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerCooltrainerMText:
|
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
|
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…"
|
|
|
|
|
|
|
|
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
|
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:
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-24 19:58:42 -08:00
|
|
|
GoldenrodGameCornerPokefanM3Text:
|
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-01-28 10:20:04 -08:00
|
|
|
warp_event 2, 13, 10, GOLDENROD_CITY
|
|
|
|
warp_event 3, 13, 10, GOLDENROD_CITY
|
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
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 6, 6, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 6, 7, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
2017-12-28 11:31:25 -08:00
|
|
|
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
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 7, 7, BGEVENT_READ, GoldenrodGameCornerLuckySlotsMachineScript
|
2017-12-28 11:31:25 -08:00
|
|
|
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
|
|
|
|
bg_event 12, 10, BGEVENT_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
bg_event 12, 11, BGEVENT_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
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
|
|
|
|
bg_event 13, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 13, 11, BGEVENT_LEFT, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
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
|
|
|
|
bg_event 18, 10, BGEVENT_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
bg_event 18, 11, BGEVENT_RIGHT, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
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
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 3, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGmeCornerCoinVendorScript, -1
|
|
|
|
object_event 16, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGmeCornerTMVendorScript, -1
|
|
|
|
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
|
|
|
|
object_event 11, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM1Script, -1
|
|
|
|
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
|
|
|
|
object_event 17, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM3Script, EVENT_GOLDENROD_GAME_CORNER_MOVE_TUTOR
|