Tamagotchi

Hello everyone, I’m trying to make a Tamagotchi with the micro bit. But I have a problem: I want that the micro bit is automatically hungry so I have set a variable hungry and it counts automatically. But if I set the block the whole time look happy then he looks the whole time happy (ok, logical) but I want that if he is a little bit hungry that he only looks sad but now he looks take turns sad and happy.
Can someone help me?
Thanks in advance.
Anne-Marie

Here’s a link to my project;)

Hello! I think because the happy face is in the “forever block” it overrides the sad face. The solution I would go for is putting the happy face in “on start” and then after the face changes, adding a wait block and then a happy face. Also the “if” statements could be condensed into an if-else. Here, I think I fixed it :slight_smile: https://makecode.microbit.org/_Vf3KyDLWwK8q