mirror of
https://github.com/zeldaret/tmc
synced 2026-07-06 14:01:02 -04:00
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
This commit is contained in:
@@ -34,8 +34,8 @@ void sub_08054EB8(Entity* this, ScriptExecutionContext* context) {
|
||||
|
||||
void sub_08054EFC(Entity* this, ScriptExecutionContext* context) {
|
||||
Entity* effect;
|
||||
u32 metaTilePos = COORD_TO_TILE(this) - 0x40;
|
||||
SetMetaTile(SPECIAL_META_TILE_116, metaTilePos, LAYER_BOTTOM);
|
||||
u32 tilePos = COORD_TO_TILE(this) - 0x40;
|
||||
SetTile(SPECIAL_TILE_116, tilePos, LAYER_BOTTOM);
|
||||
this->collisionLayer = LAYER_TOP;
|
||||
UpdateSpriteForCollisionLayer(this);
|
||||
effect = CreateFx(this, FX_BIG_EXPLOSION, 0);
|
||||
@@ -157,6 +157,6 @@ void WorldEvent_17_0(void) {
|
||||
void WorldEvent_17_1(void) {
|
||||
if (gMenu.field_0xa != 0) {
|
||||
gMenu.field_0xa = 0;
|
||||
SetMetaTileType(META_TILE_TYPE_116, TILE_POS(7, 16), LAYER_BOTTOM);
|
||||
SetTileType(TILE_TYPE_116, TILE_POS(7, 16), LAYER_BOTTOM);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ void sub_08055994(void) {
|
||||
} else {
|
||||
layer = LAYER_BOTTOM;
|
||||
}
|
||||
SetMetaTileType(META_TILE_TYPE_115,
|
||||
SetTileType(TILE_TYPE_115,
|
||||
(*(u16*)(gMenu.field_0xc + 8) >> 4 & 0x3f) | (*(u16*)(gMenu.field_0xc + 10) >> 4 & 0x3f) << 6,
|
||||
layer);
|
||||
sub_080553E0((u32)gMenu.field_0x4);
|
||||
|
||||
Reference in New Issue
Block a user