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


string script_9670(int a0,int a1) {
	if (itemDefsAttribute(a1, 4092) != -1) {
		a1 = itemDefsAttribute(a1, 4092);
	}
	switch (script_9669(a1, a0)) {
		case 1:
			return itemDefsAttribute(a1, 4087);
		case 2:
			return itemDefsAttribute(a0, 4087);
	}
	return idx22mapAttribute(7261, 2794);
}
