mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +00:00
Document Actor "OfferTalk" (#1567)
* OfferTalk * rm comment * exch to offer in comment * reword again * Partial PR Review * Actor_AcknowledgeTalking * Actor_TalkOfferAccepted * PR Review * rm part of comment * rm comment
This commit is contained in:
parent
c11ce9c994
commit
3d1ee33d7b
74 changed files with 297 additions and 266 deletions
|
@ -341,7 +341,7 @@ void EnDns_Idle(EnDns* this, PlayState* play) {
|
|||
Math_SmoothStepToS(&this->actor.shape.rot.y, this->actor.yawTowardsPlayer, 3, 2000, 0);
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
|
||||
if (Actor_ProcessTalkRequest(&this->actor, play)) {
|
||||
if (Actor_TalkOfferAccepted(&this->actor, play)) {
|
||||
this->actionFunc = EnDns_Talk;
|
||||
} else {
|
||||
if ((this->collider.base.ocFlags1 & OC1_HIT) || this->actor.isTargeted) {
|
||||
|
@ -350,7 +350,7 @@ void EnDns_Idle(EnDns* this, PlayState* play) {
|
|||
this->actor.flags &= ~ACTOR_FLAG_16;
|
||||
}
|
||||
if (this->actor.xzDistToPlayer < 130.0f) {
|
||||
func_8002F2F4(&this->actor, play);
|
||||
Actor_OfferTalkNearColChkInfoCylinder(&this->actor, play);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue