pokecrystal-board/maps/Route39.asm

431 lines
8.0 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
Route39_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 01:20:21 -07:00
TaurosScript_0x1a5af5:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5bf9
cry MILTANK
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerPokefanmDerek1:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_POKEFANM_DEREK
; trainer group && trainer id
db POKEFANM, DEREK1
; text when seen
dw PokefanmDerek1SeenText
; text when trainer beaten
dw PokefanmDerek1BeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmDerek1Script
2015-07-10 01:20:21 -07:00
PokefanmDerek1Script:
writecode VAR_CALLERID, $1c
talkaftercancel
loadfont
checkflag ENGINE_DEREK_HAS_NUGGET
iftrue UnknownScript_0x1a5b4a
checkcellnum $1c
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
keeptextopen
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 $1c
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
verbosegiveitem NUGGET, 1
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
closetext
loadmovesprites
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:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_POKEFANF_RUTH
; trainer group && trainer id
db POKEFANF, RUTH
; text when seen
dw PokefanfRuthSeenText
; text when trainer beaten
dw PokefanfRuthBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanfRuthScript
2015-07-10 01:20:21 -07:00
PokefanfRuthScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5db2
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSailorEugene:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SAILOR_EUGENE
; trainer group && trainer id
db SAILOR, EUGENE
; text when seen
dw SailorEugeneSeenText
; text when trainer beaten
dw SailorEugeneBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorEugeneScript
2015-07-10 01:20:21 -07:00
SailorEugeneScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5c4d
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerPsychicNorman:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_PSYCHIC_NORMAN
; trainer group && trainer id
db PSYCHIC_T, NORMAN
; text when seen
dw PsychicNormanSeenText
; text when trainer beaten
dw PsychicNormanBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicNormanScript
2015-07-10 01:20:21 -07:00
PsychicNormanScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5e57
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
PokefanFScript_0x1a5bbe:
faceplayer
loadfont
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
closetext
loadmovesprites
winlosstext UnknownText_0x1a5f17, $0000
loadtrainer POKEFANF, JAIME
startbattle
returnafterbattle
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_POKEFANF_JAIME
loadmovesprites
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5bdf:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5f31
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x1a5be5:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a5ec4
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
MapRoute39Signpost2Script:
jumptext UnknownText_0x1a5fe3
2015-07-10 01:20:21 -07:00
MapRoute39Signpost1Script:
jumptext UnknownText_0x1a600a
2015-07-10 01:20:21 -07:00
MapRoute39Signpost0Script:
jumptext UnknownText_0x1a6036
2015-07-10 01:20:21 -07:00
FruitTreeScript_0x1a5bf4:
fruittree $f
2015-07-10 01:20:21 -07:00
MapRoute39SignpostItem3:
dw $00aa
db NUGGET
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5bf9:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x1a5fe3:
text "ROUTE 39"
para "OLIVINE CITY -"
line "ECRUTEAK CITY"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a600a:
text "MOOMOO FARM"
para "Enjoy Our Fresh"
line "and Tasty Milk"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1a6036:
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, GROUP_ROUTE_39_BARN, MAP_ROUTE_39_BARN
warp_def $3, $5, 1, GROUP_ROUTE_39_FARMHOUSE, MAP_ROUTE_39_FARMHOUSE
; xy triggers
db 0
; signposts
db 4
signpost 31, 5, SIGNPOST_READ, MapRoute39Signpost0Script
signpost 5, 9, SIGNPOST_READ, MapRoute39Signpost1Script
signpost 7, 15, SIGNPOST_READ, MapRoute39Signpost2Script
signpost 13, 5, SIGNPOST_ITEMIFSET, MapRoute39SignpostItem3
; people-events
db 10
person_event SPRITE_SAILOR, 33, 17, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 5, TrainerSailorEugene, -1
person_event SPRITE_POKEFAN_M, 26, 14, UP << 2 | $3, $0, -1, -1, (PAL_OW_RED << 4) | $82, 4, TrainerPokefanmDerek1, -1
person_event SPRITE_POKEFAN_F, 23, 15, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 4, TrainerPokefanfRuth, -1
person_event SPRITE_TAUROS, 16, 7, UP << 2 | $12, $0, -1, -1, $0, 0, TaurosScript_0x1a5af5, -1
person_event SPRITE_TAUROS, 15, 10, UP << 2 | $12, $0, -1, -1, $0, 0, TaurosScript_0x1a5af5, -1
person_event SPRITE_TAUROS, 19, 8, UP << 2 | $12, $0, -1, -1, $0, 0, TaurosScript_0x1a5af5, -1
person_event SPRITE_TAUROS, 17, 12, UP << 2 | $12, $0, -1, -1, $0, 0, TaurosScript_0x1a5af5, -1
person_event SPRITE_STANDING_YOUNGSTER, 11, 17, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerPsychicNorman, -1
person_event SPRITE_FRUIT_TREE, 7, 13, DOWN << 2 | $1, $0, -1, -1, $0, 0, FruitTreeScript_0x1a5bf4, -1
person_event SPRITE_POKEFAN_F, 26, 8, UP << 2 | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanFScript_0x1a5bbe, -1