summaryrefslogtreecommitdiff
path: root/src/object/objectA.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 14:59:48 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 15:01:44 +0100
commitaced0bef691dbc41bdd39b6e62662d2436877a4b (patch)
treee90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/object/objectA.c
parentc3b771a20923b335bbea2ab97a68ac29d04fcc43 (diff)
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
Diffstat (limited to 'src/object/objectA.c')
-rw-r--r--src/object/objectA.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/objectA.c b/src/object/objectA.c
index c9d94b74..ac45f99f 100644
--- a/src/object/objectA.c
+++ b/src/object/objectA.c
@@ -30,13 +30,13 @@ void ObjectA(ObjectAEntity* this) {
super->action = 1;
super->hitbox = (Hitbox*)&gHitbox_2;
if (super->collisionLayer == LAYER_BOTTOM) {
- uVar2 = META_TILE_TYPE_38;
+ uVar2 = TILE_TYPE_38;
} else {
- uVar2 = META_TILE_TYPE_52;
+ uVar2 = TILE_TYPE_52;
}
this->unk_70 = uVar2;
if (CheckFlags(this->unk_86) != 0) {
- SetMetaTileType(this->unk_70, COORD_TO_TILE(super), super->collisionLayer);
+ SetTileType(this->unk_70, COORD_TO_TILE(super), super->collisionLayer);
if ((gRoomControls.reload_flags & 1) != 0) {
gUpdateVisibleTiles = 0;
}
@@ -45,7 +45,7 @@ void ObjectA(ObjectAEntity* this) {
AddInteractableSmallKeyLock(super);
}
} else if (super->interactType != INTERACTION_NONE) {
- SetMetaTileType(this->unk_70, COORD_TO_TILE(super), super->collisionLayer);
+ SetTileType(this->unk_70, COORD_TO_TILE(super), super->collisionLayer);
SetFlag(this->unk_86);
CreateDust(super);
ModDungeonKeys(-1);