2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
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
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodGameCorner_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2016-01-06 12:44:50 +00:00
|
|
|
dbw MAPCALLBACK_OBJECTS, .Callback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Callback:
|
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
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal WEDNESDAY, .move_tutor_outside
|
|
|
|
if_equal SATURDAY, .move_tutor_outside
|
|
|
|
.move_tutor_inside
|
2015-11-27 05:22:14 +00:00
|
|
|
appear GOLDENRODGAMECORNER_POKEFAN_M3
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
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
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear GOLDENRODGAMECORNER_POKEFAN_M3
|
2015-12-25 03:58:42 +00:00
|
|
|
.finish
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM3Script:
|
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 GoldenrodGameCornerPokefanM3Text
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface GOLDENRODGAMECORNER_POKEFAN_M3, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGmeCornerCoinVendorScript:
|
2015-07-12 06:00:17 +00:00
|
|
|
jumpstd gamecornercoinvendor
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGmeCornerTMVendorScript:
|
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
|
|
|
|
GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
|
2015-10-16 17:35:43 +00:00
|
|
|
special Special_DisplayCoinCaseBalance
|
2015-12-25 03:58:42 +00:00
|
|
|
loadmenudata GoldenrodGameCornerTMVendorMenuData
|
2015-12-15 23:59:49 +00:00
|
|
|
verticalmenu
|
2015-12-25 03:58:42 +00:00
|
|
|
closewindow
|
|
|
|
if_equal $1, .Thunder
|
|
|
|
if_equal $2, .Blizzard
|
|
|
|
if_equal $3, .FireBlast
|
|
|
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.Thunder:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-06-30 02:24:45 +00:00
|
|
|
itemtotext TM_THUNDER, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
jump GoldenrodGmeCornerTMVendor_FinishScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.Blizzard:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-06-30 02:24:45 +00:00
|
|
|
itemtotext TM_BLIZZARD, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
jump GoldenrodGmeCornerTMVendor_FinishScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.FireBlast:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-06-30 02:24:45 +00:00
|
|
|
itemtotext TM_FIRE_BLAST, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 5500
|
2015-12-25 03:58:42 +00:00
|
|
|
jump GoldenrodGmeCornerTMVendor_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
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGmeCornerTMVendor_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
|
2015-12-25 03:58:42 +00:00
|
|
|
jump GoldenrodGmeCornerTMVendor_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
|
|
|
|
|
2013-05-01 06:28:11 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerTMVendorMenuData:
|
2013-05-01 06:28:11 +00:00
|
|
|
db $40 ; flags
|
|
|
|
db 02, 00 ; start coords
|
|
|
|
db 11, 15 ; end coords
|
2015-12-26 16:31:56 +00:00
|
|
|
dw .MenuData2
|
2013-05-01 06:28:11 +00:00
|
|
|
db 1 ; default option
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.MenuData2:
|
2013-05-01 06:28:11 +00:00
|
|
|
db $80 ; flags
|
|
|
|
db 4 ; items
|
|
|
|
db "TM25 5500@"
|
|
|
|
db "TM14 5500@"
|
|
|
|
db "TM38 5500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
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
|
2015-10-16 17:35:43 +00:00
|
|
|
special Special_DisplayCoinCaseBalance
|
2015-12-25 03:58:42 +00:00
|
|
|
loadmenudata .MenuDataHeader
|
2015-12-15 23:59:49 +00:00
|
|
|
verticalmenu
|
2015-12-25 03:58:42 +00:00
|
|
|
closewindow
|
|
|
|
if_equal $1, .abra
|
|
|
|
if_equal $2, .cubone
|
|
|
|
if_equal $3, .wobbuffet
|
|
|
|
jump GoldenrodGameCornerPrizeVendor_CancelPurchaseScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.abra:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 100
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $6, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2013-02-17 06:54:07 +00:00
|
|
|
pokenamemem ABRA, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte ABRA
|
2015-07-20 22:59:26 +00:00
|
|
|
special Special_GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke ABRA, 5
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 100
|
2015-12-25 03:58:42 +00:00
|
|
|
jump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.cubone:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 800
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $6, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2013-02-17 06:54:07 +00:00
|
|
|
pokenamemem CUBONE, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte CUBONE
|
2015-07-20 22:59:26 +00:00
|
|
|
special Special_GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke CUBONE, 15
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 800
|
2015-12-25 03:58:42 +00:00
|
|
|
jump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.wobbuffet:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkcoins 1500
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $2, GoldenrodGameCornerPrizeVendor_NotEnoughCoinsScript
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2015-12-25 03:58:42 +00:00
|
|
|
if_equal $6, GoldenrodGameCornerPrizeMonVendor_NoRoomForPrizeScript
|
2013-02-17 06:54:07 +00:00
|
|
|
pokenamemem WOBBUFFET, $0
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte WOBBUFFET
|
2015-07-20 22:59:26 +00:00
|
|
|
special Special_GameCornerPrizeMonCheckDex
|
2015-10-04 18:14:51 +00:00
|
|
|
givepoke WOBBUFFET, 15
|
2013-02-17 06:54:07 +00:00
|
|
|
takecoins 1500
|
2015-12-25 03:58:42 +00:00
|
|
|
jump .loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2013-05-01 06:28:11 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.MenuDataHeader:
|
2013-05-01 06:28:11 +00:00
|
|
|
db $40 ; flags
|
|
|
|
db 02, 00 ; start coords
|
|
|
|
db 11, 17 ; end coords
|
2015-12-25 03:58:42 +00:00
|
|
|
dw .MenuData2
|
2013-05-01 06:28:11 +00:00
|
|
|
db 1 ; default option
|
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
.MenuData2:
|
2013-05-01 06:28:11 +00:00
|
|
|
db $80 ; flags
|
|
|
|
db 4 ; items
|
|
|
|
db "ABRA 100@"
|
|
|
|
db "CUBONE 800@"
|
|
|
|
db "WOBBUFFET 1500@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
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
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface 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
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface 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
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface 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
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface 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
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface 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
|
|
|
|
if_equal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-12-25 03:58:42 +00:00
|
|
|
writebyte FALSE
|
2015-07-20 22:59:26 +00:00
|
|
|
special 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:
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-12-25 03:58:42 +00:00
|
|
|
writebyte TRUE
|
2015-07-20 22:59:26 +00:00
|
|
|
special 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:
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-07-20 22:59:26 +00:00
|
|
|
special 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:
|
2015-02-10 23:37:24 +00:00
|
|
|
text_from_ram StringBuffer3
|
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:
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM1Text:
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerCooltrainerMText:
|
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
|
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…"
|
|
|
|
|
|
|
|
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-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:
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-25 03:58:42 +00:00
|
|
|
GoldenrodGameCornerPokefanM3Text:
|
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
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodGameCorner_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $d, $2, 10, GOLDENROD_CITY
|
|
|
|
warp_def $d, $3, 10, GOLDENROD_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 31
|
2015-12-25 03:58:42 +00:00
|
|
|
signpost 6, 6, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 7, 6, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 8, 6, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 9, 6, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 10, 6, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 11, 6, SIGNPOST_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 6, 7, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 7, 7, SIGNPOST_READ, GoldenrodGameCornerLuckySlotsMachineScript
|
|
|
|
signpost 8, 7, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 9, 7, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 10, 7, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 11, 7, SIGNPOST_LEFT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 6, 12, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 7, 12, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 8, 12, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 9, 12, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 10, 12, SIGNPOST_READ, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 11, 12, SIGNPOST_RIGHT, GoldenrodGameCornerSlotsMachineScript
|
|
|
|
signpost 6, 13, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 7, 13, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 8, 13, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 9, 13, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 10, 13, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 11, 13, SIGNPOST_LEFT, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 6, 18, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 7, 18, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 8, 18, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 9, 18, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 10, 18, SIGNPOST_READ, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 11, 18, SIGNPOST_RIGHT, GoldenrodGameCornerCardFlipMachineScript
|
|
|
|
signpost 1, 12, SIGNPOST_LEFT, GoldenrodGameCornerLeftTheirDrinkScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 12
|
2015-12-25 03:58:42 +00:00
|
|
|
person_event SPRITE_CLERK, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GoldenrodGmeCornerCoinVendorScript, -1
|
|
|
|
person_event SPRITE_RECEPTIONIST, 2, 16, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GoldenrodGmeCornerTMVendorScript, -1
|
|
|
|
person_event SPRITE_RECEPTIONIST, 2, 18, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPrizeMonVendorScript, -1
|
|
|
|
person_event SPRITE_PHARMACIST, 7, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, (1 << DAY), (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPharmacistScript, -1
|
|
|
|
person_event SPRITE_PHARMACIST, 7, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, (1 << NITE), (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPharmacistScript, -1
|
|
|
|
person_event SPRITE_POKEFAN_M, 10, 11, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM1Script, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_M, 8, 14, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerCooltrainerMScript, -1
|
|
|
|
person_event SPRITE_POKEFAN_F, 6, 17, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanFScript, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 3, 10, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerCooltrainerFScript, -1
|
|
|
|
person_event SPRITE_GENTLEMAN, 10, 5, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerGentlemanScript, -1
|
|
|
|
person_event SPRITE_POKEFAN_M, 9, 2, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM2Script, -1
|
|
|
|
person_event SPRITE_POKEFAN_M, 10, 17, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GoldenrodGameCornerPokefanM3Script, EVENT_GOLDENROD_GAME_CORNER_MOVE_TUTOR
|