summaryrefslogtreecommitdiff
path: root/src/object/lightDoor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/lightDoor.c')
-rw-r--r--src/object/lightDoor.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/object/lightDoor.c b/src/object/lightDoor.c
index e128c65c..5062c26f 100644
--- a/src/object/lightDoor.c
+++ b/src/object/lightDoor.c
@@ -87,13 +87,13 @@ void LightDoor_Action4(LightDoorEntity* this) {
void sub_080850FC(LightDoorEntity* this) {
u32 position = COORD_TO_TILE(super);
u32 layer = super->collisionLayer;
- SetTile(0x403d, position - 0x41, layer);
- SetTile(0x403d, position - 0x40, layer);
- SetTile(0x403d, position - 0x3f, layer);
- SetTile(0x403d, position - 1, layer);
- SetTile(0x403d, position, layer);
- SetTile(0x403d, position + 1, layer);
- SetTile(0x403d, position + 0x3f, layer);
- SetTile(0x403d, position + 0x40, layer);
- SetTile(0x403d, position + 0x41, layer);
+ SetBottomTile(0x403d, position - 0x41, layer);
+ SetBottomTile(0x403d, position - 0x40, layer);
+ SetBottomTile(0x403d, position - 0x3f, layer);
+ SetBottomTile(0x403d, position - 1, layer);
+ SetBottomTile(0x403d, position, layer);
+ SetBottomTile(0x403d, position + 1, layer);
+ SetBottomTile(0x403d, position + 0x3f, layer);
+ SetBottomTile(0x403d, position + 0x40, layer);
+ SetBottomTile(0x403d, position + 0x41, layer);
}