1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

Target Mode Enum [Target Docs 7/?] (#2133)

* TargetMode Enum

* format

* add default comment

* bss

* bss 2

* fix bss 3
This commit is contained in:
fig02 2024-09-04 23:46:03 -04:00 committed by GitHub
parent 6051251c92
commit dbb059c6a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
112 changed files with 154 additions and 139 deletions

View file

@ -518,7 +518,7 @@ void EnIn_WaitForObject(EnIn* this, PlayState* play) {
return;
}
Actor_SetScale(&this->actor, 0.01f);
this->actor.targetMode = 6;
this->actor.targetMode = TARGET_MODE_6;
this->interactInfo.talkState = NPC_TALK_STATE_IDLE;
this->actionFunc = func_80A7A4BC;
@ -577,7 +577,7 @@ void EnIn_WaitForObject(EnIn* this, PlayState* play) {
gSaveContext.eventInf[EVENTINF_HORSES_INDEX] = 0;
break;
case EVENTINF_HORSES_STATE_1:
this->actor.targetMode = 3;
this->actor.targetMode = TARGET_MODE_3;
EnIn_ChangeAnim(this, ENIN_ANIM_2);
this->actionFunc = func_80A7A568;
Interface_SetTimer(60);
@ -593,7 +593,7 @@ void EnIn_WaitForObject(EnIn* this, PlayState* play) {
break;
case EVENTINF_HORSES_STATE_5:
case EVENTINF_HORSES_STATE_6:
this->actor.targetMode = 3;
this->actor.targetMode = TARGET_MODE_3;
EnIn_ChangeAnim(this, ENIN_ANIM_6);
this->unk_1EC = 8;
this->actionFunc = func_80A7AA40;