pokecrystal-board/maps/Route44.asm

640 lines
12 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
Route44_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 01:20:21 -07:00
TrainerBird_keeperVance1:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_BIRD_KEEPER_VANCE
; trainer group && trainer id
db BIRD_KEEPER, VANCE1
; text when seen
dw Bird_keeperVance1SeenText
; text when trainer beaten
dw Bird_keeperVance1BeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperVance1Script
2015-07-10 01:20:21 -07:00
Bird_keeperVance1Script:
writecode VAR_CALLERID, $20
talkaftercancel
loadfont
checkflag ENGINE_VANCE
iftrue UnknownScript_0x19d86a
checkcellnum $20
iftrue UnknownScript_0x19d8eb
2013-09-24 00:48:58 -07:00
checkevent $0295
iftrue UnknownScript_0x19d853
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19dbf3
keeptextopen
2013-09-24 00:48:58 -07:00
setevent $0295
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8df
jump UnknownScript_0x19d856
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d853:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8e3
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d856:
askforphonenumber $20
if_equal $1, UnknownScript_0x19d8f3
if_equal $2, UnknownScript_0x19d8ef
trainertotext BIRD_KEEPER, VANCE1, $0
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8e7
jump UnknownScript_0x19d8eb
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d86a:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8f7
winlosstext Bird_keeperVance1BeatenText, $0000
2015-02-10 15:37:24 -08:00
copybytetovar wda09
if_equal $2, UnknownScript_0x19d881
if_equal $1, UnknownScript_0x19d887
if_equal $0, UnknownScript_0x19d88d
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d881:
2013-09-24 00:48:58 -07:00
checkevent EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x19d8a7
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d887:
2015-06-24 20:20:04 -07:00
checkevent EVENT_BEAT_ELITE_FOUR
iftrue UnknownScript_0x19d89a
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d88d:
loadtrainer BIRD_KEEPER, VANCE1
startbattle
returnafterbattle
2015-02-10 15:37:24 -08:00
loadvar wda09, $1
clearflag ENGINE_VANCE
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d89a:
loadtrainer BIRD_KEEPER, VANCE2
startbattle
returnafterbattle
2015-02-10 15:37:24 -08:00
loadvar wda09, $2
clearflag ENGINE_VANCE
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8a7:
loadtrainer BIRD_KEEPER, VANCE3
startbattle
returnafterbattle
clearflag ENGINE_VANCE
2013-09-24 00:48:58 -07:00
checkevent EVENT_VANCE_CARBOS
iftrue UnknownScript_0x19d8cb
2013-09-24 00:48:58 -07:00
checkevent $0267
iftrue UnknownScript_0x19d8ca
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d90a
verbosegiveitem CARBOS, 1
iffalse UnknownScript_0x19d903
2013-09-24 00:48:58 -07:00
setevent $0267
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d8eb
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8ca:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8cb:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19dc67
closetext
verbosegiveitem CARBOS, 1
iffalse UnknownScript_0x19d903
2013-09-24 00:48:58 -07:00
clearevent EVENT_VANCE_CARBOS
setevent $0267
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d8eb
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8df:
2015-06-24 18:26:24 -07:00
jumpstd asknumber1m
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8e3:
2015-06-24 18:26:24 -07:00
jumpstd asknumber2m
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8e7:
2015-06-24 18:26:24 -07:00
jumpstd registerednumberm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8eb:
2015-06-24 18:26:24 -07:00
jumpstd numberacceptedm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8ef:
2015-06-24 18:26:24 -07:00
jumpstd numberdeclinedm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8f3:
2015-06-24 18:26:24 -07:00
jumpstd phonefullm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8f7:
2015-06-24 18:26:24 -07:00
jumpstd rematchm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8fb:
2015-06-24 18:26:24 -07:00
jumpstd giftm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d8ff:
2015-06-24 18:26:24 -07:00
jumpstd packfullm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d903:
2013-09-24 00:48:58 -07:00
setevent EVENT_VANCE_CARBOS
2015-06-24 18:26:24 -07:00
jumpstd packfullm
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d90a:
2015-06-24 18:26:24 -07:00
jumpstd rematchgiftm
end
2015-07-10 01:20:21 -07:00
TrainerPsychicPhil:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_PSYCHIC_PHIL
; trainer group && trainer id
db PSYCHIC_T, PHIL
; text when seen
dw PsychicPhilSeenText
; text when trainer beaten
dw PsychicPhilBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicPhilScript
2015-07-10 01:20:21 -07:00
PsychicPhilScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19dcfc
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerFisherWilton1:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_FISHER_WILTON
; trainer group && trainer id
db FISHER, WILTON1
; text when seen
dw FisherWilton1SeenText
; text when trainer beaten
dw FisherWilton1BeatenText
; script when lost
dw $0000
; script when talk again
dw FisherWilton1Script
2015-07-10 01:20:21 -07:00
FisherWilton1Script:
writecode VAR_CALLERID, $21
talkaftercancel
loadfont
checkflag ENGINE_WILTON
iftrue UnknownScript_0x19d96e
checkflag ENGINE_WILTON_HAS_ITEM
iftrue UnknownScript_0x19d9b4
checkcellnum $21
iftrue UnknownScript_0x19d8eb
2013-09-24 00:48:58 -07:00
checkevent $0297
iftrue UnknownScript_0x19d957
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19daa8
keeptextopen
2013-09-24 00:48:58 -07:00
setevent $0297
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8df
jump UnknownScript_0x19d95a
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d957:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8e3
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d95a:
askforphonenumber $21
if_equal $1, UnknownScript_0x19d8f3
if_equal $2, UnknownScript_0x19d8ef
trainertotext FISHER, WILTON1, $0
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8e7
jump UnknownScript_0x19d8eb
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d96e:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8f7
winlosstext FisherWilton1BeatenText, $0000
2015-02-10 15:37:24 -08:00
copybytetovar wda0a
if_equal $2, UnknownScript_0x19d985
if_equal $1, UnknownScript_0x19d98b
if_equal $0, UnknownScript_0x19d991
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d985:
2013-09-24 00:48:58 -07:00
checkevent EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x19d9ab
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d98b:
2015-06-24 20:20:04 -07:00
checkevent EVENT_BEAT_ELITE_FOUR
iftrue UnknownScript_0x19d99e
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d991:
loadtrainer FISHER, WILTON1
startbattle
returnafterbattle
2015-02-10 15:37:24 -08:00
loadvar wda0a, $1
clearflag ENGINE_WILTON
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d99e:
loadtrainer FISHER, WILTON2
startbattle
returnafterbattle
2015-02-10 15:37:24 -08:00
loadvar wda0a, $2
clearflag ENGINE_WILTON
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9ab:
loadtrainer FISHER, WILTON3
startbattle
returnafterbattle
clearflag ENGINE_WILTON
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9b4:
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x19d8fb
2013-09-24 00:48:58 -07:00
checkevent EVENT_WILTON_HAS_ULTRA_BALL
iftrue UnknownScript_0x19d9c9
2013-09-24 00:48:58 -07:00
checkevent EVENT_WILTON_HAS_GREAT_BALL
iftrue UnknownScript_0x19d9d2
2013-09-24 00:48:58 -07:00
checkevent EVENT_WILTON_HAS_POKE_BALL
iftrue UnknownScript_0x19d9db
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9c9:
verbosegiveitem ULTRA_BALL, 1
iffalse UnknownScript_0x19d9e7
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d9e1
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9d2:
verbosegiveitem GREAT_BALL, 1
iffalse UnknownScript_0x19d9e7
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d9e1
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9db:
verbosegiveitem POKE_BALL, 1
iffalse UnknownScript_0x19d9e7
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9e1:
clearflag ENGINE_WILTON_HAS_ITEM
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d8eb
2015-07-10 01:20:21 -07:00
UnknownScript_0x19d9e7:
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x19d8ff
2015-07-10 01:20:21 -07:00
TrainerFisherEdgar:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_FISHER_EDGAR
; trainer group && trainer id
db FISHER, EDGAR
; text when seen
dw FisherEdgarSeenText
; text when trainer beaten
dw FisherEdgarBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherEdgarScript
2015-07-10 01:20:21 -07:00
FisherEdgarScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19db6f
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainerfCybil:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_COOLTRAINERF_CYBIL
; trainer group && trainer id
db COOLTRAINERF, CYBIL
; text when seen
dw CooltrainerfCybilSeenText
; text when trainer beaten
dw CooltrainerfCybilBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfCybilScript
2015-07-10 01:20:21 -07:00
CooltrainerfCybilScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19df4d
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacZach:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_POKEMANIAC_ZACH
; trainer group && trainer id
db POKEMANIAC, ZACH
; text when seen
dw PokemaniacZachSeenText
; text when trainer beaten
dw PokemaniacZachBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacZachScript
2015-07-10 01:20:21 -07:00
PokemaniacZachScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19dd7e
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainermAllen:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_COOLTRAINERM_ALLEN
; trainer group && trainer id
db COOLTRAINERM, ALLEN
; text when seen
dw CooltrainermAllenSeenText
; text when trainer beaten
dw CooltrainermAllenBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermAllenScript
2015-07-10 01:20:21 -07:00
CooltrainermAllenScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19de66
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
MapRoute44Signpost0Script:
jumptext UnknownText_0x19dfb3
2015-07-10 01:20:21 -07:00
MapRoute44Signpost1Script:
jumptext UnknownText_0x19dfcc
2015-07-10 01:20:21 -07:00
FruitTreeScript_0x19da40:
fruittree $10
2015-07-10 01:20:21 -07:00
ItemFragment_0x19da42:
db MAX_REVIVE, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x19da44:
db ULTRA_BALL, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x19da46:
db MAX_REPEL, 1
2015-07-10 01:20:21 -07:00
MapRoute44SignpostItem2:
dw $00ae
db ELIXER
2015-07-10 01:20:21 -07:00
FisherWilton1SeenText:
text "Aack! You made me"
line "lose a POLIWAG!"
para "What are you going"
line "to do about it?"
done
2015-07-10 01:20:21 -07:00
FisherWilton1BeatenText:
text "Just forget about"
line "it."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19daa8:
text "That POLIWAG that"
line "got away…"
cont "It was huge."
para "I swear it must've"
line "been 16 feet long!"
done
2015-07-10 01:20:21 -07:00
FisherEdgarSeenText:
text "I fish until I"
line "can't anymore."
para "I also battle"
line "until I drop."
para "That's my"
line "relationship"
cont "with my #MON."
done
2015-07-10 01:20:21 -07:00
FisherEdgarBeatenText:
text "Hmmmm… "
line "This isn't right."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19db6f:
text "That's 100 wins"
line "to 101 losses."
para "I won't battle"
line "again for a while."
done
2015-07-10 01:20:21 -07:00
Bird_keeperVance1SeenText:
text "Do you know about"
line "the legendary bird"
cont "#MON?"
done
2015-07-10 01:20:21 -07:00
Bird_keeperVance1BeatenText:
text "Whew! You're hot"
line "stuff."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dbf3:
text "ARTICUNO, ZAPDOS"
line "and MOLTRES are"
para "the three legend-"
line "ary bird #MON."
para "I heard there are"
line "other legendary"
cont "birds, though."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dc67:
text "Why can't I ever"
line "beat you?"
para "Oh yeah, here you"
line "go. It's that gift"
para "I couldn't give"
line "you last time."
done
2015-07-10 01:20:21 -07:00
PsychicPhilSeenText:
text "I'm gonna win,"
line "for sure!"
done
2015-07-10 01:20:21 -07:00
PsychicPhilBeatenText:
text "Arrgh… That's a"
line "shocking loss…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dcfc:
text "It's important to"
line "have conviction"
cont "on your side."
done
2015-07-10 01:20:21 -07:00
PokemaniacZachSeenText:
text "I'll do anything"
line "to get my hands on"
cont "rare #MON!"
done
2015-07-10 01:20:21 -07:00
PokemaniacZachBeatenText:
text "Oooh, your #MON"
line "are so appealing."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dd7e:
text "If a #MON has"
line "different colors"
para "from usual, it's"
line "more valuable."
para "What? You mean"
line "that's not true?"
done
2015-07-10 01:20:21 -07:00
CooltrainermAllenSeenText:
text "I can tell you're"
line "a good trainer by"
cont "looking at you."
para "I'm good at #-"
line "MON, and I can see"
cont "that you are too."
done
2015-07-10 01:20:21 -07:00
CooltrainermAllenBeatenText:
text "Tch! It's a total"
line "loss on my part."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19de66:
text "Wow. You have a"
line "lot of BADGES."
para "No wonder you're"
line "so tough."
para "I wonder if"
line "ECRUTEAK GYM's"
para "MORTY is still in"
line "training?"
para "He really hammered"
line "me."
done
2015-07-10 01:20:21 -07:00
CooltrainerfCybilSeenText:
text "You look strong."
para "Good trainers seek"
line "tough opponents"
cont "instinctively."
done
2015-07-10 01:20:21 -07:00
CooltrainerfCybilBeatenText:
text "Nope! This won't"
line "do at all."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19df4d:
text "We all get better"
line "by experiencing"
cont "many battles."
para "I battled a lot to"
line "become what I am"
cont "today--an elite."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dfb3:
text "ROUTE 44"
line "ICE PATH AHEAD"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19dfcc:
text "ROUTE 44"
para "MAHOGANY TOWN -"
line "BLACKTHORN CITY"
done
2015-07-10 01:20:21 -07:00
Route44_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $7, $38, 1, GROUP_ICE_PATH_1F, MAP_ICE_PATH_1F
; xy triggers
db 0
; signposts
db 3
signpost 7, 53, $0, MapRoute44Signpost0Script
signpost 10, 6, $0, MapRoute44Signpost1Script
signpost 9, 32, $7, MapRoute44SignpostItem2
; people-events
db 11
2013-07-12 14:06:11 -07:00
person_event SPRITE_FISHER, 7, 39, $6, $0, 255, 255, $a2, 1, TrainerFisherWilton1, $ffff
person_event SPRITE_FISHER, 17, 23, $9, $0, 255, 255, $a2, 1, TrainerFisherEdgar, $ffff
person_event SPRITE_YOUNGSTER, 13, 14, $1f, $0, 255, 255, $92, 3, TrainerPsychicPhil, $ffff
person_event SPRITE_SUPER_NERD, 6, 47, $1f, $0, 255, 255, $a2, 3, TrainerPokemaniacZach, $ffff
person_event SPRITE_YOUNGSTER, 9, 55, $6, $0, 255, 255, $a2, 2, TrainerBird_keeperVance1, $ffff
person_event SPRITE_COOLTRAINER_M, 19, 45, $8, $0, 255, 255, $82, 5, TrainerCooltrainermAllen, $ffff
person_event SPRITE_COOLTRAINER_F, 18, 35, $8, $0, 255, 255, $82, 5, TrainerCooltrainerfCybil, $ffff
person_event SPRITE_FRUIT_TREE, 9, 13, $1, $0, 255, 255, $0, 0, FruitTreeScript_0x19da40, $ffff
person_event SPRITE_POKE_BALL, 12, 34, $1, $0, 255, 255, $1, 0, ItemFragment_0x19da42, $06b6
person_event SPRITE_POKE_BALL, 8, 49, $1, $0, 255, 255, $1, 0, ItemFragment_0x19da44, $06b7
person_event SPRITE_POKE_BALL, 13, 18, $1, $0, 255, 255, $1, 0, ItemFragment_0x19da46, $07bd