mirror of https://github.com/pret/pokecrystal.git
Fix some uses of EFFECTIVE
This commit is contained in:
parent
28c6eb8341
commit
80d437d565
|
@ -1533,7 +1533,7 @@ HandleFutureSight: ; 3ca26
|
|||
xor a
|
||||
ld [wAttackMissed], a
|
||||
ld [wAlreadyDisobeyed], a
|
||||
ld a, 10
|
||||
ld a, EFFECTIVE
|
||||
ld [wTypeModifier], a
|
||||
callfar DoMove
|
||||
xor a
|
||||
|
|
|
@ -50,7 +50,7 @@ BattleCommand_Conversion2: ; 359e6
|
|||
ld [hl], a
|
||||
pop hl
|
||||
ld a, [wTypeMatchup]
|
||||
cp 10
|
||||
cp EFFECTIVE
|
||||
jr nc, .loop
|
||||
call BattleCommand_SwitchTurn
|
||||
|
||||
|
|
|
@ -1338,7 +1338,7 @@ PlayHitSound: ; cc881
|
|||
and $7f
|
||||
ret z
|
||||
|
||||
cp 10
|
||||
cp EFFECTIVE
|
||||
ld de, SFX_DAMAGE
|
||||
jr z, .play
|
||||
|
||||
|
|
Loading…
Reference in New Issue