mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-23 14:31:46 -05:00
Fixed Sleep talk being canceled by the user being asleep..
This commit is contained in:
parent
b322a42fea
commit
63c6e73eb8
|
|
@ -3131,7 +3131,7 @@ u8 AtkCanceller_UnableToUseMove(void)
|
|||
gBattleMons[gBattlerAttacker].status1 -= toSub;
|
||||
if (gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP)
|
||||
{
|
||||
if (gCurrentMove != MOVE_SNORE && gCurrentMove != MOVE_SLEEP_TALK)
|
||||
if (gChosenMove != MOVE_SNORE && gChosenMove != MOVE_SLEEP_TALK)
|
||||
{
|
||||
gBattlescriptCurrInstr = BattleScript_MoveUsedIsAsleep;
|
||||
gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user