summaryrefslogtreecommitdiff
path: root/data/maps/MeteorFalls_1F_2R
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
committerMarcus Huderle <huderlem@gmail.com>2020-01-13 20:26:20 -0600
commit5a2d676e71b720e752ca8a624a5795b3b1d7eb6c (patch)
tree6ef755064008dfae8ce2942dc2762670cdabe815 /data/maps/MeteorFalls_1F_2R
parent5007d279fea5326b41b877703c74fcaa56223364 (diff)
parent22931846d680de2bc585093678db3f5721aab891 (diff)
Merge remote-tracking branch 'upstream' into tustin2121-patch-5
Diffstat (limited to 'data/maps/MeteorFalls_1F_2R')
-rw-r--r--data/maps/MeteorFalls_1F_2R/map.json6
-rw-r--r--data/maps/MeteorFalls_1F_2R/scripts.inc110
2 files changed, 58 insertions, 58 deletions
diff --git a/data/maps/MeteorFalls_1F_2R/map.json b/data/maps/MeteorFalls_1F_2R/map.json
index be52085cd..1b27e859e 100644
--- a/data/maps/MeteorFalls_1F_2R/map.json
+++ b/data/maps/MeteorFalls_1F_2R/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "MeteorFalls_1F_2R_EventScript_22C4DE",
+ "script": "MeteorFalls_1F_2R_EventScript_Nicolas",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "MeteorFalls_1F_2R_EventScript_22C540",
+ "script": "MeteorFalls_1F_2R_EventScript_John",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "MeteorFalls_1F_2R_EventScript_22C5A4",
+ "script": "MeteorFalls_1F_2R_EventScript_Jay",
"flag": "0"
}
],
diff --git a/data/maps/MeteorFalls_1F_2R/scripts.inc b/data/maps/MeteorFalls_1F_2R/scripts.inc
index fee636e0b..0fa73212e 100644
--- a/data/maps/MeteorFalls_1F_2R/scripts.inc
+++ b/data/maps/MeteorFalls_1F_2R/scripts.inc
@@ -1,184 +1,184 @@
MeteorFalls_1F_2R_MapScripts:: @ 822C4DD
.byte 0
-MeteorFalls_1F_2R_EventScript_22C4DE:: @ 822C4DE
- trainerbattle_single TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_22C608, MeteorFalls_1F_2R_Text_22C678, MeteorFalls_1F_2R_EventScript_22C50A
+MeteorFalls_1F_2R_EventScript_Nicolas:: @ 822C4DE
+ trainerbattle_single TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_NicolasIntro, MeteorFalls_1F_2R_Text_NicolasDefeat, MeteorFalls_1F_2R_EventScript_RegisterNicolas
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq MeteorFalls_1F_2R_EventScript_22C529
- msgbox MeteorFalls_1F_2R_Text_22C6A3, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq MeteorFalls_1F_2R_EventScript_RematchNicolas
+ msgbox MeteorFalls_1F_2R_Text_NicolasPostBattle, MSGBOX_DEFAULT
release
end
-MeteorFalls_1F_2R_EventScript_22C50A:: @ 822C50A
- special sub_80B4808
+MeteorFalls_1F_2R_EventScript_RegisterNicolas:: @ 822C50A
+ special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox MeteorFalls_1F_2R_Text_22C6F6, MSGBOX_DEFAULT
+ msgbox MeteorFalls_1F_2R_Text_NicolasRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_NICOLAS_1
release
end
-MeteorFalls_1F_2R_EventScript_22C529:: @ 822C529
- trainerbattle_rematch TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_22C73F, MeteorFalls_1F_2R_Text_22C7AD
- msgbox MeteorFalls_1F_2R_Text_22C7D8, MSGBOX_AUTOCLOSE
+MeteorFalls_1F_2R_EventScript_RematchNicolas:: @ 822C529
+ trainerbattle_rematch TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_NicolasRematchIntro, MeteorFalls_1F_2R_Text_NicolasRematchDefeat
+ msgbox MeteorFalls_1F_2R_Text_NicolasPostRematch, MSGBOX_AUTOCLOSE
end
-MeteorFalls_1F_2R_EventScript_22C540:: @ 822C540
- trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_22C843, MeteorFalls_1F_2R_Text_22C89C, MeteorFalls_1F_2R_Text_22C92B, MeteorFalls_1F_2R_EventScript_22C570
+MeteorFalls_1F_2R_EventScript_John:: @ 822C540
+ trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JohnIntro, MeteorFalls_1F_2R_Text_JohnDefeat, MeteorFalls_1F_2R_Text_JohnNotEnoughMons, MeteorFalls_1F_2R_EventScript_RegisterJohn
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq MeteorFalls_1F_2R_EventScript_22C589
- msgbox MeteorFalls_1F_2R_Text_22C8C1, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq MeteorFalls_1F_2R_EventScript_RematchJohn
+ msgbox MeteorFalls_1F_2R_Text_JohnPostBattle, MSGBOX_DEFAULT
release
end
-MeteorFalls_1F_2R_EventScript_22C570:: @ 822C570
- msgbox MeteorFalls_1F_2R_Text_22C99C, MSGBOX_DEFAULT
+MeteorFalls_1F_2R_EventScript_RegisterJohn:: @ 822C570
+ msgbox MeteorFalls_1F_2R_Text_JohnRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JOHN_AND_JAY_1
release
end
-MeteorFalls_1F_2R_EventScript_22C589:: @ 822C589
- trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_22CB47, MeteorFalls_1F_2R_Text_22CBA0, MeteorFalls_1F_2R_Text_22CC27
- msgbox MeteorFalls_1F_2R_Text_22CBC5, MSGBOX_AUTOCLOSE
+MeteorFalls_1F_2R_EventScript_RematchJohn:: @ 822C589
+ trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JohnRematchIntro, MeteorFalls_1F_2R_Text_JohnRematchDefeat, MeteorFalls_1F_2R_Text_JohnRematchNotEnoughMons
+ msgbox MeteorFalls_1F_2R_Text_JohnPostRematch, MSGBOX_AUTOCLOSE
end
-MeteorFalls_1F_2R_EventScript_22C5A4:: @ 822C5A4
- trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_22C9E6, MeteorFalls_1F_2R_Text_22CA44, MeteorFalls_1F_2R_Text_22CACD, MeteorFalls_1F_2R_EventScript_22C5D4
+MeteorFalls_1F_2R_EventScript_Jay:: @ 822C5A4
+ trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JayIntro, MeteorFalls_1F_2R_Text_JayDefeat, MeteorFalls_1F_2R_Text_JayNotEnoughMons, MeteorFalls_1F_2R_EventScript_RegisterJay
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq MeteorFalls_1F_2R_EventScript_22C5ED
- msgbox MeteorFalls_1F_2R_Text_22CA70, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq MeteorFalls_1F_2R_EventScript_RematchJay
+ msgbox MeteorFalls_1F_2R_Text_JayPostBattle, MSGBOX_DEFAULT
release
end
-MeteorFalls_1F_2R_EventScript_22C5D4:: @ 822C5D4
- msgbox MeteorFalls_1F_2R_Text_22C99C, MSGBOX_DEFAULT
+MeteorFalls_1F_2R_EventScript_RegisterJay:: @ 822C5D4
+ msgbox MeteorFalls_1F_2R_Text_JohnRegister, MSGBOX_DEFAULT @ John speaks for both during register
register_matchcall TRAINER_JOHN_AND_JAY_1
release
end
-MeteorFalls_1F_2R_EventScript_22C5ED:: @ 822C5ED
- trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_22CC98, MeteorFalls_1F_2R_Text_22CD08, MeteorFalls_1F_2R_Text_22CDAB
- msgbox MeteorFalls_1F_2R_Text_22CD34, MSGBOX_AUTOCLOSE
+MeteorFalls_1F_2R_EventScript_RematchJay:: @ 822C5ED
+ trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JayRematchIntro, MeteorFalls_1F_2R_Text_JayRematchDefeat, MeteorFalls_1F_2R_Text_JayRematchNotEnoughMons
+ msgbox MeteorFalls_1F_2R_Text_JayPostRematch, MSGBOX_AUTOCLOSE
end
-MeteorFalls_1F_2R_Text_22C608: @ 822C608
+MeteorFalls_1F_2R_Text_NicolasIntro: @ 822C608
.string "This is where we DRAGON users do our\n"
.string "training.\p"
.string "The CHAMPION even visits.\n"
.string "Now do you see how special it is here?$"
-MeteorFalls_1F_2R_Text_22C678: @ 822C678
+MeteorFalls_1F_2R_Text_NicolasDefeat: @ 822C678
.string "Urgh!\n"
.string "I didn't expect you to be so strong!$"
-MeteorFalls_1F_2R_Text_22C6A3: @ 822C6A3
+MeteorFalls_1F_2R_Text_NicolasPostBattle: @ 822C6A3
.string "The road ahead remains long and harsh.\p"
.string "When will my POKéMON and I become\n"
.string "the best?$"
-MeteorFalls_1F_2R_Text_22C6F6: @ 822C6F6
+MeteorFalls_1F_2R_Text_NicolasRegister: @ 822C6F6
.string "I want to know more about your power.\n"
.string "Let me register you in my POKéNAV.$"
-MeteorFalls_1F_2R_Text_22C73F: @ 822C73F
+MeteorFalls_1F_2R_Text_NicolasRematchIntro: @ 822C73F
.string "Since we met, we have trained hard\n"
.string "with our sights on number one.\p"
.string "Help us see how much stronger we've\n"
.string "become!$"
-MeteorFalls_1F_2R_Text_22C7AD: @ 822C7AD
+MeteorFalls_1F_2R_Text_NicolasRematchDefeat: @ 822C7AD
.string "Urgh!\n"
.string "I didn't expect you to be so strong!$"
-MeteorFalls_1F_2R_Text_22C7D8: @ 822C7D8
+MeteorFalls_1F_2R_Text_NicolasPostRematch: @ 822C7D8
.string "You've obviously kept up your\n"
.string "POKéMON training.\p"
.string "So long as you remain strong, I, too,\n"
.string "can become stronger!$"
-MeteorFalls_1F_2R_Text_22C843: @ 822C843
+MeteorFalls_1F_2R_Text_JohnIntro: @ 822C843
.string "JOHN: We've always battled POKéMON\n"
.string "together as a twosome.\l"
.string "We've confidence in ourselves.$"
-MeteorFalls_1F_2R_Text_22C89C: @ 822C89C
+MeteorFalls_1F_2R_Text_JohnDefeat: @ 822C89C
.string "JOHN: Oh, my.\n"
.string "We've lost, dear wife.$"
-MeteorFalls_1F_2R_Text_22C8C1: @ 822C8C1
+MeteorFalls_1F_2R_Text_JohnPostBattle: @ 822C8C1
.string "JOHN: We've been married for\n"
.string "fifty years.\p"
.string "Come to think of it, I've yet to beat\n"
.string "my dear wife in a battle.$"
-MeteorFalls_1F_2R_Text_22C92B: @ 822C92B
+MeteorFalls_1F_2R_Text_JohnNotEnoughMons: @ 822C92B
.string "JOHN: Well, well, what a young TRAINER!\p"
.string "Will you battle with us? If so, you'll\n"
.string "have to return with more POKéMON.$"
-MeteorFalls_1F_2R_Text_22C99C: @ 822C99C
+MeteorFalls_1F_2R_Text_JohnRegister: @ 822C99C
.string "JOHN: Young TRAINER, if the chance\n"
.string "arises, will you battle with us again?$"
-MeteorFalls_1F_2R_Text_22C9E6: @ 822C9E6
+MeteorFalls_1F_2R_Text_JayIntro: @ 822C9E6
.string "JAY: We've been married for\n"
.string "fifty years.\p"
.string "The bond we share as a couple could\n"
.string "never be broken.$"
-MeteorFalls_1F_2R_Text_22CA44: @ 822CA44
+MeteorFalls_1F_2R_Text_JayDefeat: @ 822CA44
.string "JAY: Oh, dear.\n"
.string "We've lost, my dear husband.$"
-MeteorFalls_1F_2R_Text_22CA70: @ 822CA70
+MeteorFalls_1F_2R_Text_JayPostBattle: @ 822CA70
.string "JAY: Fifty years of marriage…\p"
.string "If we ever argued, we always settled\n"
.string "it with a POKéMON battle…$"
-MeteorFalls_1F_2R_Text_22CACD: @ 822CACD
+MeteorFalls_1F_2R_Text_JayNotEnoughMons: @ 822CACD
.string "JAY: Well, well, aren't you a young\n"
.string "TRAINER?\p"
.string "If you'd care to battle with us, you'll\n"
.string "have to come back with more POKéMON.$"
-MeteorFalls_1F_2R_Text_22CB47: @ 822CB47
+MeteorFalls_1F_2R_Text_JohnRematchIntro: @ 822CB47
.string "JOHN: We've always battled POKéMON\n"
.string "together as a twosome.\l"
.string "We've confidence in ourselves.$"
-MeteorFalls_1F_2R_Text_22CBA0: @ 822CBA0
+MeteorFalls_1F_2R_Text_JohnRematchDefeat: @ 822CBA0
.string "JOHN: Oh, my.\n"
.string "We've lost, dear wife.$"
-MeteorFalls_1F_2R_Text_22CBC5: @ 822CBC5
+MeteorFalls_1F_2R_Text_JohnPostRematch: @ 822CBC5
.string "JOHN: Married for fifty years…\p"
.string "On reflection, the dear wife and I,\n"
.string "we battled day in and day out…$"
-MeteorFalls_1F_2R_Text_22CC27: @ 822CC27
+MeteorFalls_1F_2R_Text_JohnRematchNotEnoughMons: @ 822CC27
.string "JOHN: Well, well, what a young TRAINER!\p"
.string "Will you battle with us? If so, you'll\n"
.string "have to return with more POKéMON.$"
-MeteorFalls_1F_2R_Text_22CC98: @ 822CC98
+MeteorFalls_1F_2R_Text_JayRematchIntro: @ 822CC98
.string "JAY: We've been married for\n"
.string "fifty years.\p"
.string "We've supported each other all that\n"
.string "time. We've made ourselves strong.$"
-MeteorFalls_1F_2R_Text_22CD08: @ 822CD08
+MeteorFalls_1F_2R_Text_JayRematchDefeat: @ 822CD08
.string "JAY: Oh, dear.\n"
.string "We've lost, my dear husband.$"
-MeteorFalls_1F_2R_Text_22CD34: @ 822CD34
+MeteorFalls_1F_2R_Text_JayPostRematch: @ 822CD34
.string "JAY: Fifty years of marriage…\n"
.string "Many things have happened.\p"
.string "I hope that we will continue to make\n"
.string "happy memories together.$"
-MeteorFalls_1F_2R_Text_22CDAB: @ 822CDAB
+MeteorFalls_1F_2R_Text_JayRematchNotEnoughMons: @ 822CDAB
.string "JAY: Well, well, aren't you a young\n"
.string "TRAINER?\p"
.string "If you'd care to battle with us, you'll\n"