2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const BURNEDTOWERB1F_BOULDER
|
|
|
|
const BURNEDTOWERB1F_RAIKOU1
|
|
|
|
const BURNEDTOWERB1F_ENTEI1
|
|
|
|
const BURNEDTOWERB1F_SUICUNE1
|
|
|
|
const BURNEDTOWERB1F_RAIKOU2
|
|
|
|
const BURNEDTOWERB1F_ENTEI2
|
|
|
|
const BURNEDTOWERB1F_SUICUNE2
|
|
|
|
const BURNEDTOWERB1F_POKE_BALL
|
2016-04-07 03:13:59 -07:00
|
|
|
const BURNEDTOWERB1F_EUSINE
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BurnedTowerB1F_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; scene scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
2018-02-01 12:06:06 -08:00
|
|
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, .LadderCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
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-10 14:53:21 -08:00
|
|
|
.LadderCallback:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RELEASED_THE_BEASTS
|
2018-01-17 10:23:43 -08:00
|
|
|
iftrue .HideLadder
|
|
|
|
changeblock 6, 14, $02 ; floor
|
|
|
|
.HideLadder:
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
ReleaseTheBeasts:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_NONE
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 30
|
2015-11-26 21:22:14 -08:00
|
|
|
appear BURNEDTOWERB1F_RAIKOU1
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_RAIKOU2
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
cry RAIKOU
|
2015-11-26 21:22:14 -08:00
|
|
|
appear BURNEDTOWERB1F_ENTEI1
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_ENTEI2
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
cry ENTEI
|
2015-11-26 21:22:14 -08:00
|
|
|
appear BURNEDTOWERB1F_SUICUNE1
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_SUICUNE2
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
cry SUICUNE
|
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_FROM
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, LEFT
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_RAIKOU1, BurnedTowerRaikouMovement
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_RAIKOU1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_FROM
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, RIGHT
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_ENTEI1, BurnedTowerEnteiMovement
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_ENTEI1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_FROM
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement1
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_FROM
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, DOWN
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement2
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 20
|
|
|
|
cry SUICUNE
|
|
|
|
pause 30
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_FROM
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement3
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, DOWN
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BURNEDTOWERB1F_SUICUNE1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_RELEASED_THE_BEASTS
|
2018-01-24 08:17:05 -08:00
|
|
|
special InitRoamMons
|
2018-02-01 12:06:06 -08:00
|
|
|
setmapscene ECRUTEAK_GYM, SCENE_FINISHED
|
2018-02-01 09:40:58 -08:00
|
|
|
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_ECRUTEAK_GYM_GRAMPS
|
|
|
|
clearevent EVENT_ECRUTEAK_CITY_GRAMPS
|
|
|
|
setevent EVENT_BURNED_TOWER_MORTY
|
|
|
|
setevent EVENT_BURNED_TOWER_1F_EUSINE
|
2016-04-07 03:13:59 -07:00
|
|
|
appear BURNEDTOWERB1F_EUSINE
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 6, 14, $1b ; ladder
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerB1FEusine:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2016-04-07 03:13:59 -07:00
|
|
|
writetext BurnedTowerB1FEusineText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_FACING
|
2018-02-28 13:50:43 -08:00
|
|
|
ifequal UP, .Movement2
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement1
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .Finish
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
.Movement2:
|
2016-04-07 03:13:59 -07:00
|
|
|
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement2
|
2018-02-28 13:50:43 -08:00
|
|
|
.Finish:
|
2016-04-07 03:13:59 -07:00
|
|
|
disappear BURNEDTOWERB1F_EUSINE
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
BurnedTowerB1FTMEndure:
|
|
|
|
itemball TM_ENDURE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BurnedTowerB1FBoulder:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd StrengthBoulderScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerRaikouMovement:
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step LEFT
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerEnteiMovement:
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
fast_jump_step RIGHT
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step RIGHT
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerSuicuneMovement1:
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
fast_jump_step RIGHT
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step LEFT
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerSuicuneMovement2:
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
fast_jump_step LEFT
|
|
|
|
fast_jump_step UP
|
|
|
|
big_step UP
|
|
|
|
fast_jump_step RIGHT
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
BurnedTowerUnusedMovement:
|
|
|
|
; unreferenced
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step DOWN
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerSuicuneMovement3:
|
2016-03-01 19:31:21 -08:00
|
|
|
set_sliding
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step UP
|
|
|
|
fast_jump_step RIGHT
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
2016-03-01 19:31:21 -08:00
|
|
|
remove_sliding
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerB1FEusineMovement2:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerB1FEusineMovement1:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
BurnedTowerB1FEusineText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "EUSINE: I dug a"
|
|
|
|
line "hole here, too…"
|
|
|
|
|
|
|
|
para "I was shocked!"
|
|
|
|
|
|
|
|
para "SUICUNE raced by"
|
|
|
|
line "like a blur, right"
|
|
|
|
|
|
|
|
para "in front of my"
|
|
|
|
line "eyes!"
|
|
|
|
|
|
|
|
para "For ten years I"
|
|
|
|
line "chased SUICUNE,"
|
|
|
|
|
|
|
|
para "and I finally got"
|
|
|
|
line "to see it."
|
|
|
|
|
|
|
|
para "I'm all choked up!"
|
|
|
|
|
2015-06-27 21:59:17 -07:00
|
|
|
para "<PLAYER>, I owe"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "this all to you!"
|
|
|
|
|
|
|
|
para "Thank you!"
|
|
|
|
|
|
|
|
para "I heard that the"
|
|
|
|
line "legendary #MON"
|
|
|
|
|
|
|
|
para "of ECRUTEAK test"
|
|
|
|
line "chosen humans by"
|
|
|
|
|
|
|
|
para "allowing them to"
|
|
|
|
line "get close."
|
|
|
|
|
|
|
|
para "I'm going to track"
|
|
|
|
line "SUICUNE."
|
|
|
|
|
2015-06-27 21:59:17 -07:00
|
|
|
para "<PLAYER>, let's"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "meet again!"
|
|
|
|
|
|
|
|
para "Farewell!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BurnedTowerB1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 6 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 10, 9, BURNED_TOWER_1F, 3
|
|
|
|
warp_event 17, 7, BURNED_TOWER_1F, 7
|
|
|
|
warp_event 10, 8, BURNED_TOWER_1F, 9
|
|
|
|
warp_event 3, 13, BURNED_TOWER_1F, 10
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 17, 14, BURNED_TOWER_1F, 12
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 7, 15, BURNED_TOWER_1F, 14
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; coord events
|
2018-02-01 19:22:07 -08:00
|
|
|
coord_event 10, 6, SCENE_DEFAULT, ReleaseTheBeasts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 9 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 17, 8, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BurnedTowerB1FBoulder, -1
|
|
|
|
object_event 7, 3, SPRITE_RAIKOU, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
|
|
|
|
object_event 12, 3, SPRITE_ENTEI, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
|
|
|
|
object_event 10, 4, SPRITE_SUICUNE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
|
|
|
|
object_event 7, 3, SPRITE_RAIKOU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_SILVER, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
|
|
|
|
object_event 12, 3, SPRITE_ENTEI, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_SILVER, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
|
|
|
|
object_event 10, 4, SPRITE_SUICUNE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_SILVER, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
|
|
|
|
object_event 16, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, BurnedTowerB1FTMEndure, EVENT_BURNED_TOWER_B1F_TM_ENDURE
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 10, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BurnedTowerB1FEusine, EVENT_EUSINE_IN_BURNED_TOWER
|