2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE39FARMHOUSE_POKEFAN_M
|
|
|
|
const ROUTE39FARMHOUSE_POKEFAN_F
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Route39Farmhouse_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 0
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
PokefanM_DairyFarmer:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2017-10-26 04:29:44 +00:00
|
|
|
iftrue FarmerMScript_SellMilk
|
|
|
|
writetext FarmerMText_SickCow
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMScript_SellMilk:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem MOOMOO_MILK
|
2017-10-26 04:29:44 +00:00
|
|
|
iftrue FarmerMScript_Milking
|
|
|
|
writetext FarmerMText_BuyMilk
|
2015-12-18 03:31:16 +00:00
|
|
|
special PlaceMoneyTopRight
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2017-10-26 04:29:44 +00:00
|
|
|
iffalse FarmerMScript_NoSale
|
2013-02-17 06:54:07 +00:00
|
|
|
checkmoney $0, 500
|
2017-10-26 04:29:44 +00:00
|
|
|
if_equal $2, FarmerMScript_NoMoney
|
2015-11-05 01:20:14 +00:00
|
|
|
giveitem MOOMOO_MILK
|
2017-10-26 04:29:44 +00:00
|
|
|
iffalse FarmerMScript_NoRoom
|
2013-02-17 06:54:07 +00:00
|
|
|
takemoney $0, 500
|
2015-12-18 03:31:16 +00:00
|
|
|
special PlaceMoneyTopRight
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext FarmerMText_GotMilk
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2013-02-17 06:54:07 +00:00
|
|
|
itemnotify
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMScript_NoMoney:
|
|
|
|
writetext FarmerMText_NoMoney
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMScript_NoRoom:
|
|
|
|
writetext FarmerMText_NoRoom
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMScript_NoSale:
|
|
|
|
writetext FarmerMText_NoSale
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMScript_Milking:
|
|
|
|
writetext FarmerMText_Milking
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
PokefanF_SnoreFarmer:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
|
2017-10-26 04:29:44 +00:00
|
|
|
iftrue FarmerFScript_GotSnore
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2017-10-26 04:29:44 +00:00
|
|
|
iftrue FarmerFScript_GiveSnore
|
|
|
|
writetext FarmerFText_InTrouble
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFScript_GiveSnore:
|
|
|
|
writetext FarmerFText_HealedMiltank
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem TM_SNORE
|
2017-10-26 04:29:44 +00:00
|
|
|
iffalse FarmerFScript_NoRoomForSnore
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFScript_GotSnore:
|
|
|
|
writetext FarmerFText_SnoreSpeech
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFScript_NoRoomForSnore:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
FarmhouseBookshelf:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd picturebookshelf
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_SickCow:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_BuyMilk:
|
2014-03-06 05:29:44 +00: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"
|
|
|
|
line "fer just ¥500."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_GotMilk:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Here ya go!"
|
|
|
|
line "Drink up'n enjoy!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_NoMoney:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry, there."
|
|
|
|
line "No cash, no sale!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_NoRoom:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I reckon yer"
|
|
|
|
line "PACK's full."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_NoSale:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You don't want it?"
|
|
|
|
line "Come again, hear?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerMText_Milking:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I best go do my"
|
|
|
|
line "milkin'."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFText_InTrouble:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFText_HealedMiltank:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Text_ReceivedTM13:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "TM13."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
FarmerFText_SnoreSpeech:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Route39Farmhouse_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 $7, $2, 2, ROUTE_39
|
|
|
|
warp_def $7, $3, 2, ROUTE_39
|
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 2
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 1, 0, SIGNPOST_READ, FarmhouseBookshelf
|
|
|
|
signpost 1, 1, SIGNPOST_READ, FarmhouseBookshelf
|
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 2
|
2017-10-26 04:29:44 +00:00
|
|
|
person_event SPRITE_POKEFAN_M, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, PokefanM_DairyFarmer, -1
|
|
|
|
person_event SPRITE_POKEFAN_F, 4, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, PokefanF_SnoreFarmer, -1
|