mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Document Arrow Related Actor Flags (#2284)
* name arrow actor flags * fix flag check
This commit is contained in:
parent
e50581b9fb
commit
0d04f51e8e
8 changed files with 31 additions and 28 deletions
|
@ -798,7 +798,7 @@ void EnSt_Init(Actor* thisx, PlayState* play) {
|
|||
this->actor.naviEnemyId = NAVI_ENEMY_SKULLTULA;
|
||||
}
|
||||
EnSt_CheckCeilingPos(this, play);
|
||||
this->actor.flags |= ACTOR_FLAG_14;
|
||||
this->actor.flags |= ACTOR_FLAG_CAN_ATTACH_TO_ARROW;
|
||||
this->actor.flags |= ACTOR_FLAG_SFX_FOR_PLAYER_BODY_HIT;
|
||||
EnSt_SetColliderScale(this);
|
||||
this->actor.gravity = 0.0f;
|
||||
|
@ -1013,7 +1013,7 @@ void EnSt_Update(Actor* thisx, PlayState* play) {
|
|||
s32 pad;
|
||||
Color_RGBA8 color = { 0, 0, 0, 0 };
|
||||
|
||||
if (this->actor.flags & ACTOR_FLAG_15) {
|
||||
if (this->actor.flags & ACTOR_FLAG_ATTACHED_TO_ARROW) {
|
||||
SkelAnime_Update(&this->skelAnime);
|
||||
} else if (!EnSt_CheckColliders(this, play)) {
|
||||
// no collision has been detected.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue