mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-26 12:42:56 -04:00
48 lines
1.4 KiB
ObjectPascal
48 lines
1.4 KiB
ObjectPascal
MtPyre_3F_MapScripts::
|
|
.byte 0
|
|
|
|
MtPyre_3F_EventScript_William::
|
|
trainerbattle_single TRAINER_WILLIAM, MtPyre_3F_Text_WilliamIntro, MtPyre_3F_Text_WilliamDefeat
|
|
msgbox MtPyre_3F_Text_WilliamPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
MtPyre_3F_EventScript_Kayla::
|
|
trainerbattle_single TRAINER_KAYLA, MtPyre_3F_Text_KaylaIntro, MtPyre_3F_Text_KaylaDefeat
|
|
msgbox MtPyre_3F_Text_KaylaPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
MtPyre_3F_EventScript_Gabrielle::
|
|
trainerbattle_single TRAINER_GABRIELLE_1, MtPyre_3F_Text_GabrielleIntro, MtPyre_3F_Text_GabrielleDefeat, MtPyre_3F_EventScript_RegisterGabrielle
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
goto_if_eq VAR_RESULT, TRUE, MtPyre_3F_EventScript_RematchGabrielle
|
|
msgbox MtPyre_3F_Text_GabriellePostBattle, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
MtPyre_3F_EventScript_RegisterGabrielle::
|
|
special PlayerFaceTrainerAfterBattle
|
|
waitmovement 0
|
|
msgbox MtPyre_3F_Text_GabrielleRegister, MSGBOX_DEFAULT
|
|
register_matchcall TRAINER_GABRIELLE_1
|
|
release
|
|
end
|
|
|
|
MtPyre_3F_EventScript_RematchGabrielle::
|
|
trainerbattle_rematch TRAINER_GABRIELLE_1, MtPyre_3F_Text_GabrielleRematchIntro, MtPyre_3F_Text_GabrielleRematchDefeat
|
|
msgbox MtPyre_3F_Text_GabriellePostRematch, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/MtPyre_3F/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/MtPyre_3F/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/MtPyre_3F/text_es.inc"
|
|
.else
|
|
.include "data/maps/MtPyre_3F/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|