/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


int script_8847(int a0) {
	if (script_8855(0) == a0) {
		return 0;
	}
	if (script_8855(1) == a0) {
		return 1;
	}
	if (script_8855(2) == a0) {
		return 2;
	}
	if (script_8855(3) == a0) {
		return 3;
	}
	if (script_8855(4) == a0) {
		return 4;
	}
	if (script_8855(5) == a0) {
		return 5;
	}
	if (script_8855(6) == a0) {
		return 6;
	}
	if (script_8855(7) == a0) {
		return 7;
	}
	if (script_8855(8) == a0) {
		return 8;
	}
	if (script_8855(9) == a0) {
		return 9;
	}
	return -1;
}
