GetObjectFlags in NPC UserEntered

Updated GetObjectFlags in NPC UserEntered functions to use the more
modern CheckPlayerFlag.