aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/evolution.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-18 21:41:58 -0400
committerGitHub <noreply@github.com>2024-09-18 21:41:58 -0400
commit5a622f628de6908210091a05956b0d8ce3620237 (patch)
tree9cc32420b50f09531c58f4c5019ef167e133b95c /engine/movie/evolution.asm
parentSplit `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462) (diff)
downloadpokeyellow-5a622f628de6908210091a05956b0d8ce3620237.tar.gz
pokeyellow-5a622f628de6908210091a05956b0d8ce3620237.tar.xz
pokeyellow-5a622f628de6908210091a05956b0d8ce3620237.zip
Identify remaining uses of `wd0b5` and `wd11e` (#463)
Diffstat (limited to 'engine/movie/evolution.asm')
-rw-r--r--engine/movie/evolution.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/movie/evolution.asm b/engine/movie/evolution.asm
index d7a47885..69463bfa 100644
--- a/engine/movie/evolution.asm
+++ b/engine/movie/evolution.asm
@@ -4,7 +4,7 @@ EvolveMon:
push bc
ld a, [wCurPartySpecies]
push af
- ld a, [wd0b5]
+ ld a, [wCurSpecies]
push af
xor a
ld [wLowHealthAlarm], a
@@ -26,7 +26,7 @@ EvolveMon:
call EvolutionSetWholeScreenPalette
ld a, [wEvoNewSpecies]
ld [wCurPartySpecies], a
- ld [wd0b5], a
+ ld [wCurSpecies], a
call Evolution_LoadPic
ld de, vFrontPic
ld hl, vBackPic
@@ -34,7 +34,7 @@ EvolveMon:
call CopyVideoData
ld a, [wEvoOldSpecies]
ld [wCurPartySpecies], a
- ld [wd0b5], a
+ ld [wCurSpecies], a
call Evolution_LoadPic
ld a, $1
ldh [hAutoBGTransferEnabled], a
@@ -75,7 +75,7 @@ EvolveMon:
ld c, 0
call EvolutionSetWholeScreenPalette
pop af
- ld [wd0b5], a
+ ld [wCurSpecies], a
pop af
ld [wCurPartySpecies], a
pop bc