mirror of
https://github.com/zeldaret/tmc
synced 2026-08-17 21:33:45 -04:00
thumb interwork finished
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user