2015-07-10 08:45:35 +00:00
|
|
|
Route39Barn_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
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TwinScript_0x9cc76:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .FeedingMooMoo
|
|
|
|
writetext Text_MoomooIsSick
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $2, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $2, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TwinScript_0x9cc90:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .FeedingMooMoo
|
|
|
|
writetext Text_MoomooIsSick
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $3, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.FeedingMooMoo:
|
|
|
|
writetext Text_WereFeedingMoomoo
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $3, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TaurosScript_0x9ccaa:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_HEALED_MOOMOO
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .HappyCow
|
|
|
|
writetext Text_WeakMoo
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte MILTANK
|
2015-11-01 01:05:02 +00:00
|
|
|
special PlaySlowCry
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_ItsCryIsWeak
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .GiveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.GiveBerry:
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_AskGiveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-11-01 01:05:02 +00:00
|
|
|
iffalse .Refused
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem BERRY
|
2015-11-01 01:05:02 +00:00
|
|
|
iffalse .NoBerriesInBag
|
2015-11-05 01:20:14 +00:00
|
|
|
takeitem BERRY
|
2013-02-17 06:54:07 +00:00
|
|
|
copybytetovar MooMooBerries
|
2015-11-01 01:05:02 +00:00
|
|
|
addvar 1
|
2013-02-17 06:54:07 +00:00
|
|
|
copyvartobyte MooMooBerries
|
2015-11-01 01:05:02 +00:00
|
|
|
if_equal 3, .ThreeBerries
|
|
|
|
if_equal 5, .FiveBerries
|
|
|
|
if_equal 7, .SevenBerries
|
|
|
|
writetext Text_GaveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.ThreeBerries:
|
|
|
|
writetext Text_GaveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_LittleHealthier
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.FiveBerries:
|
|
|
|
writetext Text_GaveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_QuiteHealthy
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.SevenBerries:
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_HEAL
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_GaveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 60
|
|
|
|
keeptextopen
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2015-11-01 01:05:02 +00:00
|
|
|
writetext Text_TotallyHealthy
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_HEALED_MOOMOO
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.NoBerriesInBag:
|
|
|
|
writetext Text_NoBerries
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.Refused:
|
|
|
|
writetext Text_RefusedToGiveBerry
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
.HappyCow:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9cd92
|
2013-02-17 06:54:07 +00:00
|
|
|
cry MILTANK
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_MoomooIsSick:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MOOMOO is sick…"
|
|
|
|
|
|
|
|
para "She needs lots of"
|
|
|
|
line "BERRIES."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_WereFeedingMoomoo:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We're feeding"
|
|
|
|
line "MOOMOO!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_WeakMoo:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MILTANK: …Moo…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_ItsCryIsWeak:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Its cry is weak…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9cd92:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MILTANK: Mooo!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_AskGiveBerry:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Give a BERRY to"
|
|
|
|
line "MILTANK?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_GaveBerry:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> gave a"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "BERRY to MILTANK."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_LittleHealthier:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MILTANK became a"
|
|
|
|
line "little healthier!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_QuiteHealthy:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MILTANK became"
|
|
|
|
line "quite healthy!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_TotallyHealthy:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MILTANK became"
|
|
|
|
line "totally healthy!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_NoBerries:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> has no"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "BERRIES…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-01 01:05:02 +00:00
|
|
|
Text_RefusedToGiveBerry:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> wouldn't"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "give a BERRY."
|
|
|
|
|
|
|
|
para "MILTANK looks sad."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Route39Barn_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, $3, 1, ROUTE_39
|
|
|
|
warp_def $7, $4, 1, 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 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2015-11-01 01:05:02 +00: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
|