pokecrystal/maps/TeamRocketBaseB3F.asm

607 lines
14 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
const TEAMROCKETBASEB3F_LANCE
const TEAMROCKETBASEB3F_ROCKET1
const TEAMROCKETBASEB3F_MOLTRES
const TEAMROCKETBASEB3F_ROCKET_GIRL
const TEAMROCKETBASEB3F_ROCKET2
const TEAMROCKETBASEB3F_SCIENTIST1
const TEAMROCKETBASEB3F_SCIENTIST2
const TEAMROCKETBASEB3F_ROCKET3
const TEAMROCKETBASEB3F_SILVER
const TEAMROCKETBASEB3F_POKE_BALL1
const TEAMROCKETBASEB3F_POKE_BALL2
const TEAMROCKETBASEB3F_POKE_BALL3
const TEAMROCKETBASEB3F_POKE_BALL4
const TEAMROCKETBASEB3F_POKE_BALL5
TeamRocketBaseB3F_MapScripts:
def_scene_scripts
scene_script .LanceGetsPassword ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB3F_NOTHING
def_callbacks
callback MAPCALLBACK_TILES, .CheckGiovanniDoor
.LanceGetsPassword:
prioritysjump LanceGetPasswordScript
end
.DummyScene1:
end
.DummyScene2:
end
.DummyScene3:
end
.CheckGiovanniDoor:
2015-07-10 12:08:03 +00:00
checkevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
iftrue .OpenSesame
endcallback
.OpenSesame:
2018-01-17 18:23:43 +00:00
changeblock 10, 8, $07 ; floor
endcallback
2016-04-07 10:13:59 +00:00
LanceGetPasswordScript:
turnobject PLAYER, LEFT
pause 5
turnobject TEAMROCKETBASEB3F_MOLTRES, RIGHT
pause 20
applymovement TEAMROCKETBASEB3F_LANCE, RocketBaseLanceApproachesPlayerMovement
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext LanceGetPasswordText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement TEAMROCKETBASEB3F_LANCE, RocketBaseLanceLeavesMovement
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB3F_LANCE
setscene SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER
end
2016-04-07 10:13:59 +00:00
RocketBaseRival:
turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB3F_SILVER
2016-04-07 10:13:59 +00:00
applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalEnterMovement
turnobject PLAYER, LEFT
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext RocketBaseRivalText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
playsound SFX_TACKLE
2016-04-07 10:13:59 +00:00
applymovement PLAYER, RocketBaseRivalShovesPlayerMovement
applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalLeavesMovement
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB3F_SILVER
setscene SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS
special RestartMapMusic
end
2017-12-18 00:48:04 +00:00
TeamRocketBaseB3FRocketScript:
jumptextfaceplayer TeamRocketBaseB3FRocketText
2018-03-01 18:18:51 +00:00
RocketBaseBossLeft:
applymovement PLAYER, RocketBasePlayerApproachesBossLeftMovement
sjump RocketBaseBoss
2018-03-01 18:18:51 +00:00
RocketBaseBossRight:
applymovement PLAYER, RocketBasePlayerApproachesBossRightMovement
2018-03-01 18:18:51 +00:00
RocketBaseBoss:
pause 30
2015-11-27 05:22:14 +00:00
showemote EMOTE_SHOCK, TEAMROCKETBASEB3F_ROCKET1, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject TEAMROCKETBASEB3F_ROCKET1, DOWN
2015-12-09 23:25:44 +00:00
opentext
2018-02-04 03:37:08 +00:00
writetext ExecutiveM4BeforeText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement TEAMROCKETBASEB3F_ROCKET1, RocketBaseBossApproachesPlayerMovement
2018-02-04 03:37:08 +00:00
winlosstext ExecutiveM4BeatenText, 0
2015-12-09 16:38:40 +00:00
setlasttalked TEAMROCKETBASEB3F_ROCKET1
loadtrainer EXECUTIVEM, EXECUTIVEM_4
startbattle
reloadmapafterbattle
2015-07-10 08:20:21 +00:00
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_4
2015-12-09 23:25:44 +00:00
opentext
2018-02-04 03:37:08 +00:00
writetext ExecutiveM4AfterText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement TEAMROCKETBASEB3F_ROCKET1, RocketBaseBossHitsTableMovement
playsound SFX_TACKLE
applymovement TEAMROCKETBASEB3F_ROCKET1, RocketBaseBossLeavesMovement
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB3F_ROCKET1
setscene SCENE_TEAMROCKETBASEB3F_NOTHING
end
2016-04-07 10:13:59 +00:00
RocketBaseMurkrow:
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext RocketBaseMurkrowText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_LEARNED_HAIL_GIOVANNI
end
2016-04-07 10:13:59 +00:00
SlowpokeTailGrunt:
trainer GRUNTF, GRUNTF_5, EVENT_BEAT_ROCKET_GRUNTF_5, GruntF5SeenText, GruntF5BeatenText, 0, GruntF5Script
2015-07-10 08:20:21 +00:00
GruntF5Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntF5AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-07-10 12:08:03 +00:00
setevent EVENT_LEARNED_SLOWPOKETAIL
end
2016-04-07 10:13:59 +00:00
RaticateTailGrunt:
trainer GRUNTM, GRUNTM_28, EVENT_BEAT_ROCKET_GRUNTM_28, GruntM28SeenText, GruntM28BeatenText, 0, GruntM28Script
2015-07-10 08:20:21 +00:00
GruntM28Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntM28AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-07-10 12:08:03 +00:00
setevent EVENT_LEARNED_RATICATE_TAIL
end
2015-07-10 08:20:21 +00:00
TrainerScientistRoss:
trainer SCIENTIST, ROSS, EVENT_BEAT_SCIENTIST_ROSS, ScientistRossSeenText, ScientistRossBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext ScientistRossAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerScientistMitch:
trainer SCIENTIST, MITCH, EVENT_BEAT_SCIENTIST_MITCH, ScientistMitchSeenText, ScientistMitchBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext ScientistMitchAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
TeamRocketBaseB3FLockedDoor:
conditional_event EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE, .Script
.Script:
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkevent EVENT_LEARNED_SLOWPOKETAIL
iffalse .NeedsPassword
checkevent EVENT_LEARNED_RATICATE_TAIL
iffalse .NeedsPassword
sjump .OpenSesame
.NeedsPassword:
2018-08-19 17:56:41 +00:00
writetext TeamRocketBaseB3FLockedDoorNeedsPasswordText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.OpenSesame:
2018-08-19 17:56:41 +00:00
writetext TeamRocketBaseB3FLockedDoorOpenSesameText
2015-11-25 15:16:29 +00:00
waitbutton
playsound SFX_ENTER_DOOR
2018-01-17 18:23:43 +00:00
changeblock 10, 8, $07 ; floor
reloadmappart
2015-11-25 15:16:29 +00:00
closetext
2015-07-10 12:08:03 +00:00
setevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
2015-11-25 15:16:29 +00:00
waitsfx
end
TeamRocketBaseB3FOathScript:
jumpstd TeamRocketOathScript
2015-12-15 15:55:56 +00:00
TeamRocketBaseB3FProtein:
itemball PROTEIN
2015-12-15 15:55:56 +00:00
TeamRocketBaseB3FXSpecial:
itemball X_SPECIAL
2015-12-15 15:55:56 +00:00
TeamRocketBaseB3FFullHeal:
itemball FULL_HEAL
2015-12-15 15:55:56 +00:00
TeamRocketBaseB3FIceHeal:
itemball ICE_HEAL
2015-12-15 15:55:56 +00:00
TeamRocketBaseB3FUltraBall:
itemball ULTRA_BALL
RocketBaseLanceApproachesPlayerMovement:
2016-05-14 17:46:14 +00:00
step RIGHT
step_end
RocketBaseLanceLeavesMovement:
2016-05-14 17:46:14 +00:00
step DOWN
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step_end
RocketBasePlayerApproachesBossLeftMovement:
2016-05-14 17:46:14 +00:00
step UP
step UP
step UP
step LEFT
step LEFT
turn_head UP
step_end
RocketBasePlayerApproachesBossRightMovement:
2016-05-14 17:46:14 +00:00
step UP
step UP
step LEFT
step UP
step LEFT
step LEFT
turn_head UP
step_end
RocketBaseBossApproachesPlayerMovement:
2016-05-14 17:46:14 +00:00
step DOWN
step_end
RocketBaseBossHitsTableMovement:
2016-05-14 17:46:14 +00:00
big_step RIGHT
big_step RIGHT
step_end
RocketBaseBossLeavesMovement:
fix_facing
2016-05-14 17:46:14 +00:00
fast_jump_step LEFT
remove_fixed_facing
2016-05-14 16:28:00 +00:00
step_sleep 8
step_sleep 8
2016-05-14 17:46:14 +00:00
slow_step RIGHT
big_step DOWN
big_step DOWN
big_step DOWN
big_step RIGHT
big_step DOWN
big_step DOWN
big_step DOWN
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
big_step LEFT
big_step LEFT
step_end
2016-04-07 10:13:59 +00:00
RocketBaseRivalEnterMovement:
2016-05-14 17:46:14 +00:00
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step_end
RocketBaseRivalLeavesMovement:
2016-05-14 17:46:14 +00:00
step LEFT
step LEFT
step UP
step UP
step UP
step UP
step UP
step_end
2016-04-07 10:13:59 +00:00
RocketBaseRivalShovesPlayerMovement:
fix_facing
2016-05-14 17:46:14 +00:00
big_step RIGHT
remove_fixed_facing
step_end
2016-04-07 10:13:59 +00:00
LanceGetPasswordText:
text "LANCE: It takes"
line "two passwords to"
para "get into the"
line "boss's quarters."
para "Those passwords"
line "are known only to"
cont "a few ROCKETS."
para "That ROCKET there"
line "very graciously"
cont "told me so."
para "<PLAY_G>, let's go"
line "get the passwords."
done
2017-12-18 00:48:04 +00:00
TeamRocketBaseB3FRocketText:
text "Urrggh… The guy"
line "in the cape is"
cont "incredibly tough…"
done
2016-04-07 10:13:59 +00:00
RocketBaseRivalText:
text "…"
para "Didn't I tell you"
line "that I was going"
para "to destroy TEAM"
line "ROCKET?"
para "…Tell me, who was"
line "the guy in the"
para "cape who used"
line "dragon #MON?"
para "My #MON were no"
line "match at all."
para "I don't care that"
line "I lost. I can beat"
para "him by getting"
line "stronger #MON."
para "It's what he said"
line "that bothers me…"
para "He told me that"
line "I don't love and"
para "trust my #MON"
line "enough."
para "I'm furious that I"
line "lost to a bleeding"
cont "heart like him."
para "…Humph! I don't"
line "have the time for"
cont "the likes of you!"
done
2018-02-04 03:37:08 +00:00
ExecutiveM4BeforeText:
text "What? Who are you?"
line "This is the office"
para "of our leader,"
line "GIOVANNI."
para "Since disbanding"
line "TEAM ROCKET three"
para "years ago, he has"
line "been in training."
para "But we're certain"
line "he will be back"
para "some day to assume"
line "command again."
para "That's why we're"
line "standing guard."
para "I won't let any-"
line "one disturb this"
cont "place!"
done
2018-02-04 03:37:08 +00:00
ExecutiveM4BeatenText:
text "I… I couldn't do a"
line "thing…"
para "GIOVANNI, please"
line "forgive me…"
done
2018-02-04 03:37:08 +00:00
ExecutiveM4AfterText:
text "No, I can't let"
line "this affect me."
para "I have to inform"
line "the others…"
done
2016-04-07 10:13:59 +00:00
RocketBaseMurkrowText:
text "MURKROW: The"
line "password is…"
para "HAIL GIOVANNI."
done
2015-07-10 08:20:21 +00:00
GruntF5SeenText:
text "Do I know the"
line "password?"
para "Maybe."
para "But no weakling's"
line "going to get it!"
done
2015-07-10 08:20:21 +00:00
GruntF5BeatenText:
text "All right. Stop."
line "I'll tell you."
done
2017-12-10 20:36:58 +00:00
GruntF5AfterBattleText:
text "The password to"
line "the boss's room is"
para "SLOWPOKETAIL."
para "But it's useless"
line "unless you have"
cont "two passwords."
done
2015-07-10 08:20:21 +00:00
GruntM28SeenText:
text "Hyuck-hyuck-hyuck!"
para "You're challenging"
line "me to a battle?"
para "Hah! You're nuts,"
line "but you have guts!"
para "I like that!"
para "If you can beat"
line "me, I'll tell you"
para "a password to the"
line "boss's room!"
done
2015-07-10 08:20:21 +00:00
GruntM28BeatenText:
text "Hyuck-hyuck-hyuck!"
line "You're good!"
done
2017-12-10 20:36:58 +00:00
GruntM28AfterBattleText:
text "Hyuck-hyuck-hyuck!"
para "The password to"
line "the boss's room…"
para "Uh…, I think it is"
line "RATICATE TAIL."
done
2015-07-10 08:20:21 +00:00
ScientistRossSeenText:
text "I used to work for"
line "SILPH, but now I"
para "run research for"
line "TEAM ROCKET."
para "A meddlesome child"
line "like you needs to"
cont "be punished."
done
2015-07-10 08:20:21 +00:00
ScientistRossBeatenText:
text "A mere tactical"
line "error cost me…"
done
2017-12-10 20:36:58 +00:00
ScientistRossAfterBattleText:
text "A radio signal"
line "that drives #-"
cont "MON mad…"
para "My experiment is a"
line "complete success."
para "My promotion is"
line "assured. This loss"
para "means absolutely"
line "nothing."
done
2015-07-10 08:20:21 +00:00
ScientistMitchSeenText:
text "I don't care that"
line "#MON are hurt"
cont "by our experiment."
done
2015-07-10 08:20:21 +00:00
ScientistMitchBeatenText:
text "Thinking is my"
line "strong suit, not"
cont "battling."
done
2017-12-10 20:36:58 +00:00
ScientistMitchAfterBattleText:
text "If we turn up the"
line "power of our radio"
para "signal for broad-"
line "cast nationwide…"
para "The very thought"
line "excites me!"
done
2018-08-19 17:56:41 +00:00
TeamRocketBaseB3FLockedDoorNeedsPasswordText:
text "The door's closed…"
para "It needs two"
line "passwords to open."
done
2018-08-19 17:56:41 +00:00
TeamRocketBaseB3FLockedDoorOpenSesameText:
text "The door's closed…"
para "<PLAYER> entered"
line "the two passwords."
para "The door opened!"
done
TeamRocketBaseB3F_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 3, 2, TEAM_ROCKET_BASE_B2F, 2
warp_event 27, 2, TEAM_ROCKET_BASE_B2F, 3
warp_event 3, 6, TEAM_ROCKET_BASE_B2F, 4
2018-02-02 02:54:00 +00:00
warp_event 27, 14, TEAM_ROCKET_BASE_B2F, 5
def_coord_events
2018-03-01 18:18:51 +00:00
coord_event 10, 8, SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS, RocketBaseBossLeft
coord_event 11, 8, SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS, RocketBaseBossRight
2018-02-02 03:22:07 +00:00
coord_event 8, 10, SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER, RocketBaseRival
def_bg_events
2018-02-02 03:22:07 +00:00
bg_event 10, 9, BGEVENT_IFNOTSET, TeamRocketBaseB3FLockedDoor
bg_event 11, 9, BGEVENT_IFNOTSET, TeamRocketBaseB3FLockedDoor
bg_event 10, 1, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 11, 1, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 12, 1, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 13, 1, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 4, 13, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 5, 13, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 6, 13, BGEVENT_READ, TeamRocketBaseB3FOathScript
bg_event 7, 13, BGEVENT_READ, TeamRocketBaseB3FOathScript
def_object_events
object_event 25, 14, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LanceGetPasswordScript, EVENT_TEAM_ROCKET_BASE_B3F_LANCE_PASSWORDS
2018-02-02 03:22:07 +00:00
object_event 8, 3, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B3F_EXECUTIVE
object_event 7, 2, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RocketBaseMurkrow, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 21, 7, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, SlowpokeTailGrunt, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 5, 14, SPRITE_ROCKET, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, RaticateTailGrunt, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 23, 11, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerScientistRoss, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 11, 15, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerScientistMitch, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 24, 14, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TeamRocketBaseB3FRocketScript, EVENT_TEAM_ROCKET_BASE_POPULATION
2018-02-02 03:22:07 +00:00
object_event 4, 5, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_TEAM_ROCKET_BASE
object_event 1, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB3FProtein, EVENT_TEAM_ROCKET_BASE_B3F_PROTEIN
object_event 3, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB3FXSpecial, EVENT_TEAM_ROCKET_BASE_B3F_X_SPECIAL
object_event 28, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB3FFullHeal, EVENT_TEAM_ROCKET_BASE_B3F_FULL_HEAL
object_event 17, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB3FIceHeal, EVENT_TEAM_ROCKET_BASE_B3F_ICE_HEAL
object_event 14, 10, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB3FUltraBall, EVENT_TEAM_ROCKET_BASE_B3F_ULTRA_BALL