Automatically calculate REMATCH_TABLE_ENTRIES

Uses the standard C way of calculating the length of an enum.
This commit is contained in:
Phlosioneer authored and huderlem committed 2019-04-02 07:28:30 -05:00
1 parent 6916f09cd5
commit 9f44ebc5cd
2 files changed
+5 -2

No files matched your search

-1
View File
@@ -4,7 +4,6 @@
#include "gym_leader_rematch.h"
#define REMATCHES_COUNT 5
#define REMATCH_TABLE_ENTRIES 78
#define REMATCH_ELITE_FOUR_ENTRIES REMATCH_SIDNEY
struct RematchTrainer