battle_controller_link_opponent
This commit is contained in:
@@ -178,7 +178,7 @@ static void OpponentBufferRunCommand(void)
|
||||
{
|
||||
if (gBattleControllerExecFlags & gBitTable[gActiveBattler])
|
||||
{
|
||||
if (gBattleBufferA[gActiveBattler][0] < ARRAY_COUNT(sOpponentBufferCommands))
|
||||
if (gBattleBufferA[gActiveBattler][0] < NELEMS(sOpponentBufferCommands))
|
||||
sOpponentBufferCommands[gBattleBufferA[gActiveBattler][0]]();
|
||||
else
|
||||
OpponentBufferExecCompleted();
|
||||
|
||||
Reference in New Issue
Block a user