aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-08-04 10:05:33 -0400
committerGitHub <noreply@github.com>2024-08-04 10:05:33 -0400
commit77d051479bd0ed96cc2efdba52f837afd1e119c3 (patch)
tree72a22aeb8dd6edc10323f0ee72fe9dbf73e5481a /engine/movie
parentIdentify wcd6d as wNameBuffer and others (#455) (diff)
downloadpokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.tar.gz
pokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.tar.xz
pokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.zip
Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)
Diffstat (limited to 'engine/movie')
-rw-r--r--engine/movie/credits.asm2
-rw-r--r--engine/movie/evolution.asm8
-rw-r--r--engine/movie/hall_of_fame.asm2
-rw-r--r--engine/movie/oak_speech/oak_speech.asm4
-rw-r--r--engine/movie/title.asm2
-rw-r--r--engine/movie/trade.asm2
6 files changed, 10 insertions, 10 deletions
diff --git a/engine/movie/credits.asm b/engine/movie/credits.asm
index cb7e37c0..a9b6efbd 100644
--- a/engine/movie/credits.asm
+++ b/engine/movie/credits.asm
@@ -59,7 +59,7 @@ DisplayCreditsMon:
ld hl, CreditsMons
add hl, bc ; go that far in the list of monsters and get the next one
ld a, [hl]
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
hlcoord 8, 6
call GetMonHeader
diff --git a/engine/movie/evolution.asm b/engine/movie/evolution.asm
index 4464fd87..d7a47885 100644
--- a/engine/movie/evolution.asm
+++ b/engine/movie/evolution.asm
@@ -2,7 +2,7 @@ EvolveMon:
push hl
push de
push bc
- ld a, [wcf91]
+ ld a, [wCurPartySpecies]
push af
ld a, [wd0b5]
push af
@@ -25,7 +25,7 @@ EvolveMon:
ld c, 0
call EvolutionSetWholeScreenPalette
ld a, [wEvoNewSpecies]
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
call Evolution_LoadPic
ld de, vFrontPic
@@ -33,7 +33,7 @@ EvolveMon:
ld bc, 7 * 7
call CopyVideoData
ld a, [wEvoOldSpecies]
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
call Evolution_LoadPic
ld a, $1
@@ -77,7 +77,7 @@ EvolveMon:
pop af
ld [wd0b5], a
pop af
- ld [wcf91], a
+ ld [wCurPartySpecies], a
pop bc
pop de
pop hl
diff --git a/engine/movie/hall_of_fame.asm b/engine/movie/hall_of_fame.asm
index 6dd9aab1..2344dce3 100644
--- a/engine/movie/hall_of_fame.asm
+++ b/engine/movie/hall_of_fame.asm
@@ -101,7 +101,7 @@ HoFShowMonOrPlayer:
ld a, $c0
ldh [hSCX], a
ld a, [wHoFMonSpecies]
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
ld [wBattleMonSpecies2], a
ld [wWholeScreenPaletteMonSpecies], a
diff --git a/engine/movie/oak_speech/oak_speech.asm b/engine/movie/oak_speech/oak_speech.asm
index d0fc4ad8..ded8a7c3 100644
--- a/engine/movie/oak_speech/oak_speech.asm
+++ b/engine/movie/oak_speech/oak_speech.asm
@@ -52,7 +52,7 @@ OakSpeech:
predef InitPlayerData2
ld hl, wNumBoxItems
ld a, POTION
- ld [wcf91], a
+ ld [wCurItem], a
ld a, 1
ld [wItemQuantity], a
call AddItemToInventory
@@ -74,7 +74,7 @@ OakSpeech:
call ClearScreen
ld a, NIDORINO
ld [wd0b5], a
- ld [wcf91], a
+ ld [wCurPartySpecies], a
call GetMonHeader
hlcoord 6, 4
call LoadFlippedFrontSpriteByMonIndex
diff --git a/engine/movie/title.asm b/engine/movie/title.asm
index 7edbbedf..b515a984 100644
--- a/engine/movie/title.asm
+++ b/engine/movie/title.asm
@@ -361,7 +361,7 @@ ClearBothBGMaps:
jp FillMemory
LoadTitleMonSprite:
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
hlcoord 5, 10
call GetMonHeader
diff --git a/engine/movie/trade.asm b/engine/movie/trade.asm
index 931538c0..a7ccb6b8 100644
--- a/engine/movie/trade.asm
+++ b/engine/movie/trade.asm
@@ -727,7 +727,7 @@ Trade_CircleOAM3:
; a = species
Trade_LoadMonSprite:
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld [wd0b5], a
ld [wWholeScreenPaletteMonSpecies], a
ld b, SET_PAL_POKEMON_WHOLE_SCREEN