1
0
Selaa lähdekoodia

Fix selfies for android

rachels 3 vuotta sitten
vanhempi
sitoutus
16c64be67b

+ 61 - 12
locations/gschool_lessons1.qsrc

@@ -148,7 +148,12 @@ if $ARGS[0] = 'russian':
 			'While looking at your phone, you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'	
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'	
+				end
+
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -164,7 +169,11 @@ if $ARGS[0] = 'russian':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -184,7 +193,11 @@ if $ARGS[0] = 'russian':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'', 1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -203,7 +216,11 @@ if $ARGS[0] = 'russian':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -664,7 +681,11 @@ if $ARGS[0] = 'geography':
 			'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				end
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -680,7 +701,11 @@ if $ARGS[0] = 'geography':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -700,7 +725,11 @@ if $ARGS[0] = 'geography':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -719,7 +748,11 @@ if $ARGS[0] = 'geography':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1166,7 +1199,11 @@ if $ARGS[0] = 'history':
 			'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				end
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -1182,7 +1219,11 @@ if $ARGS[0] = 'history':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -1202,7 +1243,11 @@ if $ARGS[0] = 'history':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1221,7 +1266,11 @@ if $ARGS[0] = 'history':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'						
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'

+ 65 - 13
locations/gschool_lessons2.qsrc

@@ -157,7 +157,11 @@ if $ARGS[0] = 'computer':
 			'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				end
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -173,7 +177,11 @@ if $ARGS[0] = 'computer':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -193,7 +201,11 @@ if $ARGS[0] = 'computer':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -212,7 +224,11 @@ if $ARGS[0] = 'computer':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -701,7 +717,11 @@ if $ARGS[0] = 'science':
 			'While looking at your phone you  decided now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				end
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -717,7 +737,11 @@ if $ARGS[0] = 'science':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -737,7 +761,11 @@ if $ARGS[0] = 'science':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -756,7 +784,11 @@ if $ARGS[0] = 'science':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1110,7 +1142,11 @@ if $ARGS[0] = 'music':
 			'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 			act 'Regular selfie':
 				*clr & cla
-				dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				if Enable_Android = 1:
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+				else
+					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+				end
 				i = rand(1,temp_selfietot)
 				dynamic 'school_classroom_closelfie[<<i>>] = 1'
 				'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -1126,7 +1162,11 @@ if $ARGS[0] = 'music':
 					gs 'willpower', 'pay', 'self'
 					gs 'exhibitionism', 1
 					gs 'fame', 'pav', 'sex', 3
