Skip to content

Commit

Permalink
Some cleanup in Pendulum
Browse files Browse the repository at this point in the history
  • Loading branch information
JaceCear committed Jul 20, 2024
1 parent e9b9928 commit d00624c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions include/module_unclear.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ extern bool32 sub_8020700(Sprite *s, s32 worldX, s32 worldY, s16 p3, Player *p,
extern u32 sub_8020874(Sprite *s, s32 worldX, s32 worldY, s16 p3, Player *p, s16 p5, u8 p6);
u32 sub_8020950(Sprite *s, s32 worldX, s32 worldY, Player *p, void *param4);

// The first parameter of this might either be an expanded Sprite
// or a different struct entirely? (see func call in src/game/interactables/pendulum.c)
void sub_80213B0(Sprite *s, Player *p);

void sub_80236C8(void *, u8 p1, void *);
Expand Down
3 changes: 0 additions & 3 deletions src/game/interactables/pendulum.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ void sub_804C008(void)
if (IsPointInScreenRect(worldX, worldY) == TRUE) {
r8 = 1;
}
// _0804C094

if (sub_802C1D0(s->x, s->y) == TRUE) {
r8 |= 2;
Expand Down Expand Up @@ -296,7 +295,6 @@ void sub_804C008(void)
TaskDestroy(gCurTask);
return;
}
// _0804C17C

if (r8 & 2) {
UpdateSpriteAnimation(s);
Expand All @@ -307,7 +305,6 @@ void sub_804C008(void)
UpdateSpriteAnimation(s2);
DisplaySprite(s2);
}
// _0804C1A4

for (j = 0; j < (SEGMENTS_PER_PEND * PEND_COUNT); j++) {
ps = &pend->sprSegments[j];
Expand Down

0 comments on commit d00624c

Please sign in to comment.