diff options
| author | Yoann Fievez <yoann.fievez@gmail.com> | 2026-06-14 23:01:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-14 17:01:53 -0400 |
| commit | 320b7c780a870b3923fe94793ca3a93d5eae00db (patch) | |
| tree | 6db8af6882b90c39db4c1a7248f061294b835f2e /engine/pikachu | |
| parent | Document `UpdatePikachuHappinessAndMood` routine (#155) (diff) | |
| download | pokeyellow-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/pikachu')
| -rw-r--r-- | engine/pikachu/pikachu_emotions.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pikachu/pikachu_emotions.asm b/engine/pikachu/pikachu_emotions.asm index 3fc08363..787b4f94 100644 --- a/engine/pikachu/pikachu_emotions.asm +++ b/engine/pikachu/pikachu_emotions.asm @@ -343,7 +343,7 @@ MapSpecificPikachuExpression: ldpikaemotion a, PikachuEmotion22 jr c, .play_emotion .notInLavenderTower - ld a, [wd49b] + ld a, [wPikachuEmotionModifier] and a jr z, .mood_based_emotion dec a |
