summaryrefslogtreecommitdiff
path: root/src/manager/flameManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/flameManager.c')
-rw-r--r--src/manager/flameManager.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/manager/flameManager.c b/src/manager/flameManager.c
index faa40e89..c8174afd 100644
--- a/src/manager/flameManager.c
+++ b/src/manager/flameManager.c
@@ -14,20 +14,20 @@
void FlameManager_Main(FlameManager* this) {
if (super->action == 0) {
- this->metaTilePos = TILE(this->metaTilePos, this->field_0x3a);
- if (GetMetaTileType(this->metaTilePos, LAYER_TOP) == META_TILE_TYPE_117) {
+ this->tilePos = TILE(this->tilePos, this->field_0x3a);
+ if (GetTileType(this->tilePos, LAYER_TOP) == TILE_TYPE_117) {
super->action = 1;
- SetMetaTile(SPECIAL_META_TILE_106, this->metaTilePos, LAYER_BOTTOM);
+ SetTile(SPECIAL_TILE_106, this->tilePos, LAYER_BOTTOM);
} else {
DeleteThisEntity();
}
}
- if (GetMetaTileType(this->metaTilePos, LAYER_BOTTOM) == SPECIAL_META_TILE_107) {
- sub_0807B7D8(META_TILE_TYPE_118, this->metaTilePos, LAYER_TOP);
+ if (GetTileType(this->tilePos, LAYER_BOTTOM) == SPECIAL_TILE_107) {
+ sub_0807B7D8(TILE_TYPE_118, this->tilePos, LAYER_TOP);
DeleteThisEntity();
}
- if (GetMetaTileType(this->metaTilePos, LAYER_TOP) == META_TILE_TYPE_118) {
- SetMetaTile(SPECIAL_META_TILE_107, this->metaTilePos, LAYER_BOTTOM);
+ if (GetTileType(this->tilePos, LAYER_TOP) == TILE_TYPE_118) {
+ SetTile(SPECIAL_TILE_107, this->tilePos, LAYER_BOTTOM);
DeleteThisEntity();
}
}