diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-02-28 16:54:28 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-02-28 17:04:49 -0800 |
| commit | e3ee1058bb05edd47321a5554995a1bc78b42289 (patch) | |
| tree | 4284940e28d2c44940dee10bfa352fcd3bee5b1b /src/enemy/vaatiBall.c | |
| parent | 6596831a6bff9638c00baf7d81632d6ed1ed7e02 (diff) | |
create object enum and update entity type struct
Diffstat (limited to 'src/enemy/vaatiBall.c')
| -rw-r--r-- | src/enemy/vaatiBall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/vaatiBall.c b/src/enemy/vaatiBall.c index 0b339c71..02bf4e39 100644 --- a/src/enemy/vaatiBall.c +++ b/src/enemy/vaatiBall.c @@ -50,7 +50,7 @@ void sub_0804468C(Entity* this) { this->spriteRendering.b3 = 2; this->spritePriority.b0 = 5; this->cutsceneBeh.HALF.LO = 0; - switch (this->entityType.form) { + switch (this->type) { case 0: this->action = 1; this->actionDelay = 1; @@ -183,7 +183,7 @@ void sub_08044868(Entity* this) { if (draw == 1 && this->cutsceneBeh.HALF.LO == 0) { vaati = sub_0804A98C(this, 0x18, 0); if (vaati) { - vaati->entityType.parameter = 1; + vaati->type2 = 1; vaati->parent = this; this->cutsceneBeh.HALF.LO = 1; this->damageType = 0; |
