aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorRainbowMetalPigeon <118711812+RainbowMetalPigeon@users.noreply.github.com>2023-11-21 17:01:20 -0800
committerGitHub <noreply@github.com>2023-11-21 20:01:20 -0500
commit465b859c4c75ae7a36d532cc5d8186e96cc16311 (patch)
tree71ff093f67cc6313ec8c6896edccacec050fd306 /engine
parentRename `EV_*` constants to `EVOLVE_*` like pokecrystal (#407) (diff)
downloadpokeyellow-465b859c4c75ae7a36d532cc5d8186e96cc16311.tar.gz
pokeyellow-465b859c4c75ae7a36d532cc5d8186e96cc16311.tar.xz
pokeyellow-465b859c4c75ae7a36d532cc5d8186e96cc16311.zip
Replace some `$a` with `EFFECTIVE` (#399)
Diffstat (limited to 'engine')
-rw-r--r--engine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 19ebdfcf..ed2c4b7a 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -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