Skip to content

Commit a792f15

Browse files
committed
mushroom
1 parent dd3376b commit a792f15

File tree

4 files changed

+508
-508
lines changed

4 files changed

+508
-508
lines changed

base-hack/assets/instance_scripts/fungi/0xeb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{"function":4,"inverted":false,"parameters":[0,0,0]}
4747
],
4848
"executions": [
49-
{"function":7,"parameters":[125,235,0]},
49+
{"function":7,"parameters":[125,0,235]},
5050
{"function":3,"parameters":[0,300,0]},
5151
{"function":1,"parameters":[3,0,0]}
5252
]

base-hack/src/instances/instances.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ int change_object_scripts(behaviour_data* behaviour_pointer, int id, int index,
388388
}
389389
} else if ((param2 == AZTEC_LLAMACOCONUT) || (param2 == AZTEC_LLAMAGRAPE) || (param2 == AZTEC_LLAMAFEATHER)) {
390390
if ((index == 0) && (param2 == AZTEC_LLAMACOCONUT)) {
391-
if (!Rando.quality_of_life.remove_cutscenes) {
391+
if (!Rando.cutscene_skip_setting != CSSKIP_AUTO) {
392392
PlayCutsceneFromModelTwoScript(behaviour_pointer,23,1,0);
393393
}
394394
} else if (index == 1) {
@@ -411,7 +411,7 @@ int change_object_scripts(behaviour_data* behaviour_pointer, int id, int index,
411411
behaviour_pointer->timer = 70;
412412
}
413413
} else if (param2 == FUNGI_SWITCH_LANKY_MUSHROOM) {
414-
if (!Rando.quality_of_life.remove_cutscenes) {
414+
if (Rando.cutscene_skip_setting != CSSKIP_AUTO) {
415415
PlayCutsceneFromModelTwoScript(behaviour_pointer,12,1,0);
416416
}
417417
}
@@ -523,7 +523,7 @@ int change_object_scripts(behaviour_data* behaviour_pointer, int id, int index,
523523
} else if (param2 == LLAMA_BONGOPAD) {
524524
return Character == Rando.free_source_llama;
525525
} else if (param2 == LLAMA_LAVAGATE) {
526-
if (Rando.quality_of_life.remove_cutscenes) {
526+
if (Rando.cutscene_skip_setting != CSSKIP_AUTO) {
527527
hideObject(behaviour_pointer);
528528
behaviour_pointer->pause_state = 1;
529529
}
@@ -789,7 +789,7 @@ int change_object_scripts(behaviour_data* behaviour_pointer, int id, int index,
789789
if (MovesBase[KONG_DIDDY].special_moves & MOVECHECK_CHARGE) {
790790
return 1;
791791
}
792-
if (Rando.quality_of_life.remove_cutscenes) {
792+
if (Rando.cutscene_skip_setting != CSSKIP_AUTO) {
793793
return 1;
794794
}
795795
return 0;
@@ -1174,7 +1174,7 @@ int change_object_scripts(behaviour_data* behaviour_pointer, int id, int index,
11741174
}
11751175

11761176
//play grape switch cutscene
1177-
if (!Rando.quality_of_life.remove_cutscenes) {
1177+
if (!Rando.cutscene_skip_setting != CSSKIP_AUTO) {
11781178
PlayCutsceneFromModelTwoScript(behaviour_pointer, 0, 1, 0);
11791179
behaviour_pointer->timer = 110;
11801180
}

static/patches/shrink-dk64.bps

-67 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)