Skip to content

Commit

Permalink
Add matching code for TaskDestructor_8015FF0
Browse files Browse the repository at this point in the history
  • Loading branch information
JaceCear committed Oct 19, 2023
1 parent f47cb8f commit 3bc6266
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/game/amy_attack_heart_effect.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,19 @@ void Task_8015CE4(void)
}
}
}
}
}

#if 0 // Matches
void TaskDestructor_8015FF0(struct Task *t)
{
AmyAtkHearts *hearts = TaskGetStructPtr(t);

u8 i;
for(i = 0; i < ARRAY_COUNT(hearts->params); i++) {
if(hearts->params[i].count != 0) {
Sprite *s = &hearts->sprHearts[i];
VramFree(s->graphics.dest);
}
}
}
#endif

0 comments on commit 3bc6266

Please sign in to comment.