summaryrefslogtreecommitdiff
path: root/src/code_80086E70.c
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-12-13 20:08:59 +0100
committerGitHub <noreply@github.com>2025-12-13 12:08:59 -0700
commit4e51b7d5b6a9b89deb5ef135deec0ee5f0087e7c (patch)
tree5c9d1156a8785e1f0736a89c6fa512fae8e4a3d1 /src/code_80086E70.c
parentb934e98fc34964970ab5efacb2fb7c3372ae0b1a (diff)
Document sound effects (pr 735 from the decomp) (#589)
Co-authored-by: Jed Grabman <JedGrabman@users.noreply.github.com> Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/code_80086E70.c')
-rw-r--r--src/code_80086E70.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code_80086E70.c b/src/code_80086E70.c
index b84c55696..4c94b3fcf 100644
--- a/src/code_80086E70.c
+++ b/src/code_80086E70.c
@@ -1167,7 +1167,7 @@ s32 func_80089B50(s32 objectIndex) {
(player->type & PLAYER_EXISTS) && !(player->type & PLAYER_INVISIBLE_OR_BOMB) &&
(has_collided_horizontally_with_player(objectIndex, player) != 0)) {
if (!(player->effects & STAR_EFFECT)) {
- player->soundEffects |= REVERSE_SOUND_EFFECT;
+ player->triggers |= VERTICAL_TUMBLE_TRIGGER;
if (is_obj_flag_status_active(objectIndex, 0x04000000) != 0) {
func_80072180();
}
@@ -1194,7 +1194,7 @@ s32 func_80089CBC(s32 objectIndex, f32 arg1) {
if ((player->type & PLAYER_EXISTS) && !(player->type & PLAYER_INVISIBLE_OR_BOMB) &&
(has_collided_with_player_and_within_height(objectIndex, player, arg1) != 0)) {
if (!(player->effects & STAR_EFFECT)) {
- player->soundEffects |= REVERSE_SOUND_EFFECT;
+ player->triggers |= VERTICAL_TUMBLE_TRIGGER;
if (is_obj_flag_status_active(objectIndex, 0x04000000) != 0) {
func_80072180();
}
@@ -1221,7 +1221,7 @@ s32 func_80089E18(s32 objectIndex) {
if (player->effects & STAR_EFFECT) {
var_s6 = 1;
} else {
- player->soundEffects |= 1;
+ player->triggers |= HIT_BANANA_TRIGGER;
}
}
}
@@ -1245,7 +1245,7 @@ s32 func_80089F24(s32 objectIndex) {
if (is_obj_flag_status_active(objectIndex, 0x04000000) != 0) {
func_80072180();
}
- player->soundEffects |= 0x200000;
+ player->triggers |= SPINOUT_TRIGGER;
}
}
}