diff options
author | i0brendan0 <19826742+i0brendan0@users.noreply.github.com> | 2017-08-30 20:56:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 20:56:11 -0500 |
commit | 7b67e7296ad1d427672a7b0c29f0c7411d01d90f (patch) | |
tree | 0f5d3a51d0be38ea83b32310fa1629080d617821 | |
parent | 818272097951b4e703a28a6ad939aac68d03b7d4 (diff) |
Remove possibility of garbage characters
If the ds 2 that is behind OTClassName is deleted or decreased, the game will continue to display characters for trainer classes that are 12 or 13 characters long, including the @ terminator. The correct constant has been put in place and the ds 2 removed, but no one would have known it was wrong if they hadn't have removed the ds 2.
-rw-r--r-- | wram.asm | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -379,9 +379,7 @@ wEnemyTrainerItem1:: ds 1 ; c650 wEnemyTrainerItem2:: ds 1 ; c651 wEnemyTrainerBaseReward:: ds 1 ; c652 wEnemyTrainerAIFlags:: ds 3 ; c653 -OTClassName:: ds NAME_LENGTH ; c656 - - ds 2 +OTClassName:: ds TRAINER_CLASS_NAME_LENGTH ; c656 CurOTMon:: ; c663 ds 1 |