mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-24 15:21:22 -04:00
Removal of Kakariko Center Tree, Bushes, and NPC's for both ages.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user