Document Fuchsia City scripts

This commit is contained in:
GriffinR
2020-01-19 21:48:48 -05:00
parent 055e5d2bbf
commit 2cd1460cc5
50 changed files with 511 additions and 504 deletions
+10 -10
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "FuchsiaCity_Gym_EventScript_16D65A",
"script": "FuchsiaCity_Gym_EventScript_Kayden",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FuchsiaCity_Gym_EventScript_16D643",
"script": "FuchsiaCity_Gym_EventScript_Shawn",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FuchsiaCity_Gym_EventScript_16D61F",
"script": "FuchsiaCity_Gym_EventScript_Kirk",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "FuchsiaCity_Gym_EventScript_16D608",
"script": "FuchsiaCity_Gym_EventScript_Edgar",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "FuchsiaCity_Gym_EventScript_16D5F1",
"script": "FuchsiaCity_Gym_EventScript_Phil",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "FuchsiaCity_Gym_EventScript_16D671",
"script": "FuchsiaCity_Gym_EventScript_Nate",
"flag": "0"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Gym_EventScript_16D54E",
"script": "FuchsiaCity_Gym_EventScript_Koga",
"flag": "0"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Gym_EventScript_16D688",
"script": "FuchsiaCity_Gym_EventScript_GymGuy",
"flag": "0"
}
],
@@ -148,14 +148,14 @@
"x": 4,
"y": 19,
"elevation": 0,
"script": "FuchsiaCity_Gym_EventScript_16D6A7"
"script": "FuchsiaCity_Gym_EventScript_GymStatue"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 19,
"elevation": 0,
"script": "FuchsiaCity_Gym_EventScript_16D6A7"
"script": "FuchsiaCity_Gym_EventScript_GymStatue"
}
]
}
+41 -41
View File
@@ -1,91 +1,91 @@
FuchsiaCity_Gym_MapScripts:: @ 816D54D
.byte 0
FuchsiaCity_Gym_EventScript_16D54E:: @ 816D54E
FuchsiaCity_Gym_EventScript_Koga:: @ 816D54E
famechecker FAMECHECKER_KOGA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
trainerbattle_single TRAINER_LEADER_KOGA, Text_19832E, Text_198444, EventScript_16D580, NO_MUSIC
goto_if_unset FLAG_GOT_TM06_FROM_KOGA, EventScript_16D5A6
msgbox gUnknown_8198481
trainerbattle_single TRAINER_LEADER_KOGA, FuchsiaCity_Gym_Text_KogaIntro, FuchsiaCity_Gym_Text_KogaDefeat, FuchsiaCity_Gym_EventScript_DefeatedKoga, NO_MUSIC
goto_if_unset FLAG_GOT_TM06_FROM_KOGA, FuchsiaCity_Gym_EventScript_GiveTM06
msgbox FuchsiaCity_Gym_Text_KogaPostBattle
release
end
EventScript_16D580:: @ 816D580
FuchsiaCity_Gym_EventScript_DefeatedKoga:: @ 816D580
famechecker FAMECHECKER_KOGA, 1
clearflag FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL
setflag FLAG_DEFEATED_KOGA
setflag FLAG_BADGE05_GET
set_gym_trainers 5
goto EventScript_16D5A6
goto FuchsiaCity_Gym_EventScript_GiveTM06
end
EventScript_16D5A6:: @ 816D5A6
msgbox gUnknown_819850E
FuchsiaCity_Gym_EventScript_GiveTM06:: @ 816D5A6
msgbox FuchsiaCity_Gym_Text_KogaExplainSoulBadge
checkitemspace ITEM_TM06, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16D5E7
giveitem_msg gUnknown_819858F, ITEM_TM06
goto_if_eq FuchsiaCity_Gym_EventScript_NoRoomForTM06
giveitem_msg FuchsiaCity_Gym_Text_ReceivedTM06FromKoga, ITEM_TM06
setflag FLAG_GOT_TM06_FROM_KOGA
msgbox gUnknown_81985AB
msgbox FuchsiaCity_Gym_Text_KogaExplainTM06
release
end
EventScript_16D5E7:: @ 816D5E7
msgbox gUnknown_819860D
FuchsiaCity_Gym_EventScript_NoRoomForTM06:: @ 816D5E7
msgbox FuchsiaCity_Gym_Text_MakeSpaceForThis
release
end
FuchsiaCity_Gym_EventScript_16D5F1:: @ 816D5F1
trainerbattle_single TRAINER_TAMER_PHIL, Text_198866, Text_1988B6
msgbox gUnknown_81988CB, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Phil:: @ 816D5F1
trainerbattle_single TRAINER_TAMER_PHIL, FuchsiaCity_Gym_Text_PhilIntro, FuchsiaCity_Gym_Text_PhilDefeat
msgbox FuchsiaCity_Gym_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D608:: @ 816D608
trainerbattle_single TRAINER_TAMER_EDGAR, Text_19891F, Text_19897F
msgbox gUnknown_8198985, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Edgar:: @ 816D608
trainerbattle_single TRAINER_TAMER_EDGAR, FuchsiaCity_Gym_Text_EdgarIntro, FuchsiaCity_Gym_Text_EdgarDefeat
msgbox FuchsiaCity_Gym_Text_EdgarPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D61F:: @ 816D61F
trainerbattle_single TRAINER_JUGGLER_KIRK, Text_19871E, Text_198779
FuchsiaCity_Gym_EventScript_Kirk:: @ 816D61F
trainerbattle_single TRAINER_JUGGLER_KIRK, FuchsiaCity_Gym_Text_KirkIntro, FuchsiaCity_Gym_Text_KirkDefeat
famechecker FAMECHECKER_KOGA, 2
msgbox gUnknown_8198787, MSGBOX_AUTOCLOSE
msgbox FuchsiaCity_Gym_Text_KirkPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D643:: @ 816D643
trainerbattle_single TRAINER_JUGGLER_SHAWN, Text_1989A1, Text_1989EA
msgbox gUnknown_8198A10, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Shawn:: @ 816D643
trainerbattle_single TRAINER_JUGGLER_SHAWN, FuchsiaCity_Gym_Text_ShawnIntro, FuchsiaCity_Gym_Text_ShawnDefeat
msgbox FuchsiaCity_Gym_Text_ShawnPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D65A:: @ 816D65A
trainerbattle_single TRAINER_JUGGLER_KAYDEN, Text_198629, Text_1986B4
msgbox gUnknown_81986C9, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Kayden:: @ 816D65A
trainerbattle_single TRAINER_JUGGLER_KAYDEN, FuchsiaCity_Gym_Text_KaydenIntro, FuchsiaCity_Gym_Text_KaydenDefeat
msgbox FuchsiaCity_Gym_Text_KaydenPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D671:: @ 816D671
trainerbattle_single TRAINER_JUGGLER_NATE, Text_1987E8, Text_198812
msgbox gUnknown_8198825, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Nate:: @ 816D671
trainerbattle_single TRAINER_JUGGLER_NATE, FuchsiaCity_Gym_Text_NateIntro, FuchsiaCity_Gym_Text_NateDefeat
msgbox FuchsiaCity_Gym_Text_NatePostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D688:: @ 816D688
FuchsiaCity_Gym_EventScript_GymGuy:: @ 816D688
lock
faceplayer
goto_if_set FLAG_DEFEATED_KOGA, EventScript_16D69D
msgbox gUnknown_8198A5E
goto_if_set FLAG_DEFEATED_KOGA, FuchsiaCity_Gym_EventScript_GymGuyPostVictory
msgbox FuchsiaCity_Gym_Text_GymGuyAdvice
release
end
EventScript_16D69D:: @ 816D69D
msgbox gUnknown_8198B1D
FuchsiaCity_Gym_EventScript_GymGuyPostVictory:: @ 816D69D
msgbox FuchsiaCity_Gym_Text_GymGuyPostVictory
release
end
FuchsiaCity_Gym_EventScript_16D6A7:: @ 816D6A7
FuchsiaCity_Gym_EventScript_GymStatue:: @ 816D6A7
lockall
goto_if_set FLAG_BADGE05_GET, EventScript_16D6BB
msgbox gUnknown_8198B4B
goto_if_set FLAG_BADGE05_GET, FuchsiaCity_Gym_EventScript_GymStatuePostVictory
msgbox FuchsiaCity_Gym_Text_GymStatue
releaseall
end
EventScript_16D6BB:: @ 816D6BB
msgbox gUnknown_8198B81
FuchsiaCity_Gym_EventScript_GymStatuePostVictory:: @ 816D6BB
msgbox FuchsiaCity_Gym_Text_GymStatuePlayerWon
releaseall
end
+29 -29
View File
@@ -1,4 +1,4 @@
Text_19832E:: @ 819832E
FuchsiaCity_Gym_Text_KogaIntro:: @ 819832E
.string "KOGA: Fwahahaha!\p"
.string "A mere child like you dares to\n"
.string "challenge me?\p"
@@ -11,20 +11,20 @@ Text_19832E:: @ 819832E
.string "Despair to the creeping horror of\n"
.string "POISON-type POKéMON!{PLAY_BGM}{MUS_EXEYE}$"
Text_198444:: @ 8198444
FuchsiaCity_Gym_Text_KogaDefeat:: @ 8198444
.string "Humph!\n"
.string "You have proven your worth!\p"
.string "Here!\n"
.string "Take the SOULBADGE!$"
gUnknown_8198481:: @ 8198481
FuchsiaCity_Gym_Text_KogaPostBattle:: @ 8198481
.string "When afflicted by TOXIC, a POKéMON\n"
.string "suffers more and more.\p"
.string "It suffers worsening damage as the\n"
.string "battle wears on!\p"
.string "It will surely terrorize foes!$"
gUnknown_819850E:: @ 819850E
FuchsiaCity_Gym_Text_KogaExplainSoulBadge:: @ 819850E
.string "Now that you have the SOULBADGE,\n"
.string "the DEFENSE of your POKéMON rises.\p"
.string "It also lets you SURF outside of\n"
@@ -32,103 +32,103 @@ gUnknown_819850E:: @ 819850E
.string "Ah!\n"
.string "Take this, too!$"
gUnknown_819858F:: @ 819858F
FuchsiaCity_Gym_Text_ReceivedTM06FromKoga:: @ 819858F
.string "{PLAYER} received TM06\n"
.string "from KOGA.$"
gUnknown_81985AB:: @ 81985AB
FuchsiaCity_Gym_Text_KogaExplainTM06:: @ 81985AB
.string "Sealed within that TM06 lies\n"
.string "TOXIC!\p"
.string "It is a secret technique dating\n"
.string "back some four hundred years.$"
gUnknown_819860D:: @ 819860D
FuchsiaCity_Gym_Text_MakeSpaceForThis:: @ 819860D
.string "Make space for this, child!$"
Text_198629:: @ 8198629
FuchsiaCity_Gym_Text_KaydenIntro:: @ 8198629
.string "Strength isn't the key for POKéMON.\n"
.string "Do you understand this?\p"
.string "POKéMON is about strategy!\p"
.string "I'll show you how strategy can\n"
.string "beat brute strength.$"
Text_1986B4:: @ 81986B4
FuchsiaCity_Gym_Text_KaydenDefeat:: @ 81986B4
.string "What?\n"
.string "Extraordinary!$"
gUnknown_81986C9:: @ 81986C9
FuchsiaCity_Gym_Text_KaydenPostBattle:: @ 81986C9
.string "So, you mix brawn with brains?\n"
.string "Good strategy!\p"
.string "That's remarkable for a child\n"
.string "TRAINER.$"
Text_19871E:: @ 819871E
FuchsiaCity_Gym_Text_KirkIntro:: @ 819871E
.string "I was a magician once upon a time.\p"
.string "But I dreamt of becoming a ninja,\n"
.string "so I joined this GYM.$"
Text_198779:: @ 8198779
FuchsiaCity_Gym_Text_KirkDefeat:: @ 8198779
.string "I'm done for!$"
gUnknown_8198787:: @ 8198787
FuchsiaCity_Gym_Text_KirkPostBattle:: @ 8198787
.string "Even though I've lost, I will keep\n"
.string "training according to the teachings\l"
.string "of KOGA, my ninja master.$"
Text_1987E8:: @ 81987E8
FuchsiaCity_Gym_Text_NateIntro:: @ 81987E8
.string "Let's see you beat my special\n"
.string "techniques!$"
Text_198812:: @ 8198812
FuchsiaCity_Gym_Text_NateDefeat:: @ 8198812
.string "You had me fooled!$"
gUnknown_8198825:: @ 8198825
FuchsiaCity_Gym_Text_NatePostBattle:: @ 8198825
.string "I like poison and sleep techniques,\n"
.string "as they linger after battle!$"
Text_198866:: @ 8198866
FuchsiaCity_Gym_Text_PhilIntro:: @ 8198866
.string "Stop right there!\p"
.string "The famed invisible walls of\n"
.string "FUCHSIA GYM have you frustrated?$"
Text_1988B6:: @ 81988B6
FuchsiaCity_Gym_Text_PhilDefeat:: @ 81988B6
.string "Whoa!\n"
.string "You've got it!$"
gUnknown_81988CB:: @ 81988CB
FuchsiaCity_Gym_Text_PhilPostBattle:: @ 81988CB
.string "You impressed me!\n"
.string "Here's a hint!\p"
.string "Look very closely for gaps in the\n"
.string "invisible walls!$"
Text_19891F:: @ 819891F
FuchsiaCity_Gym_Text_EdgarIntro:: @ 819891F
.string "I also study the way of the ninja\n"
.string "with Master KOGA!\p"
.string "Ninja have a long history of using\n"
.string "animals!$"
Text_19897F:: @ 819897F
FuchsiaCity_Gym_Text_EdgarDefeat:: @ 819897F
.string "Awoo!$"
gUnknown_8198985:: @ 8198985
FuchsiaCity_Gym_Text_EdgarPostBattle:: @ 8198985
.string "I still have much to learn.$"
Text_1989A1:: @ 81989A1
FuchsiaCity_Gym_Text_ShawnIntro:: @ 81989A1
.string "Master KOGA comes from a long line\n"
.string "of ninjas.\p"
.string "What did you descend from?$"
Text_1989EA:: @ 81989EA
FuchsiaCity_Gym_Text_ShawnDefeat:: @ 81989EA
.string "You're more skilled than I'd\n"
.string "thought!$"
gUnknown_8198A10:: @ 8198A10
FuchsiaCity_Gym_Text_ShawnPostBattle:: @ 8198A10
.string "Where there is light, there is\n"
.string "shadow!\p"
.string "Light and shadow!\n"
.string "Which do you choose?$"
gUnknown_8198A5E:: @ 8198A5E
FuchsiaCity_Gym_Text_GymGuyAdvice:: @ 8198A5E
.string "Yo!\n"
.string "Champ in the making!\p"
.string "FUCHSIA GYM is a tricked-up place.\n"
@@ -138,17 +138,17 @@ gUnknown_8198A5E:: @ 8198A5E
.string "You have to find gaps in the walls\n"
.string "to reach him.$"
gUnknown_8198B1D:: @ 8198B1D
FuchsiaCity_Gym_Text_GymGuyPostVictory:: @ 8198B1D
.string "It's amazing how ninja can terrify,\n"
.string "even now!$"
gUnknown_8198B4B:: @ 8198B4B
FuchsiaCity_Gym_Text_GymStatue:: @ 8198B4B
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
gUnknown_8198B81:: @ 8198B81
FuchsiaCity_Gym_Text_GymStatuePlayerWon:: @ 8198B81
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"