From 23b3d4bd5e1af5b7d10758b418c7637772dbb6b3 Mon Sep 17 00:00:00 2001 From: Sewef Date: Mon, 22 Jul 2019 22:58:35 +0200 Subject: [PATCH] Fix PREPARE_MOVE_BUFFER macro (#749) --- 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 5d811fe69..88ccbb90f 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -154,7 +154,7 @@ { \ textVar[0] = B_BUFF_PLACEHOLDER_BEGIN; \ textVar[1] = B_BUFF_MOVE; \ - textVar[2] = move; \ + textVar[2] = (move & 0xFF); \ textVar[3] = (move & 0xFF00) >> 8; \ textVar[4] = B_BUFF_EOS; \ }