pokeemerald-expansion/data/scripts/move_tutors.inc
FosterProgramming fe2c154b89
Refactor chooseboxmon (#8491)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-01-22 19:54:19 +01:00

186 lines
5.4 KiB
C++

SlateportCity_PokemonFanClub_EventScript_SwaggerTutor::
lock
faceplayer
move_tutor MOVE_SWAGGER, MoveTutor_Text_SwaggerTeach, MoveTutor_Text_SwaggerWhichMon, MoveTutor_EventScript_SwaggerDeclined, MoveTutor_EventScript_SwaggerTaught, FLAG_MOVE_TUTOR_TAUGHT_SWAGGER
release
end
MoveTutor_EventScript_SwaggerDeclined::
msgbox MoveTutor_Text_SwaggerDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_SwaggerTaught::
msgbox MoveTutor_Text_SwaggerTaught, MSGBOX_DEFAULT
release
end
MauvilleCity_EventScript_RolloutTutor::
lock
faceplayer
move_tutor MOVE_ROLLOUT, MoveTutor_Text_RolloutTeach, MoveTutor_Text_RolloutWhichMon, MoveTutor_EventScript_RolloutDeclined, MoveTutor_EventScript_RolloutTaught, FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT
release
end
MoveTutor_EventScript_RolloutDeclined::
msgbox MoveTutor_Text_RolloutDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_RolloutTaught::
msgbox MoveTutor_Text_RolloutTaught, MSGBOX_DEFAULT
release
end
VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor::
lock
faceplayer
move_tutor MOVE_FURY_CUTTER, MoveTutor_Text_FuryCutterTeach, MoveTutor_Text_FuryCutterWhichMon, MoveTutor_EventScript_FuryCutterDeclined, MoveTutor_EventScript_FuryCutterTaught, FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER
end
MoveTutor_EventScript_FuryCutterDeclined::
msgbox MoveTutor_Text_FuryCutterDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_FuryCutterTaught::
msgbox MoveTutor_Text_FuryCutterTaught, MSGBOX_DEFAULT
release
end
LavaridgeTown_House_EventScript_MimicTutor::
lock
faceplayer
move_tutor MOVE_MIMIC, MoveTutor_MimicTeach, MoveTutor_Text_MimicWhichMon, MoveTutor_EventScript_MimicDeclined, MoveTutor_EventScript_MimicTaught, FLAG_MOVE_TUTOR_TAUGHT_MIMIC
end
MoveTutor_EventScript_MimicDeclined::
msgbox MoveTutor_MimicDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_MimicTaught::
msgbox MoveTutor_Text_MimicTaught, MSGBOX_DEFAULT
release
end
FallarborTown_Mart_EventScript_MetronomeTutor::
lock
faceplayer
move_tutor MOVE_METRONOME, MoveTutor_Text_MetronomeTeach, MoveTutor_Text_MetronomeWhichMon, MoveTutor_EventScript_MetronomeDeclined, MoveTutor_EventScript_MetronomeTaught, FLAG_MOVE_TUTOR_TAUGHT_METRONOME
end
MoveTutor_EventScript_MetronomeDeclined::
msgbox MoveTutor_Text_MetronomeDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_MetronomeTaught::
msgbox MoveTutor_Text_MetronomeTaught, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_SleepTalkTutor::
lock
faceplayer
move_tutor MOVE_SLEEP_TALK, MoveTutor_Text_SleepTalkTeach, MoveTutor_Text_SleepTalkWhichMon, MoveTutor_EventScript_SleepTalkDeclined, MoveTutor_EventScript_SleepTalkTaught, FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
end
MoveTutor_EventScript_SleepTalkDeclined::
msgbox MoveTutor_Text_SleepTalkDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_SleepTalkTaught::
msgbox MoveTutor_Text_SleepTalkTaught, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor::
lock
faceplayer
move_tutor MOVE_SUBSTITUTE, MoveTutor_Text_SubstituteTeach, MoveTutor_Text_SubstituteWhichMon, MoveTutor_EventScript_SubstituteDeclined, MoveTutor_EventScript_SubstituteTaught, FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE
end
MoveTutor_EventScript_SubstituteDeclined::
msgbox MoveTutor_Text_SubstituteDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_SubstituteTaught::
msgbox MoveTutor_Text_SubstituteTaught, MSGBOX_DEFAULT
release
end
MossdeepCity_EventScript_DynamicPunchTutor::
lock
faceplayer
move_tutor MOVE_DYNAMIC_PUNCH, MoveTutor_Text_DynamicPunchTeach, MoveTutor_Text_DynamicPunchWhichMon, MoveTutor_EventScript_DynamicPunchDeclined, MoveTutor_EventScript_DynamicPunchTaught, FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH
end
MoveTutor_EventScript_DynamicPunchDeclined::
msgbox MoveTutor_Text_DynamicPunchDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_DynamicPunchTaught::
msgbox MoveTutor_Text_DynamicPunchTaught, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor::
lock
faceplayer
move_tutor MOVE_DOUBLE_EDGE, MoveTutor_Text_DoubleEdgeTeach, MoveTutor_Text_DoubleEdgeWhichMon, MoveTutor_EventScript_DoubleEdgeDeclined, MoveTutor_EventScript_DoubleEdgeTaught, FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE
end
MoveTutor_EventScript_DoubleEdgeDeclined::
msgbox MoveTutor_Text_DoubleEdgeDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_DoubleEdgeTaught::
msgbox MoveTutor_Text_DoubleEdgeTaught, MSGBOX_DEFAULT
release
end
PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor::
lock
faceplayer
move_tutor MOVE_EXPLOSION, MoveTutor_Text_ExplosionTeach, MoveTutor_Text_ExplosionWhichMon, MoveTutor_EventScript_ExplosionDeclined, MoveTutor_EventScript_ExplosionTaught, FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION
end
MoveTutor_EventScript_ExplosionDeclined::
msgbox MoveTutor_Text_ExplosionDeclined, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_ExplosionTaught::
msgbox MoveTutor_Text_ExplosionTaught, MSGBOX_DEFAULT
release
end
MoveTutor_EventScript_OpenPartyMenu::
special ChooseMonForMoveTutor
waitstate
lock
faceplayer
return
MoveTutor_EventScript_OpenBox::
chooseboxmon SELECT_PC_MON_MOVE_TUTOR
waitstate
lock
faceplayer
return
MoveTutor_EventScript_CanOnlyBeLearnedOnce::
msgbox MoveTutor_Text_ThisMoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
return
MoveTutor_AfterChooseBoxMon::
waitstate
special CanTeachMoveBoxMon
waitstate
return