pokeemerald/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc

529 lines
18 KiB
PHP
Raw Normal View History

.set LOCALID_RICH_BOY, 1
.set LOCALID_GENTLEMAN, 2
.set LOCALID_SCIENTIST, 3
.set LOCALID_STEVEN, 4
@ Grunt names numbered like their Trainer values (which are for the full Space Center)
.set LOCALID_GRUNT_6, 5
.set LOCALID_GRUNT_5, 6
.set LOCALID_GRUNT_7, 7
.set LOCALID_TABITHA, 8
.set LOCALID_MAXIE, 9
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, MossdeepCity_SpaceCenter_2F_OnTransition
2019-11-01 22:50:54 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, MossdeepCity_SpaceCenter_2F_OnFrame
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_OnTransition:
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_MoveCivilians
2019-11-01 22:50:54 +01:00
compare VAR_MOSSDEEP_SPACE_CENTER_STATE, 2
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_MoveDefeatedGrunts
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_MoveCivilians::
2019-01-02 22:12:43 +01:00
clearflag FLAG_INTERACTED_WITH_STEVEN_SPACE_CENTER
setobjectxyperm LOCALID_SCIENTIST, 5, 3
setobjectmovementtype LOCALID_SCIENTIST, MOVEMENT_TYPE_FACE_RIGHT
setobjectxyperm LOCALID_RICH_BOY, 3, 2
setobjectmovementtype LOCALID_RICH_BOY, MOVEMENT_TYPE_FACE_RIGHT
setobjectxyperm LOCALID_GENTLEMAN, 1, 3
setobjectmovementtype LOCALID_GENTLEMAN, MOVEMENT_TYPE_FACE_RIGHT
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_MoveDefeatedGrunts::
setobjectxyperm LOCALID_GRUNT_6, 11, 2
setobjectxyperm LOCALID_GRUNT_7, 15, 2
setobjectxyperm LOCALID_GRUNT_5, 13, 4
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_OnFrame:
2019-11-01 22:50:54 +01:00
map_script_2 VAR_MOSSDEEP_SPACE_CENTER_STATE, 1, MossdeepCity_SpaceCenter_2F_EventScript_ThreeMagmaGrunts
2017-11-10 02:21:31 +01:00
.2byte 0
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_ThreeMagmaGrunts::
2017-11-10 02:21:31 +01:00
playse SE_PIN
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_ExclamationMark
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_Delay48
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_YoureOutnumberedTakeUsOn, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, YES
2019-11-01 22:50:54 +01:00
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts
msgbox MossdeepCity_SpaceCenter_2F_Text_GoodAnswer, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement OBJ_EVENT_ID_PLAYER, MossdeepCity_SpaceCenter_2F_Movement_PlayerExit
2017-11-10 02:21:31 +01:00
waitmovement 0
warp MAP_MOSSDEEP_CITY_SPACE_CENTER_1F, 13, 1
2017-11-10 02:21:31 +01:00
waitstate
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_PlayerExit:
walk_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts::
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt5Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_5, MossdeepCity_SpaceCenter_2F_Text_Grunt5Defeat
applymovement LOCALID_GRUNT_5, MossdeepCity_SpaceCenter_2F_Movement_Grunt5Defeated
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt6Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_6, MossdeepCity_SpaceCenter_2F_Text_Grunt6Defeat
applymovement LOCALID_GRUNT_6, MossdeepCity_SpaceCenter_2F_Movement_Grunt6Defeated
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterRight
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt7Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_7, MossdeepCity_SpaceCenter_2F_Text_Grunt7Defeat
applymovement LOCALID_GRUNT_7, MossdeepCity_SpaceCenter_2F_Movement_Grunt7Defeated
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 22:50:54 +01:00
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE, 2
copyobjectxytoperm LOCALID_GRUNT_6
copyobjectxytoperm LOCALID_GRUNT_7
copyobjectxytoperm LOCALID_GRUNT_5
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_Grunt6Defeated:
lock_facing_direction
walk_left
unlock_facing_direction
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_Grunt5Defeated:
lock_facing_direction
walk_down
unlock_facing_direction
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_Grunt7Defeated:
lock_facing_direction
walk_right
unlock_facing_direction
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Scientist::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-01 22:50:54 +01:00
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_ScientistNormal
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_ScientistMagma
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_ScientistNormal
goto MossdeepCity_SpaceCenter_2F_EventScript_ScientistMagma
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_ScientistNormal::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_MossdeepIdealForRockets, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_ScientistMagma::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_WhyWouldMagmaStealRocketFuel, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Gentleman::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-01 22:50:54 +01:00
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_GentlemanNormal
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_GentlemanMagma
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_GentlemanNormal
goto MossdeepCity_SpaceCenter_2F_EventScript_GentlemanMagma
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_GentlemanNormal::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_WouldveLikedToBeAstronaut, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_GentlemanMagma::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_MagmaCantGetAwayWithThis, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_RichBoy::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-01 22:50:54 +01:00
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_RichBoyNormal
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_RichBoyMagma
2019-08-05 17:23:45 +02:00
compare VAR_MOSSDEEP_CITY_STATE, 2
2019-11-01 22:50:54 +01:00
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_RichBoyNormal
goto MossdeepCity_SpaceCenter_2F_EventScript_RichBoyMagma
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_RichBoyNormal::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_WishOrdinaryPeopleCouldGoIntoSpace, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_RichBoyMagma::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_DoesMagmaWantToGoToSpace, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-01 22:50:54 +01:00
@ Battle for the below 3 grunts is handled in MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Grunt6::
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt6PostBattle, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Grunt7::
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt7PostBattle, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Grunt5::
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt5PostBattle, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Tabitha::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_WellTakeCareOfYou, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
2017-11-10 02:21:31 +01:00
waitmovement 0
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Maxie::
2017-11-10 02:21:31 +01:00
lockall
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_MaxieDontInterfere, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_Steven::
2017-11-10 02:21:31 +01:00
lockall
2019-11-01 22:50:54 +01:00
goto_if_set FLAG_INTERACTED_WITH_STEVEN_SPACE_CENTER, MossdeepCity_SpaceCenter_2F_EventScript_ReadyForBattlePrompt
2019-01-02 22:12:43 +01:00
setflag FLAG_INTERACTED_WITH_STEVEN_SPACE_CENTER
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_StevenWhyStealRocketFuel, MSGBOX_DEFAULT
msgbox MossdeepCity_SpaceCenter_2F_Text_MaxieUseFuelToEruptVolcano, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
delay 30
2020-08-21 00:02:00 +02:00
playse SE_NOT_EFFECTIVE
2017-11-10 02:21:31 +01:00
switch VAR_FACING
2019-11-01 22:50:54 +01:00
case DIR_SOUTH, MossdeepCity_SpaceCenter_2F_EventScript_StevenFightMovementSouth
applymovement LOCALID_STEVEN, MossdeepCity_SpaceCenter_2F_Movement_StevenFight
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_StevenFightMovementSouth::
applymovement LOCALID_STEVEN, MossdeepCity_SpaceCenter_2F_Movement_StevenFightSouth
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_StevenFight:
lock_facing_direction
walk_fast_up
walk_fast_up
unlock_facing_direction
delay_16
delay_16
walk_slow_down
walk_slow_down
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Movement_StevenFightSouth:
face_left
lock_facing_direction
walk_fast_right
walk_fast_right
unlock_facing_direction
delay_16
delay_16
walk_slow_left
walk_slow_left
face_down
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_ReadyForBattlePrompt::
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_StevenAreYouReadyToBattle, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, YES
2019-11-01 22:50:54 +01:00
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_ChoosePartyForMultiBattle
msgbox MossdeepCity_SpaceCenter_2F_Text_StevenHurryGetReadyQuickly, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_ChoosePartyForMultiBattle::
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
2017-11-10 02:21:31 +01:00
waitmovement 0
2018-04-29 14:21:59 +02:00
special SavePlayerParty
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-02-18 07:03:44 +01:00
special ChooseHalfPartyForBattle
2017-11-10 02:21:31 +01:00
waitstate
compare VAR_RESULT, 0
2019-11-01 22:50:54 +01:00
goto_if_ne MossdeepCity_SpaceCenter_2F_EventScript_DoStevenMultiBattle
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2019-11-01 22:50:54 +01:00
goto MossdeepCity_SpaceCenter_2F_EventScript_ReadyForBattlePrompt
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_DoStevenMultiBattle::
2018-11-25 22:50:54 +01:00
special ReducePlayerPartyToSelectedMons
2019-11-24 22:58:40 +01:00
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
2018-10-21 20:13:12 +02:00
setvar VAR_0x8004, SPECIAL_BATTLE_STEVEN
2017-11-10 02:21:31 +01:00
setvar VAR_0x8005, 0
2018-10-21 20:13:12 +02:00
special DoSpecialTrainerBattle
2017-11-10 02:21:31 +01:00
waitstate
2019-11-24 22:58:40 +01:00
frontier_saveparty
2018-04-29 14:21:59 +02:00
special LoadPlayerParty
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-01 22:50:54 +01:00
case 1, MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-10-07 02:04:30 +02:00
special SetCB2WhiteOut
2017-11-10 02:21:31 +01:00
waitstate
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha::
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_MaxieWeFailedIsAquaAlsoMisguided, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
delay 20
applymovement LOCALID_MAXIE, Common_Movement_WalkInPlaceFasterLeft
applymovement LOCALID_TABITHA, Common_Movement_WalkInPlaceFasterDown
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 60
applymovement LOCALID_MAXIE, Common_Movement_WalkInPlaceFasterUp
applymovement LOCALID_TABITHA, Common_Movement_WalkInPlaceFasterRight
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_MaxieWeWillGiveUp, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-08-05 17:23:45 +02:00
setvar VAR_MOSSDEEP_CITY_STATE, 3
2017-11-10 02:21:31 +01:00
fadedefaultbgm
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-11-01 22:50:54 +01:00
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE, 3
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
removeobject LOCALID_GRUNT_6
removeobject LOCALID_GRUNT_7
removeobject LOCALID_GRUNT_5
removeobject LOCALID_TABITHA
removeobject LOCALID_MAXIE
setobjectxy LOCALID_SCIENTIST, 5, 6
turnobject LOCALID_SCIENTIST, DIR_SOUTH
setobjectxy LOCALID_GENTLEMAN, 11, 8
turnobject LOCALID_GENTLEMAN, DIR_NORTH
setobjectxy LOCALID_RICH_BOY, 6, 2
turnobject LOCALID_RICH_BOY, DIR_NORTH
2019-11-01 22:50:54 +01:00
call MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayer
2019-12-15 17:42:50 +01:00
fadescreen FADE_FROM_BLACK
2019-11-01 22:50:54 +01:00
msgbox MossdeepCity_SpaceCenter_2F_Text_StevenThankYouComeSeeMeAtHome, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-01-02 22:12:43 +01:00
setflag FLAG_DEFEATED_MAGMA_SPACE_CENTER
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN
removeobject LOCALID_STEVEN
2019-11-01 22:50:54 +01:00
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_MAGMA_NOTE
2018-10-18 21:28:59 +02:00
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN
2019-02-22 10:18:43 +01:00
setvar VAR_STEVENS_HOUSE_STATE, 1
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MOSSDEEP_CITY_SCOTT
removeobject LOCALID_SCIENTIST
setobjectxyperm LOCALID_SCIENTIST, 5, 6
setobjectmovementtype LOCALID_SCIENTIST, MOVEMENT_TYPE_WANDER_AROUND
addobject LOCALID_SCIENTIST
2019-12-15 17:42:50 +01:00
fadescreen FADE_FROM_BLACK
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayer::
2017-11-10 02:21:31 +01:00
switch VAR_FACING
2019-11-01 22:50:54 +01:00
case DIR_SOUTH, MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayerSouth
case DIR_WEST, MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayerWest
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayerSouth::
turnobject LOCALID_STEVEN, DIR_NORTH
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayerWest::
turnobject LOCALID_STEVEN, DIR_EAST
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_MaxieTrainer::
2019-12-26 04:39:06 +01:00
trainerbattle TRAINER_BATTLE_SET_TRAINER_A, TRAINER_MAXIE_MOSSDEEP, 0, MossdeepCity_SpaceCenter_2F_Text_JustWantToExpandLand, MossdeepCity_SpaceCenter_2F_Text_JustWantToExpandLand
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_TabithaTrainer::
2019-12-26 04:39:06 +01:00
trainerbattle TRAINER_BATTLE_SET_TRAINER_B, TRAINER_TABITHA_MOSSDEEP, 0, MossdeepCity_SpaceCenter_Text_TabithaDefeat, MossdeepCity_SpaceCenter_Text_TabithaDefeat
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall::
lockall
checkplayergender
compare VAR_RESULT, MALE
2019-11-01 22:50:54 +01:00
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_MayRayquazaCall
compare VAR_RESULT, FEMALE
2019-11-01 22:50:54 +01:00
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_BrendanRayquazaCall
closemessage
2019-01-02 22:12:43 +01:00
clearflag FLAG_DEFEATED_MAGMA_SPACE_CENTER
releaseall
end
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_MayRayquazaCall::
2019-12-05 21:33:36 +01:00
pokenavcall MatchCall_Text_MayRayquazaCall
waitmessage
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_EventScript_BrendanRayquazaCall::
2019-12-05 21:33:36 +01:00
pokenavcall MatchCall_Text_BrendanRayquazaCall
waitmessage
return
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MossdeepIdealForRockets:
.string "MOSSDEEP has mainly sunny weather,\n"
.string "and its winds are stable.\p"
2018-12-07 16:41:08 +01:00
.string "It's an ideal location for launching\n"
.string "rockets.$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_WhyWouldMagmaStealRocketFuel:
.string "Why would TEAM MAGMA want to steal\n"
.string "our rocket fuel in the first place?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_WouldveLikedToBeAstronaut:
.string "If only I was a little younger, I would\n"
.string "have liked being an astronaut…\p"
2018-12-07 16:41:08 +01:00
.string "No… It's not too late!\n"
.string "I can and will try!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MagmaCantGetAwayWithThis:
.string "If TEAM MAGMA takes the rocket fuel,\n"
2018-12-07 16:41:08 +01:00
.string "I won't be able to go to space!\p"
.string "They can't be allowed to get away\n"
.string "with such an outrage!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_WishOrdinaryPeopleCouldGoIntoSpace:
.string "I wish ordinary people could go into\n"
.string "space one day…$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_DoesMagmaWantToGoToSpace:
.string "TEAM MAGMA…\n"
.string "Do they want to go to space, too?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_YoureOutnumberedTakeUsOn:
2018-12-07 16:41:08 +01:00
.string "What's wrong with you?\p"
.string "You're outnumbered three to one,\n"
.string "but you still want to take us on?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_GoodAnswer:
.string "Good answer!\n"
2018-12-07 16:41:08 +01:00
.string "That's what a smart person'll do!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt5Intro:
.string "A reckless go-getter, are you?\n"
2018-12-07 16:41:08 +01:00
.string "Okay, I'll go first!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt5Defeat:
.string "I lost!\n"
.string "But!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt6Intro:
2018-12-07 16:41:08 +01:00
.string "It's too soon to be relieved!\n"
.string "I'm up next!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt6Defeat:
.string "I lost, too!\n"
.string "But!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt7Intro:
.string "I bet you want to take a break.\n"
2018-12-07 16:41:08 +01:00
.string "But I'm not about to let you do that!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt7Defeat:
2018-12-07 16:41:08 +01:00
.string "We should've taken a break…\n"
.string "That's what we should've done…$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt6PostBattle:
.string "Three of us here, and look at the sorry\n"
.string "mess we got ourselves into.$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt7PostBattle:
.string "We three losing like this…\n"
.string "We look worse than usual by triple!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_Grunt5PostBattle:
.string "Are we being useful to our leader\n"
.string "at all?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_WellTakeCareOfYou:
.string "Hehehe!\p"
.string "We come all the way here to get some\n"
2018-12-07 16:41:08 +01:00
.string "fuel, and we're interfered with again!\p"
.string "If you're going to mess with us too,\n"
.string "we'll take care of you at the same time!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MaxieDontInterfere:
.string "MAXIE: Clear out of the way!\n"
2018-12-07 16:41:08 +01:00
.string "Don't you dare interfere!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_StevenWhyStealRocketFuel:
.string "STEVEN: TEAM MAGMA…\p"
2018-12-07 16:41:08 +01:00
.string "What's the point of stealing rocket\n"
.string "fuel?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MaxieUseFuelToEruptVolcano:
2018-12-07 16:41:08 +01:00
.string "MAXIE: Fufufu… Since you're so\n"
.string "curious, you deserve an explanation.\p"
2018-12-07 16:41:08 +01:00
.string "We're going to jettison the entire\n"
.string "load into MT. CHIMNEY!\p"
.string "With GROUDON gone, we have no need\n"
.string "for that slag heap of a mountain!\p"
2018-12-07 16:41:08 +01:00
.string "So we'll use the fuel's power to make\n"
.string "the volcano erupt!\p"
.string "It will be savage!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_StevenAreYouReadyToBattle:
.string "STEVEN: {PLAYER}{KUN}!\n"
2018-12-07 16:41:08 +01:00
.string "You're going to help me?\p"
.string "Let's go into battle together!\n"
.string "Are you ready?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_StevenHurryGetReadyQuickly:
.string "STEVEN: Then, hurry!\n"
.string "Get ready quickly!$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_JustWantToExpandLand:
.string "All I want…\n"
.string "I just want to expand the land mass…$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_Text_TabithaDefeat:
2018-12-07 16:41:08 +01:00
.string "I'm with our leader…$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MaxieWeFailedIsAquaAlsoMisguided:
.string "MAXIE: We failed to make the volcano\n"
.string "erupt…\p"
.string "We failed to control GROUDON after\n"
.string "we had awoken it…\p"
.string "Is our goal to expand the land\n"
.string "misguided?\p"
.string "… … … … … …\n"
.string "… … … … … …\p"
.string "If…\n"
.string "If we, TEAM MAGMA, are wrong…\l"
.string "… … … … … …\p"
2018-12-07 16:41:08 +01:00
.string "Then might TEAM AQUA's goal to expand\n"
.string "the sea also be equally misguided?$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_MaxieWeWillGiveUp:
.string "MAXIE: All right…\n"
.string "We will give up on the fuel…\p"
.string "There appear to be more important\n"
.string "matters that I must examine…$"
2021-07-20 21:18:31 +02:00
MossdeepCity_SpaceCenter_2F_Text_StevenThankYouComeSeeMeAtHome:
.string "STEVEN: Whew, that was too tense.\n"
.string "{PLAYER}{KUN}, thank you.\p"
.string "I have something to give you as\n"
.string "thanks for your support.\p"
.string "Please come see me at home\n"
.string "after this.\p"
2018-12-07 16:41:08 +01:00
.string "Oh, yes, I don't live in RUSTBORO CITY.\n"
.string "I live right here on this island.$"