mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 23:05:31 -04:00
pr changes
This commit is contained in:
@@ -170,7 +170,7 @@ void ArrowFire_Fly(ArrowFire* this, GlobalContext* globalCtx) {
|
||||
ArrowFire_SetupAction(this, ArrowFire_Hit);
|
||||
this->timer = 32;
|
||||
this->alpha = 0xFF;
|
||||
} else if (arrow->timer < 0x22) {
|
||||
} else if (arrow->timer < 34) {
|
||||
if (this->alpha < 0x23) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else {
|
||||
|
||||
@@ -170,7 +170,7 @@ void ArrowIce_Fly(ArrowIce* this, GlobalContext* globalCtx) {
|
||||
ArrowIce_SetupAction(this, &ArrowIce_Hit);
|
||||
this->timer = 32;
|
||||
this->alpha = 0xFF;
|
||||
} else if (arrow->timer < 0x22) {
|
||||
} else if (arrow->timer < 34) {
|
||||
if (this->alpha < 0x23) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else {
|
||||
|
||||
@@ -170,7 +170,7 @@ void ArrowLight_Fly(ArrowLight* this, GlobalContext* globalCtx) {
|
||||
ArrowLight_SetupAction(this, &ArrowLight_Hit);
|
||||
this->timer = 32;
|
||||
this->alpha = 0xFF;
|
||||
} else if (arrow->timer < 0x22) {
|
||||
} else if (arrow->timer < 34) {
|
||||
if (this->alpha < 0x23) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else {
|
||||
|
||||
@@ -9,6 +9,7 @@ typedef struct {
|
||||
/* 0x014C */ char unk_14C[0xFC];
|
||||
/* 0x0248 */ u8 timer; // used for dissapearing when flying or hitting a wall
|
||||
/* 0x0249 */ u8 hitWall;
|
||||
/* 0x024A */ char unk_24A[0x16];
|
||||
} EnArrow; // size = 0x0260
|
||||
|
||||
extern const ActorInit En_Arrow_InitVars;
|
||||
|
||||
Reference in New Issue
Block a user