summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2021-11-02 18:34:35 -0500
committerGitHub <noreply@github.com>2021-11-02 19:34:35 -0400
commit70baa4f3e80bceedd00cafbbab219665eb189225 (patch)
treeffe87da9cdffbafc4c2734a055ad91a810a95104
parent2c3722001d6dcc563e952f93889eda9da57e044f (diff)
Identify starter pikachu happiness boost medicine check (#72)
-rw-r--r--engine/items/item_effects.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 9e3473f2..bfb6c96e 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -934,14 +934,14 @@ ItemUseMedicine:
ld [wd0b5], a
pop af
push af
- cp $28
- jr nc, .asm_d906
+ cp CALCIUM + 1
+ jr nc, .noHappinessBoost
push hl
push de
callabd_ModifyPikachuHappiness PIKAHAPPY_USEDITEM
pop de
pop hl
-.asm_d906
+.noHappinessBoost
pop af
ld [wcf91], a
pop af