309 lines
10 KiB
PHP
309 lines
10 KiB
PHP
SlateportCity_PokemonFanClub_EventScript_2C7F16:: @ 82C7F16
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SWAGGER, SlateportCity_PokemonFanClub_EventScript_2C7F74
|
|
msgbox SlateportCity_PokemonFanClub_Text_2C6E37, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_2C7F6A
|
|
call SlateportCity_PokemonFanClub_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_2C7F6A
|
|
msgbox SlateportCity_PokemonFanClub_Text_2C6F66, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 23
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SlateportCity_PokemonFanClub_EventScript_2C7F6A
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SWAGGER
|
|
goto SlateportCity_PokemonFanClub_EventScript_2C7F74
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_2C7F6A:: @ 82C7F6A
|
|
msgbox SlateportCity_PokemonFanClub_Text_2C6F33, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_2C7F74:: @ 82C7F74
|
|
msgbox SlateportCity_PokemonFanClub_Text_2C6F9E, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
MauvilleCity_EventScript_2C7F7E:: @ 82C7F7E
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT, MauvilleCity_EventScript_2C7FDC
|
|
msgbox MauvilleCity_Text_2C6FDB, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MauvilleCity_EventScript_2C7FD2
|
|
call MauvilleCity_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MauvilleCity_EventScript_2C7FD2
|
|
msgbox MauvilleCity_Text_2C70F3, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 16
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MauvilleCity_EventScript_2C7FD2
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT
|
|
goto MauvilleCity_EventScript_2C7FDC
|
|
end
|
|
|
|
MauvilleCity_EventScript_2C7FD2:: @ 82C7FD2
|
|
msgbox MauvilleCity_Text_2C70C4, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
MauvilleCity_EventScript_2C7FDC:: @ 82C7FDC
|
|
msgbox MauvilleCity_Text_2C7133, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
VerdanturfTown_PokemonCenter_1F_EventScript_2C7FE6:: @ 82C7FE6
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER, VerdanturfTown_PokemonCenter_1F_EventScript_2C8044
|
|
msgbox VerdanturfTown_PokemonCenter_1F_Text_2C7174, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq VerdanturfTown_PokemonCenter_1F_EventScript_2C803A
|
|
call VerdanturfTown_PokemonCenter_1F_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq VerdanturfTown_PokemonCenter_1F_EventScript_2C803A
|
|
msgbox VerdanturfTown_PokemonCenter_1F_Text_2C7243, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 29
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq VerdanturfTown_PokemonCenter_1F_EventScript_2C803A
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER
|
|
goto VerdanturfTown_PokemonCenter_1F_EventScript_2C8044
|
|
end
|
|
|
|
VerdanturfTown_PokemonCenter_1F_EventScript_2C803A:: @ 82C803A
|
|
msgbox VerdanturfTown_PokemonCenter_1F_Text_2C7221, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
VerdanturfTown_PokemonCenter_1F_EventScript_2C8044:: @ 82C8044
|
|
msgbox VerdanturfTown_PokemonCenter_1F_Text_2C726E, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_House_EventScript_2C804E:: @ 82C804E
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_MIMIC, LavaridgeTown_House_EventScript_2C80AC
|
|
msgbox LavaridgeTown_House_Text_2C72B6, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LavaridgeTown_House_EventScript_2C80A2
|
|
call LavaridgeTown_House_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LavaridgeTown_House_EventScript_2C80A2
|
|
msgbox LavaridgeTown_House_Text_2C73B1, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 7
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LavaridgeTown_House_EventScript_2C80A2
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_MIMIC
|
|
goto LavaridgeTown_House_EventScript_2C80AC
|
|
end
|
|
|
|
LavaridgeTown_House_EventScript_2C80A2:: @ 82C80A2
|
|
msgbox LavaridgeTown_House_Text_2C737F, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LavaridgeTown_House_EventScript_2C80AC:: @ 82C80AC
|
|
msgbox LavaridgeTown_House_Text_2C73F6, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
FallarborTown_Mart_EventScript_2C80B6:: @ 82C80B6
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_METRONOME, FallarborTown_Mart_EventScript_2C8114
|
|
msgbox FallarborTown_Mart_Text_2C7449, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FallarborTown_Mart_EventScript_2C810A
|
|
call FallarborTown_Mart_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FallarborTown_Mart_EventScript_2C810A
|
|
msgbox FallarborTown_Mart_Text_2C7582, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 8
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FallarborTown_Mart_EventScript_2C810A
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_METRONOME
|
|
goto FallarborTown_Mart_EventScript_2C8114
|
|
end
|
|
|
|
FallarborTown_Mart_EventScript_2C810A:: @ 82C810A
|
|
msgbox FallarborTown_Mart_Text_2C7556, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
FallarborTown_Mart_EventScript_2C8114:: @ 82C8114
|
|
msgbox FallarborTown_Mart_Text_2C75B5, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
FortreeCity_House2_EventScript_2C811E:: @ 82C811E
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK, FortreeCity_House2_EventScript_2C817C
|
|
msgbox FortreeCity_House2_Text_2C7637, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FortreeCity_House2_EventScript_2C8172
|
|
call FortreeCity_House2_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FortreeCity_House2_EventScript_2C8172
|
|
msgbox FortreeCity_House2_Text_2C7721, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 24
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq FortreeCity_House2_EventScript_2C8172
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
|
|
goto FortreeCity_House2_EventScript_2C817C
|
|
end
|
|
|
|
FortreeCity_House2_EventScript_2C8172:: @ 82C8172
|
|
msgbox FortreeCity_House2_Text_2C76E2, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
FortreeCity_House2_EventScript_2C817C:: @ 82C817C
|
|
msgbox FortreeCity_House2_Text_2C775A, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2C8186:: @ 82C8186
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE, LilycoveCity_DepartmentStoreRooftop_EventScript_2C81E4
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2C77C6, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_2C81DA
|
|
call LilycoveCity_DepartmentStoreRooftop_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_2C81DA
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2C7911, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 14
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_2C81DA
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_2C81E4
|
|
end
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2C81DA:: @ 82C81DA
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2C78D1, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2C81E4:: @ 82C81E4
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2C794B, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
MossdeepCity_EventScript_2C81EE:: @ 82C81EE
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH, MossdeepCity_EventScript_2C824C
|
|
msgbox MossdeepCity_Text_2C79A6, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MossdeepCity_EventScript_2C8242
|
|
call MossdeepCity_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MossdeepCity_EventScript_2C8242
|
|
msgbox MossdeepCity_Text_2C7B0D, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 15
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq MossdeepCity_EventScript_2C8242
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH
|
|
goto MossdeepCity_EventScript_2C824C
|
|
end
|
|
|
|
MossdeepCity_EventScript_2C8242:: @ 82C8242
|
|
msgbox MossdeepCity_Text_2C7AD4, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
MossdeepCity_EventScript_2C824C:: @ 82C824C
|
|
msgbox MossdeepCity_Text_2C7B4F, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_PokemonCenter_1F_EventScript_2C8256:: @ 82C8256
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE, SootopolisCity_PokemonCenter_1F_EventScript_2C82B4
|
|
msgbox SootopolisCity_PokemonCenter_1F_Text_2C7B8E, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SootopolisCity_PokemonCenter_1F_EventScript_2C82AA
|
|
call SootopolisCity_PokemonCenter_1F_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SootopolisCity_PokemonCenter_1F_EventScript_2C82AA
|
|
msgbox SootopolisCity_PokemonCenter_1F_Text_2C7C98, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 4
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq SootopolisCity_PokemonCenter_1F_EventScript_2C82AA
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE
|
|
goto SootopolisCity_PokemonCenter_1F_EventScript_2C82B4
|
|
end
|
|
|
|
SootopolisCity_PokemonCenter_1F_EventScript_2C82AA:: @ 82C82AA
|
|
msgbox SootopolisCity_PokemonCenter_1F_Text_2C7C7E, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_PokemonCenter_1F_EventScript_2C82B4:: @ 82C82B4
|
|
msgbox SootopolisCity_PokemonCenter_1F_Text_2C7CC8, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_PokemonCenter_1F_EventScript_2C82BE:: @ 82C82BE
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION, PacifidlogTown_PokemonCenter_1F_EventScript_2C831C
|
|
msgbox PacifidlogTown_PokemonCenter_1F_Text_2C7CFA, MSGBOX_YESNO
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq PacifidlogTown_PokemonCenter_1F_EventScript_2C8312
|
|
call PacifidlogTown_PokemonCenter_1F_EventScript_2C832D
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq PacifidlogTown_PokemonCenter_1F_EventScript_2C8312
|
|
msgbox PacifidlogTown_PokemonCenter_1F_Text_2C7E40, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, 12
|
|
call EventScript_ShowPartyMenu
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq PacifidlogTown_PokemonCenter_1F_EventScript_2C8312
|
|
setflag FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION
|
|
goto PacifidlogTown_PokemonCenter_1F_EventScript_2C831C
|
|
end
|
|
|
|
PacifidlogTown_PokemonCenter_1F_EventScript_2C8312:: @ 82C8312
|
|
msgbox PacifidlogTown_PokemonCenter_1F_Text_2C7E04, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_PokemonCenter_1F_EventScript_2C831C:: @ 82C831C
|
|
msgbox PacifidlogTown_PokemonCenter_1F_Text_2C7E7A, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
EventScript_ShowPartyMenu:: @ 82C8326
|
|
special sub_81B892C
|
|
waitstate
|
|
lock
|
|
faceplayer
|
|
return
|
|
|
|
FallarborTown_Mart_EventScript_2C832D:: @ 82C832D
|
|
FortreeCity_House2_EventScript_2C832D:: @ 82C832D
|
|
LavaridgeTown_House_EventScript_2C832D:: @ 82C832D
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2C832D:: @ 82C832D
|
|
MauvilleCity_EventScript_2C832D:: @ 82C832D
|
|
MossdeepCity_EventScript_2C832D:: @ 82C832D
|
|
PacifidlogTown_PokemonCenter_1F_EventScript_2C832D:: @ 82C832D
|
|
SlateportCity_PokemonFanClub_EventScript_2C832D:: @ 82C832D
|
|
SootopolisCity_PokemonCenter_1F_EventScript_2C832D:: @ 82C832D
|
|
VerdanturfTown_PokemonCenter_1F_EventScript_2C832D:: @ 82C832D
|
|
msgbox MauvilleCity_Text_2C6E05, MSGBOX_YESNO
|
|
return
|