2013-02-16 22:54:07 -08:00
|
|
|
Route46_MapScriptHeader: ; 0x1a967e
|
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
; 0x1a9680
|
|
|
|
|
|
|
|
TrainerCamperTed: ; 0x1a9680
|
|
|
|
; bit/flag number
|
|
|
|
dw $424
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db CAMPER, TED
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CamperTedSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CamperTedBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CamperTedScript
|
|
|
|
; 0x1a968c
|
|
|
|
|
|
|
|
CamperTedScript: ; 0x1a968c
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a9851
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a9694
|
|
|
|
|
|
|
|
TrainerPicnickerErin1: ; 0x1a9694
|
|
|
|
; bit/flag number
|
|
|
|
dw $487
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db PICNICKER, ERIN1
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw PicnickerErin1SeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw PicnickerErin1BeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw PicnickerErin1Script
|
|
|
|
; 0x1a96a0
|
|
|
|
|
|
|
|
PicnickerErin1Script: ; 0x1a96a0
|
2015-07-09 19:08:03 -07:00
|
|
|
writecode VAR_CALLERID, $24
|
2013-02-16 22:54:07 -08:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2013-09-24 00:51:42 -07:00
|
|
|
checkflag $007c
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a96da
|
|
|
|
checkcellnum $24
|
|
|
|
iftrue UnknownScript_0x1a975b
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent $029d
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a96c3
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a98c6
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent $029d
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a974f
|
|
|
|
jump UnknownScript_0x1a96c6
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a96c3
|
|
|
|
|
|
|
|
UnknownScript_0x1a96c3: ; 0x1a96c3
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9753
|
2013-02-16 22:54:07 -08:00
|
|
|
UnknownScript_0x1a96c6: ; 0x1a96c6
|
|
|
|
askforphonenumber $24
|
|
|
|
if_equal $1, UnknownScript_0x1a9763
|
|
|
|
if_equal $2, UnknownScript_0x1a975f
|
|
|
|
trainertotext PICNICKER, ERIN1, $0
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9757
|
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a96da
|
|
|
|
|
|
|
|
UnknownScript_0x1a96da: ; 0x1a96da
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9767
|
2013-02-16 22:54:07 -08:00
|
|
|
winlosstext PicnickerErin1BeatenText, $0000
|
2015-02-10 15:37:24 -08:00
|
|
|
copybytetovar wda0d
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal $2, UnknownScript_0x1a96f1
|
|
|
|
if_equal $1, UnknownScript_0x1a96f7
|
|
|
|
if_equal $0, UnknownScript_0x1a96fd
|
|
|
|
UnknownScript_0x1a96f1: ; 0x1a96f1
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a9717
|
|
|
|
UnknownScript_0x1a96f7: ; 0x1a96f7
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a970a
|
|
|
|
UnknownScript_0x1a96fd: ; 0x1a96fd
|
|
|
|
loadtrainer PICNICKER, ERIN1
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-02-10 15:37:24 -08:00
|
|
|
loadvar wda0d, $1
|
2013-09-24 00:51:42 -07:00
|
|
|
clearflag $007c
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a970a
|
|
|
|
|
|
|
|
UnknownScript_0x1a970a: ; 0x1a970a
|
|
|
|
loadtrainer PICNICKER, ERIN2
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-02-10 15:37:24 -08:00
|
|
|
loadvar wda0d, $2
|
2013-09-24 00:51:42 -07:00
|
|
|
clearflag $007c
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9717
|
|
|
|
|
|
|
|
UnknownScript_0x1a9717: ; 0x1a9717
|
|
|
|
loadtrainer PICNICKER, ERIN3
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2013-09-24 00:51:42 -07:00
|
|
|
clearflag $007c
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_ERIN_CALCIUM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a973b
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent $0269
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a973a
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9772
|
2013-02-16 22:54:07 -08:00
|
|
|
verbosegiveitem CALCIUM, 1
|
|
|
|
iffalse UnknownScript_0x1a976b
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent $0269
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a973a
|
|
|
|
|
|
|
|
UnknownScript_0x1a973a: ; 0x1a973a
|
|
|
|
end
|
|
|
|
; 0x1a973b
|
|
|
|
|
|
|
|
UnknownScript_0x1a973b: ; 0x1a973b
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a9927
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
verbosegiveitem CALCIUM, 1
|
|
|
|
iffalse UnknownScript_0x1a976b
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_ERIN_CALCIUM
|
|
|
|
setevent $0269
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a974f
|
|
|
|
|
|
|
|
UnknownScript_0x1a974f: ; 0x1a974f
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber1f
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9753
|
|
|
|
|
|
|
|
UnknownScript_0x1a9753: ; 0x1a9753
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber2f
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9757
|
|
|
|
|
|
|
|
UnknownScript_0x1a9757: ; 0x1a9757
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd registerednumberf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a975b
|
|
|
|
|
|
|
|
UnknownScript_0x1a975b: ; 0x1a975b
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberacceptedf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a975f
|
|
|
|
|
|
|
|
UnknownScript_0x1a975f: ; 0x1a975f
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberdeclinedf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9763
|
|
|
|
|
|
|
|
UnknownScript_0x1a9763: ; 0x1a9763
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd phonefullf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9767
|
|
|
|
|
|
|
|
UnknownScript_0x1a9767: ; 0x1a9767
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd rematchf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a976b
|
|
|
|
|
|
|
|
UnknownScript_0x1a976b: ; 0x1a976b
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_ERIN_CALCIUM
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd packfullf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9772
|
|
|
|
|
|
|
|
UnknownScript_0x1a9772: ; 0x1a9772
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd rematchgiftf
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x1a9776
|
|
|
|
|
|
|
|
TrainerHikerBailey: ; 0x1a9776
|
|
|
|
; bit/flag number
|
|
|
|
dw $52e
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db HIKER, BAILEY
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw HikerBaileySeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw HikerBaileyBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw HikerBaileyScript
|
|
|
|
; 0x1a9782
|
|
|
|
|
|
|
|
HikerBaileyScript: ; 0x1a9782
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a97e8
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a978a
|
|
|
|
|
|
|
|
MapRoute46Signpost0Script: ; 0x1a978a
|
|
|
|
jumptext UnknownText_0x1a99be
|
|
|
|
; 0x1a978d
|
|
|
|
|
|
|
|
ItemFragment_0x1a978d: ; 0x1a978d
|
|
|
|
db X_SPEED, 1
|
|
|
|
; 0x1a978f
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
FruitTreeScript_0x1a978f: ; 0x1a978f
|
2013-02-16 22:54:07 -08:00
|
|
|
fruittree $4
|
|
|
|
; 0x1a9791
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
FruitTreeScript_0x1a9791: ; 0x1a9791
|
2013-02-16 22:54:07 -08:00
|
|
|
fruittree $a
|
|
|
|
; 0x1a9793
|
|
|
|
|
|
|
|
HikerBaileySeenText: ; 0x1a9793
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Awright! I'll show"
|
|
|
|
line "you the power of"
|
|
|
|
cont "mountain #MON!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a97c6
|
|
|
|
|
|
|
|
HikerBaileyBeatenText: ; 0x1a97c6
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Mercy! You showed"
|
|
|
|
line "me your power!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a97e8
|
|
|
|
|
|
|
|
UnknownText_0x1a97e8: ; 0x1a97e8
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's over. I don't"
|
|
|
|
line "mind. We HIKERS"
|
|
|
|
cont "are like that."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a9819
|
|
|
|
|
|
|
|
CamperTedSeenText: ; 0x1a9819
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm raising #-"
|
|
|
|
line "MON too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a984a
|
|
|
|
|
|
|
|
CamperTedBeatenText: ; 0x1a984a
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wha…?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a9851
|
|
|
|
|
|
|
|
UnknownText_0x1a9851: ; 0x1a9851
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I did my best but"
|
|
|
|
line "came up short."
|
|
|
|
|
|
|
|
para "No excuses--I"
|
|
|
|
line "admit I lost."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a988f
|
|
|
|
|
|
|
|
PicnickerErin1SeenText: ; 0x1a988f
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I raise #MON"
|
|
|
|
line "too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a98bb
|
|
|
|
|
|
|
|
PicnickerErin1BeatenText: ; 0x1a98bb
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, rats!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a98c6
|
|
|
|
|
|
|
|
UnknownText_0x1a98c6: ; 0x1a98c6
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I've been to many"
|
|
|
|
line "GYMS, but the GYM"
|
|
|
|
|
|
|
|
para "in GOLDENROD is my"
|
|
|
|
line "favorite."
|
|
|
|
|
|
|
|
para "It's filled with"
|
|
|
|
line "pretty flowers!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a9927
|
|
|
|
|
|
|
|
UnknownText_0x1a9927: ; 0x1a9927
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Aww… I keep losing"
|
|
|
|
line "all the time!"
|
|
|
|
|
|
|
|
para "I'll just have to"
|
|
|
|
line "try harder!"
|
|
|
|
|
|
|
|
para "Anyway, thanks for"
|
|
|
|
line "battling me again"
|
|
|
|
|
|
|
|
para "and again. Here's"
|
|
|
|
line "that present from"
|
|
|
|
cont "the other time."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a99be
|
|
|
|
|
|
|
|
UnknownText_0x1a99be: ; 0x1a99be
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ROUTE 46"
|
|
|
|
line "MOUNTAIN RD. AHEAD"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a99db
|
|
|
|
|
|
|
|
Route46_MapEventHeader: ; 0x1a99db
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 3
|
|
|
|
warp_def $21, $7, 1, GROUP_ROUTE_29_46_GATE, MAP_ROUTE_29_46_GATE
|
|
|
|
warp_def $21, $8, 2, GROUP_ROUTE_29_46_GATE, MAP_ROUTE_29_46_GATE
|
|
|
|
warp_def $5, $e, 3, GROUP_DARK_CAVE_VIOLET_ENTRANCE, MAP_DARK_CAVE_VIOLET_ENTRANCE
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
|
|
|
signpost 27, 9, $0, MapRoute46Signpost0Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 6
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_POKEFAN_M, 23, 16, $8, $0, 255, 255, $b2, 2, TrainerHikerBailey, $ffff
|
|
|
|
person_event SPRITE_YOUNGSTER, 18, 8, $7, $0, 255, 255, $a2, 2, TrainerCamperTed, $ffff
|
|
|
|
person_event SPRITE_LASS, 17, 6, $6, $0, 255, 255, $a2, 2, TrainerPicnickerErin1, $ffff
|
|
|
|
person_event SPRITE_FRUIT_TREE, 9, 11, $1, $0, 255, 255, $0, 0, FruitTreeScript_0x1a978f, $ffff
|
|
|
|
person_event SPRITE_FRUIT_TREE, 10, 12, $1, $0, 255, 255, $0, 0, FruitTreeScript_0x1a9791, $ffff
|
|
|
|
person_event SPRITE_POKE_BALL, 19, 5, $1, $0, 255, 255, $1, 0, ItemFragment_0x1a978d, $06bc
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a9a43
|