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/events/pikachu_happiness.asm | |
| 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/events/pikachu_happiness.asm')
| -rw-r--r-- | engine/events/pikachu_happiness.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/pikachu_happiness.asm b/engine/events/pikachu_happiness.asm index 32a69c2b..d952df34 100644 --- a/engine/events/pikachu_happiness.asm +++ b/engine/events/pikachu_happiness.asm @@ -73,7 +73,7 @@ ModifyPikachuHappiness:: jr c, .decreased cp b jr nc, .done - ld a, [wd49b] + ld a, [wPikachuEmotionModifier] and a jr nz, .done jr .update_mood |
