mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 23:11:20 +00:00
Document Attention/Lock-on Related Actor Flags (#2161)
* document actor flags 0, 2, 3, and 27 * format * fly -> hover * wodring
This commit is contained in:
parent
a039aeffb7
commit
2056ae5f1a
181 changed files with 616 additions and 597 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "z_en_dns.h"
|
||||
#include "terminal.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3)
|
||||
#define FLAGS (ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_NEUTRAL)
|
||||
|
||||
void EnDns_Init(Actor* thisx, PlayState* play);
|
||||
void EnDns_Destroy(Actor* thisx, PlayState* play);
|
||||
|
@ -435,7 +435,7 @@ void EnDns_SetupBurrow(EnDns* this, PlayState* play) {
|
|||
this->dnsItemEntry->payment(this);
|
||||
this->dropCollectible = true;
|
||||
this->isColliderEnabled = false;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
EnDns_ChangeAnim(this, DNS_ANIM_BURROW);
|
||||
this->actionFunc = EnDns_Burrow;
|
||||
}
|
||||
|
@ -443,7 +443,7 @@ void EnDns_SetupBurrow(EnDns* this, PlayState* play) {
|
|||
this->dnsItemEntry->payment(this);
|
||||
this->dropCollectible = true;
|
||||
this->isColliderEnabled = false;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
EnDns_ChangeAnim(this, DNS_ANIM_BURROW);
|
||||
this->actionFunc = EnDns_Burrow;
|
||||
}
|
||||
|
@ -452,7 +452,7 @@ void EnDns_SetupBurrow(EnDns* this, PlayState* play) {
|
|||
void EnDns_SetupNoSaleBurrow(EnDns* this, PlayState* play) {
|
||||
if ((Message_GetState(&play->msgCtx) == TEXT_STATE_DONE) && Message_ShouldAdvance(play)) {
|
||||
this->isColliderEnabled = false;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
EnDns_ChangeAnim(this, DNS_ANIM_BURROW);
|
||||
this->actionFunc = EnDns_Burrow;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue