summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSewef <elagroum@gmail.com>2019-07-22 22:58:35 +0200
committerPikalaxALT <PikalaxALT@users.noreply.github.com>2019-07-22 16:58:35 -0400
commit23b3d4bd5e1af5b7d10758b418c7637772dbb6b3 (patch)
tree8ce6de72a7df9e954428fb23af77d8dea34ea27b
parent4d5c1ca03b4e7db3c44c71afaa01b1549a282a19 (diff)
Fix PREPARE_MOVE_BUFFER macro (#749)
-rw-r--r--include/battle_message.h2
1 files changed, 1 insertions, 1 deletions
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; \
}