summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-05-01 11:43:19 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-05-18 13:07:06 +0200
commit60e33b636d7b9dca767b3833ee39affcc626f420 (patch)
tree51d7752fb76f5044028c56404f75c780783d8002 /src/object
parent3afbd0e9012be95e687ccb36eb62f6df08cded19 (diff)
Rename managers
Diffstat (limited to 'src/object')
-rw-r--r--src/object/object1C.c2
-rw-r--r--src/object/object86.c4
-rw-r--r--src/object/objectAB.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/object/object1C.c b/src/object/object1C.c
index be2289cb..383fa130 100644
--- a/src/object/object1C.c
+++ b/src/object/object1C.c
@@ -4,7 +4,7 @@
extern u32 CheckRectOnScreen(s16, s16, u32, u32);
/*
-This object is created by Manager13.
+This object is created by HouseSignManager.
It checks whether the 0x10 x 0x10 rect at field_0x80, field_0x82 is still on the screen.
If not, then it deletes itselfs and unsets the this->type2 bit in the managers field_0x20 bitfield.
*/
diff --git a/src/object/object86.c b/src/object/object86.c
index 98017cc7..44e88e88 100644
--- a/src/object/object86.c
+++ b/src/object/object86.c
@@ -7,7 +7,7 @@ void sub_08099E10(Entity*);
void sub_08099E58(Entity*);
void sub_08099E8C(Entity*);
void nullsub_534(Entity*);
-extern void sub_0805B390(u32);
+extern void CreateHoleManager(u32);
void Object86(Entity* this) {
static void (*const actionFuncs[])(Entity*) = {
@@ -63,7 +63,7 @@ void sub_08099E8C(Entity* this) {
RequestPriorityDuration(this, 0x1e);
}
if (CheckLocalFlag(0x75)) {
- sub_0805B390(0x7);
+ CreateHoleManager(0x7);
}
}
}
diff --git a/src/object/objectAB.c b/src/object/objectAB.c
index 4a35930f..ce6cd1fb 100644
--- a/src/object/objectAB.c
+++ b/src/object/objectAB.c
@@ -5,7 +5,7 @@
#include "player.h"
#include "physics.h"
-extern void sub_0805B390(u32);
+extern void CreateHoleManager(u32);
void ObjectAB_Init(Entity*);
void ObjectAB_Action1(Entity*);
@@ -45,7 +45,7 @@ void ObjectAB_Action2(Entity* this) {
sub_080A0190(this);
RequestPriorityDuration(this, 0x1e);
if (EntityInRectRadius(this, &gPlayerEntity, 0x10, 0x10)) {
- sub_0805B390(0x37);
+ CreateHoleManager(0x37);
}
}
}