summaryrefslogtreecommitdiff
path: root/src/object/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/button.c')
-rw-r--r--src/object/button.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/object/button.c b/src/object/button.c
index e545953c..0530d52f 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -2,6 +2,7 @@
#include "entity.h"
#include "flags.h"
#include "room.h"
+#include "audio.h"
#include "functions.h"
extern void (*const gUnk_0811EE38[])(Entity*);
@@ -94,7 +95,7 @@ void sub_08081C30(Entity* this) {
this->action = 2;
ClearFlag(this->field_0x86.HWORD);
SetTileType(0x77, this->field_0x74.HWORD, this->collisionLayer);
- SoundReq(0x10C);
+ SoundReq(SFX_10C);
}
}
@@ -260,7 +261,7 @@ u32 sub_08081F7C(Entity* this, u32 r7) {
SetFlag(this->field_0x86.HWORD);
SetTileType(r7, this->field_0x74.HWORD, this->collisionLayer);
sub_08081F24(this);
- SoundReq(0x10C);
+ SoundReq(SFX_10C);
if (this->field_0x70.HALF_U.LO != 0xFFFF)
SetTile(this->field_0x70.HALF_U.LO, this->field_0x74.HWORD, this->collisionLayer);
return 0;