2015-11-27 00:22:14 -05:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE46_POKEFAN_M
|
|
|
|
const ROUTE46_YOUNGSTER
|
|
|
|
const ROUTE46_LASS
|
|
|
|
const ROUTE46_FRUIT_TREE1
|
|
|
|
const ROUTE46_FRUIT_TREE2
|
|
|
|
const ROUTE46_POKE_BALL
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
Route46_MapScriptHeader:
|
2017-12-24 13:46:34 -05:00
|
|
|
.SceneScripts:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.MapCallbacks:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
TrainerCamperTed:
|
2017-12-17 20:45:04 -05:00
|
|
|
trainer EVENT_BEAT_CAMPER_TED, CAMPER, TED, CamperTedSeenText, CamperTedBeatenText, 0, .Script
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-17 20:45:04 -05:00
|
|
|
.Script:
|
2015-11-25 10:16:29 -05:00
|
|
|
end_if_just_battled
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2017-12-10 15:36:58 -05:00
|
|
|
writetext CamperTedAfterBattleText
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2013-02-17 01:54:07 -05:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
TrainerPicnickerErin1:
|
2017-12-17 20:45:04 -05:00
|
|
|
trainer EVENT_BEAT_PICNICKER_ERIN, PICNICKER, ERIN1, PicnickerErin1SeenText, PicnickerErin1BeatenText, 0, .Script
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-17 20:45:04 -05:00
|
|
|
.Script:
|
2015-07-18 23:45:39 -04:00
|
|
|
writecode VAR_CALLERID, PHONE_PICNICKER_ERIN
|
2015-11-25 10:16:29 -05:00
|
|
|
end_if_just_battled
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2015-07-10 02:36:57 -06:00
|
|
|
checkflag ENGINE_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
iftrue UnknownScript_0x1a96da
|
2015-07-18 23:45:39 -04:00
|
|
|
checkcellnum PHONE_PICNICKER_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
iftrue UnknownScript_0x1a975b
|
2015-07-10 04:31:08 -06:00
|
|
|
checkevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER
|
2013-02-17 01:54:07 -05:00
|
|
|
iftrue UnknownScript_0x1a96c3
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a98c6
|
2015-11-29 22:29:45 -05:00
|
|
|
buttonsound
|
2015-07-10 04:31:08 -06:00
|
|
|
setevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a974f
|
|
|
|
jump UnknownScript_0x1a96c6
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a96c3:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9753
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a96c6:
|
2015-07-18 23:45:39 -04:00
|
|
|
askforphonenumber PHONE_PICNICKER_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
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-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a96da:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9767
|
2015-11-02 14:37:02 -05:00
|
|
|
winlosstext PicnickerErin1BeatenText, 0
|
2015-07-10 14:04:00 -06:00
|
|
|
copybytetovar wErinFightCount
|
2015-07-10 03:37:34 -06:00
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
2016-04-10 14:42:14 -04:00
|
|
|
.Fight2:
|
2013-09-24 03:48:58 -04:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 03:37:34 -06:00
|
|
|
iftrue .LoadFight2
|
2016-04-10 14:42:14 -04:00
|
|
|
.Fight1:
|
2015-06-24 21:20:04 -06:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 03:37:34 -06:00
|
|
|
iftrue .LoadFight1
|
2016-04-10 14:42:14 -04:00
|
|
|
.LoadFight0:
|
2015-12-01 21:54:11 -05:00
|
|
|
loadtrainer PICNICKER, ERIN1
|
2013-02-17 01:54:07 -05:00
|
|
|
startbattle
|
2015-12-26 18:11:55 -05:00
|
|
|
reloadmapafterbattle
|
2015-07-10 14:04:00 -06:00
|
|
|
loadvar wErinFightCount, 1
|
2015-07-10 02:36:57 -06:00
|
|
|
clearflag ENGINE_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2016-04-10 14:42:14 -04:00
|
|
|
.LoadFight1:
|
2015-12-01 21:54:11 -05:00
|
|
|
loadtrainer PICNICKER, ERIN2
|
2013-02-17 01:54:07 -05:00
|
|
|
startbattle
|
2015-12-26 18:11:55 -05:00
|
|
|
reloadmapafterbattle
|
2015-07-10 14:04:00 -06:00
|
|
|
loadvar wErinFightCount, 2
|
2015-07-10 02:36:57 -06:00
|
|
|
clearflag ENGINE_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2016-04-10 14:42:14 -04:00
|
|
|
.LoadFight2:
|
2015-12-01 21:54:11 -05:00
|
|
|
loadtrainer PICNICKER, ERIN3
|
2013-02-17 01:54:07 -05:00
|
|
|
startbattle
|
2015-12-26 18:11:55 -05:00
|
|
|
reloadmapafterbattle
|
2015-07-10 02:36:57 -06:00
|
|
|
clearflag ENGINE_ERIN
|
2013-09-24 03:48:58 -04:00
|
|
|
checkevent EVENT_ERIN_CALCIUM
|
2013-02-17 01:54:07 -05:00
|
|
|
iftrue UnknownScript_0x1a973b
|
2015-07-10 03:37:34 -06:00
|
|
|
checkevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2013-02-17 01:54:07 -05:00
|
|
|
iftrue UnknownScript_0x1a973a
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1a9772
|
2015-11-04 20:20:14 -05:00
|
|
|
verbosegiveitem CALCIUM
|
2013-02-17 01:54:07 -05:00
|
|
|
iffalse UnknownScript_0x1a976b
|
2015-07-10 03:37:34 -06:00
|
|
|
setevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a973a:
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a973b:
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a9927
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2015-11-04 20:20:14 -05:00
|
|
|
verbosegiveitem CALCIUM
|
2013-02-17 01:54:07 -05:00
|
|
|
iffalse UnknownScript_0x1a976b
|
2013-09-24 03:48:58 -04:00
|
|
|
clearevent EVENT_ERIN_CALCIUM
|
2015-07-10 03:37:34 -06:00
|
|
|
setevent EVENT_GOT_CALCIUM_FROM_ERIN
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x1a975b
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a974f:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd asknumber1f
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a9753:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd asknumber2f
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a9757:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd registerednumberf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a975b:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd numberacceptedf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a975f:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd numberdeclinedf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a9763:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd phonefullf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a9767:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd rematchf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a976b:
|
2013-09-24 03:48:58 -04:00
|
|
|
setevent EVENT_ERIN_CALCIUM
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd packfullf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownScript_0x1a9772:
|
2015-06-24 19:26:24 -06:00
|
|
|
jumpstd rematchgiftf
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
TrainerHikerBailey:
|
2017-12-17 20:45:04 -05:00
|
|
|
trainer EVENT_BEAT_HIKER_BAILEY, HIKER, BAILEY, HikerBaileySeenText, HikerBaileyBeatenText, 0, .Script
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-17 20:45:04 -05:00
|
|
|
.Script:
|
2015-11-25 10:16:29 -05:00
|
|
|
end_if_just_battled
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2017-12-10 15:36:58 -05:00
|
|
|
writetext HikerBaileyAfterBattleText
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2013-02-17 01:54:07 -05:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-06 22:59:45 -06:00
|
|
|
Route46Sign:
|
|
|
|
jumptext Route46SignText
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-12-15 10:55:56 -05:00
|
|
|
Route46XSpeed:
|
|
|
|
itemball X_SPEED
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
FruitTreeScript_0x1a978f:
|
2015-11-18 10:42:42 -05:00
|
|
|
fruittree FRUITTREE_ROUTE_46_1
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
FruitTreeScript_0x1a9791:
|
2015-11-18 10:42:42 -05:00
|
|
|
fruittree FRUITTREE_ROUTE_46_2
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
HikerBaileySeenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Awright! I'll show"
|
|
|
|
line "you the power of"
|
|
|
|
cont "mountain #MON!"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
HikerBaileyBeatenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Mercy! You showed"
|
|
|
|
line "me your power!"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 15:36:58 -05:00
|
|
|
HikerBaileyAfterBattleText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "It's over. I don't"
|
|
|
|
line "mind. We HIKERS"
|
|
|
|
cont "are like that."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
CamperTedSeenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "I'm raising #-"
|
|
|
|
line "MON too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
CamperTedBeatenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Wha…?"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 15:36:58 -05:00
|
|
|
CamperTedAfterBattleText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "I did my best but"
|
|
|
|
line "came up short."
|
|
|
|
|
|
|
|
para "No excuses--I"
|
|
|
|
line "admit I lost."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
PicnickerErin1SeenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "I raise #MON"
|
|
|
|
line "too!"
|
|
|
|
|
|
|
|
para "Will you battle"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
PicnickerErin1BeatenText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Oh, rats!"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownText_0x1a98c6:
|
2014-03-06 00:29:44 -05: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 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
UnknownText_0x1a9927:
|
2014-03-06 00:29:44 -05: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 01:54:07 -05:00
|
|
|
|
2016-04-06 22:59:45 -06:00
|
|
|
Route46SignText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "ROUTE 46"
|
|
|
|
line "MOUNTAIN RD. AHEAD"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:20:21 -06:00
|
|
|
Route46_MapEventHeader:
|
2013-02-17 01:54:07 -05:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.Warps:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 3
|
2018-01-01 18:19:32 -05:00
|
|
|
warp_def 7, 33, 1, ROUTE_29_ROUTE_46_GATE
|
|
|
|
warp_def 8, 33, 2, ROUTE_29_ROUTE_46_GATE
|
2017-12-28 14:31:25 -05:00
|
|
|
warp_def 14, 5, 3, DARK_CAVE_VIOLET_ENTRANCE
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-24 13:46:34 -05:00
|
|
|
.CoordEvents:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 13:46:34 -05:00
|
|
|
.BGEvents:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 1
|
2017-12-28 14:31:25 -05:00
|
|
|
bg_event 9, 27, BGEVENT_READ, Route46Sign
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-24 13:46:34 -05:00
|
|
|
.ObjectEvents:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 6
|
2017-12-28 14:31:25 -05:00
|
|
|
object_event 12, 19, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerHikerBailey, -1
|
|
|
|
object_event 4, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerCamperTed, -1
|
|
|
|
object_event 2, 13, SPRITE_LASS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerPicnickerErin1, -1
|
|
|
|
object_event 7, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x1a978f, -1
|
|
|
|
object_event 8, 6, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x1a9791, -1
|
|
|
|
object_event 1, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route46XSpeed, EVENT_ROUTE_46_X_SPEED
|