mirror of
https://github.com/zeldaret/oot
synced 2026-07-08 22:35:00 -04:00
Link young/old -> child/adult
This commit is contained in:
@@ -506,7 +506,7 @@ void EnZo_Dialog(EnZo* this, PlayState* play) {
|
||||
|
||||
this->unk_194.unk_18 = player->actor.world.pos;
|
||||
if (this->actionFunc == EnZo_Standing) {
|
||||
// Look down at link if young, look up if old
|
||||
// Look down at link if child, look up if adult
|
||||
this->unk_194.unk_14 = !LINK_IS_ADULT ? 10.0f : -10.0f;
|
||||
} else {
|
||||
this->unk_194.unk_18.y = this->actor.world.pos.y;
|
||||
|
||||
@@ -72,9 +72,9 @@ u32 ObjTimeblock_CalculateIsVisible(ObjTimeblock* this) {
|
||||
if (this->unk_177 == 1) {
|
||||
return this->unk_174 ^ temp;
|
||||
} else {
|
||||
u8 linkIsYoung = (LINK_AGE_IN_YEARS == YEARS_CHILD) ? true : false;
|
||||
u8 linkIsChild = (LINK_AGE_IN_YEARS == YEARS_CHILD) ? true : false;
|
||||
|
||||
return this->unk_174 ^ temp ^ linkIsYoung;
|
||||
return this->unk_174 ^ temp ^ linkIsChild;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user