pokeemerald/data/scripts/move_tutors.inc

301 lines
9.4 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
SlateportCity_PokemonFanClub_EventScript_SwaggerTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SWAGGER, MoveTutor_EventScript_SwaggerTaught
msgbox MoveTutor_Text_SwaggerTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SwaggerDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SwaggerDeclined
msgbox MoveTutor_Text_SwaggerWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_SWAGGER
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SwaggerDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_SWAGGER
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_SwaggerTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SwaggerDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SwaggerDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SwaggerTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SwaggerTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MauvilleCity_EventScript_RolloutTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT, MoveTutor_EventScript_RolloutTaught
msgbox MoveTutor_Text_RolloutTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_RolloutDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_RolloutDeclined
msgbox MoveTutor_Text_RolloutWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_ROLLOUT
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_RolloutDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_RolloutTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_RolloutDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_RolloutDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_RolloutTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_RolloutTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER, MoveTutor_EventScript_FuryCutterTaught
msgbox MoveTutor_Text_FuryCutterTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_FuryCutterDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_FuryCutterDeclined
msgbox MoveTutor_Text_FuryCutterWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_FURY_CUTTER
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_FuryCutterDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_FuryCutterTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_FuryCutterDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_FuryCutterDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_FuryCutterTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_FuryCutterTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
LavaridgeTown_House_EventScript_MimicTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_MIMIC, MoveTutor_EventScript_MimicTaught
msgbox MoveTutor_MimicTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MimicDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MimicDeclined
msgbox MoveTutor_Text_MimicWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_MIMIC
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MimicDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_MIMIC
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_MimicTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_MimicDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_MimicDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_MimicTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_MimicTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
FallarborTown_Mart_EventScript_MetronomeTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_METRONOME, MoveTutor_EventScript_MetronomeTaught
msgbox MoveTutor_Text_MetronomeTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MetronomeDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MetronomeDeclined
msgbox MoveTutor_Text_MetronomeWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_METRONOME
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_MetronomeDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_METRONOME
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_MetronomeTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_MetronomeDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_MetronomeDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_MetronomeTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_MetronomeTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
FortreeCity_House2_EventScript_SleepTalkTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK, MoveTutor_EventScript_SleepTalkTaught
msgbox MoveTutor_Text_SleepTalkTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SleepTalkDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SleepTalkDeclined
msgbox MoveTutor_Text_SleepTalkWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_SLEEP_TALK
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SleepTalkDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_SleepTalkTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SleepTalkDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SleepTalkDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SleepTalkTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SleepTalkTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE, MoveTutor_EventScript_SubstituteTaught
msgbox MoveTutor_Text_SubstituteTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SubstituteDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SubstituteDeclined
msgbox MoveTutor_Text_SubstituteWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_SUBSTITUTE
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_SubstituteDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_SubstituteTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SubstituteDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SubstituteDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_SubstituteTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_SubstituteTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MossdeepCity_EventScript_DynamicPunchTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH, MoveTutor_EventScript_DynamicPunchTaught
msgbox MoveTutor_Text_DynamicPunchTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DynamicPunchDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DynamicPunchDeclined
msgbox MoveTutor_Text_DynamicPunchWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_DYNAMIC_PUNCH
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DynamicPunchDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_DynamicPunchTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_DynamicPunchDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_DynamicPunchDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_DynamicPunchTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_DynamicPunchTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE, MoveTutor_EventScript_DoubleEdgeTaught
msgbox MoveTutor_Text_DoubleEdgeTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DoubleEdgeDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DoubleEdgeDeclined
msgbox MoveTutor_Text_DoubleEdgeWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_DOUBLE_EDGE
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_DoubleEdgeDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_DoubleEdgeTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_DoubleEdgeDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_DoubleEdgeDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_DoubleEdgeTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_DoubleEdgeTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor::
2019-10-05 16:52:48 +02:00
lock
faceplayer
2019-10-06 23:30:17 +02:00
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION, MoveTutor_EventScript_ExplosionTaught
msgbox MoveTutor_Text_ExplosionTeach, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_ExplosionDeclined
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_ExplosionDeclined
msgbox MoveTutor_Text_ExplosionWhichMon, MSGBOX_DEFAULT
setvar VAR_0x8005, TUTOR_MOVE_EXPLOSION
call MoveTutor_EventScript_OpenPartyMenu
2019-10-05 16:52:48 +02:00
compare VAR_RESULT, 0
2019-10-06 23:30:17 +02:00
goto_if_eq MoveTutor_EventScript_ExplosionDeclined
2019-10-05 16:52:48 +02:00
setflag FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION
2019-10-06 23:30:17 +02:00
goto MoveTutor_EventScript_ExplosionTaught
2019-10-05 16:52:48 +02:00
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_ExplosionDeclined::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_ExplosionDeclined, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_ExplosionTaught::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_ExplosionTaught, MSGBOX_DEFAULT
2019-10-05 16:52:48 +02:00
release
end
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_OpenPartyMenu::
2019-10-18 01:22:03 +02:00
special ChooseMonForMoveTutor
2019-10-05 16:52:48 +02:00
waitstate
lock
faceplayer
return
2019-09-27 18:22:58 +02:00
2021-07-20 21:18:31 +02:00
MoveTutor_EventScript_CanOnlyBeLearnedOnce::
2019-10-06 23:30:17 +02:00
msgbox MoveTutor_Text_ThisMoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
2019-10-05 16:52:48 +02:00
return