It doesn't actually NEED them, I don't think, but it asks for them, anyway. I think this has to do with the way the logic resource stores OR commands. The statement:
if (isset(f5) && isset(f6))
looks like this when compiled:
ff 07 05 07 06 ff
where ff starts the if, 07 means isset, 05 tells it to look at flag 5, 07 = isset again, 06 tells it to look at flag 6, and ff ends the if. The statement:
if (isset(f5) || isset(f6))
looks like this, when compiled, however:
ff fc 07 05 07 06 fc ff
which is exactly the same as before, except the fc's surrounding the two tests, which tells AGI to OR them instead of ANDing them. That's just my guess as to why AGI Studio requires them. The real reason may have nothing to do with that.