2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const BURNEDTOWER1F_ROCK
|
2016-04-07 10:13:59 +00:00
|
|
|
const BURNEDTOWER1F_EUSINE
|
2015-11-27 05:22:14 +00:00
|
|
|
const BURNEDTOWER1F_SILVER
|
|
|
|
const BURNEDTOWER1F_MORTY
|
|
|
|
const BURNEDTOWER1F_POKE_BALL
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BurnedTower1F_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
|
|
|
|
|
|
|
; triggers
|
2016-01-05 13:46:37 +00:00
|
|
|
maptrigger .Trigger0
|
|
|
|
maptrigger .Trigger1
|
|
|
|
maptrigger .Trigger2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2016-01-06 12:44:50 +00:00
|
|
|
dbw MAPCALLBACK_TILES, .HoleAndLadder
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
.Trigger0:
|
|
|
|
priorityjump .EusineTrigger
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
.Trigger1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
.Trigger2:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
.HoleAndLadder:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_HOLE_IN_BURNED_TOWER
|
|
|
|
iftrue .Next
|
|
|
|
changeblock $a, $8, $32 ; hole
|
2016-04-10 18:42:14 +00:00
|
|
|
.Next:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RELEASED_THE_BEASTS
|
2015-07-10 12:08:03 +00:00
|
|
|
iftrue .Done
|
|
|
|
changeblock $6, $e, $9 ; ladder
|
2016-04-10 18:42:14 +00:00
|
|
|
.Done:
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
.EusineTrigger:
|
2016-04-07 10:13:59 +00:00
|
|
|
spriteface BURNEDTOWER1F_EUSINE, DOWN
|
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_EUSINE, 15
|
|
|
|
applymovement BURNEDTOWER1F_EUSINE, BurnedTower1FEusineMovement
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-15 16:21:58 +00:00
|
|
|
writetext BurnedTower1FEusineIntroText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2016-04-07 10:13:59 +00:00
|
|
|
moveperson BURNEDTOWER1F_EUSINE, $9, $e
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerRivalBattleScript:
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 15
|
2015-12-02 02:54:11 +00:00
|
|
|
special Special_FadeOutMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface BURNEDTOWER1F_SILVER, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-12-15 16:21:58 +00:00
|
|
|
applymovement PLAYER, BurnedTowerMovement_PlayerWalksToSilver
|
|
|
|
applymovement BURNEDTOWER1F_SILVER, BurnedTowerMovement_SilverWalksToPlayer
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-15 16:21:58 +00:00
|
|
|
writetext BurnedTowerSilver_BeforeText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2015-12-15 16:21:58 +00:00
|
|
|
iftrue .totodile
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2015-12-15 16:21:58 +00:00
|
|
|
iftrue .chikorita
|
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 16:38:40 +00:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_9
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-15 16:21:58 +00:00
|
|
|
jump .returnfrombattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.totodile
|
2015-12-15 16:21:58 +00:00
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 16:38:40 +00:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_7
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-15 16:21:58 +00:00
|
|
|
jump .returnfrombattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.chikorita
|
2015-12-15 16:21:58 +00:00
|
|
|
winlosstext BurnedTowerSilver_WinText, BurnedTowerSilver_LossText
|
2015-12-09 16:38:40 +00:00
|
|
|
setlasttalked BURNEDTOWER1F_SILVER
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_8
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-15 16:21:58 +00:00
|
|
|
jump .returnfrombattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.returnfrombattle
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_AFTER
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-15 16:21:58 +00:00
|
|
|
writetext BurnedTowerSilver_AfterText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
dotrigger $2
|
2015-07-18 19:46:38 +00:00
|
|
|
setevent EVENT_RIVAL_BURNED_TOWER
|
2015-12-02 02:54:11 +00:00
|
|
|
special Special_FadeOutMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
|
|
|
earthquake 50
|
2015-07-22 06:49:18 +00:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $a, $8, $25
|
|
|
|
reloadmappart
|
|
|
|
pause 15
|
2015-12-15 16:21:58 +00:00
|
|
|
applymovement PLAYER, BurnedTower1FMovement_PlayerStartsToFall
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_KINESIS
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 20
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-15 16:21:58 +00:00
|
|
|
writetext BurnedTowerSilver_AfterText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-10 12:08:03 +00:00
|
|
|
setevent EVENT_HOLE_IN_BURNED_TOWER
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FEusineScript:
|
|
|
|
jumptextfaceplayer BurnedTower1FEusineText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FMortyScript:
|
|
|
|
jumptextfaceplayer BurnedTower1FMortyText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BurnedTower1FRock:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd smashrock
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FHiddenEther:
|
2015-07-18 19:46:38 +00:00
|
|
|
dwb EVENT_BURNED_TOWER_1F_HIDDEN_ETHER, ETHER
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FHiddenUltraBall:
|
2015-07-18 19:46:38 +00:00
|
|
|
dwb EVENT_BURNED_TOWER_1F_HIDDEN_ULTRA_BALL, ULTRA_BALL
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
BurnedTower1FHPUp:
|
|
|
|
itemball HP_UP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerMovement_PlayerWalksToSilver:
|
2016-05-14 17:46:14 +00:00
|
|
|
step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerMovement_SilverWalksToPlayer:
|
2016-05-14 17:46:14 +00:00
|
|
|
step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FMovement_PlayerStartsToFall:
|
|
|
|
skyfall_top
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FEusineMovement:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerSilver_BeforeText:
|
2015-11-20 20:15:32 +00:00
|
|
|
text "<......> <......> <......>"
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerSilver_WinText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…Humph!"
|
|
|
|
|
|
|
|
para "This is why I hate"
|
|
|
|
line "battling wimps."
|
|
|
|
|
|
|
|
para "There's no"
|
|
|
|
line "challenge in it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerSilver_AfterText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…Aw, whatever."
|
|
|
|
|
|
|
|
para "You would never be"
|
|
|
|
line "able to catch a"
|
|
|
|
|
|
|
|
para "legendary #MON"
|
|
|
|
line "anyway."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerSilver_LossText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTowerSilver_AfterText2:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FEusineIntroText:
|
2014-03-06 05:29:44 +00: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-28 04:59:17 +00:00
|
|
|
para "<PLAYER>? Glad to"
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FEusineText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
BurnedTower1FMortyText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BurnedTower1F_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 14
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $f, $9, 13, ECRUTEAK_CITY
|
|
|
|
warp_def $f, $a, 13, ECRUTEAK_CITY
|
2015-12-15 15:55:56 +00:00
|
|
|
warp_def $9, $a, 1, BURNED_TOWER_B1F
|
|
|
|
warp_def $5, $5, 1, BURNED_TOWER_B1F
|
|
|
|
warp_def $6, $5, 1, BURNED_TOWER_B1F
|
|
|
|
warp_def $6, $4, 1, BURNED_TOWER_B1F
|
|
|
|
warp_def $4, $f, 2, BURNED_TOWER_B1F
|
|
|
|
warp_def $5, $f, 2, BURNED_TOWER_B1F
|
|
|
|
warp_def $7, $a, 3, BURNED_TOWER_B1F
|
|
|
|
warp_def $e, $5, 4, BURNED_TOWER_B1F
|
|
|
|
warp_def $e, $4, 4, BURNED_TOWER_B1F
|
|
|
|
warp_def $e, $e, 5, BURNED_TOWER_B1F
|
|
|
|
warp_def $e, $f, 5, BURNED_TOWER_B1F
|
|
|
|
warp_def $f, $7, 6, BURNED_TOWER_B1F
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2015-12-15 16:21:58 +00:00
|
|
|
xy_trigger 1, $9, $b, $0, BurnedTowerRivalBattleScript, $0, $0
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-12-15 16:21:58 +00:00
|
|
|
signpost 7, 8, SIGNPOST_ITEM, BurnedTower1FHiddenEther
|
|
|
|
signpost 11, 13, SIGNPOST_ITEM, BurnedTower1FHiddenUltraBall
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 5
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_ROCK, 4, 15, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BurnedTower1FRock, -1
|
2015-12-15 16:21:58 +00:00
|
|
|
person_event SPRITE_SUPER_NERD, 12, 12, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, BurnedTower1FEusineScript, EVENT_BURNED_TOWER_1F_EUSINE
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_SILVER, 9, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, ObjectEvent, EVENT_RIVAL_BURNED_TOWER
|
2015-12-15 16:21:58 +00:00
|
|
|
person_event SPRITE_MORTY, 14, 14, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, BurnedTower1FMortyScript, EVENT_BURNED_TOWER_MORTY
|
2015-12-15 15:55:56 +00:00
|
|
|
person_event SPRITE_POKE_BALL, 2, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, BurnedTower1FHPUp, EVENT_BURNED_TOWER_1F_HP_UP
|