diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-26 11:55:17 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-26 11:55:17 +0100 |
commit | cc572f7c00b7a07161b5298868bcb495b7c87b61 (patch) | |
tree | 64be00a7373ba46e5c26172284415e15f399d9f3 /include/battle_message.h | |
parent | 938d346b6d905709deed5336086c888c98a24247 (diff) |
clear battle code and battlescripts
Diffstat (limited to 'include/battle_message.h')
-rw-r--r-- | include/battle_message.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/battle_message.h b/include/battle_message.h index 3f9b38cad..8b724a316 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -74,6 +74,14 @@ #define B_BUFF_PLACEHOLDER_BEGIN 0xFD #define B_BUFF_EOS 0xFF +#define PREPARE_FLAVOUR_BUFFER(textVar, flavourId) \ +{ \ + textVar[0] = B_BUFF_PLACEHOLDER_BEGIN; \ + textVar[1] = B_BUFF_NEGATIVE_FLAVOUR; \ + textVar[2] = flavourId; \ + textVar[3] = B_BUFF_EOS; \ +} + #define PREPARE_STAT_BUFFER(textVar, statId) \ { \ textVar[0] = B_BUFF_PLACEHOLDER_BEGIN; \ |