gRandomMove to gCalledMove

This commit is contained in:
DizzyEggg
2018-09-22 18:41:00 +02:00
parent a1edceb595
commit e362c06aea
6 changed files with 17 additions and 17 deletions

View File

@@ -3408,9 +3408,9 @@ u8 IsMonDisobedient(void)
gCurrMovePos = gChosenMovePos = Random() & 3;
} while (gBitTable[gCurrMovePos] & calc);
gRandomMove = gBattleMons[gBattlerAttacker].moves[gCurrMovePos];
gCalledMove = gBattleMons[gBattlerAttacker].moves[gCurrMovePos];
gBattlescriptCurrInstr = BattleScript_IgnoresAndUsesRandomMove;
gBattlerTarget = GetMoveTarget(gRandomMove, 0);
gBattlerTarget = GetMoveTarget(gCalledMove, 0);
gHitMarker |= HITMARKER_x200000;
return 2;
}