Revert "GetObjectFlags in NPC UserEntered"

This reverts commit 0a03b6709f3e3ba40513a7271acd766880538ba6.