pokeemmo/data/maps/Route106/scripts.inc
2025-04-08 01:07:12 +08:00

47 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Route106_MapScripts::
.byte 0
Route106_EventScript_TrainerTipsSign::
msgbox Route106_Text_TrainerTips, MSGBOX_SIGN
end
Route106_EventScript_Douglas::
trainerbattle_single TRAINER_DOUGLAS, Route106_Text_DouglasIntro, Route106_Text_DouglasDefeated
msgbox Route106_Text_DouglasPostBattle, MSGBOX_AUTOCLOSE
end
Route106_EventScript_Kyla::
trainerbattle_single TRAINER_KYLA, Route106_Text_KylaIntro, Route106_Text_KylaDefeated
msgbox Route106_Text_KylaPostBattle, MSGBOX_AUTOCLOSE
end
Route106_EventScript_Elliot::
trainerbattle_single TRAINER_ELLIOT_1, Route106_Text_ElliotIntro, Route106_Text_ElliotDefeated, Route106_EventScript_ElliotRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route106_EventScript_ElliotRematch
msgbox Route106_Text_ElliotPostBattle, MSGBOX_DEFAULT
release
end
Route106_EventScript_ElliotRegisterMatchCallAfterBattle::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route106_Text_ElliotRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ELLIOT_1
release
end
Route106_EventScript_ElliotRematch::
trainerbattle_rematch TRAINER_ELLIOT_1, Route106_Text_ElliotRematchIntro, Route106_Text_ElliotRematchDefeated
msgbox Route106_Text_ElliotRematchPostBattle, MSGBOX_AUTOCLOSE
end
Route106_EventScript_Ned::
trainerbattle_single TRAINER_NED, Route106_Text_NedIntro, Route106_Text_NedDefeated
msgbox Route106_Text_NedPostBattle, MSGBOX_AUTOCLOSE
end
Route106_Text_TrainerTips:
.string "训练师小技巧\p关于钓鱼的建议\n当鱼咬钩时按下A键。$"