review change 3 battle controllers

This commit is contained in:
DizzyEggg 2017-10-31 18:52:18 +01:00
parent 192817a7dc
commit f724213a04
9 changed files with 9 additions and 9 deletions

View File

@ -562,7 +562,7 @@ static void LinkOpponentBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -433,7 +433,7 @@ static void LinkPartnerBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -541,7 +541,7 @@ static void OpponentBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -255,7 +255,7 @@ static void PlayerBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -620,7 +620,7 @@ static void PlayerPartnerBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -547,7 +547,7 @@ static void RecordedOpponentBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -518,7 +518,7 @@ static void RecordedPlayerBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -324,7 +324,7 @@ static void SafariBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {

View File

@ -442,7 +442,7 @@ static void WallyBufferExecCompleted(void)
u8 playerId = GetMultiplayerId(); u8 playerId = GetMultiplayerId();
PrepareBufferDataTransferLink(2, 4, &playerId); PrepareBufferDataTransferLink(2, 4, &playerId);
gBattleBufferA[gActiveBank][0] = CONTROLLER_CMDS_COUNT - 1; gBattleBufferA[gActiveBank][0] = CONTROLLER_TERMINATOR_NOP;
} }
else else
{ {