1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00

pr changes

This commit is contained in:
fig02 2020-03-30 14:52:06 -04:00
parent 9cb03972af
commit daa7877c96
4 changed files with 4 additions and 3 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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;