2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2018-01-23 05:30:07 +00:00
|
|
|
const ECRUTEAKTINTOWERENTRANCE_SAGE1
|
|
|
|
const ECRUTEAKTINTOWERENTRANCE_SAGE2
|
|
|
|
const ECRUTEAKTINTOWERENTRANCE_SAGE3
|
|
|
|
const ECRUTEAKTINTOWERENTRANCE_GRAMPS
|
2015-11-27 05:22:14 +00:00
|
|
|
|
2018-01-23 05:30:07 +00:00
|
|
|
EcruteakTinTowerEntrance_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2022-08-09 22:04:18 +00:00
|
|
|
scene_script EcruteakTinTowerEntranceNoop1Scene, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS
|
|
|
|
scene_script EcruteakTinTowerEntranceNoop2Scene, SCENE_ECRUTEAKTINTOWERENTRANCE_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2022-08-09 22:04:18 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, EcruteakTinTowerEntranceInitializeSagesCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
EcruteakTinTowerEntranceNoop1Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
EcruteakTinTowerEntranceNoop2Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
EcruteakTinTowerEntranceInitializeSagesCallback:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_FOUGHT_SUICUNE
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .DontBlockTower
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .DontBlockTower
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .BlockTower
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.BlockTower:
|
|
|
|
clearevent EVENT_RANG_CLEAR_BELL_1
|
|
|
|
setevent EVENT_RANG_CLEAR_BELL_2
|
2018-01-23 05:30:07 +00:00
|
|
|
setevent EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem CLEAR_BELL
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .NoClearBell
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS
|
2015-07-18 19:46:38 +00:00
|
|
|
.NoClearBell:
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.DontBlockTower:
|
2018-01-23 05:30:07 +00:00
|
|
|
clearevent EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2021-02-05 17:44:21 +00:00
|
|
|
EcruteakTinTowerEntranceSageBlocksLeft:
|
2015-07-18 19:46:38 +00:00
|
|
|
checkevent EVENT_RANG_CLEAR_BELL_2
|
2021-02-05 17:44:21 +00:00
|
|
|
iftrue EcruteakTinTowerEntranceAlreadyBlocked
|
|
|
|
applymovement ECRUTEAKTINTOWERENTRANCE_SAGE2, EcruteakTinTowerEntranceSageBlocksLeftMovement
|
2018-01-23 05:30:07 +00:00
|
|
|
moveobject ECRUTEAKTINTOWERENTRANCE_SAGE1, 4, 6
|
|
|
|
appear ECRUTEAKTINTOWERENTRANCE_SAGE1
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 5
|
2018-01-23 05:30:07 +00:00
|
|
|
disappear ECRUTEAKTINTOWERENTRANCE_SAGE2
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2021-02-05 17:44:21 +00:00
|
|
|
EcruteakTinTowerEntranceSageBlocksRight:
|
2015-07-18 19:46:38 +00:00
|
|
|
checkevent EVENT_RANG_CLEAR_BELL_1
|
2021-02-05 17:44:21 +00:00
|
|
|
iftrue EcruteakTinTowerEntranceAlreadyBlocked
|
|
|
|
applymovement ECRUTEAKTINTOWERENTRANCE_SAGE1, EcruteakTinTowerEntranceSageBlocksRightMovement
|
2018-01-23 05:30:07 +00:00
|
|
|
moveobject ECRUTEAKTINTOWERENTRANCE_SAGE2, 5, 6
|
|
|
|
appear ECRUTEAKTINTOWERENTRANCE_SAGE2
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 5
|
2018-01-23 05:30:07 +00:00
|
|
|
disappear ECRUTEAKTINTOWERENTRANCE_SAGE1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2021-02-05 17:44:21 +00:00
|
|
|
EcruteakTinTowerEntranceAlreadyBlocked:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .CheckForClearBell
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_FOGBADGE
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .BlockPassage_GotFogBadge
|
2018-03-01 22:33:43 +00:00
|
|
|
writetext EcruteakTinTowerEntranceSageText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.BlockPassage_GotFogBadge:
|
2018-03-01 22:33:43 +00:00
|
|
|
writetext EcruteakTinTowerEntranceSageText_GotFogBadge
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.CheckForClearBell:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .AllowedThrough
|
2018-01-24 15:46:49 +00:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2018-03-01 22:33:43 +00:00
|
|
|
iftrue .RangClearBell
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem CLEAR_BELL
|
2018-03-01 22:33:43 +00:00
|
|
|
iftrue .GotClearBell
|
|
|
|
writetext EcruteakTinTowerEntranceSageText_NoClearBell
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
.GotClearBell:
|
|
|
|
writetext EcruteakTinTowerEntranceSageText_HearsClearBell
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_NOOP
|
2015-07-18 19:46:38 +00:00
|
|
|
setevent EVENT_RANG_CLEAR_BELL_2
|
|
|
|
clearevent EVENT_RANG_CLEAR_BELL_1
|
2018-01-24 15:46:49 +00:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.AllowedThrough:
|
2018-03-01 22:33:43 +00:00
|
|
|
writetext EcruteakTinTowerEntranceSageText_PleaseDoGoOn
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
.RangClearBell:
|
|
|
|
writetext EcruteakTinTowerEntranceSageText_HeardClearBell
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceWanderingSageScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_CLEAR_BELL
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .GotClearBell
|
2018-03-01 22:33:43 +00:00
|
|
|
writetext EcruteakTinTowerEntranceWanderingSageText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.GotClearBell:
|
2018-03-01 22:33:43 +00:00
|
|
|
writetext EcruteakTinTowerEntranceWanderingSageText_GotClearBell
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 05:30:07 +00:00
|
|
|
EcruteakTinTowerEntranceGrampsScript:
|
|
|
|
jumptextfaceplayer EcruteakTinTowerEntranceGrampsText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2021-02-05 17:44:21 +00:00
|
|
|
EcruteakTinTowerEntranceSageBlocksLeftMovement:
|
2013-02-17 06:54:07 +00:00
|
|
|
fix_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
remove_fixed_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2021-02-05 17:44:21 +00:00
|
|
|
EcruteakTinTowerEntranceSageBlocksRightMovement:
|
2013-02-17 06:54:07 +00:00
|
|
|
fix_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
remove_fixed_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "TIN TOWER is off"
|
|
|
|
line "limits to anyone"
|
|
|
|
|
|
|
|
para "without ECRUTEAK"
|
|
|
|
line "GYM's BADGE."
|
|
|
|
|
|
|
|
para "Sorry, but you'll"
|
|
|
|
line "have to leave."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText_GotFogBadge:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "TIN TOWER is off"
|
|
|
|
line "limits to anyone"
|
|
|
|
|
|
|
|
para "without ECRUTEAK"
|
|
|
|
line "GYM's BADGE."
|
|
|
|
|
|
|
|
para "Ah!"
|
|
|
|
|
|
|
|
para "ECRUTEAK's GYM"
|
|
|
|
line "BADGE! Please, go"
|
|
|
|
cont "right through."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText_NoClearBell:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A momentous event"
|
|
|
|
line "has occurred."
|
|
|
|
|
|
|
|
para "I beg your pardon,"
|
|
|
|
line "but I must ask you"
|
|
|
|
cont "to leave."
|
|
|
|
|
|
|
|
para "…What soothes the"
|
|
|
|
line "soul…"
|
|
|
|
|
|
|
|
para "The WISE TRIO say"
|
|
|
|
line "things that are so"
|
|
|
|
|
|
|
|
para "very difficult to"
|
|
|
|
line "understand…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText_HearsClearBell:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A momentous event"
|
|
|
|
line "has occurred."
|
|
|
|
|
|
|
|
para "I beg your pardon,"
|
|
|
|
line "but I must ask you"
|
|
|
|
cont "to leave."
|
|
|
|
|
2018-01-19 07:30:19 +00:00
|
|
|
para "<……><……><……>"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "Ah!"
|
|
|
|
|
|
|
|
para "The sound of that"
|
|
|
|
line "CLEAR BELL!"
|
|
|
|
|
|
|
|
para "It… It's sublime!"
|
|
|
|
|
|
|
|
para "I've never heard"
|
|
|
|
line "so beautiful a"
|
|
|
|
cont "sound before!"
|
|
|
|
|
|
|
|
para "That bell's chime"
|
|
|
|
line "is indicative of"
|
|
|
|
cont "the bearer's soul."
|
|
|
|
|
|
|
|
para "You…"
|
|
|
|
|
|
|
|
para "You may be able to"
|
|
|
|
line "make it through"
|
|
|
|
cont "TIN TOWER."
|
|
|
|
|
|
|
|
para "Please, do go on."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText_PleaseDoGoOn:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Please, do go on."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceSageText_HeardClearBell:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That bell's chime"
|
|
|
|
line "is indicative of"
|
|
|
|
cont "the bearer's soul."
|
|
|
|
|
|
|
|
para "You…"
|
|
|
|
|
|
|
|
para "You may be able to"
|
|
|
|
line "make it through"
|
|
|
|
cont "TIN TOWER."
|
|
|
|
|
|
|
|
para "Please, do go on."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceWanderingSageText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The TIN TOWER"
|
|
|
|
line "ahead is a nine-"
|
|
|
|
|
|
|
|
para "tier tower of"
|
|
|
|
line "divine beauty."
|
|
|
|
|
|
|
|
para "It soothes the"
|
|
|
|
line "soul of all who"
|
|
|
|
cont "see it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 22:33:43 +00:00
|
|
|
EcruteakTinTowerEntranceWanderingSageText_GotClearBell:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The TIN TOWER"
|
|
|
|
line "shook! A #MON"
|
|
|
|
|
|
|
|
para "must have returned"
|
|
|
|
line "to the top!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-23 05:30:07 +00:00
|
|
|
EcruteakTinTowerEntranceGrampsText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Two towers…"
|
|
|
|
line "Two #MON…"
|
|
|
|
|
|
|
|
para "But when one"
|
|
|
|
line "burned down, both"
|
|
|
|
|
|
|
|
para "#MON flew away,"
|
|
|
|
line "never to return."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-23 05:30:07 +00:00
|
|
|
EcruteakTinTowerEntrance_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 4, 17, ECRUTEAK_CITY, 3
|
|
|
|
warp_event 5, 17, ECRUTEAK_CITY, 3
|
|
|
|
warp_event 5, 3, ECRUTEAK_TIN_TOWER_ENTRANCE, 4
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 17, 15, ECRUTEAK_TIN_TOWER_ENTRANCE, 3
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 17, 3, WISE_TRIOS_ROOM, 3
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2022-07-29 21:43:10 +00:00
|
|
|
coord_event 4, 7, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS, EcruteakTinTowerEntranceSageBlocksLeft
|
|
|
|
coord_event 5, 7, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS, EcruteakTinTowerEntranceSageBlocksRight
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-03-01 22:33:43 +00:00
|
|
|
object_event 4, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_1
|
|
|
|
object_event 5, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_2
|
|
|
|
object_event 6, 9, SPRITE_SAGE, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceWanderingSageScript, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 3, 11, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceGrampsScript, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
|