From 486e578065a0d5aa41bcae56ee0bc1b9ed0d6e42 Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Fri, 10 May 2024 23:53:18 -0700 Subject: d_msg_scrn_3select done (#2153) * msg_scrn_3select done * remove asm * d_msg_scrn_jimaku done --- include/JSystem/J2DGraph/J2DTextBox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/JSystem/J2DGraph/J2DTextBox.h') diff --git a/include/JSystem/J2DGraph/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox.h index 2a64b83493..569c7a9b0f 100644 --- a/include/JSystem/J2DGraph/J2DTextBox.h +++ b/include/JSystem/J2DGraph/J2DTextBox.h @@ -137,6 +137,7 @@ public: JUtility::TColor getCharColor() { return mCharColor; } JUtility::TColor getGradColor() { return mGradientColor; } + u16 getStringAllocByte() const { return mStringLength; } // private: /* 0x0100 */ JUTFont* mFont; @@ -153,7 +154,7 @@ public: /* 0x012C */ JUtility::TColor mBlackColor; /* 0x0130 */ u8 mFlags; /* 0x0131 */ bool mTextFontOwned; - /* 0x0132 */ s16 mStringLength; + /* 0x0132 */ u16 mStringLength; /* 0x0134 */ u8 field_0x134[4]; }; // Size: 0x138 -- cgit v1.2.3