40 lines
1.4 KiB
ObjectPascal
40 lines
1.4 KiB
ObjectPascal
SSAnne_Deck_MapScripts::
|
|
.byte 0
|
|
|
|
SSAnne_Deck_EventScript_Youngster::
|
|
msgbox SSAnne_Deck_Text_ShipDepartingSoon, MSGBOX_NPC
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_BaldingMan::
|
|
msgbox SSAnne_Deck_Text_FeelSeasick, MSGBOX_NPC
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_Sailor::
|
|
msgbox SSAnne_Deck_Text_ScrubbingDecksHardWork, MSGBOX_NPC
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_Edmond::
|
|
trainerbattle_single TRAINER_SAILOR_EDMOND, SSAnne_Deck_Text_EdmondIntro, SSAnne_Deck_Text_EdmondDefeat
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
goto_if_eq VAR_RESULT, TRUE, SSAnne_Deck_EventScript_EdmondRematch
|
|
msgbox SSAnne_Deck_Text_EdmondPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_EdmondRematch::
|
|
trainerbattle_rematch TRAINER_SAILOR_EDMOND, SSAnne_Deck_Text_EdmondIntro, SSAnne_Deck_Text_EdmondDefeat
|
|
msgbox SSAnne_Deck_Text_EdmondPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_Trevor::
|
|
trainerbattle_single TRAINER_SAILOR_TREVOR, SSAnne_Deck_Text_TrevorIntro, SSAnne_Deck_Text_TrevorDefeat
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
goto_if_eq VAR_RESULT, TRUE, SSAnne_Deck_EventScript_TrevorRematch
|
|
msgbox SSAnne_Deck_Text_TrevorPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
SSAnne_Deck_EventScript_TrevorRematch::
|
|
trainerbattle_rematch TRAINER_SAILOR_TREVOR, SSAnne_Deck_Text_TrevorIntro, SSAnne_Deck_Text_TrevorDefeat
|
|
msgbox SSAnne_Deck_Text_TrevorPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|