summaryrefslogtreecommitdiff
path: root/src/object/cloud.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/cloud.c')
-rw-r--r--src/object/cloud.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/object/cloud.c b/src/object/cloud.c
index 631e6605..0bd0fa5e 100644
--- a/src/object/cloud.c
+++ b/src/object/cloud.c
@@ -7,7 +7,7 @@
#include "structures.h"
extern void sub_0809F7BC(Entity*);
-extern void PlaySFX(u32);
+extern void SoundReq(u32);
extern void sub_0809F814(u32);
extern void sub_0809F7F4(Entity*);
extern void LoadRoomEntityList();
@@ -57,7 +57,7 @@ void sub_0809F548(Entity* this) {
if (--this->actionDelay == 0) {
this->action = 2;
this->actionDelay = 90;
- PlaySFX(285);
+ SoundReq(285);
sub_0809F814((((this->x.HALF.HI - gRoomControls.roomOriginX) >> 4) & 63) |
(((this->y.HALF.HI - gRoomControls.roomOriginY) >> 4) & 63) << 6);
} else {
@@ -70,7 +70,7 @@ void sub_0809F548(Entity* this) {
void sub_0809F5B0(Entity* this) {
if (--this->actionDelay == 0) {
- PlaySFX(115);
+ SoundReq(115);
SetGlobalFlag(KUMOTATSUMAKI);
LoadRoomEntityList(&gUnk_080DD750);
DeleteThisEntity();
@@ -105,7 +105,7 @@ void sub_0809F61C(Entity* this) {
if (--this->actionDelay == 0) {
this->action = 3;
this->actionDelay = 120;
- PlaySFX(285);
+ SoundReq(285);
sub_0809F814((((this->x.HALF.HI - gRoomControls.roomOriginX) >> 4) & 63) |
(((this->y.HALF.HI - gRoomControls.roomOriginY) >> 4) & 63) << 6);
} else {
@@ -123,7 +123,7 @@ void sub_0809F69C(Entity* this) {
this->actionDelay = 30;
this->action = 4;
gRoomControls.cameraTarget = &gPlayerEntity;
- PlaySFX(115);
+ SoundReq(115);
}
}
@@ -189,7 +189,7 @@ void sub_0809F7BC(Entity* this) {
void sub_0809F7F4(Entity* this) {
if (--this->field_0x68.HALF.LO == 0) {
this->field_0x68.HALF.LO = 12;
- PlaySFX(388);
+ SoundReq(388);
}
}