From b49c5d188f19445783ff1ffa82129c4e0a55b13c Mon Sep 17 00:00:00 2001 From: PokeCodec <67983839+PokeCodec@users.noreply.github.com> Date: Sun, 6 Sep 2020 17:59:42 -0400 Subject: [PATCH] Move buffer has and operation too --- include/battle_message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/battle_message.h b/include/battle_message.h index 011a1cb0c..46db1bea6 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -145,7 +145,7 @@ { \ textVar[0] = B_BUFF_PLACEHOLDER_BEGIN; \ textVar[1] = B_BUFF_STRING; \ - textVar[2] = stringId; \ + textVar[2] = (stringId & 0XFF); \ textVar[3] = (stringId & 0xFF00) >> 8; \ textVar[4] = B_BUFF_EOS; \ }