2015-07-10 01:45:35 -07:00
|
|
|
Route39Barn_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
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
|
|
|
|
loadfont
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $2, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $2, 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
|
|
|
|
loadfont
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $3, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $3, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TaurosScript_0x9ccaa:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
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
|
2015-10-31 18:05:02 -07:00
|
|
|
special PlaySlowCry
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.GiveBerry:
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
takeitem BERRY, 1
|
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.ThreeBerries:
|
|
|
|
writetext Text_GaveBerry
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_LittleHealthier
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.FiveBerries:
|
|
|
|
writetext Text_GaveBerry
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_QuiteHealthy
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
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
|
|
|
|
keeptextopen
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2015-10-31 18:05:02 -07:00
|
|
|
writetext Text_TotallyHealthy
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-10-31 18:05:02 -07:00
|
|
|
.Refused:
|
|
|
|
writetext Text_RefusedToGiveBerry
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
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
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
Route39Barn_MapEventHeader:
|
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
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $7, $3, 1, ROUTE_39
|
|
|
|
warp_def $7, $4, 1, ROUTE_39
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 3
|
2015-10-31 18:05:02 -07:00
|
|
|
person_event SPRITE_TWIN, 3, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, 0, 0, TwinScript_0x9cc76, -1
|
|
|
|
person_event SPRITE_TWIN, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, TwinScript_0x9cc90, -1
|
|
|
|
person_event SPRITE_TAUROS, 3, 3, SPRITEMOVEDATA_16, 0, 0, -1, -1, 0, 0, 0, TaurosScript_0x9ccaa, -1
|