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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/object/button.c b/src/object/button.c
index d4549f1a..b80f5c8c 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -52,7 +52,8 @@ void sub_08081FF8(Entity*);
void sub_08081BAC(Entity* this) {
if (sub_08081CB0(this)) {
this->subAction = 0;
- this->timer = 10; RequestPriorityDuration(this, 0xA);
+ this->timer = 10;
+ RequestPriorityDuration(this, 0xA);
sub_08081FF8(this);
if (this->type == 1) {
this->action = 3;
@@ -73,9 +74,9 @@ void sub_08081BE0(Entity* this) {
this->action = 4;
this->subtimer = 1;
if ((gPlayerState.heldObject == 2) || (!(gPlayerState.field_0x35 & 0x80))) {
- this->timer = 0x18;
+ this->timer = 24;
} else {
- this->timer = 0x8;
+ this->timer = 8;
}
} else {
sub_08081E6C(this);