summaryrefslogtreecommitdiff
path: root/data/maps/IndigoPlateau_PokemonCenter_1F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-26 16:38:17 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-26 16:38:17 -0500
commit91844cdfb2e0c3c1fd00fae45d1cec2be763c522 (patch)
treebc8fa861eb4d8e4bb5739e0a95d5afb0749b794d /data/maps/IndigoPlateau_PokemonCenter_1F
parenta09e66b53f61027d8805e5d6bb4df3d679693485 (diff)
Document Pokemon League scripts
Diffstat (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F')
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/map.json16
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc32
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/text.inc25
3 files changed, 46 insertions, 27 deletions
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/map.json b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
index f214403c3..e862a372e 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EACC",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_Clerk",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EB06",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_GymGuy",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_BlackBelt",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD087",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_CooltrainerM",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
}
],
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
index 67a3e4f6a..e0523d2ee 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
@@ -7,52 +7,52 @@ IndigoPlateau_PokemonCenter_1F_OnTransition:: @ 816EA65
setrespawn SPAWN_INDIGO_PLATEAU
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare VAR_RESULT, TRUE
- call_if_eq EventScript_16EA79
+ call_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor
end
-EventScript_16EA79:: @ 816EA79
+IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor:: @ 816EA79
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_Return
setobjectxyperm 4, 4, 2
return
-IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
+IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard:: @ 816EA8A
lock
faceplayer
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare VAR_RESULT, TRUE
- goto_if_eq EventScript_16EAA6
- msgbox gUnknown_819A8D8
+ goto_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete
+ msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
release
end
-EventScript_16EAA6:: @ 816EAA6
- goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16EAB9
- msgbox gUnknown_819A943
+IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete:: @ 816EAA6
+ goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete
+ msgbox IndigoPlateau_PokemonCenter_1F_Text_LoreleiIsAbsentClosedForTimeBeing
release
end
-EventScript_16EAB9:: @ 816EAB9
- msgbox gUnknown_819A8D8
+IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete:: @ 816EAB9
+ msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
release
end
-IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3:: @ 816EAC3
- msgbox gUnknown_819A837, MSGBOX_NPC
+IndigoPlateau_PokemonCenter_1F_EventScript_GymGuy:: @ 816EAC3
+ msgbox IndigoPlateau_PokemonCenter_1F_Text_GymGuyAdvice, MSGBOX_NPC
end
-IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
+IndigoPlateau_PokemonCenter_1F_EventScript_Clerk:: @ 816EACC
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
message Text_MayIHelpYou
waitmessage
- pokemart Items_16EAF4
+ pokemart IndigoPlateau_PokemonCenter_1F_Items
msgbox Text_PleaseComeAgain
release
end
.align 2
-Items_16EAF4:: @ 816EAF4
+IndigoPlateau_PokemonCenter_1F_Items:: @ 816EAF4
.2byte ITEM_ULTRA_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_FULL_RESTORE
@@ -64,7 +64,7 @@ Items_16EAF4:: @ 816EAF4
release
end
-IndigoPlateau_PokemonCenter_1F_EventScript_16EB06:: @ 816EB06
+IndigoPlateau_PokemonCenter_1F_EventScript_Nurse:: @ 816EB06
lock
faceplayer
call EventScript_PkmnCenterNurse
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/text.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/text.inc
index 7a4d158b3..192831d64 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/text.inc
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/text.inc
@@ -1,4 +1,4 @@
-gUnknown_819A837:: @ 819A837
+IndigoPlateau_PokemonCenter_1F_Text_GymGuyAdvice:: @ 819A837
.string "Yo!\n"
.string "Champ in the making!\p"
.string "At the POKéMON LEAGUE, you will\n"
@@ -8,13 +8,13 @@ gUnknown_819A837:: @ 819A837
.string "This is it!\n"
.string "Go for it!$"
-gUnknown_819A8D8:: @ 819A8D8
+IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck:: @ 819A8D8
.string "From here on, you face the\n"
.string "ELITE FOUR one by one.\p"
.string "If you win, a door opens to the\n"
.string "next TRAINER. Good luck!$"
-gUnknown_819A943:: @ 819A943
+IndigoPlateau_PokemonCenter_1F_Text_LoreleiIsAbsentClosedForTimeBeing:: @ 819A943
.string "I am so sorry, but you've wasted\n"
.string "your time coming here.\p"
.string "LORELEI of the ELITE FOUR is\n"
@@ -22,3 +22,22 @@ gUnknown_819A943:: @ 819A943
.string "As a result, the POKéMON LEAGUE is\n"
.string "closed for the time being.$"
+IndigoPlateau_PokemonCenter_1F_Text_AgathaWhuppedUs:: @ 819A9E7
+ .string "AGATHA's GHOST-type POKéMON are\n"
+ .string "horrifically terrifying in toughness.\p"
+ .string "I took my FIGHTING-type POKéMON\n"
+ .string "and raised them to the max.\p"
+ .string "I went at AGATHA feeling pretty\n"
+ .string "confident, but she whupped us.\p"
+ .string "That old lady's also got a really\n"
+ .string "short fuse, too.\p"
+ .string "It doesn't take anything to get\n"
+ .string "that scary lady hollering.$"
+
+IndigoPlateau_PokemonCenter_1F_Text_LancesCousinGymLeaderFarAway:: @ 819AB16
+ .string "Maybe becoming an ELITE FOUR\n"
+ .string "member is in the blood.\p"
+ .string "From what I've heard, LANCE has\n"
+ .string "a cousin who's a GYM LEADER\l"
+ .string "somewhere far away.$"
+