Fix FREE_UNION_ROOM_CHAT

This commit is contained in:
Bassoonian 2024-02-02 14:57:40 +01:00
parent 24ed9e77ff
commit cc57452695
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@
#define FREE_TRAINER_HILL FALSE //frees up trainer hill data. 28 bytes. WARNING THIS HAS BEEN SHOWN TO BREAK MULTI BATTLES
#define FREE_MYSTERY_EVENT_BUFFERS FALSE //frees up mystery event and ramScript. roughly 1880 bytes Needed by FREE_BATTLE_TOWER_E_READER
#define FREE_MATCH_CALL FALSE // Frees up match call and rematch data. (104 bytes).
#define FREE_UNION_ROOM_CHAT FALSE //frees up field unk3C88. 210 bytes
#define FREE_UNION_ROOM_CHAT FALSE // Frees up union room chat (212 bytes).
#define FREE_ENIGMA_BERRY FALSE //frees up enigma berry. 52 bytes
#define FREE_LINK_BATTLE_RECORDS FALSE //frees link battle record data. 88 bytes
// saveblock1 total: 1846 bytes

View file

@ -913,7 +913,9 @@ void EnterUnionRoomChat(void)
static void InitUnionRoomChat(struct UnionRoomChat *chat)
{
#if FREE_UNION_ROOM_CHAT == FALSE
int i;
#endif //FREE_UNION_ROOM_CHAT
chat->funcId = CHAT_FUNC_JOIN;
chat->funcState = 0;