aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/museum_fossils2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/hidden_objects/museum_fossils2.asm')
-rw-r--r--engine/events/hidden_objects/museum_fossils2.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/events/hidden_objects/museum_fossils2.asm b/engine/events/hidden_objects/museum_fossils2.asm
index d8090e0a..240b7ece 100644
--- a/engine/events/hidden_objects/museum_fossils2.asm
+++ b/engine/events/hidden_objects/museum_fossils2.asm
@@ -1,6 +1,5 @@
DisplayMonFrontSpriteInBox:
; Displays a pokemon's front sprite in a pop-up window.
-; [wcf91] = pokemon internal id number
ld a, 1
ldh [hAutoBGTransferEnabled], a
call Delay3
@@ -11,8 +10,8 @@ DisplayMonFrontSpriteInBox:
ld [wTextBoxID], a
call DisplayTextBoxID
call UpdateSprites
- ld a, [wcf91]
- ld [wd0b5], a
+ ld a, [wCurPartySpecies]
+ ld [wCurSpecies], a
call GetMonHeader
ld de, vChars1 tile $31
call LoadMonFrontSprite