2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const WISETRIOSROOM_SAGE1
|
|
|
|
const WISETRIOSROOM_SAGE2
|
|
|
|
const WISETRIOSROOM_SAGE3
|
|
|
|
const WISETRIOSROOM_SAGE4
|
|
|
|
const WISETRIOSROOM_SAGE5
|
|
|
|
const WISETRIOSROOM_SAGE6
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
WiseTriosRoom_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; scene scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
2018-02-01 12:06:06 -08:00
|
|
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_OBJECTS, .WiseTrioCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.WiseTrioCallback:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_FOUGHT_SUICUNE
|
2017-12-10 14:53:21 -08:00
|
|
|
iftrue .NoWiseTrio
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2017-12-10 14:53:21 -08:00
|
|
|
iftrue .WiseTrio2
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem CLEAR_BELL
|
2017-12-10 14:53:21 -08:00
|
|
|
iftrue .WiseTrio2
|
2015-07-18 12:46:38 -07:00
|
|
|
clearevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.WiseTrio2:
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
clearevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.NoWiseTrio:
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage1Script:
|
|
|
|
jumptextfaceplayer WiseTriosRoomSage1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage2Script:
|
|
|
|
jumptextfaceplayer WiseTriosRoomSage2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage3Script:
|
|
|
|
jumptextfaceplayer WiseTriosRoomSage3Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
WiseTriosRoom_CannotEnterTinTowerScript:
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject WISETRIOSROOM_SAGE3, UP
|
|
|
|
turnobject PLAYER, DOWN
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, WISETRIOSROOM_SAGE3, 20
|
|
|
|
follow PLAYER, WISETRIOSROOM_SAGE3
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x98622
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, RIGHT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext WiseTriosRoomSage3BlocksExitText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement WISETRIOSROOM_SAGE3, MovementData_0x98625
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject WISETRIOSROOM_SAGE3, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSageGaku:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SAGE, GAKU, EVENT_BEAT_SAGE_GAKU, SageGakuSeenText, SageGakuBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext SageGakuAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSageMasa:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SAGE, MASA, EVENT_BEAT_SAGE_MASA, SageMasaSeenText, SageMasaBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext SageMasaAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSageKoji:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SAGE, KOJI, EVENT_BEAT_SAGE_KOJI, SageKojiSeenText, SageKojiBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .KojiAllowsPassage
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 10
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, WISETRIOSROOM_SAGE6, 20
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext SageKojiAfterBattleQuestionText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext SageKojiAfterBattleSpeechText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement WISETRIOSROOM_SAGE6, MovementData_0x98628
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject WISETRIOSROOM_SAGE6, UP
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.KojiAllowsPassage:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext SageKojiAfterBattleFinalText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
MovementData_0x98622:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
MovementData_0x98625:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
MovementData_0x98628:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Astounding…"
|
|
|
|
|
|
|
|
para "SUICUNE, ENTEI and"
|
|
|
|
line "RAIKOU have arisen"
|
|
|
|
cont "from their sleep…"
|
|
|
|
|
|
|
|
para "Is the legend"
|
|
|
|
line "coming true?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We train at the"
|
|
|
|
line "BURNED TOWER, but"
|
|
|
|
|
|
|
|
para "we've never heard"
|
|
|
|
line "of a hole opening"
|
|
|
|
|
|
|
|
para "up there before."
|
|
|
|
line "It must have been"
|
|
|
|
|
|
|
|
para "deliberately made"
|
|
|
|
line "by someone."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
WiseTriosRoomSage3BlocksExitText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TIN TOWER may be"
|
|
|
|
line "entered by those"
|
|
|
|
|
|
|
|
para "bearing ECRUTEAK's"
|
|
|
|
line "GYM BADGE."
|
|
|
|
|
|
|
|
para "However, now that"
|
|
|
|
line "SUICUNE, RAIKOU"
|
|
|
|
|
|
|
|
para "and ENTEI have"
|
|
|
|
line "arisen, I ask you"
|
|
|
|
|
|
|
|
para "to refrain from"
|
|
|
|
line "entering!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
WiseTriosRoomSage3Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We, the WISE TRIO,"
|
|
|
|
line "are the protectors"
|
|
|
|
|
|
|
|
para "of the legendary"
|
|
|
|
line "#MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageGakuSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Legend has it that"
|
|
|
|
line "upon the emergence"
|
|
|
|
|
|
|
|
para "of a trainer who"
|
|
|
|
line "has the ability to"
|
|
|
|
|
|
|
|
para "touch the souls of"
|
|
|
|
line "#MON, a #MON"
|
|
|
|
|
|
|
|
para "will come forth to"
|
|
|
|
line "put that trainer"
|
|
|
|
|
|
|
|
para "to test at the TIN"
|
|
|
|
line "TOWER."
|
|
|
|
|
|
|
|
para "The legend has"
|
|
|
|
line "come true!"
|
|
|
|
|
|
|
|
para "The legendary"
|
|
|
|
line "#MON SUICUNE"
|
|
|
|
cont "has arrived!"
|
|
|
|
|
|
|
|
para "We, the WISE TRIO,"
|
|
|
|
line "shall test your"
|
|
|
|
|
|
|
|
para "worthiness to go"
|
|
|
|
line "inside!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageGakuBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Stronger than we"
|
|
|
|
line "thought? Perhaps…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
SageGakuAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ah, so it is you"
|
|
|
|
line "who claim to have"
|
|
|
|
|
|
|
|
para "seen SUICUNE,"
|
|
|
|
line "ENTEI and RAIKOU"
|
|
|
|
cont "while they slept?"
|
|
|
|
|
|
|
|
para "Unbelievable!"
|
|
|
|
|
|
|
|
para "Legend has it that"
|
|
|
|
line "they can't be seen"
|
|
|
|
cont "while they sleep…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageMasaSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Can you be trusted"
|
|
|
|
line "with the truth?"
|
|
|
|
|
|
|
|
para "I must ascertain"
|
|
|
|
line "your worthiness."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageMasaBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…I will tell you"
|
|
|
|
line "the truth…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
SageMasaAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "In the past, there"
|
|
|
|
line "were two nine-tier"
|
|
|
|
cont "towers here."
|
|
|
|
|
|
|
|
para "The BRASS TOWER,"
|
|
|
|
line "which was said to"
|
|
|
|
|
|
|
|
para "awaken #MON,"
|
|
|
|
line "and the TIN TOWER,"
|
|
|
|
|
|
|
|
para "where #MON were"
|
|
|
|
line "said to rest."
|
|
|
|
|
|
|
|
para "The view from the"
|
|
|
|
line "tops of the TOWERS"
|
|
|
|
|
|
|
|
para "must have been"
|
|
|
|
line "magnificent."
|
|
|
|
|
|
|
|
para "At the time, an"
|
|
|
|
line "immense, silver-"
|
|
|
|
|
|
|
|
para "colored #MON"
|
|
|
|
line "was said to make"
|
|
|
|
|
|
|
|
para "its roost atop the"
|
|
|
|
line "BRASS TOWER."
|
|
|
|
|
|
|
|
para "However…"
|
|
|
|
|
|
|
|
para "About 150 years"
|
|
|
|
line "ago, a lightning"
|
|
|
|
|
|
|
|
para "bolt struck one of"
|
|
|
|
line "the TOWERS."
|
|
|
|
|
|
|
|
para "It was engulfed in"
|
|
|
|
line "flames that raged"
|
|
|
|
cont "for three days."
|
|
|
|
|
|
|
|
para "A sudden downpour"
|
|
|
|
line "finally put out"
|
|
|
|
cont "the blaze."
|
|
|
|
|
|
|
|
para "And that is how"
|
|
|
|
line "the BURNED TOWER"
|
|
|
|
cont "came to be."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageKojiSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Let me see your"
|
|
|
|
line "power!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SageKojiBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Too strong!"
|
|
|
|
line "Why?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
SageKojiAfterBattleQuestionText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You… Are you the"
|
|
|
|
line "trainer who is"
|
|
|
|
|
|
|
|
para "awaited by the"
|
|
|
|
line "legendary #MON?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
SageKojiAfterBattleSpeechText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I see…"
|
|
|
|
|
|
|
|
para "We, the WISE TRIO,"
|
|
|
|
line "have been given "
|
|
|
|
|
|
|
|
para "the responsibility"
|
|
|
|
line "of protecting the"
|
|
|
|
|
|
|
|
para "legendary #MON."
|
|
|
|
line "We are to allow"
|
|
|
|
|
|
|
|
para "passage only to"
|
|
|
|
line "those people who"
|
|
|
|
|
|
|
|
para "possess the power"
|
|
|
|
line "and soul of truth."
|
|
|
|
|
|
|
|
para "Please, do go on"
|
|
|
|
line "and enter the TIN"
|
|
|
|
cont "TOWER ahead."
|
|
|
|
|
|
|
|
para "SUICUNE will put"
|
|
|
|
line "you to the test."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
SageKojiAfterBattleFinalText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please, do go on."
|
|
|
|
|
|
|
|
para "SUICUNE will put"
|
|
|
|
line "you to the test."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
WiseTriosRoom_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 7, 4, ECRUTEAK_CITY, 4
|
|
|
|
warp_event 7, 5, ECRUTEAK_CITY, 5
|
|
|
|
warp_event 1, 4, ECRUTEAK_TIN_TOWER_ENTRANCE, 5
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; coord events
|
2018-02-28 14:47:31 -08:00
|
|
|
coord_event 7, 4, SCENE_DEFAULT, WiseTriosRoom_CannotEnterTinTowerScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 6 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 6, 2, SPRITE_SAGE, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WiseTriosRoomSage1Script, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
object_event 6, 7, SPRITE_SAGE, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WiseTriosRoomSage2Script, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
object_event 7, 5, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WiseTriosRoomSage3Script, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1
|
|
|
|
object_event 4, 2, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerSageGaku, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|
|
|
|
object_event 4, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerSageMasa, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|
|
|
|
object_event 6, 4, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerSageKoji, EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2
|