2019-02-16 10:19:39 -08:00
|
|
|
ROUTE39FARMHOUSE_MILK_PRICE EQU 500
|
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const ROUTE39FARMHOUSE_POKEFAN_M
|
|
|
|
const ROUTE39FARMHOUSE_POKEFAN_F
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route39Farmhouse_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
PokefanM_DairyFarmer:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue FarmerMScript_SellMilk
|
|
|
|
writetext FarmerMText_SickCow
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMScript_SellMilk:
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem MOOMOO_MILK
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue FarmerMScript_Milking
|
|
|
|
writetext FarmerMText_BuyMilk
|
2018-01-24 08:17:05 -08:00
|
|
|
special PlaceMoneyTopRight
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-10-25 21:29:44 -07:00
|
|
|
iffalse FarmerMScript_NoSale
|
2019-02-16 10:19:39 -08:00
|
|
|
checkmoney YOUR_MONEY, ROUTE39FARMHOUSE_MILK_PRICE
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, FarmerMScript_NoMoney
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem MOOMOO_MILK
|
2017-10-25 21:29:44 -07:00
|
|
|
iffalse FarmerMScript_NoRoom
|
2019-02-16 10:19:39 -08:00
|
|
|
takemoney YOUR_MONEY, ROUTE39FARMHOUSE_MILK_PRICE
|
2018-01-24 08:17:05 -08:00
|
|
|
special PlaceMoneyTopRight
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext FarmerMText_GotMilk
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
itemnotify
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMScript_NoMoney:
|
|
|
|
writetext FarmerMText_NoMoney
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMScript_NoRoom:
|
|
|
|
writetext FarmerMText_NoRoom
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMScript_NoSale:
|
|
|
|
writetext FarmerMText_NoSale
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMScript_Milking:
|
|
|
|
writetext FarmerMText_Milking
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
PokefanF_SnoreFarmer:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue FarmerFScript_GotSnore
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue FarmerFScript_GiveSnore
|
|
|
|
writetext FarmerFText_InTrouble
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFScript_GiveSnore:
|
|
|
|
writetext FarmerFText_HealedMiltank
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem TM_SNORE
|
2017-10-25 21:29:44 -07:00
|
|
|
iffalse FarmerFScript_NoRoomForSnore
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFScript_GotSnore:
|
|
|
|
writetext FarmerFText_SnoreSpeech
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFScript_NoRoomForSnore:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
FarmhouseBookshelf:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PictureBookshelfScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_SickCow:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My MILTANK ain't"
|
|
|
|
line "givin' me milk"
|
|
|
|
cont "n'more."
|
|
|
|
|
|
|
|
para "This here FARM's"
|
|
|
|
line "got famous milk."
|
|
|
|
|
|
|
|
para "Most everyone"
|
|
|
|
line "wants a drink."
|
|
|
|
|
|
|
|
para "It'll give me lots"
|
|
|
|
line "o' milk if'n I"
|
|
|
|
|
|
|
|
para "feed it lots o'"
|
|
|
|
line "BERRIES, I reckon."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_BuyMilk:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "How'd you like my"
|
|
|
|
line "MOOMOO MILK?"
|
|
|
|
|
|
|
|
para "It's my pride and"
|
|
|
|
line "joy, there."
|
|
|
|
|
|
|
|
para "Give it to #MON"
|
|
|
|
line "to restore HP!"
|
|
|
|
|
|
|
|
para "I'll give it to ya"
|
2021-03-21 15:14:31 -07:00
|
|
|
line "fer just ¥{d:ROUTE39FARMHOUSE_MILK_PRICE}."
|
2014-03-05 21:29:44 -08:00
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_GotMilk:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Here ya go!"
|
|
|
|
line "Drink up'n enjoy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_NoMoney:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry, there."
|
|
|
|
line "No cash, no sale!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_NoRoom:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I reckon yer"
|
|
|
|
line "PACK's full."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_NoSale:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You don't want it?"
|
|
|
|
line "Come again, hear?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerMText_Milking:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I best go do my"
|
|
|
|
line "milkin'."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFText_InTrouble:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Our milk even goes"
|
|
|
|
line "out to KANTO."
|
|
|
|
|
|
|
|
para "So if our own"
|
|
|
|
line "MILTANK won't give"
|
|
|
|
|
|
|
|
para "us any milk, we're"
|
|
|
|
line "in trouble."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFText_HealedMiltank:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You fixed our"
|
|
|
|
line "MILTANK, hon. Now"
|
|
|
|
|
|
|
|
para "it gives MOOMOO"
|
|
|
|
line "MILK again."
|
|
|
|
|
|
|
|
para "Here's somethin'"
|
|
|
|
line "fer your trouble."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
Text_ReceivedTM13: ; unreferenced
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "TM13."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
FarmerFText_SnoreSpeech:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "That there's"
|
|
|
|
line "SNORE."
|
|
|
|
|
|
|
|
para "It's a rare move"
|
|
|
|
line "that only works"
|
|
|
|
|
|
|
|
para "while the #MON"
|
|
|
|
line "is asleep."
|
|
|
|
|
|
|
|
para "You best think how"
|
|
|
|
line "you ought to use"
|
|
|
|
cont "it, hon."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route39Farmhouse_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 2, 7, ROUTE_39, 2
|
|
|
|
warp_event 3, 7, ROUTE_39, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 0, 1, BGEVENT_READ, FarmhouseBookshelf
|
|
|
|
bg_event 1, 1, BGEVENT_READ, FarmhouseBookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 3, 2, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PokefanM_DairyFarmer, -1
|
|
|
|
object_event 5, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanF_SnoreFarmer, -1
|