2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE33_POKEFAN_M
|
|
|
|
const ROUTE33_LASS
|
|
|
|
const ROUTE33_FRUIT_TREE
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route33_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
Route33LassScript:
|
|
|
|
jumptextfaceplayer Route33LassText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerHikerAnthony:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer HIKER, ANTHONY2, EVENT_BEAT_HIKER_ANTHONY, HikerAnthony2SeenText, HikerAnthony2BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.Script:
|
2019-03-10 19:31:59 +00:00
|
|
|
loadvar VAR_CALLERID, PHONE_HIKER_ANTHONY
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2020-06-16 18:11:49 +00:00
|
|
|
checkflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2015-12-17 02:57:42 +00:00
|
|
|
iftrue .Rematch
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_DUNSPARCE_SWARM
|
2015-12-17 02:57:42 +00:00
|
|
|
iftrue .Swarm
|
2015-07-19 03:45:39 +00:00
|
|
|
checkcellnum PHONE_HIKER_ANTHONY
|
2015-12-17 02:57:42 +00:00
|
|
|
iftrue .NumberAccepted
|
2015-07-10 10:31:08 +00:00
|
|
|
checkevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2015-12-17 02:57:42 +00:00
|
|
|
iftrue .AskAgain
|
|
|
|
writetext HikerAnthony2AfterText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2015-07-10 10:31:08 +00:00
|
|
|
setevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2015-12-17 02:57:42 +00:00
|
|
|
scall .AskNumber1
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .AskForPhoneNumber
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.AskAgain:
|
|
|
|
scall .AskNumber2
|
|
|
|
.AskForPhoneNumber:
|
2015-07-19 03:45:39 +00:00
|
|
|
askforphonenumber PHONE_HIKER_ANTHONY
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
|
|
|
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, HIKER, ANTHONY2
|
2015-12-17 02:57:42 +00:00
|
|
|
scall .RegisteredNumber
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .NumberAccepted
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.Rematch:
|
|
|
|
scall .RematchStd
|
2015-11-02 19:37:02 +00:00
|
|
|
winlosstext HikerAnthony2BeatenText, 0
|
2019-03-10 19:31:59 +00:00
|
|
|
readmem wAnthonyFightCount
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal 4, .Fight4
|
|
|
|
ifequal 3, .Fight3
|
|
|
|
ifequal 2, .Fight2
|
|
|
|
ifequal 1, .Fight1
|
|
|
|
ifequal 0, .LoadFight0
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight4:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 10:31:08 +00:00
|
|
|
iftrue .LoadFight4
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight3:
|
2015-06-25 03:20:04 +00:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 10:31:08 +00:00
|
|
|
iftrue .LoadFight3
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight2:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-10 10:31:08 +00:00
|
|
|
iftrue .LoadFight2
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight1:
|
2015-07-10 10:31:08 +00:00
|
|
|
checkflag ENGINE_FLYPOINT_OLIVINE
|
|
|
|
iftrue .LoadFight1
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight0:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer HIKER, ANTHONY2
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2019-03-10 19:31:59 +00:00
|
|
|
loadmem wAnthonyFightCount, 1
|
2020-06-16 18:11:49 +00:00
|
|
|
clearflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight1:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer HIKER, ANTHONY1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2019-03-10 19:31:59 +00:00
|
|
|
loadmem wAnthonyFightCount, 2
|
2020-06-16 18:11:49 +00:00
|
|
|
clearflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight2:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer HIKER, ANTHONY3
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2019-03-10 19:31:59 +00:00
|
|
|
loadmem wAnthonyFightCount, 3
|
2020-06-16 18:11:49 +00:00
|
|
|
clearflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight3:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer HIKER, ANTHONY4
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2019-03-10 19:31:59 +00:00
|
|
|
loadmem wAnthonyFightCount, 4
|
2020-06-16 18:11:49 +00:00
|
|
|
clearflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight4:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer HIKER, ANTHONY5
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2020-06-16 18:11:49 +00:00
|
|
|
clearflag ENGINE_ANTHONY_READY_FOR_REMATCH
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.Swarm:
|
|
|
|
writetext HikerAnthonyDunsparceText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.AskNumber1:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd AskNumber1MScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.AskNumber2:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd AskNumber2MScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.RegisteredNumber:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd RegisteredNumberMScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.NumberAccepted:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd NumberAcceptedMScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.NumberDeclined:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd NumberDeclinedMScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.PhoneFull:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd PhoneFullMScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.RematchStd:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd RematchMScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route33Sign:
|
|
|
|
jumptext Route33SignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
Route33FruitTree:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_ROUTE_33
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
HikerAnthony2SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I came through the"
|
|
|
|
line "tunnel, but I"
|
|
|
|
|
|
|
|
para "still have plenty"
|
|
|
|
line "of energy left."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
HikerAnthony2BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Whoa! You've got"
|
|
|
|
line "more zip than me!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
HikerAnthony2AfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We HIKERS are at"
|
|
|
|
line "our best in the"
|
|
|
|
cont "mountains."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
HikerAnthonyDunsparceText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
Route33LassText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route33SignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 33"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route33_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 11, 9, UNION_CAVE_1F, 3
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; bg events
|
2017-12-24 18:46:34 +00:00
|
|
|
bg_event 11, 11, BGEVENT_READ, Route33Sign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; object events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 6, 13, SPRITE_POKEFAN_M, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerHikerAnthony, -1
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 13, 16, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route33LassScript, -1
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 14, 16, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route33FruitTree, -1
|