diff --git a/include/config/save.h b/include/config/save.h index fcce547709..8bd3fb5b5b 100644 --- a/include/config/save.h +++ b/include/config/save.h @@ -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 diff --git a/src/union_room_chat.c b/src/union_room_chat.c index fce3790af5..6c2aa047e6 100644 --- a/src/union_room_chat.c +++ b/src/union_room_chat.c @@ -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;