mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 04:39:36 +00:00
pr changes
This commit is contained in:
parent
9cb03972af
commit
daa7877c96
4 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue