ref: 08891da82254aa4051bf594d4abc2db8e4043d8f
dir: /maps/BurnedTowerB1F.asm/
const_def 2 ; object constants 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 const BURNEDTOWERB1F_EUSINE BurnedTowerB1F_MapScripts: db 2 ; scene scripts scene_script .DummyScene0 scene_script .DummyScene1 db 1 ; callbacks callback MAPCALLBACK_TILES, .LadderCallback .DummyScene0: end .DummyScene1: end .LadderCallback: checkevent EVENT_RELEASED_THE_BEASTS iftrue .HideLadder changeblock 6, 14, $02 ; floor .HideLadder: return ReleaseTheBeasts: playmusic MUSIC_NONE pause 30 appear BURNEDTOWERB1F_RAIKOU1 spriteface PLAYER, UP pause 5 disappear BURNEDTOWERB1F_RAIKOU2 pause 15 cry RAIKOU appear BURNEDTOWERB1F_ENTEI1 spriteface PLAYER, UP pause 5 disappear BURNEDTOWERB1F_ENTEI2 pause 15 cry ENTEI appear BURNEDTOWERB1F_SUICUNE1 spriteface PLAYER, UP pause 5 disappear BURNEDTOWERB1F_SUICUNE2 pause 15 cry SUICUNE pause 15 playsound SFX_WARP_FROM spriteface PLAYER, LEFT applymovement BURNEDTOWERB1F_RAIKOU1, BurnedTowerRaikouMovement disappear BURNEDTOWERB1F_RAIKOU1 waitsfx playsound SFX_WARP_FROM spriteface PLAYER, RIGHT applymovement BURNEDTOWERB1F_ENTEI1, BurnedTowerEnteiMovement disappear BURNEDTOWERB1F_ENTEI1 waitsfx pause 15 playsound SFX_WARP_FROM spriteface PLAYER, UP applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement1 playsound SFX_WARP_FROM spriteface PLAYER, DOWN applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement2 spriteface PLAYER, UP pause 20 cry SUICUNE pause 30 playsound SFX_WARP_FROM applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement3 spriteface PLAYER, DOWN disappear BURNEDTOWERB1F_SUICUNE1 waitsfx special RestartMapMusic setscene 1 setevent EVENT_RELEASED_THE_BEASTS special InitRoamMons setmapscene ECRUTEAK_GYM, 1 setmapscene CIANWOOD_CITY, 1 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 appear BURNEDTOWERB1F_EUSINE refreshscreen changeblock 6, 14, $1b ; ladder reloadmappart closetext setscene 1 end BurnedTowerB1FEusine: faceplayer opentext writetext BurnedTowerB1FEusineText waitbutton closetext checkcode VAR_FACING if_equal UP, .Movement applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement1 jump UnknownScript_0x18622a .Movement: applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement2 UnknownScript_0x18622a: disappear BURNEDTOWERB1F_EUSINE playsound SFX_EXIT_BUILDING waitsfx end BurnedTowerB1FTMEndure: itemball TM_ENDURE BurnedTowerB1FBoulder: jumpstd strengthboulder BurnedTowerRaikouMovement: set_sliding fast_jump_step DOWN fast_jump_step LEFT remove_sliding step_end BurnedTowerEnteiMovement: set_sliding fast_jump_step RIGHT fast_jump_step DOWN fast_jump_step RIGHT remove_sliding step_end BurnedTowerSuicuneMovement1: set_sliding fast_jump_step RIGHT fast_jump_step DOWN fast_jump_step DOWN fast_jump_step LEFT remove_sliding step_end BurnedTowerSuicuneMovement2: set_sliding fast_jump_step LEFT fast_jump_step UP big_step UP fast_jump_step RIGHT remove_sliding step_end MovementData_0x18624f: set_sliding big_step DOWN remove_sliding step_end BurnedTowerSuicuneMovement3: 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 remove_sliding step_end BurnedTowerB1FEusineMovement2: step LEFT step LEFT step DOWN step DOWN step LEFT step DOWN step_end BurnedTowerB1FEusineMovement1: step DOWN step LEFT step LEFT step LEFT step DOWN step DOWN step_end 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 BurnedTowerB1F_MapEvents: db 0, 0 ; filler db 6 ; warp events warp_event 10, 9, 3, BURNED_TOWER_1F warp_event 17, 7, 7, BURNED_TOWER_1F warp_event 10, 8, 9, BURNED_TOWER_1F warp_event 3, 13, 10, BURNED_TOWER_1F warp_event 17, 14, 12, BURNED_TOWER_1F warp_event 7, 15, 14, BURNED_TOWER_1F db 1 ; coord events coord_event 10, 6, 0, ReleaseTheBeasts db 0 ; bg events db 9 ; object events 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 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