aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2026-06-14 23:01:53 +0200
committerGitHub <noreply@github.com>2026-06-14 17:01:53 -0400
commit320b7c780a870b3923fe94793ca3a93d5eae00db (patch)
tree6db8af6882b90c39db4c1a7248f061294b835f2e /engine/pokemon
parentDocument `UpdatePikachuHappinessAndMood` routine (#155) (diff)
downloadpokeyellow-320b7c780a870b3923fe94793ca3a93d5eae00db.tar.gz
pokeyellow-320b7c780a870b3923fe94793ca3a93d5eae00db.tar.xz
pokeyellow-320b7c780a870b3923fe94793ca3a93d5eae00db.zip
Rename wd49b to wPikachuEmotionModifier (#156)
This variable serves as an override for Pikachu's emotion following specific events like refusing a Thunder Stone. It is automatically cleared when its mood normalizes.
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/evos_moves.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm
index f4d5039a..e916075f 100644
--- a/engine/pokemon/evos_moves.asm
+++ b/engine/pokemon/evos_moves.asm
@@ -373,7 +373,7 @@ LearnMoveFromLevelUp:
jr nz, .done
.foundThunderOrThunderbolt
ld a, $5
- ld [wd49b], a
+ ld [wPikachuEmotionModifier], a
ld a, $85
ld [wPikachuMood], a
.done