2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const BURNEDTOWER1F_ROCK
|
2016-04-07 03:13:59 -07:00
|
|
|
const BURNEDTOWER1F_EUSINE
|
2015-11-26 21:22:14 -08:00
|
|
|
const BURNEDTOWER1F_SILVER
|
|
|
|
const BURNEDTOWER1F_MORTY
|
|
|
|
const BURNEDTOWER1F_POKE_BALL
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BurnedTower1F_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .EusineScene ; SCENE_DEFAULT
|
|
|
|
scene_script .DummyScene1 ; SCENE_BURNEDTOWER1F_RIVAL_BATTLE
|
|
|
|
scene_script .DummyScene2 ; SCENE_BURNEDTOWER1F_NOTHING
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, .HoleAndLadder
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.EusineScene:
|
2021-06-08 17:35:04 -07:00
|
|
|
sdefer .MeetEusine
|
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-24 10:46:34 -08:00
|
|
|
.DummyScene2:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
.HoleAndLadder:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_HOLE_IN_BURNED_TOWER
|
2018-01-17 10:23:43 -08:00
|
|
|
iftrue .KeepHoleOpen
|
|
|
|
changeblock 10, 8, $32 ; floor
|
|
|
|
.KeepHoleOpen:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RELEASED_THE_BEASTS
|
2018-01-17 10:23:43 -08:00
|
|
|
iftrue .HideBasement
|
2018-01-14 16:26:55 -08:00
|
|
|
changeblock 6, 14, $09 ; ladder
|
2018-01-17 10:23:43 -08:00
|
|
|
.HideBasement:
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.MeetEusine:
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject BURNEDTOWER1F_EUSINE, DOWN
|
2016-04-07 03:13:59 -07:00
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_EUSINE, 15
|
|
|
|
applymovement BURNEDTOWER1F_EUSINE, BurnedTower1FEusineMovement
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-15 08:21:58 -08:00
|
|
|
writetext BurnedTower1FEusineIntroText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-01-09 15:45:25 -08:00
|
|
|
moveobject BURNEDTOWER1F_EUSINE, 9, 14
|
2018-02-01 09:40:58 -08:00
|
|
|
setscene SCENE_BURNEDTOWER1F_RIVAL_BATTLE
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerRivalBattleScript:
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 15
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject BURNEDTOWER1F_SILVER, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2015-12-15 08:21:58 -08:00
|
|
|
applymovement PLAYER, BurnedTowerMovement_PlayerWalksToSilver
|
|
|
|
applymovement BURNEDTOWER1F_SILVER, BurnedTowerMovement_SilverWalksToPlayer
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-15 08:21:58 -08:00
|
|
|
writetext BurnedTowerSilver_BeforeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2015-12-15 08:21:58 -08:00
|
|
|
iftrue .totodile
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2015-12-15 08:21:58 -08:00
|
|
|
iftrue .chikorita
|
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 08:38:40 -08:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_3_TOTODILE
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .returnfrombattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.totodile
|
2015-12-15 08:21:58 -08:00
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 08:38:40 -08:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_3_CHIKORITA
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .returnfrombattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.chikorita
|
2015-12-15 08:21:58 -08:00
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 08:38:40 -08:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_3_CYNDAQUIL
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .returnfrombattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.returnfrombattle
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_AFTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-15 08:21:58 -08:00
|
|
|
writetext BurnedTowerSilver_AfterText1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-01 09:40:58 -08:00
|
|
|
setscene SCENE_BURNEDTOWER1F_NOTHING
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_RIVAL_BURNED_TOWER
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
earthquake 50
|
2015-07-21 23:49:18 -07:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 10, 8, $25 ; hole
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
|
|
|
pause 15
|
2015-12-15 08:21:58 -08:00
|
|
|
applymovement PLAYER, BurnedTower1FMovement_PlayerStartsToFall
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_KINESIS
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 20
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-15 08:21:58 -08:00
|
|
|
writetext BurnedTowerSilver_AfterText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-10 05:08:03 -07:00
|
|
|
setevent EVENT_HOLE_IN_BURNED_TOWER
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FEusineScript:
|
|
|
|
jumptextfaceplayer BurnedTower1FEusineText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FMortyScript:
|
|
|
|
jumptextfaceplayer BurnedTower1FMortyText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BurnedTower1FRock:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd SmashRockScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FHiddenEther:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem ETHER, EVENT_BURNED_TOWER_1F_HIDDEN_ETHER
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FHiddenUltraBall:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem ULTRA_BALL, EVENT_BURNED_TOWER_1F_HIDDEN_ULTRA_BALL
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BurnedTower1FHPUp:
|
|
|
|
itemball HP_UP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerMovement_PlayerWalksToSilver:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerMovement_SilverWalksToPlayer:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FMovement_PlayerStartsToFall:
|
|
|
|
skyfall_top
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FEusineMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerSilver_BeforeText:
|
2018-01-18 23:30:19 -08:00
|
|
|
text "<……> <……> <……>"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "…Oh, it's you."
|
|
|
|
|
|
|
|
para "I came looking for"
|
|
|
|
line "some legendary"
|
|
|
|
|
|
|
|
para "#MON that they"
|
|
|
|
line "say roosts here."
|
|
|
|
|
|
|
|
para "But there's"
|
|
|
|
line "nothing here!"
|
|
|
|
|
|
|
|
para "Nothing after all"
|
|
|
|
line "the trouble of"
|
|
|
|
|
|
|
|
para "coming to this"
|
|
|
|
line "dump? No way!"
|
|
|
|
|
|
|
|
para "It's all your"
|
|
|
|
line "fault!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerSilver_WinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Humph!"
|
|
|
|
|
|
|
|
para "This is why I hate"
|
|
|
|
line "battling wimps."
|
|
|
|
|
|
|
|
para "There's no"
|
|
|
|
line "challenge in it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerSilver_AfterText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Aw, whatever."
|
|
|
|
|
|
|
|
para "You would never be"
|
|
|
|
line "able to catch a"
|
|
|
|
|
|
|
|
para "legendary #MON"
|
|
|
|
line "anyway."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerSilver_LossText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Humph!"
|
|
|
|
|
|
|
|
para "This is why I hate"
|
|
|
|
line "battling wimps."
|
|
|
|
|
|
|
|
para "It's just a waste"
|
|
|
|
line "of my time."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTowerSilver_AfterText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Humph!"
|
|
|
|
|
|
|
|
para "What are you doing"
|
|
|
|
line "falling into a"
|
|
|
|
|
|
|
|
para "hole? Some genius"
|
|
|
|
line "you are!"
|
|
|
|
|
|
|
|
para "Serves you right!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FEusineIntroText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "EUSINE: My name's"
|
|
|
|
line "EUSINE."
|
|
|
|
|
|
|
|
para "I'm on the trail"
|
|
|
|
line "of a #MON named"
|
|
|
|
cont "SUICUNE."
|
|
|
|
|
|
|
|
para "And you are…?"
|
|
|
|
|
2015-06-27 21:59:17 -07:00
|
|
|
para "<PLAYER>? Glad to"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "meet you!"
|
|
|
|
|
|
|
|
para "I heard rumors"
|
|
|
|
line "that SUICUNE is in"
|
|
|
|
|
|
|
|
para "this BURNED TOWER,"
|
|
|
|
line "so I came to look."
|
|
|
|
|
|
|
|
para "But where exactly"
|
|
|
|
line "could it be?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FEusineText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "EUSINE: I heard"
|
|
|
|
line "that SUICUNE is in"
|
|
|
|
|
|
|
|
para "this BURNED TOWER,"
|
|
|
|
line "so I came to look."
|
|
|
|
|
|
|
|
para "But where exactly"
|
|
|
|
line "could it be?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
BurnedTower1FMortyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MORTY: ECRUTEAK's"
|
|
|
|
line "GYM LEADER has to"
|
|
|
|
|
|
|
|
para "study what are"
|
|
|
|
line "said to be the"
|
|
|
|
|
|
|
|
para "legendary #MON"
|
|
|
|
line "--SUICUNE, ENTEI"
|
|
|
|
cont "and RAIKOU."
|
|
|
|
|
|
|
|
para "EUSINE is here, so"
|
|
|
|
line "I've decided to"
|
|
|
|
|
|
|
|
para "investigate the"
|
|
|
|
line "TOWER with him."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BurnedTower1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 9, 15, ECRUTEAK_CITY, 13
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 10, 15, ECRUTEAK_CITY, 13
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 10, 9, BURNED_TOWER_B1F, 1
|
|
|
|
warp_event 5, 5, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
|
|
|
warp_event 5, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
|
|
|
warp_event 4, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
|
|
|
warp_event 15, 4, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
|
|
|
warp_event 15, 5, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
|
|
|
warp_event 10, 7, BURNED_TOWER_B1F, 3 ; inaccessible, left over from G/S
|
|
|
|
warp_event 5, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
|
|
|
warp_event 4, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
|
|
|
warp_event 14, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
|
|
|
warp_event 15, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
|
|
|
warp_event 7, 15, BURNED_TOWER_B1F, 6 ; inaccessible, left over from G/S
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2018-02-01 19:22:07 -08:00
|
|
|
coord_event 11, 9, SCENE_BURNEDTOWER1F_RIVAL_BATTLE, BurnedTowerRivalBattleScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 8, 7, BGEVENT_ITEM, BurnedTower1FHiddenEther
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 13, 11, BGEVENT_ITEM, BurnedTower1FHiddenUltraBall
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 15, 4, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BurnedTower1FRock, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 12, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BurnedTower1FEusineScript, EVENT_BURNED_TOWER_1F_EUSINE
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 8, 9, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, ObjectEvent, EVENT_RIVAL_BURNED_TOWER
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 14, 14, SPRITE_MORTY, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BurnedTower1FMortyScript, EVENT_BURNED_TOWER_MORTY
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 14, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, BurnedTower1FHPUp, EVENT_BURNED_TOWER_1F_HP_UP
|