pokecrystal-board/maps/Route39Barn.asm

206 lines
3.3 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
Route39Barn_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
TwinScript_0x9cc76:
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
closetext
loadmovesprites
spriteface $2, RIGHT
end
2015-10-31 18:05:02 -07:00
.FeedingMooMoo:
writetext Text_WereFeedingMoomoo
closetext
loadmovesprites
spriteface $2, RIGHT
end
2015-07-10 01:45:35 -07:00
TwinScript_0x9cc90:
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
closetext
loadmovesprites
spriteface $3, LEFT
end
2015-10-31 18:05:02 -07:00
.FeedingMooMoo:
writetext Text_WereFeedingMoomoo
closetext
loadmovesprites
spriteface $3, LEFT
end
2015-07-10 01:45:35 -07:00
TaurosScript_0x9ccaa:
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
writebyte MILTANK
2015-10-31 18:05:02 -07:00
special PlaySlowCry
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
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.GiveBerry:
keeptextopen
2015-10-31 18:05:02 -07:00
writetext Text_AskGiveBerry
yesorno
2015-10-31 18:05:02 -07:00
iffalse .Refused
checkitem BERRY
2015-10-31 18:05:02 -07:00
iffalse .NoBerriesInBag
takeitem BERRY, 1
copybytetovar MooMooBerries
2015-10-31 18:05:02 -07:00
addvar 1
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
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.ThreeBerries:
writetext Text_GaveBerry
keeptextopen
2015-10-31 18:05:02 -07:00
writetext Text_LittleHealthier
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.FiveBerries:
writetext Text_GaveBerry
keeptextopen
2015-10-31 18:05:02 -07:00
writetext Text_QuiteHealthy
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.SevenBerries:
playmusic MUSIC_HEAL
2015-10-31 18:05:02 -07:00
writetext Text_GaveBerry
pause 60
keeptextopen
special RestartMapMusic
2015-10-31 18:05:02 -07:00
writetext Text_TotallyHealthy
closetext
loadmovesprites
2013-09-24 00:48:58 -07:00
setevent EVENT_HEALED_MOOMOO
end
2015-10-31 18:05:02 -07:00
.NoBerriesInBag:
writetext Text_NoBerries
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.Refused:
writetext Text_RefusedToGiveBerry
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
.HappyCow:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd92
cry MILTANK
closetext
loadmovesprites
end
2015-10-31 18:05:02 -07:00
Text_MoomooIsSick:
text "MOOMOO is sick…"
para "She needs lots of"
line "BERRIES."
done
2015-10-31 18:05:02 -07:00
Text_WereFeedingMoomoo:
text "We're feeding"
line "MOOMOO!"
done
2015-10-31 18:05:02 -07:00
Text_WeakMoo:
text "MILTANK: …Moo…"
done
2015-10-31 18:05:02 -07:00
Text_ItsCryIsWeak:
text "Its cry is weak…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd92:
text "MILTANK: Mooo!"
done
2015-10-31 18:05:02 -07:00
Text_AskGiveBerry:
text "Give a BERRY to"
line "MILTANK?"
done
2015-10-31 18:05:02 -07:00
Text_GaveBerry:
text "<PLAYER> gave a"
line "BERRY to MILTANK."
done
2015-10-31 18:05:02 -07:00
Text_LittleHealthier:
text "MILTANK became a"
line "little healthier!"
done
2015-10-31 18:05:02 -07:00
Text_QuiteHealthy:
text "MILTANK became"
line "quite healthy!"
done
2015-10-31 18:05:02 -07:00
Text_TotallyHealthy:
text "MILTANK became"
line "totally healthy!"
done
2015-10-31 18:05:02 -07:00
Text_NoBerries:
text "<PLAYER> has no"
line "BERRIES…"
done
2015-10-31 18:05:02 -07:00
Text_RefusedToGiveBerry:
text "<PLAYER> wouldn't"
line "give a BERRY."
para "MILTANK looks sad."
done
2015-07-10 01:45:35 -07:00
Route39Barn_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $3, 1, ROUTE_39
warp_def $7, $4, 1, ROUTE_39
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
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