summaryrefslogtreecommitdiff
path: root/src/object/object1C.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-07-23 12:43:43 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-07-25 22:45:55 +0200
commit852effa474c159398014da736ade6f0fea454de7 (patch)
tree97da22c4758ca4156dc9fb7ac123c7a3b0a9e9f5 /src/object/object1C.c
parentccba86d292a0e4c8a0e07325ac4fb25e5a58dc89 (diff)
Rename objects
Diffstat (limited to 'src/object/object1C.c')
-rw-r--r--src/object/object1C.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/object/object1C.c b/src/object/object1C.c
deleted file mode 100644
index 383fa130..00000000
--- a/src/object/object1C.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "global.h"
-#include "entity.h"
-
-extern u32 CheckRectOnScreen(s16, s16, u32, u32);
-
-/*
-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.
-*/
-void Object1C(Entity* this) {
- if (this->action == 0) {
- this->action = 1;
- }
- if (CheckRectOnScreen(this->field_0x80.HWORD, this->field_0x82.HWORD, 0x10, 0x10) == 0) {
- this->parent->zVelocity &= ~(1 << this->type2);
- DeleteThisEntity();
- }
-}