1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-19 21:41:59 +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

@ -14,7 +14,7 @@
#include "cic6105.h"
#endif
#pragma increment_block_number "gc-eu:163 gc-eu-mq:163 gc-jp:165 gc-jp-ce:165 gc-jp-mq:165 gc-us:165 gc-us-mq:165"
#pragma increment_block_number "gc-eu:160 gc-eu-mq:160 gc-jp:162 gc-jp-ce:162 gc-jp-mq:162 gc-us:162 gc-us-mq:162"
#define FLAGS ACTOR_FLAG_4
@ -829,7 +829,7 @@ static FishingFishInit sFishInits[] = {
};
static InitChainEntry sInitChain[] = {
ICHAIN_U8(targetMode, 5, ICHAIN_CONTINUE),
ICHAIN_U8(targetMode, TARGET_MODE_5, ICHAIN_CONTINUE),
ICHAIN_F32(targetArrowOffset, 0, ICHAIN_STOP),
};
@ -1029,7 +1029,7 @@ void Fishing_Init(Actor* thisx, PlayState* play2) {
if (thisx->params == EN_FISH_AQUARIUM) {
this->fishState = 100;
Actor_ChangeCategory(play, &play->actorCtx, thisx, ACTORCAT_PROP);
thisx->targetMode = 0;
thisx->targetMode = TARGET_MODE_0;
thisx->flags |= ACTOR_FLAG_0 | ACTOR_FLAG_3;
this->lightNode = LightContext_InsertLight(play, &play->lightCtx, &this->lightInfo);
} else {