Solution Proposal:
IF button_off THEN points_earned = button_off_points
IF button_off AND baby_saved THEN points_earned = button_off_points * 1000
Well the agi in my world will go through a child hood.
while(tea_drinker is alive)
{
if(save_baby){ goto button_off }
make_tea
}
botton_off