Move function "getPlayerFlagValue" to compat.lua