summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorkiliwily <69381603+kiliwily@users.noreply.github.com>2020-08-29 01:02:20 +0200
committerkiliwily <69381603+kiliwily@users.noreply.github.com>2020-08-29 01:02:20 +0200
commitc68c2b66e8a9e4d1b6fd79c6b3403970f07b376a (patch)
treec95d872398ef248839d3c775b76ed307632d9d80 /include/constants
parent5e7b6a089ce765c4033934cce20dfe8960aca9ad (diff)
add more macros
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/daycare.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/constants/daycare.h b/include/constants/daycare.h
index 103f920f2..adb62fab5 100644
--- a/include/constants/daycare.h
+++ b/include/constants/daycare.h
@@ -22,6 +22,6 @@
// Array buffers
#define EGG_MOVES_ARRAY_COUNT 10
-#define EGG_LVL_UP_MOVES_ARRAY_COUNT 50
+#define EGG_LVL_UP_MOVES_ARRAY_COUNT (MAX_LEVEL_UP_MOVES > 50 ? MAX_LEVEL_UP_MOVES : 50)
#endif //GUARD_DAYCARE_CONSTANTS_H