pokeemerald/data/maps/AbandonedShip_Rooms2_1F/scripts.inc

150 lines
5.8 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_Dan::
2019-11-06 15:31:04 +01:00
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanIntro, AbandonedShip_Rooms2_1F_Text_DanDefeat, AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterDan
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_DanRematch
2019-11-06 15:31:04 +01:00
msgbox AbandonedShip_Rooms2_1F_Text_DanPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_RegisterDan::
2019-11-06 15:31:04 +01:00
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT @ Kira speaks for both when registering KiraAndDan
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_KIRA_AND_DAN_1
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_DanRematch::
2019-11-06 15:31:04 +01:00
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanRematchIntro, AbandonedShip_Rooms2_1F_Text_DanRematchDefeat, AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons
msgbox AbandonedShip_Rooms2_1F_Text_DanPostRematch, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_Kira::
2019-11-06 15:31:04 +01:00
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraIntro, AbandonedShip_Rooms2_1F_Text_KiraDefeat, AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterKira
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_KiraRematch
2019-11-06 15:31:04 +01:00
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_RegisterKira::
2019-11-06 15:31:04 +01:00
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_KIRA_AND_DAN_1
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_KiraRematch::
2019-11-06 15:31:04 +01:00
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraRematchIntro, AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat, AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostRematch, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_Jani::
2019-11-06 15:31:04 +01:00
trainerbattle_single TRAINER_JANI, AbandonedShip_Rooms2_1F_Text_JaniIntro, AbandonedShip_Rooms2_1F_Text_JaniDefeat
msgbox AbandonedShip_Rooms2_1F_Text_JaniPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_EventScript_Garrison::
2019-11-06 15:31:04 +01:00
trainerbattle_single TRAINER_GARRISON, AbandonedShip_Rooms2_1F_Text_GarrisonIntro, AbandonedShip_Rooms2_1F_Text_GarrisonDefeat
msgbox AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanIntro:
2017-11-10 02:21:31 +01:00
.string "DAN: While searching for treasures,\n"
.string "we discovered a TRAINER!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanDefeat:
2018-12-07 16:41:08 +01:00
.string "DAN: We couldn't win even though\n"
2017-11-10 02:21:31 +01:00
.string "we worked together…$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanPostBattle:
2018-12-07 16:41:08 +01:00
.string "DAN: We can't find any treasures…\n"
2017-11-10 02:21:31 +01:00
.string "I wonder if someone got them already?$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons:
2018-12-07 16:41:08 +01:00
.string "DAN: You don't even have two POKéMON.\n"
.string "You can't expect to beat us like that.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraIntro:
2017-11-10 02:21:31 +01:00
.string "KIRA: Oh?\n"
.string "We were searching for treasures.\l"
.string "But we discovered a TRAINER instead!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraDefeat:
2017-11-10 02:21:31 +01:00
.string "KIRA: Ooh, so strong!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraPostBattle:
2017-11-10 02:21:31 +01:00
.string "KIRA: Where could the treasures be?\p"
2018-12-07 16:41:08 +01:00
.string "I've already decided what I'm buying\n"
2017-11-10 02:21:31 +01:00
.string "when we find the treasures!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons:
2018-12-07 16:41:08 +01:00
.string "KIRA: Oh, you don't have two POKéMON?\n"
.string "We'll have to battle some other time!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraRegister:
2017-11-10 02:21:31 +01:00
.string "KIRA: Oh, you make me so angry!\n"
2018-12-07 16:41:08 +01:00
.string "I'm going to register you for that!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanRematchIntro:
2018-12-07 16:41:08 +01:00
.string "DAN: We've been searching for\n"
2017-11-10 02:21:31 +01:00
.string "treasures all this time.\p"
.string "Our POKéMON have grown stronger, too.\n"
.string "Let us show you, okay?$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanRematchDefeat:
2018-12-07 16:41:08 +01:00
.string "DAN: You're strong, as usual!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanPostRematch:
2018-12-07 16:41:08 +01:00
.string "DAN: We can't find any treasures,\n"
2017-11-10 02:21:31 +01:00
.string "we lose at POKéMON…\p"
.string "I want to go home… But if I say that,\n"
.string "she gets all angry with me…$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons:
2018-12-07 16:41:08 +01:00
.string "DAN: You don't even have two POKéMON.\n"
.string "You can't expect to beat us like that.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraRematchIntro:
2017-11-10 02:21:31 +01:00
.string "KIRA: Oh? We meet again!\p"
2018-12-07 16:41:08 +01:00
.string "Just like us, you still haven't given up\n"
2017-11-10 02:21:31 +01:00
.string "searching for treasures, have you?\p"
.string "Want to make it so the loser has\n"
.string "to give up searching?$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat:
2017-11-10 02:21:31 +01:00
.string "KIRA: Oh, we lost again…$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraPostRematch:
2018-12-07 16:41:08 +01:00
.string "KIRA: We're not leaving until we raise\n"
2017-11-10 02:21:31 +01:00
.string "our POKéMON some more and we find\l"
.string "the treasures here!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons:
2018-12-07 16:41:08 +01:00
.string "KIRA: Oh, you don't have two POKéMON?\n"
.string "We'll have to battle some other time!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_JaniIntro:
2018-12-07 16:41:08 +01:00
.string "I'm not good at swimming,\n"
2017-11-10 02:21:31 +01:00
.string "but I am good at battles!$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_JaniDefeat:
2017-11-10 02:21:31 +01:00
.string "Oops.\n"
2018-12-07 16:41:08 +01:00
.string "That didn't go very well.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_JaniPostBattle:
2017-11-10 02:21:31 +01:00
.string "Walking around barefoot in this ship\n"
.string "is kind of gross.$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_GarrisonIntro:
2017-11-10 02:21:31 +01:00
.string "Strength and compassion…\n"
2018-12-07 16:41:08 +01:00
.string "Those are a TRAINER's treasures!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_GarrisonDefeat:
2017-11-10 02:21:31 +01:00
.string "Ah, there is something about you\n"
.string "that sparkles.$"
2021-07-20 21:18:31 +02:00
AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle:
2017-11-10 02:21:31 +01:00
.string "In a cabin somewhere on board,\n"
.string "I saw something sparkle.$"