summaryrefslogtreecommitdiff
path: root/src/interrupts.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-31 17:29:08 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-31 17:34:02 -0800
commit37ac9cb0fb2d9ccb64286bab2cdf648e6f2541c5 (patch)
tree1556b8aba35a82f1cc0d538b93251a1b401f32f5 /src/interrupts.c
parent5049daabc59d113152143d123aea2798d9487a0c (diff)
document tile asm functions
Diffstat (limited to 'src/interrupts.c')
-rw-r--r--src/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interrupts.c b/src/interrupts.c
index 5ea8bc64..f52a8da3 100644
--- a/src/interrupts.c
+++ b/src/interrupts.c
@@ -219,8 +219,8 @@ void PlayerUpdate(PlayerEntity* this) {
}
HandlePlayerLife(super);
DoPlayerAction(this);
- if ((super->z.WORD == 0) && (super->action == 1 || super->action == 9))
- sub_08008790(super, 8);
+ if ((super->z.WORD == 0) && (super->action == PLAYER_NORMAL || super->action == PLAYER_MINISH))
+ DoTileInteractionHere(super, 8);
sub_080171F0();
}
sub_08078FB0(super);