summaryrefslogtreecommitdiff
path: root/src/object/lightDoor.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-31 17:29:08 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-31 17:34:02 -0800
commit37ac9cb0fb2d9ccb64286bab2cdf648e6f2541c5 (patch)
tree1556b8aba35a82f1cc0d538b93251a1b401f32f5 /src/object/lightDoor.c
parent5049daabc59d113152143d123aea2798d9487a0c (diff)
document tile asm functions
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);
}