summaryrefslogtreecommitdiff
path: root/src/field_door.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-17 11:32:30 -0400
committerGitHub <noreply@github.com>2021-10-17 11:32:30 -0400
commit164590e37d67a385bf6479aafcbe5b351891bc0b (patch)
treec3d4cac1627512d166440ead47d9f2285c8b4044 /src/field_door.c
parenta4a3c1c9e5a0026415330eab9bea2f8f3e83e0a3 (diff)
parent1f39c34ca47e43b0afccaabe97d1df19e3f0b39b (diff)
Merge pull request #1512 from GriffinRichards/minor-constants
Add some misc constants/usage
Diffstat (limited to 'src/field_door.c')
-rw-r--r--src/field_door.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field_door.c b/src/field_door.c
index 3f2034ea6..f53e83d7a 100644
--- a/src/field_door.c
+++ b/src/field_door.c
@@ -346,14 +346,14 @@ static void DrawDoor(const struct DoorGraphics *gfx, const struct DoorAnimFrame
{
DrawClosedDoorTiles(gfx, x, y);
if (ShouldUseMultiCorridorDoor())
- DrawClosedDoorTiles(gfx, gSpecialVar_0x8004 + 7, gSpecialVar_0x8005 + 7);
+ DrawClosedDoorTiles(gfx, gSpecialVar_0x8004 + MAP_OFFSET, gSpecialVar_0x8005 + MAP_OFFSET);
}
else
{
CopyDoorTilesToVram(gfx, frame);
DrawCurrentDoorAnimFrame(gfx, x, y, gfx->palette);
if (ShouldUseMultiCorridorDoor())
- DrawCurrentDoorAnimFrame(gfx, gSpecialVar_0x8004 + 7, gSpecialVar_0x8005 + 7, gfx->palette);
+ DrawCurrentDoorAnimFrame(gfx, gSpecialVar_0x8004 + MAP_OFFSET, gSpecialVar_0x8005 + MAP_OFFSET, gfx->palette);
}
}