fix IsThawingMove
This commit is contained in:
parent
a104c156cc
commit
552f548700
1 changed files with 1 additions and 1 deletions
|
@ -3155,7 +3155,7 @@ u8 AtkCanceller_UnableToUseMove(void)
|
||||||
case CANCELLER_THAW: // move thawing
|
case CANCELLER_THAW: // move thawing
|
||||||
if (gBattleMons[gBattlerAttacker].status1 & STATUS1_FREEZE)
|
if (gBattleMons[gBattlerAttacker].status1 & STATUS1_FREEZE)
|
||||||
{
|
{
|
||||||
if (IsThawingMove(gBattlerAttacker, gBattleMoves[gCurrentMove].effect))
|
if (IsThawingMove(gBattlerAttacker, gCurrentMove))
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerAttacker].status1 &= ~(STATUS1_FREEZE);
|
gBattleMons[gBattlerAttacker].status1 &= ~(STATUS1_FREEZE);
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
|
|
Loading…
Reference in a new issue