summaryrefslogtreecommitdiff
path: root/include/battle_message.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-09-08 16:31:47 -0400
committerGitHub <noreply@github.com>2020-09-08 16:31:47 -0400
commit818bc4ebe5893783ef386b10b8b0ec6b4967086b (patch)
tree4239d2cb1ce9d69df2d6e872dc993ad06ee08776 /include/battle_message.h
parent16ecbc6446f4e8d308e71aa5e649c69acb8a6b3e (diff)
parent4d31980359af92c407a15358d3c73ba47d6f00b7 (diff)
Merge pull request #1179 from PokeCodec/Maintenance
Match CheckBagHasSpace
Diffstat (limited to 'include/battle_message.h')
-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 011a1cb0c..af090a06c 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; \
}