pokecrystal-board/maps/Route39Barn.asm

206 lines
3.4 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
iftrue UnknownScript_0x9cc87
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd2e
closetext
loadmovesprites
spriteface $2, RIGHT
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cc87:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd5a
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
iftrue UnknownScript_0x9cca1
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd2e
closetext
loadmovesprites
spriteface $3, LEFT
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cca1:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd5a
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
iftrue UnknownScript_0x9cd25
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd70
writebyte MILTANK
special Functionfb841
keeptextopen
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd80
2013-09-24 00:48:58 -07:00
checkevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
iftrue UnknownScript_0x9ccc6
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9ccc6:
keeptextopen
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cda2
yesorno
iffalse UnknownScript_0x9cd1f
checkitem BERRY
iffalse UnknownScript_0x9cd19
takeitem BERRY, 1
copybytetovar MooMooBerries
addvar $1
copyvartobyte MooMooBerries
if_equal $3, UnknownScript_0x9ccf0
if_equal $5, UnknownScript_0x9ccfa
if_equal $7, UnknownScript_0x9cd04
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdbc
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9ccf0:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdbc
keeptextopen
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdd8
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9ccfa:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdbc
keeptextopen
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdfc
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cd04:
playmusic MUSIC_HEAL
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cdbc
pause 60
keeptextopen
special RestartMapMusic
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9ce1b
closetext
loadmovesprites
2013-09-24 00:48:58 -07:00
setevent EVENT_HEALED_MOOMOO
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cd19:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9ce3c
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cd1f:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9ce4f
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9cd25:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9cd92
cry MILTANK
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd2e:
text "MOOMOO is sick…"
para "She needs lots of"
line "BERRIES."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd5a:
text "We're feeding"
line "MOOMOO!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd70:
text "MILTANK: …Moo…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd80:
text "Its cry is weak…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cd92:
text "MILTANK: Mooo!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cda2:
text "Give a BERRY to"
line "MILTANK?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cdbc:
text "<PLAYER> gave a"
line "BERRY to MILTANK."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cdd8:
text "MILTANK became a"
line "little healthier!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9cdfc:
text "MILTANK became"
line "quite healthy!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9ce1b:
text "MILTANK became"
line "totally healthy!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9ce3c:
text "<PLAYER> has no"
line "BERRIES…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9ce4f:
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
person_event SPRITE_TWIN, 7, 6, $9, 0, 0, -1, -1, 0, 0, 0, TwinScript_0x9cc76, -1
person_event SPRITE_TWIN, 7, 8, $8, 0, 0, -1, -1, 8 + PAL_OW_GREEN, 0, 0, TwinScript_0x9cc90, -1
person_event SPRITE_TAUROS, 7, 7, $16, 0, 0, -1, -1, 0, 0, 0, TaurosScript_0x9ccaa, -1