if (global.flag[52 status_doggo] == 1 && global.flag[53 status_dogcouple] == 1 && global.flag[54 status_greaterdog] == 1)
return 1;
else
return 0;