2015-07-10 08:20:21 +00:00
|
|
|
RuinsofAlphOutside_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x5800d, $0000
|
|
|
|
dw UnknownScript_0x5800e, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 2, UnknownScript_0x5800f
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5800d:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5800e:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5800f:
|
2013-09-24 07:51:42 +00:00
|
|
|
checkflag $000c
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x5802c
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x5801e
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x5802c
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5801e:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_UNOWNCOUNT
|
2013-09-26 22:40:20 +00:00
|
|
|
if_greater_than $2, UnknownScript_0x58027
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x5802c
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x58027:
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $3
|
|
|
|
dotrigger $1
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5802c:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $3
|
|
|
|
dotrigger $0
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x58031:
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $3, UP
|
|
|
|
spriteface $0, DOWN
|
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
|
|
|
UnknownScript_0x5803a:
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $3, LEFT
|
|
|
|
spriteface $0, 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:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x580c7
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_SHOW_ME_AROUND
|
2013-02-17 06:54:07 +00:00
|
|
|
follow $3, $0
|
|
|
|
applymovement $3, MovementData_0x580ba
|
|
|
|
disappear $3
|
|
|
|
stopfollow
|
|
|
|
applymovement $0, MovementData_0x580c5
|
|
|
|
domaptrigger GROUP_RUINS_OF_ALPH_RESEARCH_CENTER, MAP_RUINS_OF_ALPH_RESEARCH_CENTER, $1
|
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FisherScript_0x58061:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent $00bc
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x58070
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent $00bc
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x583a4
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
|
|
|
UnknownScript_0x58070: ;0x58070
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58420
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
YoungsterScript_0x58076:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58449
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
YoungsterScript_0x5807e:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5848e
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $6, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicNathan:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_PSYCHIC_NATHAN
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db PSYCHIC_T, NATHAN
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw PsychicNathanSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw PsychicNathanBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw PsychicNathanScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicNathanScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5830e
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSuperNerdStan:
|
2013-05-01 17:52:44 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SUPER_NERD_STAN
|
2013-05-01 17:52:44 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SUPER_NERD, STAN
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw UnknownText_0x581e5
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw UnknownText_0x58217
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw UnknownScript_0x580a9
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x580a9:
|
2013-05-01 17:52:44 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x58250
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2013-05-01 17:52:44 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRuinsofAlphOutsideSignpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58325
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRuinsofAlphOutsideSignpost1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58342
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRuinsofAlphOutsideSignpost2Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x58362
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x580ba:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x580c5:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x5830e:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
RuinsofAlphOutside_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 11
|
|
|
|
warp_def $11, $2, 1, GROUP_RUINS_OF_ALPH_HO_OH_CHAMBER, MAP_RUINS_OF_ALPH_HO_OH_CHAMBER
|
|
|
|
warp_def $7, $e, 1, GROUP_RUINS_OF_ALPH_KABUTO_CHAMBER, MAP_RUINS_OF_ALPH_KABUTO_CHAMBER
|
|
|
|
warp_def $1d, $2, 1, GROUP_RUINS_OF_ALPH_OMANYTE_CHAMBER, MAP_RUINS_OF_ALPH_OMANYTE_CHAMBER
|
|
|
|
warp_def $21, $10, 1, GROUP_RUINS_OF_ALPH_AERODACTYL_CHAMBER, MAP_RUINS_OF_ALPH_AERODACTYL_CHAMBER
|
|
|
|
warp_def $d, $a, 1, GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER
|
|
|
|
warp_def $b, $11, 1, GROUP_RUINS_OF_ALPH_RESEARCH_CENTER, MAP_RUINS_OF_ALPH_RESEARCH_CENTER
|
|
|
|
warp_def $13, $6, 1, GROUP_UNION_CAVE_B1F, MAP_UNION_CAVE_B1F
|
|
|
|
warp_def $1b, $6, 2, GROUP_UNION_CAVE_B1F, MAP_UNION_CAVE_B1F
|
|
|
|
warp_def $5, $7, 3, GROUP_ROUTE_36_RUINS_OF_ALPH_GATE, MAP_ROUTE_36_RUINS_OF_ALPH_GATE
|
|
|
|
warp_def $14, $d, 1, GROUP_ROUTE_32_RUINS_OF_ALPH_GATE, MAP_ROUTE_32_RUINS_OF_ALPH_GATE
|
|
|
|
warp_def $15, $d, 2, GROUP_ROUTE_32_RUINS_OF_ALPH_GATE, MAP_ROUTE_32_RUINS_OF_ALPH_GATE
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 2
|
|
|
|
xy_trigger 1, $e, $b, $0, UnknownScript_0x58031, $0, $0
|
|
|
|
xy_trigger 1, $f, $a, $0, UnknownScript_0x5803a, $0, $0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 3
|
|
|
|
signpost 8, 16, $0, MapRuinsofAlphOutsideSignpost0Script
|
|
|
|
signpost 16, 12, $0, MapRuinsofAlphOutsideSignpost1Script
|
|
|
|
signpost 12, 18, $0, MapRuinsofAlphOutsideSignpost2Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 5
|
2013-07-12 21:06:11 +00:00
|
|
|
person_event SPRITE_YOUNGSTER, 24, 8, $6, $0, 255, 255, $2, 1, TrainerPsychicNathan, $ffff
|
|
|
|
person_event SPRITE_SCIENTIST, 19, 15, $7, $0, 255, 255, $0, 0, ScientistScript_0x58043, $0703
|
|
|
|
person_event SPRITE_FISHER, 21, 17, $3, $0, 255, 255, $a0, 0, FisherScript_0x58061, $078e
|
|
|
|
person_event SPRITE_YOUNGSTER, 15, 18, $2, $11, 255, 255, $b0, 0, YoungsterScript_0x58076, $078f
|
|
|
|
person_event SPRITE_YOUNGSTER, 12, 16, $7, $0, 255, 255, $80, 0, YoungsterScript_0x5807e, $078f
|