2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const ECRUTEAKHOUSE_SAGE1
|
|
|
|
const ECRUTEAKHOUSE_SAGE2
|
|
|
|
const ECRUTEAKHOUSE_SAGE3
|
|
|
|
const ECRUTEAKHOUSE_GRAMPS
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
EcruteakHouse_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-10 14:53:21 -08:00
|
|
|
maptrigger .DummyTrigger0
|
|
|
|
maptrigger .DummyTrigger1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_OBJECTS, .InitializeSages
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.DummyTrigger0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.DummyTrigger1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.InitializeSages:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_FOUGHT_SUICUNE
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .DontBlockTower
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .DontBlockTower
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .BlockTower
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.BlockTower:
|
|
|
|
clearevent EVENT_RANG_CLEAR_BELL_1
|
|
|
|
setevent EVENT_RANG_CLEAR_BELL_2
|
|
|
|
setevent EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem CLEAR_BELL
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .NoClearBell
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $0
|
2015-07-18 12:46:38 -07:00
|
|
|
.NoClearBell:
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.DontBlockTower:
|
|
|
|
clearevent EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
EcruteakHouse_XYTrigger1:
|
|
|
|
checkevent EVENT_RANG_CLEAR_BELL_2
|
|
|
|
iftrue EcruteakHouse_XYTrigger_DontMove
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement ECRUTEAKHOUSE_SAGE2, MovementData_0x980c7
|
|
|
|
moveperson ECRUTEAKHOUSE_SAGE1, $4, $6
|
|
|
|
appear ECRUTEAKHOUSE_SAGE1
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear ECRUTEAKHOUSE_SAGE2
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
EcruteakHouse_XYTrigger2:
|
|
|
|
checkevent EVENT_RANG_CLEAR_BELL_1
|
|
|
|
iftrue EcruteakHouse_XYTrigger_DontMove
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement ECRUTEAKHOUSE_SAGE1, MovementData_0x980cc
|
|
|
|
moveperson ECRUTEAKHOUSE_SAGE2, $5, $6
|
|
|
|
appear ECRUTEAKHOUSE_SAGE2
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear ECRUTEAKHOUSE_SAGE1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
EcruteakHouse_XYTrigger_DontMove:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
SageScript_0x98062:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .CheckForClearBell
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_FOGBADGE
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .BlockPassage_GotFogBadge
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x980d1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.BlockPassage_GotFogBadge:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x98131
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.CheckForClearBell:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .AllowedThrough
|
2015-07-20 00:51:52 -07:00
|
|
|
checkevent EVENT_GAVE_KURT_APRICORNS
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .Event000
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem CLEAR_BELL
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .RingClearBell
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x981a4
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.RingClearBell:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x98250
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
dotrigger $1
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_RANG_CLEAR_BELL_2
|
|
|
|
clearevent EVENT_RANG_CLEAR_BELL_1
|
2015-07-20 00:51:52 -07:00
|
|
|
setevent EVENT_GAVE_KURT_APRICORNS
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.AllowedThrough:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9837e
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.Event000:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x98391
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
SageScript_0x980b0:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_CLEAR_BELL
|
2015-07-18 12:46:38 -07:00
|
|
|
iftrue .GotClearBell
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9840b
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-18 12:46:38 -07:00
|
|
|
.GotClearBell:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9846f
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GrampsScript_0x980c4:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x984ab
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x980c7:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x980cc:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x980d1:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x98131:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x981a4:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x98250:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "A momentous event"
|
|
|
|
line "has occurred."
|
|
|
|
|
|
|
|
para "I beg your pardon,"
|
|
|
|
line "but I must ask you"
|
|
|
|
cont "to leave."
|
|
|
|
|
|
|
|
para $56, $56, $56
|
|
|
|
|
|
|
|
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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9837e:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please, do go on."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x98391:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9840b:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9846f:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The TIN TOWER"
|
|
|
|
line "shook! A #MON"
|
|
|
|
|
|
|
|
para "must have returned"
|
|
|
|
line "to the top!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x984ab:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
EcruteakHouse_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 5
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $11, $4, 3, ECRUTEAK_CITY
|
|
|
|
warp_def $11, $5, 3, ECRUTEAK_CITY
|
|
|
|
warp_def $3, $5, 4, ECRUTEAK_HOUSE
|
|
|
|
warp_def $f, $11, 3, ECRUTEAK_HOUSE
|
|
|
|
warp_def $3, $11, 3, WISE_TRIOS_ROOM
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-18 12:46:38 -07:00
|
|
|
xy_trigger 0, $7, $4, $0, EcruteakHouse_XYTrigger1, $0, $0
|
|
|
|
xy_trigger 0, $7, $5, $0, EcruteakHouse_XYTrigger2, $0, $0
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_SAGE, 6, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SageScript_0x98062, EVENT_RANG_CLEAR_BELL_1
|
|
|
|
person_event SPRITE_SAGE, 6, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SageScript_0x98062, EVENT_RANG_CLEAR_BELL_2
|
|
|
|
person_event SPRITE_SAGE, 9, 6, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SageScript_0x980b0, EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
|
|
|
|
person_event SPRITE_GRAMPS, 11, 3, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsScript_0x980c4, EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
|