2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_MapScripts::
|
2019-10-11 23:25:07 +02:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, MauvilleCity_Gym_OnLoad
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_OnLoad:
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_DeactivatePuzzle
|
2019-02-22 10:01:38 +01:00
|
|
|
switch VAR_MAUVILLE_GYM_STATE
|
2019-10-11 23:25:07 +02:00
|
|
|
case 0, MauvilleCity_Gym_EventScript_UpdateBarriers
|
|
|
|
case 1, MauvilleCity_Gym_EventScript_Switch1Pressed
|
|
|
|
case 2, MauvilleCity_Gym_EventScript_Switch2Pressed
|
|
|
|
case 3, MauvilleCity_Gym_EventScript_Switch3Pressed
|
|
|
|
case 4, MauvilleCity_Gym_EventScript_Switch4Pressed
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_UpdateBarriers::
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_MAUVILLE_GYM_BARRIERS_STATE, MauvilleCity_Gym_EventScript_SetAltBarriers
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_SetAltBarriers::
|
2019-06-12 21:07:32 +02:00
|
|
|
setmetatile 3, 11, METATILE_MauvilleGym_RedBeamV1_On, 1
|
|
|
|
setmetatile 3, 12, METATILE_MauvilleGym_RedBeamV2_On, 1
|
|
|
|
setmetatile 3, 13, METATILE_MauvilleGym_PoleTop_On, 1
|
|
|
|
setmetatile 4, 10, METATILE_MauvilleGym_RedBeamH1_On, 0
|
|
|
|
setmetatile 5, 10, METATILE_MauvilleGym_RedBeamH2_On, 0
|
|
|
|
setmetatile 4, 11, METATILE_MauvilleGym_RedBeamH3_On, 1
|
|
|
|
setmetatile 5, 11, METATILE_MauvilleGym_RedBeamH4_On, 1
|
|
|
|
setmetatile 7, 10, METATILE_MauvilleGym_RedBeamH1_On, 0
|
|
|
|
setmetatile 8, 10, METATILE_MauvilleGym_RedBeamH2_On, 0
|
|
|
|
setmetatile 7, 11, METATILE_MauvilleGym_RedBeamH3_On, 1
|
|
|
|
setmetatile 8, 11, METATILE_MauvilleGym_RedBeamH4_On, 1
|
|
|
|
setmetatile 4, 13, METATILE_MauvilleGym_GreenBeamH1_Off, 0
|
|
|
|
setmetatile 5, 13, METATILE_MauvilleGym_GreenBeamH2_Off, 0
|
|
|
|
setmetatile 4, 14, METATILE_MauvilleGym_GreenBeamH3_Off, 0
|
|
|
|
setmetatile 5, 14, METATILE_MauvilleGym_GreenBeamH4_Off, 0
|
|
|
|
setmetatile 1, 10, METATILE_MauvilleGym_GreenBeamH1_Off, 0
|
|
|
|
setmetatile 2, 10, METATILE_MauvilleGym_GreenBeamH2_Off, 0
|
|
|
|
setmetatile 1, 11, METATILE_MauvilleGym_GreenBeamH3_Off, 0
|
|
|
|
setmetatile 2, 11, METATILE_MauvilleGym_GreenBeamH4_Off, 0
|
|
|
|
setmetatile 6, 8, METATILE_MauvilleGym_PoleBottom_On, 1
|
|
|
|
setmetatile 6, 9, METATILE_MauvilleGym_FloorTile, 0
|
|
|
|
setmetatile 6, 10, METATILE_MauvilleGym_PoleTop_Off, 0
|
|
|
|
setmetatile 4, 6, METATILE_MauvilleGym_GreenBeamH1_Off, 0
|
|
|
|
setmetatile 5, 6, METATILE_MauvilleGym_GreenBeamH2_Off, 0
|
|
|
|
setmetatile 4, 7, METATILE_MauvilleGym_GreenBeamH3_Off, 0
|
|
|
|
setmetatile 5, 7, METATILE_MauvilleGym_GreenBeamH4_Off, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch1Pressed::
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 0
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymPressSwitch
|
|
|
|
goto MauvilleCity_Gym_EventScript_UpdateBarriers
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch2Pressed::
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 1
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymPressSwitch
|
|
|
|
goto MauvilleCity_Gym_EventScript_UpdateBarriers
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch3Pressed::
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 2
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymPressSwitch
|
|
|
|
goto MauvilleCity_Gym_EventScript_UpdateBarriers
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch4Pressed::
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 3
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymPressSwitch
|
|
|
|
goto MauvilleCity_Gym_EventScript_UpdateBarriers
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_DeactivatePuzzle::
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymDeactivatePuzzle
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Wattson::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_WATTSON_1, MauvilleCity_Gym_Text_WattsonIntro, MauvilleCity_Gym_Text_WattsonDefeat, MauvilleCity_Gym_EventScript_WattsonDefeated, NO_MUSIC
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-10-11 23:25:07 +02:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_WattsonRematch
|
|
|
|
goto_if_unset FLAG_RECEIVED_TM34, MauvilleCity_Gym_EventScript_GiveShockWave2
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_NEW_MAUVILLE_STATE, 2
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_CompletedNewMauville
|
|
|
|
msgbox MauvilleCity_Gym_Text_WattsonPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_WattsonDefeated::
|
2019-10-11 23:25:07 +02:00
|
|
|
message MauvilleCity_Gym_Text_ReceivedDynamoBadge
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2019-02-23 01:52:11 +01:00
|
|
|
call Common_EventScript_PlayGymBadgeFanfare
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_ExplainDynamoBadgeTakeThis, MSGBOX_DEFAULT
|
2019-02-28 02:25:09 +01:00
|
|
|
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 3
|
2018-10-19 03:32:21 +02:00
|
|
|
clearflag FLAG_HIDE_VERDANTURF_TOWN_SCOTT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_DEFEATED_MAUVILLE_GYM
|
2017-11-10 02:21:31 +01:00
|
|
|
setflag FLAG_BADGE03_GET
|
2019-02-22 10:01:38 +01:00
|
|
|
addvar VAR_PETALBURG_GYM_STATE, 1
|
|
|
|
compare VAR_PETALBURG_GYM_STATE, 6
|
2019-10-11 23:25:07 +02:00
|
|
|
call_if_eq Common_EventScript_ReadyPetalburgGymForBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8008, 3
|
2019-08-15 05:38:42 +02:00
|
|
|
call Common_EventScript_SetGymTrainers
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymDeactivatePuzzle
|
2017-11-10 02:21:31 +01:00
|
|
|
special DrawWholeMapView
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_UNLOCK
|
2019-10-11 23:25:07 +02:00
|
|
|
call MauvilleCity_Gym_EventScript_GiveShockWave
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
delay 30
|
2020-08-21 00:02:00 +02:00
|
|
|
playfanfare MUS_REGISTER_MATCH_CALL
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_RegisteredWattson, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
waitfanfare
|
|
|
|
closemessage
|
|
|
|
delay 30
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_ENABLE_WATTSON_MATCH_CALL
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GiveShockWave2::
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_TM34
|
2020-06-21 07:56:57 +02:00
|
|
|
compare VAR_RESULT, FALSE
|
2019-02-23 01:52:11 +01:00
|
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_TM34
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GiveShockWave::
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_TM34
|
2020-06-21 07:56:57 +02:00
|
|
|
compare VAR_RESULT, FALSE
|
2019-02-23 01:52:11 +01:00
|
|
|
goto_if_eq Common_EventScript_BagIsFull
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_ExplainShockWave, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_TM34
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_CompletedNewMauville::
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_WattsonGoForthAndEndeavor, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_WattsonRematch::
|
2019-10-11 23:25:07 +02:00
|
|
|
trainerbattle_rematch_double TRAINER_WATTSON_1, MauvilleCity_Gym_Text_WattsonPreRematch, MauvilleCity_Gym_Text_WattsonRematchDefeat, MauvilleCity_Gym_Text_WattsonRematchNeedTwoMons
|
2019-12-04 19:10:39 +01:00
|
|
|
msgbox MauvilleCity_Gym_Text_WattsonPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch1::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
compare VAR_MAUVILLE_GYM_STATE, 1
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_MAUVILLE_GYM_STATE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 0
|
2019-10-11 23:25:07 +02:00
|
|
|
goto MauvilleCity_Gym_EventScript_PressFloorSwitch
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch2::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
compare VAR_MAUVILLE_GYM_STATE, 2
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_MAUVILLE_GYM_STATE, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 1
|
2019-10-11 23:25:07 +02:00
|
|
|
goto MauvilleCity_Gym_EventScript_PressFloorSwitch
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch3::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
compare VAR_MAUVILLE_GYM_STATE, 3
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_MAUVILLE_GYM_STATE, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 2
|
2019-10-11 23:25:07 +02:00
|
|
|
goto MauvilleCity_Gym_EventScript_PressFloorSwitch
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Switch4::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
compare VAR_MAUVILLE_GYM_STATE, 4
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_eq MauvilleCity_Gym_EventScript_SwitchDoNothing
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_MAUVILLE_GYM_STATE, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 3
|
2019-10-11 23:25:07 +02:00
|
|
|
goto MauvilleCity_Gym_EventScript_PressFloorSwitch
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_PressFloorSwitch::
|
2019-10-11 23:25:07 +02:00
|
|
|
special MauvilleGymSetDefaultBarriers
|
|
|
|
special MauvilleGymPressSwitch
|
2017-11-10 02:21:31 +01:00
|
|
|
special DrawWholeMapView
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_UNLOCK
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_MAUVILLE_GYM_BARRIERS_STATE, MauvilleCity_Gym_EventScript_ClearBarriersAltState
|
|
|
|
goto_if_unset FLAG_MAUVILLE_GYM_BARRIERS_STATE, MauvilleCity_Gym_EventScript_SetBarriersAltState
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_SwitchDoNothing::
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_SetBarriersAltState::
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_MAUVILLE_GYM_BARRIERS_STATE
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_ClearBarriersAltState::
|
2019-01-02 22:12:43 +01:00
|
|
|
clearflag FLAG_MAUVILLE_GYM_BARRIERS_STATE
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Kirk::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_KIRK, MauvilleCity_Gym_Text_KirkIntro, MauvilleCity_Gym_Text_KirkDefeat
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_KirkPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Shawn::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_SHAWN, MauvilleCity_Gym_Text_ShawnIntro, MauvilleCity_Gym_Text_ShawnDefeat
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_ShawnPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Ben::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_BEN, MauvilleCity_Gym_Text_BenIntro, MauvilleCity_Gym_Text_BenDefeat
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_BenPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Vivian::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_VIVIAN, MauvilleCity_Gym_Text_VivianIntro, MauvilleCity_Gym_Text_VivianDefeat
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_VivianPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_Angelo::
|
2020-01-08 21:12:10 +01:00
|
|
|
trainerbattle_single TRAINER_ANGELO, MauvilleCity_Gym_Text_AngeloIntro, MauvilleCity_Gym_Text_AngeloDefeat
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_AngeloPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GymGuide::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_GymGuidePostVictory
|
|
|
|
msgbox MauvilleCity_Gym_Text_GymGuideAdvice, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GymGuidePostVictory::
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_GymGuidePostVictory, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_LeftGymStatue::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_BADGE03_GET, MauvilleCity_Gym_EventScript_GymStatueCertified
|
|
|
|
goto MauvilleCity_Gym_EventScript_GymStatue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_RightGymStatue::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-11 23:25:07 +02:00
|
|
|
goto_if_set FLAG_BADGE03_GET, MauvilleCity_Gym_EventScript_GymStatueCertified
|
|
|
|
goto MauvilleCity_Gym_EventScript_GymStatue
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GymStatueCertified::
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_GymStatueCertified, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_EventScript_GymStatue::
|
2019-10-11 23:25:07 +02:00
|
|
|
msgbox MauvilleCity_Gym_Text_GymStatue, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_GymGuideAdvice:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Hey, how's it going, CHAMPION-\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "bound {PLAYER}?\p"
|
|
|
|
.string "WATTSON, the LEADER of MAUVILLE\n"
|
|
|
|
.string "GYM, uses ELECTRIC-type POKéMON.\p"
|
|
|
|
.string "If you challenge him with WATER-type\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "POKéMON, he'll zap them! Bzzt!\p"
|
|
|
|
.string "And, he's put in switch-controlled\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "doors all over his GYM! Eccentric!\p"
|
|
|
|
.string "Hey, go for it!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_GymGuidePostVictory:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Whoa, you're electrifying!\n"
|
|
|
|
.string "You've powered the door open!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_KirkIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "My electric soul, it'll shatter your\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "dreams whole, whoa-yeahah!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_KirkDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That was plugged in, amped up,\n"
|
|
|
|
.string "over-driven electric, man!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_KirkPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "POKéMON and rock, it's all about heart,\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "whoa-yeah!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ShawnIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I trained under WATTSON!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "There ain't no way I'll lose easily!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ShawnDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Unplugged and turned off…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ShawnPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WATTSON, our GYM LEADER, has been\n"
|
|
|
|
.string "around for a long, long time.\p"
|
|
|
|
.string "He was battling even before your\n"
|
|
|
|
.string "daddy was born, that tough coot.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_BenIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "This GYM's got puzzles!\n"
|
|
|
|
.string "Isn't it fun?$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_BenDefeat:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's no fun to lose…$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_BenPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WATTSON says he likes setting up\n"
|
|
|
|
.string "little traps with switches.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_VivianIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "With my charm and my POKéMON's moves,\n"
|
|
|
|
.string "you'll be shocked!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_VivianDefeat:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm shocked by your power!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_VivianPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I've heard that MAUVILLE was founded\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "by WATTSON.\p"
|
|
|
|
.string "He was a TRAINER long before we\n"
|
|
|
|
.string "became TRAINERS.\l"
|
|
|
|
.string "He must know all sorts of things!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_AngeloIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I love shiny things!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_AngeloDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Oh…\n"
|
|
|
|
.string "My eyes are frazzled…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_AngeloPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "MAUVILLE GYM's WATTSON has a shiny\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "forehead. It makes me happy!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I've given up on my plans to convert\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "the city, I have.\p"
|
|
|
|
.string "And so, I put my time into making\n"
|
|
|
|
.string "door traps in my GYM.\p"
|
|
|
|
.string "Oh? Now, what are you doing here?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "What's that? You say you've gotten\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "past all my rigged doors?\p"
|
|
|
|
.string "Wahahahah!\n"
|
|
|
|
.string "Now, that is amusing!\p"
|
|
|
|
.string "Then, I, WATTSON, the LEADER of\n"
|
|
|
|
.string "MAUVILLE GYM, shall electrify you!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wahahahah!\n"
|
|
|
|
.string "Fine, I lost!\p"
|
|
|
|
.string "You ended up giving me a thrill!\n"
|
|
|
|
.string "Take this BADGE!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ReceivedDynamoBadge:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "{PLAYER} received the DYNAMO BADGE\n"
|
|
|
|
.string "from WATTSON.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ExplainDynamoBadgeTakeThis:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "With the DYNAMO BADGE, POKéMON can\n"
|
|
|
|
.string "use ROCK SMASH out of battle.\p"
|
|
|
|
.string "And, it will make your POKéMON a little\n"
|
|
|
|
.string "bit faster, too.\p"
|
|
|
|
.string "Hmm…\n"
|
|
|
|
.string "You should take this, too!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_ExplainShockWave:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That TM34 there contains SHOCK WAVE.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's a trustworthy move that never\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "misses! You can count on it!\p"
|
|
|
|
.string "… … … … … …$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_RegisteredWattson:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Registered GYM LEADER WATTSON\n"
|
|
|
|
.string "in the POKéNAV.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I swell with optimism, seeing a promising\n"
|
|
|
|
.string "young TRAINER like you!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonGoForthAndEndeavor:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wahahahah!\n"
|
|
|
|
.string "Go forth and endeavor, youngster!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_GymStatue:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "MAUVILLE CITY POKéMON GYM$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_GymStatueCertified:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "MAUVILLE CITY POKéMON GYM\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WATTSON'S CERTIFIED TRAINERS:\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "{PLAYER}$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonPreRematch:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WATTSON: Ah-ha! Here at last!\n"
|
|
|
|
.string "I know what you want.\l"
|
|
|
|
.string "You want to battle my POKéMON!\p"
|
|
|
|
.string "Wahahahaha!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'll make sparks fly from you!\n"
|
|
|
|
.string "Don't say I didn't warn you!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonRematchDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Oof…\n"
|
|
|
|
.string "Our batteries ran dry…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonPostRematch:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WATTSON: We'll have to recharge our\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "batteries again.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "When we're fully charged up, we'll\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "gladly accept your challenge.\p"
|
|
|
|
.string "So, come back again sometime,\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "won't you?$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_Gym_Text_WattsonRematchNeedTwoMons:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WATTSON: Ah-ha! Here at last!\n"
|
|
|
|
.string "I know what you want.\l"
|
|
|
|
.string "You want to battle my POKéMON!\p"
|
|
|
|
.string "Wahahahaha!\p"
|
|
|
|
.string "Oops! Wait!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You've only one POKéMON with you!\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Come see me with two or more\n"
|
|
|
|
.string "POKéMON, all right?$"
|
|
|
|
|