Add usage of battle strings table offset constant
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user