mirror of
https://github.com/zeldaret/tmc
synced 2026-09-09 20:11:05 -04:00
Create enums for Vvvs and MetaTiles
This commit is contained in:
+2
-2
@@ -28,13 +28,13 @@ void Well_Init(Entity* this) {
|
||||
this->action = 1;
|
||||
tilePos = COORD_TO_TILE(this);
|
||||
this->field_0x80.HWORD = tilePos;
|
||||
SetTile(0x407d, this->field_0x80.HWORD, 1);
|
||||
SetMetaTile(0x407d, this->field_0x80.HWORD, 1);
|
||||
}
|
||||
|
||||
void Well_Action1(Entity* this) {
|
||||
s32 tileIndex;
|
||||
|
||||
tileIndex = GetTileType(this->field_0x80.HWORD, 1);
|
||||
tileIndex = GetMetaTileType(this->field_0x80.HWORD, 1);
|
||||
if (tileIndex != 0x407d) {
|
||||
sub_08078B48();
|
||||
gPlayerEntity.x.WORD = this->x.WORD;
|
||||
|
||||
Reference in New Issue
Block a user