mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
Replace some $a
with EFFECTIVE
(#399)
This commit is contained in:
parent
a681f718ac
commit
465b859c4c
1 changed files with 2 additions and 2 deletions
|
@ -3076,7 +3076,7 @@ ExecutePlayerMove:
|
|||
ld [wMoveMissed], a
|
||||
ld [wMonIsDisobedient], a
|
||||
ld [wMoveDidntMiss], a
|
||||
ld a, $a
|
||||
ld a, EFFECTIVE
|
||||
ld [wDamageMultipliers], a
|
||||
ld a, [wActionResultOrTookBattleTurn]
|
||||
and a ; has the player already used the turn (e.g. by using an item, trying to run or switching pokemon)
|
||||
|
@ -5602,7 +5602,7 @@ ExecuteEnemyMove:
|
|||
xor a
|
||||
ld [wMoveMissed], a
|
||||
ld [wMoveDidntMiss], a
|
||||
ld a, $a
|
||||
ld a, EFFECTIVE
|
||||
ld [wDamageMultipliers], a
|
||||
call CheckEnemyStatusConditions
|
||||
jr nz, .enemyHasNoSpecialConditions
|
||||
|
|
Loading…
Reference in a new issue