pokecrystal/maps/BurnedTowerB1F.asm

274 lines
6.3 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
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 10:13:59 +00:00
const BURNEDTOWERB1F_EUSINE
2015-11-27 05:22:14 +00:00
2015-07-10 08:45:35 +00:00
BurnedTowerB1F_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 19:37:02 +00:00
dw UnknownScript_0x18615e, 0
dw UnknownScript_0x18615f, 0
.MapCallbacks:
db 1
; callbacks
2016-04-07 10:13:59 +00:00
dbw MAPCALLBACK_TILES, BurnedTowerB1FLadderCallback
2015-07-10 08:45:35 +00:00
UnknownScript_0x18615e:
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x18615f:
end
2016-04-07 10:13:59 +00:00
BurnedTowerB1FLadderCallback:
2013-09-24 07:48:58 +00:00
checkevent EVENT_RELEASED_THE_BEASTS
2016-04-07 10:13:59 +00:00
iftrue .NoChange
changeblock $6, $e, $2
2016-04-07 10:13:59 +00:00
.NoChange
return
2016-04-07 10:13:59 +00:00
ReleaseTheBeasts:
playmusic MUSIC_NONE
pause 30
2015-11-27 05:22:14 +00:00
appear BURNEDTOWERB1F_RAIKOU1
spriteface PLAYER, UP
pause 5
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_RAIKOU2
pause 15
cry RAIKOU
2015-11-27 05:22:14 +00:00
appear BURNEDTOWERB1F_ENTEI1
spriteface PLAYER, UP
pause 5
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_ENTEI2
pause 15
cry ENTEI
2015-11-27 05:22:14 +00:00
appear BURNEDTOWERB1F_SUICUNE1
spriteface PLAYER, UP
pause 5
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_SUICUNE2
pause 15
cry SUICUNE
pause 15
playsound SFX_WARP_FROM
spriteface PLAYER, LEFT
2016-04-07 10:13:59 +00:00
applymovement BURNEDTOWERB1F_RAIKOU1, BurnedTowerRaikouMovement
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_RAIKOU1
2015-11-25 15:16:29 +00:00
waitsfx
playsound SFX_WARP_FROM
spriteface PLAYER, RIGHT
2016-04-07 10:13:59 +00:00
applymovement BURNEDTOWERB1F_ENTEI1, BurnedTowerEnteiMovement
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_ENTEI1
2015-11-25 15:16:29 +00:00
waitsfx
pause 15
playsound SFX_WARP_FROM
spriteface PLAYER, UP
2016-04-07 10:13:59 +00:00
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement1
playsound SFX_WARP_FROM
spriteface PLAYER, DOWN
2016-04-07 10:13:59 +00:00
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement2
spriteface PLAYER, UP
pause 20
cry SUICUNE
pause 30
playsound SFX_WARP_FROM
2016-04-07 10:13:59 +00:00
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement3
spriteface PLAYER, DOWN
2015-11-27 05:22:14 +00:00
disappear BURNEDTOWERB1F_SUICUNE1
2015-11-25 15:16:29 +00:00
waitsfx
special RestartMapMusic
dotrigger $1
2013-09-24 07:48:58 +00:00
setevent EVENT_RELEASED_THE_BEASTS
special InitRoamMons
domaptrigger ECRUTEAK_GYM, $1
domaptrigger CIANWOOD_CITY, $1
2013-09-24 07:48:58 +00:00
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent EVENT_ECRUTEAK_GYM_GRAMPS
clearevent EVENT_ECRUTEAK_CITY_GRAMPS
setevent EVENT_BURNED_TOWER_MORTY
setevent EVENT_BURNED_TOWER_1F_EUSINE
2016-04-07 10:13:59 +00:00
appear BURNEDTOWERB1F_EUSINE
refreshscreen $0
changeblock $6, $e, $1b
reloadmappart
2015-11-25 15:16:29 +00:00
closetext
dotrigger $1
end
2016-04-07 10:13:59 +00:00
BurnedTowerB1FEusine:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext BurnedTowerB1FEusineText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
checkcode VAR_FACING
2016-04-07 10:13:59 +00:00
if_equal $1, .Movement
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement1
2015-01-20 08:01:23 +00:00
jump UnknownScript_0x18622a
2016-04-07 10:13:59 +00:00
.Movement
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement2
2015-07-10 08:45:35 +00:00
UnknownScript_0x18622a:
2016-04-07 10:13:59 +00:00
disappear BURNEDTOWERB1F_EUSINE
playsound SFX_EXIT_BUILDING
2015-11-25 15:16:29 +00:00
waitsfx
end
2015-12-15 15:55:56 +00:00
BurnedTowerB1FTMEndure:
itemball TM_ENDURE
2015-06-26 04:01:08 +00:00
BurnedTowerB1FBoulder:
2015-06-23 21:02:58 +00:00
jumpstd strengthboulder
2016-04-07 10:13:59 +00:00
BurnedTowerRaikouMovement:
2016-03-02 03:31:21 +00:00
set_sliding
fast_jump_step_down
fast_jump_step_left
2016-03-02 03:31:21 +00:00
remove_sliding
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerEnteiMovement:
2016-03-02 03:31:21 +00:00
set_sliding
fast_jump_step_right
fast_jump_step_down
fast_jump_step_right
2016-03-02 03:31:21 +00:00
remove_sliding
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerSuicuneMovement1:
2016-03-02 03:31:21 +00:00
set_sliding
fast_jump_step_right
fast_jump_step_down
fast_jump_step_down
fast_jump_step_left
2016-03-02 03:31:21 +00:00
remove_sliding
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerSuicuneMovement2:
2016-03-02 03:31:21 +00:00
set_sliding
fast_jump_step_left
fast_jump_step_up
big_step_up
fast_jump_step_right
2016-03-02 03:31:21 +00:00
remove_sliding
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x18624f:
2016-03-02 03:31:21 +00:00
set_sliding
big_step_down
2016-03-02 03:31:21 +00:00
remove_sliding
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerSuicuneMovement3:
2016-03-02 03:31:21 +00:00
set_sliding
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-02 03:31:21 +00:00
remove_sliding
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerB1FEusineMovement2:
step_left
step_left
step_down
step_down
step_left
step_down
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerB1FEusineMovement1:
step_down
step_left
step_left
step_left
step_down
step_down
step_end
2016-04-07 10:13:59 +00:00
BurnedTowerB1FEusineText:
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!"
para "<PLAYER>, I owe"
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."
para "<PLAYER>, let's"
line "meet again!"
para "Farewell!"
done
2015-07-10 08:45:35 +00:00
BurnedTowerB1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 6
warp_def $9, $a, 3, BURNED_TOWER_1F
warp_def $7, $11, 7, BURNED_TOWER_1F
warp_def $8, $a, 9, BURNED_TOWER_1F
warp_def $d, $3, 10, BURNED_TOWER_1F
warp_def $e, $11, 12, BURNED_TOWER_1F
warp_def $f, $7, 14, BURNED_TOWER_1F
.XYTriggers:
db 1
2016-04-07 10:13:59 +00:00
xy_trigger 0, $6, $a, $0, ReleaseTheBeasts, $0, $0
.Signposts:
db 0
.PersonEvents:
db 9
person_event SPRITE_BOULDER, 8, 17, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BurnedTowerB1FBoulder, -1
person_event SPRITE_RAIKOU, 3, 7, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
person_event SPRITE_ENTEI, 3, 12, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
person_event SPRITE_SUICUNE, 4, 10, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
person_event SPRITE_RAIKOU, 3, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_SILVER, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
person_event SPRITE_ENTEI, 3, 12, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_SILVER, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
person_event SPRITE_SUICUNE, 4, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_SILVER, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_2
2015-12-15 15:55:56 +00:00
person_event SPRITE_POKE_BALL, 4, 16, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, BurnedTowerB1FTMEndure, EVENT_BURNED_TOWER_B1F_TM_ENDURE
2016-04-07 10:13:59 +00:00
person_event SPRITE_SUPER_NERD, 12, 10, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, BurnedTowerB1FEusine, EVENT_EUSINE_IN_BURNED_TOWER