Browse Source

[fixed] index not reset before shoe loops in some shops

KevinSmarts 3 years ago
parent
commit
d1a570e7f5

+ 4 - 15
locations/budgetclothes.qsrc

@@ -58,21 +58,9 @@ if $ARGS[0] = 'start':
 		end
 	end
 
-	act 'Visit shoe department':
-		cla
-		menu_off = 1
-
-		act 'Return':gt 'budgetclothes', 'start'
-
-		act 'View regular shoes':
-			minut += 5
-			gt 'budgetclothes', 'shoes'
-		end
-
-		act 'View exercise shoes':
-			minut += 5
-			gt 'budgetclothes', 'danilovich'
-		end
+	act 'View regular shoes':
+		minut += 5
+		gt 'budgetclothes', 'shoes'
 	end
 
 	act 'View panties':
@@ -391,6 +379,7 @@ if $ARGS[0] = 'shoes':
 		gt 'budgetclothes', 'start'
 	end
 
+	i = 1
 	:loopgm_shoes
 		if sgm[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/items/gm/shoes/<<i>>.jpg" height="250" /></a>'
 		i += 1

+ 1 - 0
locations/moncheri.qsrc

@@ -115,6 +115,7 @@ if $ARGS[0] = 'shoes':
 	gs'stat'
 
 	act 'Return': minut += 1 & gt 'moncheri', 'start'
+	i = 1
 
 	:loopmoncheri_shoes
 		if smoncheri[i] = 0:*p '<a href="exec: i = <<i>> & gt ''moncheri'', ''moncheri_shoes''"><img src="images/pc/items/moncheri/shoes/<<i>>.jpg" height="250" /></a>'

+ 1 - 0
locations/shop_dolls.qsrc

@@ -188,6 +188,7 @@ if $ARGS[0] = 'shoes':
 		minut += 5
 		gt 'shop_dolls', 'browse'
 	end
+	i = 1
 
 	:loopdolls_shoes
 		if sdolls[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_shoes''"><img src="images/pc/items/dolls/shoes/<<i>>.jpg" height="250" /></a>'

+ 1 - 0
locations/shop_tsar_bomba.qsrc

@@ -159,6 +159,7 @@ if $ARGS[0] = 'shoes':
 	gs'stat'
 
 	act 'Return': minut += 5 & gt 'shop_tsar_bomba', 'start'
+	i = 1
 
 	:loopbomba_shoes
 		if sbomba[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''bomba_shoes''"><img src="images/pc/items/bomba/shoes/<<i>>.jpg" height="250" /></a>'