2015-07-10 08:20:21 +00:00
|
|
|
Route46_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCamperTed:
|
2015-07-19 03:45:39 +00:00
|
|
|
trainer EVENT_BEAT_CAMPER_TED, CAMPER, TED, CamperTedSeenText, CamperTedBeatenText, $0000, CamperTedScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CamperTedScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a9851
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPicnickerErin1:
|
2015-07-19 03:45:39 +00:00
|
|
|
trainer EVENT_BEAT_PICNICKER_ERIN, PICNICKER, ERIN1, PicnickerErin1SeenText, PicnickerErin1BeatenText, $0000, PicnickerErin1Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PicnickerErin1Script:
|
2015-07-19 03:45:39 +00:00
|
|
|
writecode VAR_CALLERID, PHONE_PICNICKER_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-07-10 08:36:57 +00:00
|
|
|
checkflag ENGINE_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x1a96da
|
2015-07-19 03:45:39 +00:00
|
|
|
checkcellnum PHONE_PICNICKER_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x1a975b
|
2015-07-10 10:31:08 +00:00
|
|
|
checkevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x1a96c3
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a98c6
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-07-10 10:31:08 +00:00
|
|
|
setevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x1a974f
|
|
|
|
jump UnknownScript_0x1a96c6
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a96c3:
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x1a9753
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a96c6:
|
2015-07-19 03:45:39 +00:00
|
|
|
askforphonenumber PHONE_PICNICKER_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $1, UnknownScript_0x1a9763
|
|
|
|
if_equal $2, UnknownScript_0x1a975f
|
|
|
|
trainertotext PICNICKER, ERIN1, $0
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x1a9757
|
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a96da:
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x1a9767
|
2013-02-17 06:54:07 +00:00
|
|
|
winlosstext PicnickerErin1BeatenText, $0000
|
2015-07-10 20:04:00 +00:00
|
|
|
copybytetovar wErinFightCount
|
2015-07-10 09:37:34 +00:00
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
|
|
|
.Fight2
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 09:37:34 +00:00
|
|
|
iftrue .LoadFight2
|
|
|
|
.Fight1
|
2015-06-25 03:20:04 +00:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 09:37:34 +00:00
|
|
|
iftrue .LoadFight1
|
|
|
|
.LoadFight0
|
2013-02-17 06:54:07 +00:00
|
|
|
loadtrainer PICNICKER, ERIN1
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wErinFightCount, 1
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 09:37:34 +00:00
|
|
|
.LoadFight1
|
2013-02-17 06:54:07 +00:00
|
|
|
loadtrainer PICNICKER, ERIN2
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wErinFightCount, 2
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 09:37:34 +00:00
|
|
|
.LoadFight2
|
2013-02-17 06:54:07 +00:00
|
|
|
loadtrainer PICNICKER, ERIN3
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ERIN
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_ERIN_CALCIUM
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x1a973b
|
2015-07-10 09:37:34 +00:00
|
|
|
checkevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x1a973a
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x1a9772
|
2013-02-17 06:54:07 +00:00
|
|
|
verbosegiveitem CALCIUM, 1
|
|
|
|
iffalse UnknownScript_0x1a976b
|
2015-07-10 09:37:34 +00:00
|
|
|
setevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a973a:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a973b:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a9927
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
verbosegiveitem CALCIUM, 1
|
|
|
|
iffalse UnknownScript_0x1a976b
|
2013-09-24 07:48:58 +00:00
|
|
|
clearevent EVENT_ERIN_CALCIUM
|
2015-07-10 09:37:34 +00:00
|
|
|
setevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a974f:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd asknumber1f
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a9753:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd asknumber2f
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a9757:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd registerednumberf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a975b:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd numberacceptedf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a975f:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd numberdeclinedf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a9763:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd phonefullf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a9767:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd rematchf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a976b:
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_ERIN_CALCIUM
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd packfullf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x1a9772:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd rematchgiftf
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerHikerBailey:
|
2015-07-19 03:45:39 +00:00
|
|
|
trainer EVENT_BEAT_HIKER_BAILEY, HIKER, BAILEY, HikerBaileySeenText, HikerBaileyBeatenText, $0000, HikerBaileyScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
HikerBaileyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a97e8
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRoute46Signpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x1a99be
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
ItemFragment_0x1a978d:
|
2013-02-17 06:54:07 +00:00
|
|
|
db X_SPEED, 1
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FruitTreeScript_0x1a978f:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $4
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FruitTreeScript_0x1a9791:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $a
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
HikerBaileySeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Awright! I'll show"
|
|
|
|
line "you the power of"
|
|
|
|
cont "mountain #MON!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
HikerBaileyBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Mercy! You showed"
|
|
|
|
line "me your power!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a97e8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's over. I don't"
|
|
|
|
line "mind. We HIKERS"
|
|
|
|
cont "are like that."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CamperTedSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm raising #-"
|
|
|
|
line "MON too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CamperTedBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wha…?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a9851:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I did my best but"
|
|
|
|
line "came up short."
|
|
|
|
|
|
|
|
para "No excuses--I"
|
|
|
|
line "admit I lost."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PicnickerErin1SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I raise #MON"
|
|
|
|
line "too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PicnickerErin1BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, rats!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a98c6:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a9927:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a99be:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 46"
|
|
|
|
line "MOUNTAIN RD. AHEAD"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
Route46_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $21, $7, 1, ROUTE_29_46_GATE
|
|
|
|
warp_def $21, $8, 2, ROUTE_29_46_GATE
|
|
|
|
warp_def $5, $e, 3, DARK_CAVE_VIOLET_ENTRANCE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 27, 9, SIGNPOST_READ, MapRoute46Signpost0Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 6
|
2015-10-24 14:34:19 +00:00
|
|
|
person_event SPRITE_POKEFAN_M, 19, 12, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 2, TrainerHikerBailey, -1
|
|
|
|
person_event SPRITE_YOUNGSTER, 14, 4, $7, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 2, 2, TrainerCamperTed, -1
|
|
|
|
person_event SPRITE_LASS, 13, 2, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 2, 2, TrainerPicnickerErin1, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 5, 7, $1, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a978f, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 6, 8, $1, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a9791, -1
|
|
|
|
person_event SPRITE_POKE_BALL, 15, 1, $1, 0, 0, -1, -1, 0, 1, 0, ItemFragment_0x1a978d, EVENT_ROUTE_46_X_SPEED
|