mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 04:34:28 +01:00
review change 3 battle controllers
This commit is contained in:
parent
192817a7dc
commit
f724213a04
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user