summaryrefslogtreecommitdiff
path: root/src/object/object70.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
commit201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch)
tree66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/object/object70.c
parent37714644960c56650dd1067b86aafa685eaf01f4 (diff)
create enemy struct and enemy flags
Diffstat (limited to 'src/object/object70.c')
-rw-r--r--src/object/object70.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/object70.c b/src/object/object70.c
index f9017446..605e074b 100644
--- a/src/object/object70.c
+++ b/src/object/object70.c
@@ -23,7 +23,7 @@ void Object70_Init(Entity* this) {
this->spriteSettings.draw = 1;
this->frameIndex = this->type + 0xb;
if (this->type != 0) {
- sub_08004168(this);
+ SnapToTile(this);
gPlayerEntity.base.spriteOrientation.flipY = 3;
if ((gPlayerEntity.base.spritePriority.b0) != 7) {
this->spritePriority.b0 = gPlayerEntity.base.spritePriority.b0 + 1;