2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00:00
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER1
|
|
|
|
const RUINSOFALPHOUTSIDE_SCIENTIST
|
|
|
|
const RUINSOFALPHOUTSIDE_FISHER
|
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER2
|
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER3
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
RuinsOfAlphOutside_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2022-07-29 21:43:10 +00:00
|
|
|
scene_script .DummyScene0, SCENE_RUINSOFALPHOUTSIDE_NOOP
|
|
|
|
scene_script .DummyScene1, SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .ScientistCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.ScientistCallback:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_UNOWN_DEX
|
2017-12-10 22:53:21 +00:00
|
|
|
iftrue .NoScientist
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
2017-12-10 22:53:21 +00:00
|
|
|
iftrue .MaybeScientist
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .NoScientist
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.MaybeScientist:
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_UNOWNCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifgreater 2, .YesScientist
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .NoScientist
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.YesScientist:
|
2015-11-27 05:22:14 +00:00
|
|
|
appear RUINSOFALPHOUTSIDE_SCIENTIST
|
2018-02-01 17:40:58 +00:00
|
|
|
setscene SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.NoScientist:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear RUINSOFALPHOUTSIDE_SCIENTIST
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_RUINSOFALPHOUTSIDE_NOOP
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
RuinsOfAlphOutsideScientistScene1:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject RUINSOFALPHOUTSIDE_SCIENTIST, UP
|
|
|
|
turnobject PLAYER, DOWN
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump RuinsOfAlphOutsideScientistSceneContinue
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
RuinsOfAlphOutsideScientistScene2:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject RUINSOFALPHOUTSIDE_SCIENTIST, LEFT
|
|
|
|
turnobject PLAYER, RIGHT
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump RuinsOfAlphOutsideScientistSceneContinue
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideScientistScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideScientistSceneContinue:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-02-28 22:47:31 +00:00
|
|
|
writetext RuinsOfAlphOutsideScientistText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_SHOW_ME_AROUND
|
2015-11-27 05:22:14 +00:00
|
|
|
follow RUINSOFALPHOUTSIDE_SCIENTIST, PLAYER
|
2020-06-22 20:30:13 +00:00
|
|
|
applymovement RUINSOFALPHOUTSIDE_SCIENTIST, RuinsOfAlphOutsideScientistWalkToLabMovement
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear RUINSOFALPHOUTSIDE_SCIENTIST
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2020-06-22 20:30:13 +00:00
|
|
|
applymovement PLAYER, RuinsOfAlphOutsidePlayerEnterLabMovement
|
2018-02-01 17:40:58 +00:00
|
|
|
setmapscene RUINS_OF_ALPH_RESEARCH_CENTER, SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX
|
2013-02-17 06:54:07 +00:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideFisherScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_TALKED_TO_RUINS_COWARD
|
|
|
|
iftrue .Next
|
|
|
|
setevent EVENT_TALKED_TO_RUINS_COWARD
|
2018-02-28 22:47:31 +00:00
|
|
|
writetext RuinsOfAlphOutsideFisherText1
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2016-04-10 18:42:14 +00:00
|
|
|
.Next:
|
2018-02-28 22:47:31 +00:00
|
|
|
writetext RuinsOfAlphOutsideFisherText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideYoungster1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-02-28 22:47:31 +00:00
|
|
|
writetext RuinsOfAlphOutsideYoungster1Text
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideYoungster2Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-02-28 22:47:31 +00:00
|
|
|
writetext RuinsOfAlphOutsideYoungster2Text
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject RUINSOFALPHOUTSIDE_YOUNGSTER3, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicNathan:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer PSYCHIC_T, NATHAN, EVENT_BEAT_PSYCHIC_NATHAN, PsychicNathanSeenText, PsychicNathanBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext PsychicNathanAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2020-10-26 19:45:57 +00:00
|
|
|
TrainerSuperNerdStan: ; unreferenced
|
2018-02-28 22:47:31 +00:00
|
|
|
trainer SUPER_NERD, STAN, EVENT_BEAT_SUPER_NERD_STAN, SuperNerdStanSeenText, SuperNerdStanBeatenText, 0, .Script
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext SuperNerdStanAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideMysteryChamberSign:
|
|
|
|
jumptext RuinsOfAlphOutsideMysteryChamberSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphSign:
|
|
|
|
jumptext RuinsOfAlphSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphResearchCenterSign:
|
|
|
|
jumptext RuinsOfAlphResearchCenterSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-06-22 20:30:13 +00:00
|
|
|
RuinsOfAlphOutsideScientistWalkToLabMovement:
|
2016-05-14 17:46:14 +00:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2020-06-22 20:30:13 +00:00
|
|
|
RuinsOfAlphOutsidePlayerEnterLabMovement:
|
2016-05-14 17:46:14 +00:00
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideScientistText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hm? That's a #-"
|
|
|
|
line "DEX, isn't it?"
|
|
|
|
cont "May I see it?"
|
|
|
|
|
|
|
|
para "There are so many"
|
|
|
|
line "kinds of #MON."
|
|
|
|
|
|
|
|
para "Hm? What's this?"
|
|
|
|
|
|
|
|
para "What is this"
|
|
|
|
line "#MON?"
|
|
|
|
|
|
|
|
para "It looks like the"
|
|
|
|
line "strange writing on"
|
|
|
|
|
|
|
|
para "the walls of the"
|
|
|
|
line "RUINS."
|
|
|
|
|
|
|
|
para "If those drawings"
|
|
|
|
line "are really #-"
|
|
|
|
cont "MON, there should"
|
|
|
|
cont "be many more."
|
|
|
|
|
|
|
|
para "I know! Let me up-"
|
|
|
|
line "grade your #-"
|
|
|
|
cont "DEX. Follow me."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
SuperNerdStanSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "What do you want?"
|
|
|
|
line "I'm studying--"
|
|
|
|
cont "don't disturb me!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
SuperNerdStanBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry…"
|
|
|
|
line "I'm frustrated by"
|
|
|
|
|
|
|
|
para "our lack of real"
|
|
|
|
line "understanding…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
SuperNerdStanAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The RUINS are from"
|
|
|
|
line "about 1500 years"
|
|
|
|
cont "ago."
|
|
|
|
|
|
|
|
para "Nobody knows who"
|
|
|
|
line "built them."
|
|
|
|
|
|
|
|
para "It's also not"
|
|
|
|
line "known if the #-"
|
|
|
|
cont "MON statues have"
|
|
|
|
cont "any meaning."
|
|
|
|
|
|
|
|
para "It's all one big"
|
|
|
|
line "mystery…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicNathanSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hmmm… This is a"
|
|
|
|
line "strange place."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicNathanBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
PsychicNathanAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I like thinking"
|
|
|
|
line "here."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideMysteryChamberSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MYSTERY STONE"
|
|
|
|
line "PANEL CHAMBER"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "RUINS OF ALPH"
|
|
|
|
line "VISITORS WELCOME"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphResearchCenterSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "RUINS OF ALPH"
|
|
|
|
line "RESEARCH CENTER"
|
|
|
|
|
|
|
|
para "THE AUTHORITY ON"
|
|
|
|
line "THE RUINS OF ALPH"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideFisherText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "While exploring"
|
|
|
|
line "the RUINS, we"
|
|
|
|
|
|
|
|
para "suddenly noticed"
|
|
|
|
line "an odd presence."
|
|
|
|
|
|
|
|
para "We all got scared"
|
|
|
|
line "and ran away."
|
|
|
|
|
|
|
|
para "You should be"
|
|
|
|
line "careful too."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideFisherText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The RUINS hide a"
|
|
|
|
line "huge secret!"
|
|
|
|
|
|
|
|
para "…I think…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideYoungster1Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There are many"
|
|
|
|
line "kinds of UNOWN, so"
|
|
|
|
|
|
|
|
para "we use them for"
|
|
|
|
line "our secret codes."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
RuinsOfAlphOutsideYoungster2Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A… H… E… A… D…"
|
|
|
|
line "Hmm…"
|
|
|
|
|
|
|
|
para "What?"
|
|
|
|
|
|
|
|
para "I'm decoding this"
|
|
|
|
line "message!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
RuinsOfAlphOutside_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 17, RUINS_OF_ALPH_HO_OH_CHAMBER, 1
|
|
|
|
warp_event 14, 7, RUINS_OF_ALPH_KABUTO_CHAMBER, 1
|
|
|
|
warp_event 2, 29, RUINS_OF_ALPH_OMANYTE_CHAMBER, 1
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 16, 33, RUINS_OF_ALPH_AERODACTYL_CHAMBER, 1
|
|
|
|
warp_event 10, 13, RUINS_OF_ALPH_INNER_CHAMBER, 1
|
|
|
|
warp_event 17, 11, RUINS_OF_ALPH_RESEARCH_CENTER, 1
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 6, 19, UNION_CAVE_B1F, 1
|
|
|
|
warp_event 6, 27, UNION_CAVE_B1F, 2
|
|
|
|
warp_event 7, 5, ROUTE_36_RUINS_OF_ALPH_GATE, 3
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 13, 20, ROUTE_32_RUINS_OF_ALPH_GATE, 1
|
|
|
|
warp_event 13, 21, ROUTE_32_RUINS_OF_ALPH_GATE, 2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2018-02-01 17:40:58 +00:00
|
|
|
coord_event 11, 14, SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX, RuinsOfAlphOutsideScientistScene1
|
|
|
|
coord_event 10, 15, SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX, RuinsOfAlphOutsideScientistScene2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2018-02-28 22:47:31 +00:00
|
|
|
bg_event 16, 8, BGEVENT_READ, RuinsOfAlphOutsideMysteryChamberSign
|
|
|
|
bg_event 12, 16, BGEVENT_READ, RuinsOfAlphSign
|
|
|
|
bg_event 18, 12, BGEVENT_READ, RuinsOfAlphResearchCenterSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 4, 20, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 1, TrainerPsychicNathan, -1
|
2018-02-28 22:47:31 +00:00
|
|
|
object_event 11, 15, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphOutsideScientistScript, EVENT_RUINS_OF_ALPH_OUTSIDE_SCIENTIST
|
|
|
|
object_event 13, 17, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphOutsideFisherScript, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
|
|
|
|
object_event 14, 11, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphOutsideYoungster1Script, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
|
|
|
|
object_event 12, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphOutsideYoungster2Script, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
|