if (hungerTicks == 98) {
x = 0.09f * SCALE;
y = -0.77f;
for (int i = 0; i < 10; i++) {
RenderPart part = parts.get(i);
RenderPart partBg = parts.get(i + 10);
int rand = random.nextInt(3);
if (rand == 0) {
y = -0.765f; // Twitch up
} else if (rand == 1) {
y = -0.775f; // Twitch down
}
part.setSprite(new Rectangle(x, y, 0.075f * SCALE, 0.07f));
partBg.setSprite(new Rectangle(x, y, 0.075f * SCALE, 0.07f));
x += dx;
}
hungerTicks++;
widget.update();
} else if (hungerTicks == 100) {