mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 14:01:15 +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
|
@ -279,7 +279,7 @@ void func_80A2F83C(EnGb* this, PlayState* play) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (Actor_ProcessTalkRequest(&this->dyna.actor, play)) {
|
||||
if (Actor_TalkOfferAccepted(&this->dyna.actor, play)) {
|
||||
switch (func_8002F368(play)) {
|
||||
case EXCH_ITEM_NONE:
|
||||
func_80A2F180(this);
|
||||
|
@ -297,7 +297,7 @@ void func_80A2F83C(EnGb* this, PlayState* play) {
|
|||
return;
|
||||
}
|
||||
if (this->dyna.actor.xzDistToPlayer < 100.0f) {
|
||||
func_8002F298(&this->dyna.actor, play, 100.0f, EXCH_ITEM_BOTTLE_POE);
|
||||
Actor_OfferTalkExchangeEquiCylinder(&this->dyna.actor, play, 100.0f, EXCH_ITEM_BOTTLE_POE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -366,7 +366,7 @@ void func_80A2FBB0(EnGb* this, PlayState* play) {
|
|||
|
||||
void func_80A2FC0C(EnGb* this, PlayState* play) {
|
||||
if (Message_GetState(&play->msgCtx) == TEXT_STATE_DONE && Message_ShouldAdvance(play)) {
|
||||
Actor_ProcessTalkRequest(&this->dyna.actor, play);
|
||||
Actor_TalkOfferAccepted(&this->dyna.actor, play);
|
||||
func_80A2F180(this);
|
||||
this->actionFunc = func_80A2F83C;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue