summaryrefslogtreecommitdiff
path: root/src/fldeff_decoration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fldeff_decoration.c')
-rw-r--r--src/fldeff_decoration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fldeff_decoration.c b/src/fldeff_decoration.c
index 467e7bca4..8295a2fe0 100644
--- a/src/fldeff_decoration.c
+++ b/src/fldeff_decoration.c
@@ -236,8 +236,8 @@ void SpriteCB_YellowCave4Sparkle(struct Sprite *sprite)
void DoYellowCave4Sparkle(void)
{
- s16 x = gMapObjects[gPlayerAvatar.mapObjectId].coords2.x;
- s16 y = gMapObjects[gPlayerAvatar.mapObjectId].coords2.y;
+ s16 x = gMapObjects[gPlayerAvatar.mapObjectId].currentCoords.x;
+ s16 y = gMapObjects[gPlayerAvatar.mapObjectId].currentCoords.y;
u8 spriteId;
sub_8060470(&x, &y, 8, 4);