2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const SPROUTTOWER3F_SAGE1
|
|
|
|
const SPROUTTOWER3F_SAGE2
|
|
|
|
const SPROUTTOWER3F_SAGE3
|
|
|
|
const SPROUTTOWER3F_SAGE4
|
|
|
|
const SPROUTTOWER3F_POKE_BALL1
|
|
|
|
const SPROUTTOWER3F_POKE_BALL2
|
|
|
|
const SPROUTTOWER3F_SILVER
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
SproutTower3F_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; scene scripts
|
2018-02-01 17:40:58 +00:00
|
|
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
2018-02-01 20:06:06 +00:00
|
|
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
SproutTower3FRivalScene:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, UP
|
2015-07-22 06:49:18 +00:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 16:17:05 +00:00
|
|
|
special FadeOutMusic
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TACKLE
|
|
|
|
playsound SFX_ELEVATOR
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 79
|
|
|
|
pause 15
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TACKLE
|
|
|
|
playsound SFX_ELEVATOR
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 79
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x184a1d
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a22
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext SproutTowerElderLecturesRivalText
|
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
|
|
|
showemote EMOTE_SHOCK, SPROUTTOWER3F_SILVER, 15
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject SPROUTTOWER3F_SILVER, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a24
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-03-08 03:13:24 +00:00
|
|
|
writetext SproutTowerRivalOnlyCareAboutStrongText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject SPROUTTOWER3F_SILVER, UP
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-03-08 03:13:24 +00:00
|
|
|
writetext SproutTowerRivalUsedEscapeRopeText
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_WARP_TO
|
2018-01-24 16:17:05 +00:00
|
|
|
special FadeBlackQuickly
|
2018-01-02 17:49:25 +00:00
|
|
|
special ReloadSpritesNoPalettes
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear SPROUTTOWER3F_SILVER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2018-01-24 16:17:05 +00:00
|
|
|
special FadeInQuickly
|
2018-02-01 20:06:06 +00:00
|
|
|
setscene SCENE_FINISHED
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageLiScript:
|
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_HM05_FLASH
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotFlash
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SageLiSeenText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-02 19:37:02 +00:00
|
|
|
winlosstext SageLiBeatenText, 0
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SAGE, LI
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-03-08 03:13:24 +00:00
|
|
|
writetext SageLiTakeThisFlashText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem HM_FLASH
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_HM05_FLASH
|
|
|
|
setevent EVENT_BEAT_SAGE_LI
|
2018-03-08 03:13:24 +00:00
|
|
|
writetext SageLiFlashExplanationText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotFlash:
|
2018-03-08 03:13:24 +00:00
|
|
|
writetext SageLiAfterBattleText
|
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
|
|
|
TrainerSageJin:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SAGE, JIN, EVENT_BEAT_SAGE_JIN, SageJinSeenText, SageJinBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SageJinAfterBattleText
|
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
|
|
|
TrainerSageTroy:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SAGE, TROY, EVENT_BEAT_SAGE_TROY, SageTroySeenText, SageTroyBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SageTroyAfterBattleText
|
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
|
|
|
TrainerSageNeal:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SAGE, NEAL, EVENT_BEAT_SAGE_NEAL, SageNealSeenText, SageNealBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SageNealAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
SproutTower3FPainting:
|
|
|
|
jumptext SproutTower3FPaintingText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
SproutTower3FStatue:
|
|
|
|
jumptext SproutTower3FStatueText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
SproutTower3FPotion:
|
|
|
|
itemball POTION
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
SproutTower3FEscapeRope:
|
|
|
|
itemball ESCAPE_ROPE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x184a1d:
|
2016-05-14 17:46:14 +00:00
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x184a22:
|
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
|
|
|
MovementData_0x184a24:
|
2016-05-14 17:46:14 +00:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
SproutTowerElderLecturesRivalText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ELDER: You are in-"
|
|
|
|
line "deed skilled as a"
|
|
|
|
cont "trainer."
|
|
|
|
|
|
|
|
para "As promised, here"
|
|
|
|
line "is your HM."
|
|
|
|
|
|
|
|
para "But let me say"
|
|
|
|
line "this: You should"
|
|
|
|
|
|
|
|
para "treat your"
|
|
|
|
line "#MON better."
|
|
|
|
|
|
|
|
para "The way you battle"
|
|
|
|
line "is far too harsh."
|
|
|
|
|
|
|
|
para "#MON are not"
|
|
|
|
line "tools of war…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:13:24 +00:00
|
|
|
SproutTowerRivalOnlyCareAboutStrongText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…"
|
|
|
|
line "…Humph!"
|
|
|
|
|
|
|
|
para "He claims to be"
|
|
|
|
line "the ELDER but"
|
|
|
|
cont "he's weak."
|
|
|
|
|
|
|
|
para "It stands to"
|
|
|
|
line "reason."
|
|
|
|
|
|
|
|
para "I'd never lose to"
|
|
|
|
line "fools who babble"
|
|
|
|
|
|
|
|
para "about being nice"
|
|
|
|
line "to #MON."
|
|
|
|
|
|
|
|
para "I only care about"
|
|
|
|
line "strong #MON"
|
|
|
|
cont "that can win."
|
|
|
|
|
|
|
|
para "I really couldn't"
|
|
|
|
line "care less about"
|
|
|
|
cont "weak #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:13:24 +00:00
|
|
|
SproutTowerRivalUsedEscapeRopeText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<RIVAL> used an"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "ESCAPE ROPE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageLiSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "So good of you to"
|
|
|
|
line "come here!"
|
|
|
|
|
|
|
|
para "SPROUT TOWER is a"
|
|
|
|
line "place of training."
|
|
|
|
|
|
|
|
para "People and #MON"
|
|
|
|
line "test their bonds"
|
|
|
|
|
|
|
|
para "to build a bright"
|
|
|
|
line "future together."
|
|
|
|
|
|
|
|
para "I am the final"
|
|
|
|
line "test."
|
|
|
|
|
|
|
|
para "Allow me to check"
|
|
|
|
line "the ties between"
|
|
|
|
|
|
|
|
para "your #MON and"
|
|
|
|
line "you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageLiBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ah, excellent!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:13:24 +00:00
|
|
|
SageLiTakeThisFlashText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You and your #-"
|
|
|
|
line "MON should have"
|
|
|
|
|
|
|
|
para "no problem using"
|
|
|
|
line "this move."
|
|
|
|
|
|
|
|
para "Take this FLASH"
|
|
|
|
line "HM."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:13:24 +00:00
|
|
|
SageLiFlashExplanationText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "FLASH illuminates"
|
|
|
|
line "even the darkest"
|
|
|
|
cont "of all places."
|
|
|
|
|
|
|
|
para "But to use it out"
|
|
|
|
line "of battle, you"
|
|
|
|
|
|
|
|
para "need the BADGE"
|
|
|
|
line "from VIOLET's GYM."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:13:24 +00:00
|
|
|
SageLiAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I hope you learn"
|
|
|
|
line "and grow from your"
|
|
|
|
cont "journey."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageJinSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I train to find"
|
|
|
|
line "enlightenment in"
|
|
|
|
cont "#MON!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageJinBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My training is"
|
|
|
|
line "incomplete…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SageJinAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "As #MON grow"
|
|
|
|
line "stronger, so does"
|
|
|
|
cont "the trainer."
|
|
|
|
|
|
|
|
para "No, wait. As the"
|
|
|
|
line "trainer grows"
|
|
|
|
|
|
|
|
para "stronger, so do"
|
|
|
|
line "the #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageTroySeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Let me see how"
|
|
|
|
line "much you trust"
|
|
|
|
cont "your #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageTroyBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Yes, your trust is"
|
|
|
|
line "real!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SageTroyAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It is not far to"
|
|
|
|
line "the ELDER."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageNealSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The ELDER's HM"
|
|
|
|
line "lights even pitch-"
|
|
|
|
cont "black darkness."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SageNealBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It is my head that"
|
|
|
|
line "is bright!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SageNealAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Let there be light"
|
|
|
|
line "on your journey."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
SproutTower3FPaintingText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's a powerful"
|
|
|
|
line "painting of a"
|
|
|
|
cont "BELLSPROUT."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
SproutTower3FStatueText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A #MON statue…"
|
|
|
|
|
|
|
|
para "It looks very"
|
|
|
|
line "distinguished."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
SproutTower3F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; warp events
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 10, 14, SPROUT_TOWER_2F, 4
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; coord events
|
2018-02-28 22:47:31 +00:00
|
|
|
coord_event 11, 9, SCENE_DEFAULT, SproutTower3FRivalScene
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 6 ; bg events
|
2018-02-28 00:33:38 +00:00
|
|
|
bg_event 8, 1, BGEVENT_READ, SproutTower3FStatue
|
|
|
|
bg_event 11, 1, BGEVENT_READ, SproutTower3FStatue
|
|
|
|
bg_event 9, 0, BGEVENT_READ, SproutTower3FPainting
|
|
|
|
bg_event 10, 0, BGEVENT_READ, SproutTower3FPainting
|
|
|
|
bg_event 5, 15, BGEVENT_READ, SproutTower3FStatue
|
|
|
|
bg_event 14, 15, BGEVENT_READ, SproutTower3FStatue
|
2017-12-24 18:46:34 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 7 ; object events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 8, 13, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageJin, -1
|
|
|
|
object_event 8, 8, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerSageTroy, -1
|
|
|
|
object_event 10, 2, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SageLiScript, -1
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 11, 11, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSageNeal, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 6, 14, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FPotion, EVENT_SPROUT_TOWER_3F_POTION
|
|
|
|
object_event 14, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SproutTower3FEscapeRope, EVENT_SPROUT_TOWER_3F_ESCAPE_ROPE
|
|
|
|
object_event 10, 4, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_SPROUT_TOWER
|