UnusedControllerStruct
This commit is contained in:
@@ -108,8 +108,8 @@ enum {
|
|||||||
|
|
||||||
struct UnusedControllerStruct
|
struct UnusedControllerStruct
|
||||||
{
|
{
|
||||||
u8 field_0 : 7;
|
u8 unk:7;
|
||||||
u8 flag_x80 : 1;
|
u8 flag:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct HpAndStatus
|
struct HpAndStatus
|
||||||
|
|||||||
@@ -1450,25 +1450,25 @@ static void LinkOpponentHandleOneReturnValue_Duplicate(void)
|
|||||||
|
|
||||||
static void LinkOpponentHandleCmd37(void)
|
static void LinkOpponentHandleCmd37(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = 0;
|
gUnusedControllerStruct.unk = 0;
|
||||||
LinkOpponentBufferExecCompleted();
|
LinkOpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkOpponentHandleCmd38(void)
|
static void LinkOpponentHandleCmd38(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
|
gUnusedControllerStruct.unk = gBattleBufferA[gActiveBattler][1];
|
||||||
LinkOpponentBufferExecCompleted();
|
LinkOpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkOpponentHandleCmd39(void)
|
static void LinkOpponentHandleCmd39(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 = 0;
|
gUnusedControllerStruct.flag = 0;
|
||||||
LinkOpponentBufferExecCompleted();
|
LinkOpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkOpponentHandleCmd40(void)
|
static void LinkOpponentHandleCmd40(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 ^= 1;
|
gUnusedControllerStruct.flag ^= 1;
|
||||||
LinkOpponentBufferExecCompleted();
|
LinkOpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1362,25 +1362,25 @@ static void LinkPartnerHandleOneReturnValue_Duplicate(void)
|
|||||||
|
|
||||||
static void LinkPartnerHandleCmd37(void)
|
static void LinkPartnerHandleCmd37(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = 0;
|
gUnusedControllerStruct.unk = 0;
|
||||||
LinkPartnerBufferExecCompleted();
|
LinkPartnerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkPartnerHandleCmd38(void)
|
static void LinkPartnerHandleCmd38(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
|
gUnusedControllerStruct.unk = gBattleBufferA[gActiveBattler][1];
|
||||||
LinkPartnerBufferExecCompleted();
|
LinkPartnerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkPartnerHandleCmd39(void)
|
static void LinkPartnerHandleCmd39(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 = 0;
|
gUnusedControllerStruct.flag = 0;
|
||||||
LinkPartnerBufferExecCompleted();
|
LinkPartnerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LinkPartnerHandleCmd40(void)
|
static void LinkPartnerHandleCmd40(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 ^= 1;
|
gUnusedControllerStruct.flag ^= 1;
|
||||||
LinkPartnerBufferExecCompleted();
|
LinkPartnerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1548,25 +1548,25 @@ static void OpponentHandleOneReturnValue_Duplicate(void)
|
|||||||
|
|
||||||
static void OpponentHandleCmd37(void)
|
static void OpponentHandleCmd37(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = 0;
|
gUnusedControllerStruct.unk = 0;
|
||||||
OpponentBufferExecCompleted();
|
OpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void OpponentHandleCmd38(void)
|
static void OpponentHandleCmd38(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
|
gUnusedControllerStruct.unk = gBattleBufferA[gActiveBattler][1];
|
||||||
OpponentBufferExecCompleted();
|
OpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void OpponentHandleCmd39(void)
|
static void OpponentHandleCmd39(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 = 0;
|
gUnusedControllerStruct.flag = 0;
|
||||||
OpponentBufferExecCompleted();
|
OpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void OpponentHandleCmd40(void)
|
static void OpponentHandleCmd40(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 ^= 1;
|
gUnusedControllerStruct.flag ^= 1;
|
||||||
OpponentBufferExecCompleted();
|
OpponentBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2626,25 +2626,25 @@ static void PlayerHandleOneReturnValue_Duplicate(void)
|
|||||||
|
|
||||||
static void PlayerHandleCmd37(void)
|
static void PlayerHandleCmd37(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = 0;
|
gUnusedControllerStruct.unk = 0;
|
||||||
PlayerBufferExecCompleted();
|
PlayerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PlayerHandleCmd38(void)
|
static void PlayerHandleCmd38(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.field_0 = gBattleBufferA[gActiveBattler][1];
|
gUnusedControllerStruct.unk = gBattleBufferA[gActiveBattler][1];
|
||||||
PlayerBufferExecCompleted();
|
PlayerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PlayerHandleCmd39(void)
|
static void PlayerHandleCmd39(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 = 0;
|
gUnusedControllerStruct.flag = 0;
|
||||||
PlayerBufferExecCompleted();
|
PlayerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PlayerHandleCmd40(void)
|
static void PlayerHandleCmd40(void)
|
||||||
{
|
{
|
||||||
gUnusedControllerStruct.flag_x80 ^= 1;
|
gUnusedControllerStruct.flag ^= 1;
|
||||||
PlayerBufferExecCompleted();
|
PlayerBufferExecCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user