Files
2026-06-08 18:24:42 +09:30

97 lines
3.9 KiB
SQL

MtMoon_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, MtMoon_1F_OnTransition
.byte 0
MtMoon_1F_OnTransition::
setworldmapflag FLAG_WORLD_MAP_MT_MOON_1F
end
MtMoon_1F_EventScript_ZubatSign::
msgbox MtMoon_1F_Text_ZubatIsABloodsucker, MSGBOX_SIGN
end
MtMoon_1F_EventScript_Marcos::
trainerbattle_single TRAINER_HIKER_MARCOS, MtMoon_1F_Text_MarcosIntro, MtMoon_1F_Text_MarcosDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_MarcosRematch
msgbox MtMoon_1F_Text_MarcosPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_MarcosRematch::
trainerbattle_rematch TRAINER_HIKER_MARCOS, MtMoon_1F_Text_MarcosIntro, MtMoon_1F_Text_MarcosDefeat
msgbox MtMoon_1F_Text_MarcosPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Josh::
trainerbattle_single TRAINER_YOUNGSTER_JOSH, MtMoon_1F_Text_JoshIntro, MtMoon_1F_Text_JoshDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_JoshRematch
msgbox MtMoon_1F_Text_JoshPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_JoshRematch::
trainerbattle_rematch TRAINER_YOUNGSTER_JOSH, MtMoon_1F_Text_JoshIntro, MtMoon_1F_Text_JoshDefeat
msgbox MtMoon_1F_Text_JoshPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Miriam::
trainerbattle_single TRAINER_LASS_MIRIAM, MtMoon_1F_Text_MiriamIntro, MtMoon_1F_Text_MiriamDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_MiriamRematch
msgbox MtMoon_1F_Text_MiriamPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_MiriamRematch::
trainerbattle_rematch TRAINER_LASS_MIRIAM, MtMoon_1F_Text_MiriamIntro, MtMoon_1F_Text_MiriamDefeat
msgbox MtMoon_1F_Text_MiriamPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Iris::
trainerbattle_single TRAINER_LASS_IRIS, MtMoon_1F_Text_IrisIntro, MtMoon_1F_Text_IrisDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_IrisRematch
msgbox MtMoon_1F_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_IrisRematch::
trainerbattle_rematch TRAINER_LASS_IRIS, MtMoon_1F_Text_IrisIntro, MtMoon_1F_Text_IrisDefeat
msgbox MtMoon_1F_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Jovan::
trainerbattle_single TRAINER_SUPER_NERD_JOVAN, MtMoon_1F_Text_JovanIntro, MtMoon_1F_Text_JovanDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_JovanRematch
msgbox MtMoon_1F_Text_JovanPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_JovanRematch::
trainerbattle_rematch TRAINER_SUPER_NERD_JOVAN, MtMoon_1F_Text_JovanIntro, MtMoon_1F_Text_JovanDefeat
msgbox MtMoon_1F_Text_JovanPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Kent::
trainerbattle_single TRAINER_BUG_CATCHER_KENT, MtMoon_1F_Text_KentIntro, MtMoon_1F_Text_KentDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_KentRematch
msgbox MtMoon_1F_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_KentRematch::
trainerbattle_rematch TRAINER_BUG_CATCHER_KENT, MtMoon_1F_Text_KentIntro, MtMoon_1F_Text_KentDefeat
msgbox MtMoon_1F_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_Robby::
trainerbattle_single TRAINER_BUG_CATCHER_ROBBY, MtMoon_1F_Text_RobbyIntro, MtMoon_1F_Text_RobbyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MtMoon_1F_EventScript_RobbyRematch
msgbox MtMoon_1F_Text_RobbyPostBattle, MSGBOX_AUTOCLOSE
end
MtMoon_1F_EventScript_RobbyRematch::
trainerbattle_rematch TRAINER_BUG_CATCHER_ROBBY, MtMoon_1F_Text_RobbyIntro, MtMoon_1F_Text_RobbyDefeat
msgbox MtMoon_1F_Text_RobbyPostBattle, MSGBOX_AUTOCLOSE
end