mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-22 04:04:15 +01:00
forgot disable
This commit is contained in:
parent
930a88b0e2
commit
1a2504d5ee
@ -1743,7 +1743,7 @@ u8 TrySetCantSelectMoveBattleScript(void)
|
|||||||
u32 holdEffect = GetBattlerHoldEffect(gActiveBattler, TRUE);
|
u32 holdEffect = GetBattlerHoldEffect(gActiveBattler, TRUE);
|
||||||
u16 *choicedMove = &gBattleStruct->choicedMove[gActiveBattler];
|
u16 *choicedMove = &gBattleStruct->choicedMove[gActiveBattler];
|
||||||
|
|
||||||
if (gDisableStructs[gActiveBattler].disabledMove == move && move != MOVE_NONE)
|
if (gBattleStruct->zmove.toBeUsed[gBattlerAttacker] == MOVE_NONE && gDisableStructs[gActiveBattler].disabledMove == move && move != MOVE_NONE)
|
||||||
{
|
{
|
||||||
gBattleScripting.battler = gActiveBattler;
|
gBattleScripting.battler = gActiveBattler;
|
||||||
gCurrentMove = move;
|
gCurrentMove = move;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user