Browse Source

[fixed] in sergeihunter, move code present in all branches of conditional to outside conditional

Spackled Lanturn 3 years ago
parent
commit
8f34ecb780
1 changed files with 9 additions and 17 deletions
  1. 9 17
      locations/sergeihunter.qsrc

+ 9 - 17
locations/sergeihunter.qsrc

@@ -181,36 +181,28 @@ if huntersSergeiLove = 0 or (huntersSergeiQw >= 10 and huntersSergeiQw <= 50):
 				end
 			end
 		end
-		act'Depart':gt $loc, $loc_arg
+		act 'Depart':gt $loc, $loc_arg
 	end
 else
+	*clr & cla
+	'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/brosil.jpg"></center>'
+	*nl
 	if huntersSergeiQw < 10:
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/brosil.jpg"></center>'
-		*nl
 		'You want to talk to Sergei, but he beats you to it and starts speaking before you can get a word in.'
 		'<<$pcs_nickname>>, I realized that our relationship has no future and we need to stop seeing each other, " he says and, trying not to look in your direction, resolutely walks away.'
 		'"Well, maybe it''s for the best," you think as you leave in the other direction.'
-		minut += 5
-		huntersSergeiLove = 0
 		huntersSergeiQw -= 10
-		gs 'stat'
-
-		act 'Leave':gt $loc, $loc_arg
 	else
-		*clr & cla
-		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/brosil.jpg"></center>'
-		*nl
 		'You want to talk to Sergei, but before you say anything, he speaks instead.'
 		'"<<$pcs_nickname>>, I realized that our relationship has no future. Your passion is unmatched, but I really love my family. I can''t risk that for you," he says. He turns and walks away without saying another word nor giving you time to say anything.'
 		'"Well, that''s how you feel is it?" you think as you stand there stunned. "Although, this is probably for the best since he is married," you conclude before walking away.'
-		minut += 5
-		huntersSergeiLove = 0
 		huntersSergeiQw -= 50
-		gs 'stat'
-
-		act 'Leave':gt $loc, $loc_arg
 	end
+	minut += 5
+	huntersSergeiLove = 0
+	gs 'stat'
+
+	act 'Leave':gt $loc, $loc_arg
 end
 
 --- sergeihunter ---------------------------------