fixed native return values

natives which return int values:
	invalid:	-1
	valid:	int value
natives which return nothing or by reference or check-functions (true/false):
	invalid:	0
	valid:	1