Automatically update nickname buffer sizes
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#ifndef GUARD_BATTLE_MESSAGE_H
|
||||
#define GUARD_BATTLE_MESSAGE_H
|
||||
|
||||
#define TEXT_BUFF_ARRAY_COUNT 16
|
||||
// This buffer can hold many different things. Some of the things it can hold
|
||||
// that have explicit sizes are listed below to ensure it can contain them.
|
||||
#define TEXT_BUFF_ARRAY_COUNT max(16, \
|
||||
max(MOVE_NAME_LENGTH + 2, /* +2 to hold the "!" and EOS. */ \
|
||||
POKEMON_NAME_LENGTH + 1))
|
||||
|
||||
// for 0xFD
|
||||
#define B_TXT_BUFF1 0x0
|
||||
|
||||
Reference in New Issue
Block a user