Removal of Kakariko Center Tree, Bushes, and NPC's for both ages.

This commit is contained in:
Caladius
2023-10-31 18:35:02 -04:00
parent ff7fa77427
commit 409f443ed0
5 changed files with 14 additions and 3 deletions
@@ -65,6 +65,8 @@ void EnHs2_Init(Actor* thisx, PlayState* play) {
this->actionFunc = func_80A6F1A4;
this->unk_2A8 = 0;
this->actor.targetMode = 6;
Actor_Kill(this);
}
void EnHs2_Destroy(Actor* thisx, PlayState* play) {
+1 -1
View File
@@ -829,7 +829,7 @@ s32 EnHy_ShouldSpawn(EnHy* this, PlayState* play) {
} else if ((this->actor.params & 0x7F) != ENHY_TYPE_BOJ_12 && IS_NIGHT) {
return false;
} else {
return true;
return false;
}
case SCENE_IMPAS_HOUSE:
if ((this->actor.params & 0x7F) != ENHY_TYPE_BOJ_10) {
@@ -266,7 +266,12 @@ void EnKusa_Init(Actor* thisx, PlayState* play) {
return;
}
EnKusa_SetupWaitObject(this);
if (gPlayState->sceneNum == SCENE_KAKARIKO_VILLAGE) {
Actor_Kill(this);
} else {
EnKusa_SetupWaitObject(this);
}
}
void EnKusa_Destroy(Actor* thisx, PlayState* play2) {
@@ -105,7 +105,7 @@ void EnToryo_Init(Actor* thisx, PlayState* play) {
break;
case SCENE_KAKARIKO_VILLAGE:
if ((LINK_AGE_IN_YEARS == YEARS_CHILD) && IS_DAY) {
this->stateFlags |= 2;
Actor_Kill(this);
}
break;
case SCENE_KAKARIKO_CENTER_GUEST_HOUSE:
@@ -173,6 +173,10 @@ void EnWood02_Init(Actor* thisx, PlayState* play2) {
f32 floorY;
s16 extraRot;
if (gPlayState->sceneNum == SCENE_KAKARIKO_VILLAGE && this->actor.params >= 0 || this->actor.params <= WOOD_TREE_KAKARIKO_ADULT) {
Actor_Kill(this);
}
// The tree in Kakariko's day scene does not have the same params to spawn the GS
// as the night scene, For the always spawn GS enhancement we apply the needed
// params to have the GS drop when bonking