pokecrystal-board/maps/Route39.asm

378 lines
7.8 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const ROUTE39_SAILOR
const ROUTE39_POKEFAN_M
const ROUTE39_POKEFAN_F1
2016-04-07 03:13:59 -07:00
const ROUTE39_MILTANK1
const ROUTE39_MILTANK2
const ROUTE39_MILTANK3
const ROUTE39_MILTANK4
const ROUTE39_PSYCHIC_NORMAN
2015-11-26 21:22:14 -08:00
const ROUTE39_FRUIT_TREE
const ROUTE39_POKEFAN_F2
2015-07-10 01:20:21 -07:00
Route39_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2016-04-06 21:59:45 -07:00
Route39Miltank:
2015-12-09 15:25:44 -08:00
opentext
2016-04-06 21:59:45 -07:00
writetext Route39MiltankText
cry MILTANK
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPokefanmDerek1:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_POKEFANM_DEREK, POKEFANM, DEREK1, PokefanmDerek1SeenText, PokefanmDerek1BeatenText, 0, PokefanmDerek1Script
2015-07-10 01:20:21 -07:00
PokefanmDerek1Script:
writecode VAR_CALLERID, PHONE_POKEFANM_DEREK
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
checkflag ENGINE_DEREK_HAS_NUGGET
iftrue UnknownScript_0x1a5b4a
checkcellnum PHONE_POKEFANM_DEREK
iftrue UnknownScript_0x1a5b6e
checkpoke PIKACHU
iffalse UnknownScript_0x1a5b5c
checkevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a5b33
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5cf8
2015-11-29 19:29:45 -08:00
buttonsound
setevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x1a5b62
jump UnknownScript_0x1a5b36
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b33:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x1a5b66
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b36:
askforphonenumber PHONE_POKEFANM_DEREK
if_equal $1, UnknownScript_0x1a5b76
if_equal $2, UnknownScript_0x1a5b72
trainertotext POKEFANM, DEREK1, $0
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x1a5b6a
jump UnknownScript_0x1a5b6e
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b4a:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x1a5b7a
2015-11-04 17:20:14 -08:00
verbosegiveitem NUGGET
iffalse UnknownScript_0x1a5b59
clearflag ENGINE_DEREK_HAS_NUGGET
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x1a5b6e
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b59:
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x1a5b7e
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b5c:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5dec
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b62:
2015-06-24 18:26:24 -07:00
jumpstd asknumber1m
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b66:
2015-06-24 18:26:24 -07:00
jumpstd asknumber2m
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b6a:
2015-06-24 18:26:24 -07:00
jumpstd registerednumberm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b6e:
2015-06-24 18:26:24 -07:00
jumpstd numberacceptedm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b72:
2015-06-24 18:26:24 -07:00
jumpstd numberdeclinedm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b76:
2015-06-24 18:26:24 -07:00
jumpstd phonefullm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b7a:
2015-06-24 18:26:24 -07:00
jumpstd giftm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5b7e:
2015-06-24 18:26:24 -07:00
jumpstd packfullm
end
2015-07-10 01:20:21 -07:00
TrainerPokefanfRuth:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_POKEFANF_RUTH, POKEFANF, RUTH, PokefanfRuthSeenText, PokefanfRuthBeatenText, 0, PokefanfRuthScript
2015-07-10 01:20:21 -07:00
PokefanfRuthScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5db2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSailorEugene:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SAILOR_EUGENE, SAILOR, EUGENE, SailorEugeneSeenText, SailorEugeneBeatenText, 0, SailorEugeneScript
2015-07-10 01:20:21 -07:00
SailorEugeneScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5c4d
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPsychicNorman:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_PSYCHIC_NORMAN, PSYCHIC_T, NORMAN, PsychicNormanSeenText, PsychicNormanBeatenText, 0, PsychicNormanScript
2015-07-10 01:20:21 -07:00
PsychicNormanScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5e57
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
PokefanFScript_0x1a5bbe:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checknite
iffalse UnknownScript_0x1a5be5
2015-07-10 01:20:21 -07:00
checkevent EVENT_BEAT_POKEFANF_JAIME
iftrue UnknownScript_0x1a5bdf
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5ee8
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x1a5f17, 0
loadtrainer POKEFANF, JAIME
startbattle
reloadmapafterbattle
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_POKEFANF_JAIME
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5bdf:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5f31
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5be5:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5ec4
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2016-04-06 21:59:45 -07:00
Route39Sign:
jumptext Route39SignText
2016-04-06 21:59:45 -07:00
MoomooFarmSign:
jumptext MoomooFarmSignText
2016-04-06 21:59:45 -07:00
Route39TrainerTips:
jumptext Route39TrainerTipsText
2015-07-10 01:20:21 -07:00
FruitTreeScript_0x1a5bf4:
2015-11-18 07:42:42 -08:00
fruittree FRUITTREE_ROUTE_39
Route39HiddenNugget:
dwb EVENT_ROUTE_39_HIDDEN_NUGGET, NUGGET
2016-04-06 21:59:45 -07:00
Route39MiltankText:
text "MILTANK: Mooo!"
done
2015-07-10 01:20:21 -07:00
SailorEugeneSeenText:
text "I just got back to"
line "OLIVINE."
para "So how about a"
line "#MON battle?"
done
2015-07-10 01:20:21 -07:00
SailorEugeneBeatenText:
text "Awaaargh!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5c4d:
text "My #MON were"
line "caught and raised"
cont "overseas."
para "They're my compan-"
line "ions on those long"
cont "voyages."
done
2015-07-10 01:20:21 -07:00
PokefanmDerek1SeenText:
text "This is a good"
line "time to brag about"
cont "my PIKACHU!"
done
2015-07-10 01:20:21 -07:00
PokefanmDerek1BeatenText:
text "I had no time to"
line "show off PIKACHU…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5cf8:
text "I'm not listening"
line "to your bragging!"
para "We # FANS have"
line "a policy of not"
para "listening to other"
line "people brag!"
done
2015-07-10 01:20:21 -07:00
PokefanfRuthSeenText:
text "Such darling"
line "#MON."
para "Let's show our"
line "#MON together"
cont "at the same time."
done
2015-07-10 01:20:21 -07:00
PokefanfRuthBeatenText:
text "I don't mind"
line "losing."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5db2:
text "Do you know about"
line "baby #MON?"
para "I bet they're just"
line "adorable!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5dec:
text "PIKACHU is it!"
line "Don't you agree?"
done
2015-07-10 01:20:21 -07:00
PsychicNormanSeenText:
text "Let me see what"
line "your #MON are"
cont "capable of."
done
2015-07-10 01:20:21 -07:00
PsychicNormanBeatenText:
text "Ooh, your #MON"
line "have potential."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5e57:
text "You know how #-"
line "MON have different"
cont "abilities?"
para "People are like"
line "that too. Every-"
cont "one has different"
cont "potential."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5ec4:
text "Ufufufu… I hope it"
line "gets dark soon."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5ee8:
text "You came at just"
line "the right time."
para "Let's battle."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5f17:
text "Oh, how disap-"
line "pointing…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5f31:
text "I met my MEOWTH at"
line "night, right here"
cont "on ROUTE 39."
para "I'm not sure why,"
line "but it seems to"
para "like it when I"
line "train here."
para "It seems to become"
line "friendlier by"
para "training here than"
line "anywhere else."
done
2016-04-06 21:59:45 -07:00
Route39SignText:
text "ROUTE 39"
para "OLIVINE CITY -"
line "ECRUTEAK CITY"
done
2016-04-06 21:59:45 -07:00
MoomooFarmSignText:
text "MOOMOO FARM"
para "Enjoy Our Fresh"
line "and Tasty Milk"
done
2016-04-06 21:59:45 -07:00
Route39TrainerTipsText:
text "TRAINER TIPS"
para "Use HEADBUTT on"
line "trees to shake"
cont "#MON out."
para "Different kinds of"
line "#MON drop out"
cont "of trees."
para "Use HEADBUTT on"
line "any tree you see!"
done
2015-07-10 01:20:21 -07:00
Route39_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $1, 1, ROUTE_39_BARN
warp_def $3, $5, 1, ROUTE_39_FARMHOUSE
.XYTriggers:
db 0
.Signposts:
db 4
2016-04-06 21:59:45 -07:00
signpost 31, 5, SIGNPOST_READ, Route39TrainerTips
signpost 5, 9, SIGNPOST_READ, MoomooFarmSign
signpost 7, 15, SIGNPOST_READ, Route39Sign
signpost 13, 5, SIGNPOST_ITEM, Route39HiddenNugget
.PersonEvents:
db 10
person_event SPRITE_SAILOR, 29, 13, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 5, TrainerSailorEugene, -1
person_event SPRITE_POKEFAN_M, 22, 10, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 4, TrainerPokefanmDerek1, -1
person_event SPRITE_POKEFAN_F, 19, 11, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 4, TrainerPokefanfRuth, -1
2016-04-06 21:59:45 -07:00
person_event SPRITE_TAUROS, 12, 3, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route39Miltank, -1
person_event SPRITE_TAUROS, 11, 6, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route39Miltank, -1
person_event SPRITE_TAUROS, 15, 4, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route39Miltank, -1
person_event SPRITE_TAUROS, 13, 8, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route39Miltank, -1
person_event SPRITE_STANDING_YOUNGSTER, 7, 13, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 1, TrainerPsychicNorman, -1
person_event SPRITE_FRUIT_TREE, 3, 9, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FruitTreeScript_0x1a5bf4, -1
person_event SPRITE_POKEFAN_F, 22, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, PokefanFScript_0x1a5bbe, -1