diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-09-22 18:41:00 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-09-22 18:41:00 +0200 |
commit | e362c06aea1ea68b79d23f5147549fb709c50fef (patch) | |
tree | e89a0de1c559335f68ac7db224434d4acef51acf /src/battle_util.c | |
parent | a1edceb595e63012756e3ddb2107cf0a2bdd992b (diff) |
gRandomMove to gCalledMove
Diffstat (limited to 'src/battle_util.c')
-rw-r--r-- | src/battle_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_util.c b/src/battle_util.c index 5096a2f3a..79ce180ee 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -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; } |