thumb interwork finished

This commit is contained in:
theo3
2021-11-10 00:35:06 -08:00
parent e6eeeefc50
commit 313cc336f2
122 changed files with 1514 additions and 2696 deletions
+4 -4
View File
@@ -45,7 +45,7 @@ void sub_080A9334(Entity* this) {
void ArrowProjectile_Init(Entity* this) {
this->action = 1;
this->spriteSettings.b.draw = 1;
this->flags &= 0x7f;
COLLISION_OFF(this);
this->actionDelay = 0x6a;
this->field_0xf = 0;
this->hVelocity = 0xa00;
@@ -62,7 +62,7 @@ void ArrowProjectile_Action1(Entity* this) {
}
if (parent->field_0xf != 0) {
this->action = 2;
this->flags = this->flags | 0x80;
COLLISION_ON(this);
parent->attachedEntity = NULL;
SoundReq(SFX_FC);
}
@@ -71,7 +71,7 @@ void ArrowProjectile_Action1(Entity* this) {
void ArrowProjectile_Action2(Entity* this) {
if (this->collisions != 0) {
this->action = 3;
this->flags &= 0x7f;
COLLISION_OFF(this);
this->actionDelay = 0x20;
InitializeAnimation(this, this->animIndex + 2);
EnqueueSFX(0x18a);
@@ -104,7 +104,7 @@ void ArrowProjectile_Action4(Entity* this) {
void sub_080A9488(Entity* this) {
this->action = 4;
this->flags &= 0x7f;
COLLISION_OFF(this);
this->actionDelay = 2;
this->hVelocity = 0x18000;
this->animationState = (this->knockbackDirection & 0x18) >> 3;