"Event eat" sheet belongs to Eat layout, so events from it will only work in Eat layout. If you want these events to be available in other layouts, you need to include "Event eat" sheet there - right-click -> Include event sheet.
This is not required if you only want to call the function from other layouts.
.
When I run Eat layout directly, I can see in the debugger how HungryScore decreases by -0.05 every 5 seconds.
.
Also, events 10-15 are not needed. You already have "Sprite_Health: Set animation frame to int(HungryScore)" action which updates the health bar.
Events 16-26 need to be inside the function.