summaryrefslogtreecommitdiff
path: root/src/manager/miscManager.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-06-24 00:19:33 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2023-06-24 00:19:33 +0200
commitf89bb66911372a067041b66d50ac8462b7e0bd97 (patch)
tree5c7516fcf3e30a3aaf4e63c4a28a42e7c66f4471 /src/manager/miscManager.c
parentf9da6344273ac86d6fd9219fac2710c968eeab37 (diff)
Create enums for Vvvs and MetaTiles
Diffstat (limited to 'src/manager/miscManager.c')
-rw-r--r--src/manager/miscManager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/manager/miscManager.c b/src/manager/miscManager.c
index 86662f3b..68a034a0 100644
--- a/src/manager/miscManager.c
+++ b/src/manager/miscManager.c
@@ -123,7 +123,7 @@ void sub_08058F44(u32 x, u32 y, u32 flag) {
return;
if (sub_080B1A48(x, y, 1) != 0x61)
return;
- SetTileType(0x26, ((x >> 4) & 0x3F) | (((y >> 4) & 0x3F) << 6), 1);
+ SetMetaTileType(0x26, ((x >> 4) & 0x3F) | (((y >> 4) & 0x3F) << 6), 1);
sub_08058F84(x, y);
}
@@ -240,7 +240,7 @@ void MiscManager_Type5(MiscManager* this) {
DeleteThisEntity();
}
super->action = 1;
- SetTileType(0x365, TILE_LOCAL(this->x, this->y), super->type2);
+ SetMetaTileType(0x365, TILE_LOCAL(this->x, this->y), super->type2);
break;
case 1:
if (CheckFlags(this->flags)) {
@@ -339,9 +339,9 @@ void sub_0805930C(MiscManager* this) {
}
void SetDirtTile(u32 tile) {
- SetTileType(CUT_GRASS, tile, 1);
- SetTileType(0, tile, 2);
- SetTileType(0, tile - 0x40, 2);
+ SetMetaTileType(CUT_GRASS, tile, 1);
+ SetMetaTileType(0, tile, 2);
+ SetMetaTileType(0, tile - 0x40, 2);
}
void MiscManager_TypeA(MiscManager* this) {