1 << FRZ == $20

This commit is contained in:
Rangi 2018-05-19 13:11:50 -04:00
parent d5fff8aa96
commit ae50b1148a

View File

@ -1569,7 +1569,7 @@ AI_Smart_DefrostOpponent: ; 38ccb
; No move has EFFECT_DEFROST_OPPONENT, so this layer is unused. ; No move has EFFECT_DEFROST_OPPONENT, so this layer is unused.
ld a, [wEnemyMonStatus] ld a, [wEnemyMonStatus]
and $20 and 1 << FRZ
ret z ret z
dec [hl] dec [hl]
dec [hl] dec [hl]