summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2021-06-26 04:06:04 -0300
committerLOuroboros <lunosouroboros@gmail.com>2021-06-26 04:10:05 -0300
commitcdfaa6a3acfca02dfd71daf24ed3bc496aeb1575 (patch)
tree07082f082e7a901af3afbcd6c10ac19ca8bc1794
parent4c26116d1ae8cebf2b126ed5da1a85127590cd05 (diff)
Informative note about PewterCity_Gym_Text_BrockDefeat
-rw-r--r--data/maps/PewterCity_Gym/text.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/maps/PewterCity_Gym/text.inc b/data/maps/PewterCity_Gym/text.inc
index b6a1d87ee..4ba144beb 100644
--- a/data/maps/PewterCity_Gym/text.inc
+++ b/data/maps/PewterCity_Gym/text.inc
@@ -14,6 +14,9 @@ PewterCity_Gym_Text_BrockIntro:: @ 8190CD4
.string "Fine, then!\n"
.string "Show me your best!{PLAY_BGM}{MUS_ENCOUNTER_GYM_LEADER}$"
+@ NOTE: This defeat text actually causes a buffer overflow. It's too long for the gDisplayedStringBattle
+@ buffer that it's put into, and it stomps all over the gBattleTextBuffs after, as well as the otherwise
+@ unused array after that, gUnknown_2022AE8. Perhaps that's the reason why said array exists.
PewterCity_Gym_Text_BrockDefeat:: @ 8190E4F
.string "I took you for granted, and so\n"
.string "I lost.\p"