before killing the oks, flag 15 would be [1] (on). another NPC would turn it on to enable u to actually do the quest and get the reward.
when you killed it, 15 would be turned off [0] and a new flag would be introduced to cancel out you doing the quest again and getting the reward, in this case...