-					dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_titflash[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -1146,7 +1186,11 @@ if $ARGS[0] = 'music':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1165,7 +1209,11 @@ if $ARGS[0] = 'music':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1660,7 +1708,11 @@ if $ARGS[0] = 'biology':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 3
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'

+ 40 - 8
locations/gschool_lessons3.qsrc

@@ -582,7 +582,11 @@ if $ARGS[0] = 'art':
 				'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 				act 'Regular selfie':
 					*clr & cla
-					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_closelfie[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -598,7 +602,11 @@ if $ARGS[0] = 'art':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 1
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_titflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -618,7 +626,11 @@ if $ARGS[0] = 'art':
 							gs 'willpower', 'pay', 'self'
 							gs 'exhibitionism', 3
 							gs 'fame', 'pav', 'sex', 3
-							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							if Enable_Android = 1:
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+							else
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							end
 							i = rand(1,temp_selfietot)
 							dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 							'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -637,7 +649,11 @@ if $ARGS[0] = 'art':
 							gs 'willpower', 'pay', 'self'
 							gs 'exhibitionism', 3
 							gs 'fame', 'pav', 'sex', 3
-							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							if Enable_Android = 1:
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+							else
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							end
 							i = rand(1,temp_selfietot)
 							dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 							'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1130,7 +1146,11 @@ if $ARGS[0] = 'shop':
 				'While looking at your phone you decide now would be a good time to take a selfie, but what kind of selfie should you take?'
 				act 'Regular selfie':
 					*clr & cla
-					dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					if Enable_Android = 1:
+						dynamic 'temp_selfietot = <<selfieClotot[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+					else
+						dynamic 'temp_selfietot = <<selfieClotot[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+					end
 					i = rand(1,temp_selfietot)
 					dynamic 'school_classroom_closelfie[<<i>>] = 1'
 					'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/clothed/<<i>>.jpg"></center>'
@@ -1146,7 +1166,11 @@ if $ARGS[0] = 'shop':
 						gs 'willpower', 'pay', 'self'
 						gs 'exhibitionism', 1
 						gs 'fame', 'pav', 'sex', 3
-						dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						if Enable_Android = 1:
+							dynamic 'temp_selfietot = <<selfieTitflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+						else
+							dynamic 'temp_selfietot = <<selfieTitflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+						end
 						i = rand(1,temp_selfietot)
 						dynamic 'school_classroom_titflash[<<i>>] = 1'
 						'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/titflash/<<i>>.jpg"></center>'
@@ -1166,7 +1190,11 @@ if $ARGS[0] = 'shop':
 							gs 'willpower', 'pay', 'self'
 							gs 'exhibitionism', 3
 							gs 'fame', 'pav', 'sex', 3
-							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							if Enable_Android = 1:
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+							else
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							end
 							i = rand(1,temp_selfietot)
 							dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 							'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'
@@ -1185,7 +1213,11 @@ if $ARGS[0] = 'shop':
 							gs 'willpower', 'pay', 'self'
 							gs 'exhibitionism', 3
 							gs 'fame', 'pav', 'sex', 3
-							dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							if Enable_Android = 1:
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(''$selfieLoc'', ''school_classroom'',1)]>>'
+							else
+								dynamic 'temp_selfietot = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', ''school_classroom'')]>>'
+							end
 							i = rand(1,temp_selfietot)
 							dynamic 'school_classroom_pussyflash[<<i>>] = 1'
 							'<center><img <<$set_imgh>> src="images/pc/activities/selfies/school_classroom/pussyflash/<<i>>.jpg"></center>'

+ 50 - 10
locations/telefon.qsrc

@@ -1331,7 +1331,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 	if $ARGS[2] = '':
 		if $clothingworntype = 'swimwear' or $clothingworntype = 'beach':
 			!!changing to and unmixed variable so the rng will work
-			dynamic 'temp_swim = <<selfieSwimtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_swim = <<selfieSwimtot[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_swim = <<selfieSwimtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_swim > 0:
 				phone_rand = rand(1,temp_swim)
 				!!Setting the image owned flag to 1
@@ -1345,7 +1349,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 			end
 		elseif $clothingworntype ! 'nude':
 			!!changing to and unmixed variable so the rng will work
-			dynamic 'temp_clotot = <<selfieClotot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_clotot = <<selfieClotot[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_clotot = <<selfieClotot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_clotot > 0:
 				phone_rand = rand(1,temp_clotot)
 				!!Setting the image owned flag to 1
@@ -1358,7 +1366,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 				end
 			end
 		elseif $pantyworntype ! 'none':
-			dynamic 'temp_undtot = <<selfieUndtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_undtot = <<selfieUndtot[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_undtot = <<selfieUndtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_undtot > 0:
 				phone_rand = rand(1,temp_undtot)
 				dynamic '<<$ARGS[1]>>_undselfie[<<phone_rand>>] = 1'
@@ -1370,7 +1382,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 				end
 			end
 		else
-			dynamic 'temp_nudtot = <<selfieNudtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_nudtot = <<selfieNudtot[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_nudtot = <<selfieNudtot[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_nudtot > 0:
 				phone_rand = rand(1,temp_nudtot)
 				dynamic '<<$ARGS[1]>>_nudselfie[<<phone_rand>>] = 1'
@@ -1384,7 +1400,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 		end
 	else
 		if $ARGS[2] = 'tits':
