Sync src/battle_controllers.c

This commit is contained in:
Eduardo Quezada
2022-08-08 10:04:18 -04:00
parent 56f8b1a47c
commit 57374b796b
16 changed files with 234 additions and 178 deletions
+4 -4
View File
@@ -1548,25 +1548,25 @@ static void OpponentHandleOneReturnValue_Duplicate(void)
static void OpponentHandleCmd37(void)
{
gUnknown_2022870.field_0 = 0;
gUnusedControllerStruct.field_0 = 0;
OpponentBufferExecCompleted();
}
static void OpponentHandleCmd38(void)
{
gUnknown_2022870.field_0 = gBattleBufferA[gActiveBattler][1];
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
OpponentBufferExecCompleted();
}
static void OpponentHandleCmd39(void)
{
gUnknown_2022870.flag_x80 = 0;
gUnusedControllerStruct.flag_x80 = 0;
OpponentBufferExecCompleted();
}
static void OpponentHandleCmd40(void)
{
gUnknown_2022870.flag_x80 ^= 1;
gUnusedControllerStruct.flag_x80 ^= 1;
OpponentBufferExecCompleted();
}