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
|
xor a
|
||||||
ld [wAttackMissed], a
|
ld [wAttackMissed], a
|
||||||
ld [wAlreadyDisobeyed], a
|
ld [wAlreadyDisobeyed], a
|
||||||
ld a, 10
|
ld a, EFFECTIVE
|
||||||
ld [wTypeModifier], a
|
ld [wTypeModifier], a
|
||||||
callfar DoMove
|
callfar DoMove
|
||||||
xor a
|
xor a
|
||||||
|
|
|
@ -50,7 +50,7 @@ BattleCommand_Conversion2: ; 359e6
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
pop hl
|
pop hl
|
||||||
ld a, [wTypeMatchup]
|
ld a, [wTypeMatchup]
|
||||||
cp 10
|
cp EFFECTIVE
|
||||||
jr nc, .loop
|
jr nc, .loop
|
||||||
call BattleCommand_SwitchTurn
|
call BattleCommand_SwitchTurn
|
||||||
|
|
||||||
|
|
|
@ -1338,7 +1338,7 @@ PlayHitSound: ; cc881
|
||||||
and $7f
|
and $7f
|
||||||
ret z
|
ret z
|
||||||
|
|
||||||
cp 10
|
cp EFFECTIVE
|
||||||
ld de, SFX_DAMAGE
|
ld de, SFX_DAMAGE
|
||||||
jr z, .play
|
jr z, .play
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue