aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pikachu/pikachu_emotions.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2025-09-10 06:31:11 +0200
committerGitHub <noreply@github.com>2025-09-10 00:31:11 -0400
commitd237b01cfb241f417567c964e0df0658cf921570 (patch)
tree799e92e48259443aa6cf4c553ed7adf38bd442d4 /engine/pikachu/pikachu_emotions.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-d237b01cfb241f417567c964e0df0658cf921570.tar.gz
pokeyellow-d237b01cfb241f417567c964e0df0658cf921570.tar.xz
pokeyellow-d237b01cfb241f417567c964e0df0658cf921570.zip
Misc. naming and cleanup (#139)
* Name some printer/diploma routines * Name `wd434` * Name `NAME_LENGTH_JP` * Rename `callabd`/`calladb` to `farcall`/`callfar`
Diffstat (limited to 'engine/pikachu/pikachu_emotions.asm')
-rw-r--r--engine/pikachu/pikachu_emotions.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/pikachu/pikachu_emotions.asm b/engine/pikachu/pikachu_emotions.asm
index a29fd781..3fc08363 100644
--- a/engine/pikachu/pikachu_emotions.asm
+++ b/engine/pikachu/pikachu_emotions.asm
@@ -3,7 +3,7 @@ IsPlayerTalkingToPikachu::
and a
ret z
ldh a, [hSpriteIndex]
- cp $f
+ cp PIKACHU_SPRITE_INDEX
ret nz
call InitializePikachuTextID
xor a
@@ -111,7 +111,7 @@ StarterPikachuEmotionCommand_emote:
ShowPikachuEmoteBubble:
ld [wWhichEmotionBubble], a
- ld a, $f ; Pikachu
+ ld a, PIKACHU_SPRITE_INDEX
ld [wEmotionBubbleSpriteIndex], a
predef EmotionBubble
ret
@@ -333,7 +333,7 @@ MapSpecificPikachuExpression:
call IsPlayerPikachuAsleepInParty
ldpikaemotion a, PikachuEmotion11
jr c, .play_emotion
- callfar CheckPikachuFaintedOrStatused ; same bank
+ callfar CheckPikachuStatusCondition ; same bank
ldpikaemotion a, PikachuEmotion28
jr c, .play_emotion
ld a, [wCurMap]
@@ -383,7 +383,7 @@ IsPlayerPikachuAsleepInParty:
jr z, .done
cp STARTER_PIKACHU
jr nz, .curMonNotStarterPikachu
- callfar IsThisPartymonStarterPikachu
+ callfar IsThisPartyMonStarterPikachu
jr nc, .curMonNotStarterPikachu
ld a, [wWhichPokemon]
ld hl, wPartyMon1Status