2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE39BARN_TWIN1
|
|
|
|
const ROUTE39BARN_TWIN2
|
2016-04-07 03:13:59 -07:00
|
|
|
const ROUTE39BARN_MOOMOO
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route39Barn_MapScripts:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TwinScript_0x9cc76:
|
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
|
2015-10-31 18:05:02 -07:00
|
|
|
iftrue .FeedingMooMoo
|
|
|
|
writetext Text_MoomooIsSick
|
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 ROUTE39BARN_TWIN1, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
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 ROUTE39BARN_TWIN1, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TwinScript_0x9cc90:
|
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
|
2015-10-31 18:05:02 -07:00
|
|
|
iftrue .FeedingMooMoo
|
|
|
|
writetext Text_MoomooIsSick
|
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 ROUTE39BARN_TWIN2, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
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 ROUTE39BARN_TWIN2, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
MooMoo:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2015-10-31 18:05:02 -07:00
|
|
|
iftrue .HappyCow
|
|
|
|
writetext Text_WeakMoo
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte MILTANK
|
2018-01-02 08:13:57 -08:00
|
|
|
special Special_PlaySlowCry
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_ItsCryIsWeak
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
|
2015-10-31 18:05:02 -07:00
|
|
|
iftrue .GiveBerry
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.GiveBerry:
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_AskGiveBerry
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-10-31 18:05:02 -07:00
|
|
|
iffalse .Refused
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem BERRY
|
2015-10-31 18:05:02 -07:00
|
|
|
iffalse .NoBerriesInBag
|
2015-11-04 17:20:14 -08:00
|
|
|
takeitem BERRY
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar MooMooBerries
|
2015-10-31 18:05:02 -07:00
|
|
|
addvar 1
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte MooMooBerries
|
2015-10-31 18:05:02 -07:00
|
|
|
if_equal 3, .ThreeBerries
|
|
|
|
if_equal 5, .FiveBerries
|
|
|
|
if_equal 7, .SevenBerries
|
|
|
|
writetext Text_GaveBerry
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.ThreeBerries:
|
|
|
|
writetext Text_GaveBerry
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_LittleHealthier
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FiveBerries:
|
|
|
|
writetext Text_GaveBerry
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_QuiteHealthy
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.SevenBerries:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_HEAL
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_GaveBerry
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_TotallyHealthy
|
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_HEALED_MOOMOO
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.NoBerriesInBag:
|
|
|
|
writetext Text_NoBerries
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.Refused:
|
|
|
|
writetext Text_RefusedToGiveBerry
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.HappyCow:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9cd92
|
2013-02-16 22:54:07 -08:00
|
|
|
cry MILTANK
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_MoomooIsSick:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MOOMOO is sick…"
|
|
|
|
|
|
|
|
para "She needs lots of"
|
|
|
|
line "BERRIES."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_WereFeedingMoomoo:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We're feeding"
|
|
|
|
line "MOOMOO!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_WeakMoo:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MILTANK: …Moo…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_ItsCryIsWeak:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Its cry is weak…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9cd92:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MILTANK: Mooo!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_AskGiveBerry:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Give a BERRY to"
|
|
|
|
line "MILTANK?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_GaveBerry:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> gave a"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "BERRY to MILTANK."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_LittleHealthier:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MILTANK became a"
|
|
|
|
line "little healthier!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_QuiteHealthy:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MILTANK became"
|
|
|
|
line "quite healthy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_TotallyHealthy:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MILTANK became"
|
|
|
|
line "totally healthy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_NoBerries:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> has no"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "BERRIES…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
Text_RefusedToGiveBerry:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> wouldn't"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "give a BERRY."
|
|
|
|
|
|
|
|
para "MILTANK looks sad."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route39Barn_MapEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 3, 7, 1, ROUTE_39
|
|
|
|
warp_def 4, 7, 1, ROUTE_39
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 3
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 2, 3, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TwinScript_0x9cc76, -1
|
|
|
|
object_event 4, 3, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, TwinScript_0x9cc90, -1
|
|
|
|
object_event 3, 3, SPRITE_TAUROS, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MooMoo, -1
|