UnusedControllerStruct

This commit is contained in:
Eduardo Quezada
2022-08-18 12:59:38 -04:00
parent 26e8d57ba1
commit 27e81b2fc7
5 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -2626,25 +2626,25 @@ static void PlayerHandleOneReturnValue_Duplicate(void)
static void PlayerHandleCmd37(void)
{
gUnusedControllerStruct.field_0 = 0;
gUnusedControllerStruct.unk = 0;
PlayerBufferExecCompleted();
}
static void PlayerHandleCmd38(void)
{
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
gUnusedControllerStruct.unk = gBattleBufferA[gActiveBattler][1];
PlayerBufferExecCompleted();
}
static void PlayerHandleCmd39(void)
{
gUnusedControllerStruct.flag_x80 = 0;
gUnusedControllerStruct.flag = 0;
PlayerBufferExecCompleted();
}
static void PlayerHandleCmd40(void)
{
gUnusedControllerStruct.flag_x80 ^= 1;
gUnusedControllerStruct.flag ^= 1;
PlayerBufferExecCompleted();
}