summaryrefslogtreecommitdiff
path: root/include/battle.h
diff options
context:
space:
mode:
authormelthelesbian <44884535+melthelesbian@users.noreply.github.com>2018-12-25 12:50:15 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-12-25 11:50:15 -0600
commit2dd706ca5410d98ad214ceff7026d6db276f4d5a (patch)
tree20d184fb4f7e48d965c6c88b39dfd7fc11d3dd86 /include/battle.h
parentdcbc8db6a32e70651163a132950d486d93a58254 (diff)
use max mon moves constant where able (#480)
* use max mon moves constant where able * fix errors in script commands file * fix more errors
Diffstat (limited to 'include/battle.h')
-rw-r--r--include/battle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/battle.h b/include/battle.h
index c5c747137..73caed16f 100644
--- a/include/battle.h
+++ b/include/battle.h
@@ -419,7 +419,7 @@ struct BattleStruct
u8 wildVictorySong;
u8 dynamicMoveType;
u8 wrappedBy[MAX_BATTLERS_COUNT];
- u16 assistPossibleMoves[PARTY_SIZE * 4]; // Each of mons can know max 4 moves.
+ u16 assistPossibleMoves[PARTY_SIZE * MAX_MON_MOVES]; // Each of mons can know max 4 moves.
u8 focusPunchBattlerId;
u8 battlerPreventingSwitchout;
u8 moneyMultiplier;