summaryrefslogtreecommitdiff
path: root/src/object/button.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-03-22 10:18:20 +0100
committerHenny022p <info@henny022.de>2021-03-22 10:18:20 +0100
commit5cebf089fd0b34e017aeb36d540bfce051a4969c (patch)
treeb896213a6d2ead9a54518209d7a7e0a1ab855cbe /src/object/button.c
parent61b284265f37dda398a561f1f8a3ccdd8d1b39da (diff)
parent8e3bebad007d5ba082ffb14aafbb2be94dfd8fcd (diff)
Merge branch 'master' into m4a
Diffstat (limited to 'src/object/button.c')
-rw-r--r--src/object/button.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/object/button.c b/src/object/button.c
index 23a2ee8d..e545953c 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -47,7 +47,7 @@ void sub_08081FF8(Entity*);
void sub_08081BAC(Entity* this) {
if (sub_08081CB0(this)) {
- this->previousActionFlag = 0;
+ this->subAction = 0;
this->actionDelay = 0xA;
sub_0805E4E0(this, 0xA);
sub_08081FF8(this);
@@ -105,7 +105,6 @@ void sub_08081C98(Entity* this) {
}
Entity* sub_08081D74(Entity*);
-void sub_0807B7D8(u32, u32, u32);
u32 sub_080001DA(u32, u32);
u32 sub_08081CB0(Entity* this) {
@@ -142,8 +141,7 @@ u32 sub_08081D28(Entity* this) {
}
extern u32 sub_080002E0(u32, u32);
-extern Entity* gUnk_03004040[];
-extern u32 sub_080041A0(Entity*, Entity*, u32, u32);
+extern Entity* gUnk_03004040[3];
u32 sub_08081E0C(Entity*);
Entity* sub_08081D74(Entity* this) {
@@ -171,8 +169,6 @@ Entity* sub_08081D74(Entity* this) {
return ent;
}
-extern u32 sub_08079F8C();
-
u32 sub_08081E0C(Entity* this) {
Entity* tmp = &gPlayerEntity;
if (tmp->height.HALF.HI != 0 || !sub_08079F8C()) {
@@ -273,7 +269,6 @@ u32 sub_08081F7C(Entity* this, u32 r7) {
return 1;
}
-extern Entity* gUnk_03004040[3];
extern void sub_080044AE(Entity*, u32, u32);
void sub_08081FF8(Entity* this) {