2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE33_POKEFAN_M
|
|
|
|
const ROUTE33_LASS
|
|
|
|
const ROUTE33_FRUIT_TREE
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
Route33_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Route33LassScript:
|
|
|
|
jumptextfaceplayer Route33LassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerHikerAnthony:
|
2015-12-16 18:57:42 -08:00
|
|
|
trainer EVENT_BEAT_HIKER_ANTHONY, HIKER, ANTHONY2, HikerAnthony2SeenText, HikerAnthony2BeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.Script:
|
2015-07-18 20:45:39 -07:00
|
|
|
writecode VAR_CALLERID, PHONE_HIKER_ANTHONY
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 01:36:57 -07:00
|
|
|
checkflag ENGINE_ANTHONY
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .Rematch
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_DUNSPARCE_SWARM
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .Swarm
|
2015-07-18 20:45:39 -07:00
|
|
|
checkcellnum PHONE_HIKER_ANTHONY
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .NumberAccepted
|
2015-07-10 03:31:08 -07:00
|
|
|
checkevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .AskAgain
|
|
|
|
writetext HikerAnthony2AfterText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-07-10 03:31:08 -07:00
|
|
|
setevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2015-12-16 18:57:42 -08:00
|
|
|
scall .AskNumber1
|
|
|
|
jump .AskForPhoneNumber
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.AskAgain:
|
|
|
|
scall .AskNumber2
|
|
|
|
.AskForPhoneNumber:
|
2015-07-18 20:45:39 -07:00
|
|
|
askforphonenumber PHONE_HIKER_ANTHONY
|
2015-12-16 18:57:42 -08:00
|
|
|
if_equal $1, .PhoneFull
|
|
|
|
if_equal $2, .NumberDeclined
|
2013-02-16 22:54:07 -08:00
|
|
|
trainertotext HIKER, ANTHONY2, $0
|
2015-12-16 18:57:42 -08:00
|
|
|
scall .RegisteredNumber
|
|
|
|
jump .NumberAccepted
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.Rematch:
|
|
|
|
scall .RematchStd
|
2015-11-02 11:37:02 -08:00
|
|
|
winlosstext HikerAnthony2BeatenText, 0
|
2015-07-10 13:04:00 -07:00
|
|
|
copybytetovar wAnthonyFightCount
|
2015-07-10 03:31:08 -07:00
|
|
|
if_equal 4, .Fight4
|
|
|
|
if_equal 3, .Fight3
|
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight4:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight4
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight3:
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight3
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight2:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight2
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight1:
|
2015-07-10 03:31:08 -07:00
|
|
|
checkflag ENGINE_FLYPOINT_OLIVINE
|
|
|
|
iftrue .LoadFight1
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight0:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer HIKER, ANTHONY2
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wAnthonyFightCount, 1
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight1:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer HIKER, ANTHONY1
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wAnthonyFightCount, 2
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight2:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer HIKER, ANTHONY3
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wAnthonyFightCount, 3
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight3:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer HIKER, ANTHONY4
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wAnthonyFightCount, 4
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight4:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer HIKER, ANTHONY5
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.Swarm:
|
|
|
|
writetext HikerAnthonyDunsparceText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.AskNumber1:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber1m
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.AskNumber2:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber2m
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.RegisteredNumber:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd registerednumberm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.NumberAccepted:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberacceptedm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.NumberDeclined:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberdeclinedm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.PhoneFull:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd phonefullm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.RematchStd:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd rematchm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
Route33Sign:
|
|
|
|
jumptext Route33SignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Route33FruitTreeScript:
|
2015-11-18 07:42:42 -08:00
|
|
|
fruittree FRUITTREE_ROUTE_33
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
HikerAnthony2SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I came through the"
|
|
|
|
line "tunnel, but I"
|
|
|
|
|
|
|
|
para "still have plenty"
|
|
|
|
line "of energy left."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
HikerAnthony2BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whoa! You've got"
|
|
|
|
line "more zip than me!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
HikerAnthony2AfterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We HIKERS are at"
|
|
|
|
line "our best in the"
|
|
|
|
cont "mountains."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
HikerAnthonyDunsparceText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, did you get a"
|
|
|
|
line "DUNSPARCE?"
|
|
|
|
|
|
|
|
para "I caught one too."
|
|
|
|
|
|
|
|
para "Take a look at it"
|
|
|
|
line "in the light. It's"
|
|
|
|
cont "got a funny face!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Route33LassText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Pant, pant…"
|
|
|
|
|
|
|
|
para "I finally got"
|
|
|
|
line "through that cave."
|
|
|
|
|
|
|
|
para "It was much bigger"
|
|
|
|
line "than I'd expected."
|
|
|
|
|
|
|
|
para "I got too tired to"
|
|
|
|
line "explore the whole"
|
|
|
|
|
|
|
|
para "thing, so I came"
|
|
|
|
line "outside."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
Route33SignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ROUTE 33"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
Route33_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $9, $b, 3, UNION_CAVE_1F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2016-04-06 21:59:45 -07:00
|
|
|
signpost 11, 11, SIGNPOST_READ, Route33Sign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 3
|
2017-12-10 17:50:08 -08:00
|
|
|
person_event SPRITE_POKEFAN_M, 13, 6, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 2, TrainerHikerAnthony, -1
|
|
|
|
person_event SPRITE_LASS, 16, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, Route33LassScript, -1
|
2015-12-16 18:57:42 -08:00
|
|
|
person_event SPRITE_FRUIT_TREE, 16, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route33FruitTreeScript, -1
|