diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-03-10 10:33:23 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2022-03-10 10:44:04 -0500 |
commit | d66413557288082f0b553b209b51fede7d8810c8 (patch) | |
tree | 7b3550228eb889822dabcc24af026a498a51957b /src/battle_tv.c | |
parent | eca5233abe83a074ce97f9e47b30eb0c0f430a9e (diff) |
Add usage of battle strings table offset constant
Diffstat (limited to 'src/battle_tv.c')
-rw-r--r-- | src/battle_tv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_tv.c b/src/battle_tv.c index f65bf73ea..b9008b47a 100644 --- a/src/battle_tv.c +++ b/src/battle_tv.c @@ -570,7 +570,7 @@ void BattleTv_SetDataBasedOnString(u16 stringId) moveSlot = GetBattlerMoveSlotId(gBattlerAttacker, gBattleMsgDataPtr->currentMove); - if (moveSlot >= MAX_MON_MOVES && IsNotSpecialBattleString(stringId) && stringId > BATTLESTRINGS_ID_ADDER) + if (moveSlot >= MAX_MON_MOVES && IsNotSpecialBattleString(stringId) && stringId > BATTLESTRINGS_TABLE_START) { tvPtr->side[atkSide].faintCause = FNT_OTHER; return; |