pokecrystal/maps/Route39Farmhouse.asm

212 lines
3.7 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
Route39Farmhouse_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 08:45:35 +00:00
PokefanMScript_0x9ceb4:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_HEALED_MOOMOO
iftrue UnknownScript_0x9cec5
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9cf38
closetext
loadmovesprites
2013-09-24 07:48:58 +00:00
setevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cec5:
checkitem MOOMOO_MILK
iftrue UnknownScript_0x9cf08
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9cfe1
special Function24ae8
yesorno
iffalse UnknownScript_0x9cf02
checkmoney $0, 500
if_equal $2, UnknownScript_0x9cef6
giveitem MOOMOO_MILK, $1
iffalse UnknownScript_0x9cefc
takemoney $0, 500
special Function24ae8
waitbutton
playsound SFX_TRANSACTION
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d05d
keeptextopen
itemnotify
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cef6:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d07c
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cefc:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d09d
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cf02:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d0b7
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cf08:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d0dc
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
PokefanFScript_0x9cf0e:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
iftrue UnknownScript_0x9cf2f
2013-09-24 07:48:58 +00:00
checkevent EVENT_HEALED_MOOMOO
iftrue UnknownScript_0x9cf22
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d0f6
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cf22:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d156
keeptextopen
verbosegiveitem TM_SNORE, 1
iffalse UnknownScript_0x9cf33
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cf2f:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x9d1c7
closetext
2015-07-10 08:45:35 +00:00
UnknownScript_0x9cf33:
loadmovesprites
end
2015-06-26 04:01:08 +00:00
FarmhouseBookshelf:
jumpstd picturebookshelf
2015-07-10 08:45:35 +00:00
UnknownText_0x9cf38:
text "My MILTANK ain't"
line "givin' me milk"
cont "n'more."
para "This here FARM's"
line "got famous milk."
para "Most everyone"
line "wants a drink."
para "It'll give me lots"
line "o' milk if'n I"
para "feed it lots o'"
line "BERRIES, I reckon."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9cfe1:
text "How'd you like my"
line "MOOMOO MILK?"
para "It's my pride and"
line "joy, there."
para "Give it to #MON"
line "to restore HP!"
para "I'll give it to ya"
line "fer just ¥500."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d05d:
text "Here ya go!"
line "Drink up'n enjoy!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d07c:
text "Sorry, there."
line "No cash, no sale!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d09d:
text "I reckon yer"
line "PACK's full."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d0b7:
text "You don't want it?"
line "Come again, hear?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d0dc:
text "I best go do my"
line "milkin'."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d0f6:
text "Our milk even goes"
line "out to KANTO."
para "So if our own"
line "MILTANK won't give"
para "us any milk, we're"
line "in trouble."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d156:
text "You fixed our"
line "MILTANK, hon. Now"
para "it gives MOOMOO"
line "MILK again."
para "Here's somethin'"
line "fer your trouble."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d1b5:
text "<PLAYER> received"
line "TM13."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x9d1c7:
text "That there's"
line "SNORE."
para "It's a rare move"
line "that only works"
para "while the #MON"
line "is asleep."
para "You best think how"
line "you ought to use"
cont "it, hon."
done
2015-07-10 08:45:35 +00:00
Route39Farmhouse_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $2, 2, GROUP_ROUTE_39, MAP_ROUTE_39
warp_def $7, $3, 2, GROUP_ROUTE_39, MAP_ROUTE_39
; xy triggers
db 0
; signposts
db 2
signpost 1, 0, SIGNPOST_READ, FarmhouseBookshelf
signpost 1, 1, SIGNPOST_READ, FarmhouseBookshelf
; people-events
db 2
person_event SPRITE_POKEFAN_M, 6, 7, UP << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, PokefanMScript_0x9ceb4, -1
person_event SPRITE_POKEFAN_F, 8, 9, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, PokefanFScript_0x9cf0e, -1