2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER1
|
|
|
|
const RUINSOFALPHOUTSIDE_SCIENTIST
|
|
|
|
const RUINSOFALPHOUTSIDE_FISHER
|
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER2
|
|
|
|
const RUINSOFALPHOUTSIDE_YOUNGSTER3
|
|
|
|
|
2017-12-10 18:37:15 +00:00
|
|
|
RuinsOfAlphOutside_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2017-12-10 22:53:21 +00:00
|
|
|
maptrigger .DummyTrigger0
|
|
|
|
maptrigger .DummyTrigger1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-12-10 22:53:21 +00:00
|
|
|
dbw MAPCALLBACK_OBJECTS, .ScientistCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.DummyTrigger0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.DummyTrigger1:
|
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
|
|
|
|
jump .NoScientist
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.MaybeScientist:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_UNOWNCOUNT
|
2017-12-10 22:53:21 +00:00
|
|
|
if_greater_than $2, .YesScientist
|
|
|
|
jump .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
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
|
|
|
return
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.NoScientist:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear RUINSOFALPHOUTSIDE_SCIENTIST
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $0
|
|
|
|
return
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
RuinsOfAlphOutsideScientistTrigger1:
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface RUINSOFALPHOUTSIDE_SCIENTIST, UP
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, DOWN
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x58044
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
RuinsOfAlphOutsideScientistTrigger2:
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface RUINSOFALPHOUTSIDE_SCIENTIST, LEFT
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x58044
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
ScientistScript_0x58043:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x58044:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x580c7
|
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
|
|
|
|
applymovement RUINSOFALPHOUTSIDE_SCIENTIST, MovementData_0x580ba
|
|
|
|
disappear RUINSOFALPHOUTSIDE_SCIENTIST
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x580c5
|
2015-07-23 16:59:19 +00:00
|
|
|
domaptrigger RUINS_OF_ALPH_RESEARCH_CENTER, $1
|
2013-02-17 06:54:07 +00:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FisherScript_0x58061:
|
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
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x583a4
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2016-04-10 18:42:14 +00:00
|
|
|
.Next:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58420
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
YoungsterScript_0x58076:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58449
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
YoungsterScript_0x5807e:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5848e
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface RUINSOFALPHOUTSIDE_YOUNGSTER3, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicNathan:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_PSYCHIC_NATHAN, PSYCHIC_T, NATHAN, PsychicNathanSeenText, PsychicNathanBeatenText, 0, PsychicNathanScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicNathanScript:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
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
|
|
|
|
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSuperNerdStan:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_SUPER_NERD_STAN, SUPER_NERD, STAN, UnknownText_0x581e5, UnknownText_0x58217, 0, UnknownScript_0x580a9
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x580a9:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58250
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
RuinsOfAlphOutsideSignpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58325
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
RuinsOfAlphOutsideSignpost1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58342
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
RuinsOfAlphOutsideSignpost2Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58362
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x580ba:
|
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
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x580c5:
|
2016-05-14 17:46:14 +00:00
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x580c7:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x581e5:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58217:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58250:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58325:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MYSTERY STONE"
|
|
|
|
line "PANEL CHAMBER"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58342:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "RUINS OF ALPH"
|
|
|
|
line "VISITORS WELCOME"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58362:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x583a4:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58420:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x58449:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x5848e:
|
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
|
|
|
|
2017-12-10 18:37:15 +00:00
|
|
|
RuinsOfAlphOutside_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 11
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $11, $2, 1, RUINS_OF_ALPH_HO_OH_CHAMBER
|
|
|
|
warp_def $7, $e, 1, RUINS_OF_ALPH_KABUTO_CHAMBER
|
|
|
|
warp_def $1d, $2, 1, RUINS_OF_ALPH_OMANYTE_CHAMBER
|
|
|
|
warp_def $21, $10, 1, RUINS_OF_ALPH_AERODACTYL_CHAMBER
|
|
|
|
warp_def $d, $a, 1, RUINS_OF_ALPH_INNER_CHAMBER
|
|
|
|
warp_def $b, $11, 1, RUINS_OF_ALPH_RESEARCH_CENTER
|
|
|
|
warp_def $13, $6, 1, UNION_CAVE_B1F
|
|
|
|
warp_def $1b, $6, 2, UNION_CAVE_B1F
|
|
|
|
warp_def $5, $7, 3, ROUTE_36_RUINS_OF_ALPH_GATE
|
|
|
|
warp_def $14, $d, 1, ROUTE_32_RUINS_OF_ALPH_GATE
|
|
|
|
warp_def $15, $d, 2, ROUTE_32_RUINS_OF_ALPH_GATE
|
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 2
|
2017-12-12 19:11:23 +00:00
|
|
|
xy_trigger 1, $e, $b, RuinsOfAlphOutsideScientistTrigger1
|
|
|
|
xy_trigger 1, $f, $a, RuinsOfAlphOutsideScientistTrigger2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2017-12-10 22:53:21 +00:00
|
|
|
signpost 8, 16, SIGNPOST_READ, RuinsOfAlphOutsideSignpost0Script
|
|
|
|
signpost 16, 12, SIGNPOST_READ, RuinsOfAlphOutsideSignpost1Script
|
|
|
|
signpost 12, 18, SIGNPOST_READ, RuinsOfAlphOutsideSignpost2Script
|
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 5
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_YOUNGSTER, 20, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 1, TrainerPsychicNathan, -1
|
|
|
|
person_event SPRITE_SCIENTIST, 15, 11, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ScientistScript_0x58043, EVENT_RUINS_OF_ALPH_OUTSIDE_SCIENTIST
|
2017-12-11 01:50:08 +00:00
|
|
|
person_event SPRITE_FISHER, 17, 13, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, FisherScript_0x58061, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
|
|
|
|
person_event SPRITE_YOUNGSTER, 11, 14, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BROWN, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x58076, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
|
|
|
|
person_event SPRITE_YOUNGSTER, 8, 12, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x5807e, EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
|