port fakematch fixes from #1155
This commit is contained in:
+1
-5
@@ -4962,11 +4962,7 @@ static void CheckFocusPunch_ClearVarsBeforeTurnStarts(void)
|
||||
|
||||
TryClearRageStatuses();
|
||||
gCurrentTurnActionNumber = 0;
|
||||
{
|
||||
// something stupid needed to match
|
||||
u8 zero;
|
||||
gCurrentActionFuncId = gActionsByTurnOrder[(zero = 0)];
|
||||
}
|
||||
gCurrentActionFuncId = gActionsByTurnOrder[gCurrentTurnActionNumber];
|
||||
gDynamicBasePower = 0;
|
||||
gBattleStruct->dynamicMoveType = 0;
|
||||
gBattleMainFunc = RunTurnActionsFunctions;
|
||||
|
||||
Reference in New Issue
Block a user