From 7b67e7296ad1d427672a7b0c29f0c7411d01d90f Mon Sep 17 00:00:00 2001 From: i0brendan0 <19826742+i0brendan0@users.noreply.github.com> Date: Wed, 30 Aug 2017 20:56:11 -0500 Subject: [PATCH] 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. --- wram.asm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wram.asm b/wram.asm index 663f57893..9e30d0beb 100644 --- a/wram.asm +++ b/wram.asm @@ -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