summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-07-22 23:05:12 -0700
committertheo3 <arisstephenson2@gmail.com>2020-07-22 23:05:12 -0700
commit67da19b92c320c282ad9857da4bc41cd042b2b8f (patch)
treed6b8b48da1c9be590c429a5bae5cc64e2f1d1684 /src/object
parentcb24f8f9b14128f67335f8c4dfe65fa345039e3d (diff)
structures.h
Diffstat (limited to 'src/object')
-rw-r--r--src/object/palaceArchway.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/object/palaceArchway.c b/src/object/palaceArchway.c
new file mode 100644
index 00000000..1580c20b
--- /dev/null
+++ b/src/object/palaceArchway.c
@@ -0,0 +1,21 @@
+#include "global.h"
+#include "entity.h"
+#include "room.h"
+#include "functions.h"
+
+extern void (*const gUnk_081246EC[])(Entity*);
+
+void PalaceArchway(Entity* this) {
+ gUnk_081246EC[this->action](this);
+}
+
+void sub_0809F2A0(Entity *this)
+{
+ this->action = 1;
+ this->frameIndex = this->entityType.parameter;
+ this->spriteRendering.b3 = 3;
+ this->spritePriority.b0 = 7;
+ SetTile(0x4069, COORD_TO_TILE(this), this->collisionLayer);
+}
+
+void nullsub_537() {} \ No newline at end of file