diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-05-23 18:24:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 18:24:30 -0500 |
commit | de2fe2cbbae599d9b336cb6762e3a03445cd5027 (patch) | |
tree | d8cea366e68eca40bac0a6c0edf0c85a27eda520 /src/fldeff_decoration.c | |
parent | 294d223dd0218c64267b6b6851575150e36593fb (diff) | |
parent | 22e6e3532900b2470d0134f1347981d77828b22c (diff) |
Merge pull request #616 from huderlem/misc
Misc labeling
Diffstat (limited to 'src/fldeff_decoration.c')
-rw-r--r-- | src/fldeff_decoration.c | 4 |
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); |