diff options
author | Tustin2121 <tustin2121@gmail.com> | 2019-08-17 10:32:37 -0400 |
---|---|---|
committer | Tustin2121 <tustin2121@gmail.com> | 2019-08-17 13:05:55 -0400 |
commit | ea724278b7c9cf44a64ed7969298d4568c11c245 (patch) | |
tree | 6648806c2bda192788d0452b95f1ef6c7afdba14 | |
parent | 4663564e028cd5a4f271ce34835ee2939593c99f (diff) |
Juan text buffer overflow note
-rw-r--r-- | data/maps/SootopolisCity_Gym_1F/scripts.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/maps/SootopolisCity_Gym_1F/scripts.inc b/data/maps/SootopolisCity_Gym_1F/scripts.inc index 99b9fb2ba..8db708e9c 100644 --- a/data/maps/SootopolisCity_Gym_1F/scripts.inc +++ b/data/maps/SootopolisCity_Gym_1F/scripts.inc @@ -222,6 +222,10 @@ SootopolisCity_Gym_1F_Text_225268: @ 8225268 .string "A grand illusion of water sculpted\n" .string "by POKéMON and myself!$" +@ NOTE: This defeat text actually causes a buffer overflow. It's about 50 bytes 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. One wonders if that's the reason for +@ the existence of that unused array of ints. SootopolisCity_Gym_1F_Text_225432: @ 8225432 .string "Ahahaha, excellent!\n" .string "Very well, you are the winner.\p" |