-			dynamic 'temp_titflash = <<selfieTitflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_titflash = <<selfieTitflash[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_titflash = <<selfieTitflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_titflash > 0:
 				phone_rand = rand(1,temp_titflash)
 				dynamic '<<$ARGS[1]>>_titflash[<<phone_rand>>] = 1'
@@ -1396,7 +1416,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 				end
 			end
 		elseif $ARGS[2] = 'ass':
-			dynamic 'temp_assflash = <<selfieAssflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_assflash = <<selfieAssflash[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_assflash = <<selfieAssflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_assflash > 0:
 				phone_rand = rand(1,temp_assflash)
 				dynamic '<<$ARGS[1]>>_assflash[<<phone_rand>>] = 1'
@@ -1408,7 +1432,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 				end
 			end
 		elseif $ARGS[2] = 'pussy':
-			dynamic 'temp_pussyflash = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			if Enable_Android = 1:
+				dynamic 'temp_pussyflash = <<selfiePussyflash[arrpos(''$selfieLoc'', $ARGS[1],1)]>>'
+			else
+				dynamic 'temp_pussyflash = <<selfiePussyflash[arrpos(1, ''$selfieLoc'', $ARGS[1])]>>'
+			end
 			if temp_pussyflash > 0:
 				phone_rand = rand(1,temp_pussyflash)
 				dynamic '<<$ARGS[1]>>_pussyflash[<<phone_rand>>] = 1'
@@ -1428,7 +1456,11 @@ if $ARGS[0] = 'Phone_selfie_image_bathing':
 	minut += rand(5,7)
 	if $ARGS[1] = 'shower':
 		!!changing to and unmixed variable so the rng will work
-		dynamic 'temp_showertot = <<selfieShowertot[arrpos(1, ''$selfieLoc'', ''bathroom'')]>>'
+		if Enable_Android = 1:
+			dynamic 'temp_showertot = <<selfieShowertot[arrpos(''$selfieLoc'', ''bathroom'',1)]>>'
+		else
+			dynamic 'temp_showertot = <<selfieShowertot[arrpos(1, ''$selfieLoc'', ''bathroom'')]>>'
+		end
 		phone_rand = rand(1,temp_showertot)
 		!!Setting the image owned flag to 1
 		dynamic 'bathroom_showerselfie[<<phone_rand>>] = 1'
@@ -1439,7 +1471,11 @@ if $ARGS[0] = 'Phone_selfie_image_bathing':
 			view 'images/pc/activities/selfies/bathroom/shower/<<phone_rand>>.jpg'
 		end
 	elseif $ARGS[1] = 'bath':
-		dynamic 'temp_bathtot = <<selfieBathtot[arrpos(1, ''$selfieLoc'', ''bathroom'')]>>'
+		if Enable_Android = 1:
+			dynamic 'temp_bathtot = <<selfieBathtot[arrpos(''$selfieLoc'', ''bathroom'',1)]>>'
+		else
+			dynamic 'temp_bathtot = <<selfieBathtot[arrpos(1, ''$selfieLoc'', ''bathroom'')]>>'
+		end
 		phone_rand = rand(1,temp_bathtot)
 		dynamic 'bathroom_bathselfie[<<phone_rand>>] = 1'
 		gs 'stat'
@@ -1487,7 +1523,11 @@ if $ARGS[0] = 'Phone_camera':
 	$telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'', ''<<$phone_loc>>'' "><b>Take a selfie</b></a><br>'
 	!! Flashing selfie
 	if $clothingworntype ! 'nude' and $phone_loc <> '':
-		locIndex = arrpos(1, '$selfieLoc', $phone_loc)
+		if Enable_Android = 1:
+			locIndex = arrpos('$selfieLoc', $phone_loc,1)
+		else
+			locIndex = arrpos(1, '$selfieLoc', $phone_loc)
+		end
 		if (pcs_inhib >= 35 or exhibitionist_lvl > 0 or $phone_loc = 'bedroom') and dyneval("result = <<selfieTitflash[locIndex]>>") > 0:
 			$telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'', ''<<$phone_loc>>'', ''tits'' "><b>Flash your tits for a selfie</b></a><br>'
 		end