Browse Source

minor re-ordering in mitkabuh_group

richard_butte 4 years ago
parent
commit
177a09a35d
1 changed files with 17 additions and 17 deletions
  1. 17 17
      locations/mitkabuh_group.qsrc

+ 17 - 17
locations/mitkabuh_group.qsrc

@@ -97,6 +97,23 @@ if $ARGS[0] = 'partywithMira':
 		end
 	! Sveta is not drunk and Mira is not drunk
 	else
+		gs 'willpower', 'drink', 'resist'
+		if will_cost <= pcs_willpwr:
+			act 'Leave (<<will_cost>> Willpower)':
+				MiraLoc = 0
+				npc_drunk['A60'] = 0
+				mitkabuhmiraday = 0
+				mitkabuhday = 0
+				minut += 15
+				gs 'willpower', 'drink', 'resist'
+				gs 'willpower', 'pay', 'resist'
+				gs 'stat'
+				
+				gt 'gadroad'
+			end
+		else
+			act 'Leave (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+		end
 		act 'Drink with Mira and the boys':
 			*clr & cla
 			menu_off = 1
@@ -121,23 +138,6 @@ if $ARGS[0] = 'partywithMira':
 			
 			act 'Continue drinking':gt 'mitkabuh_group','partywithMira'
 		end
-		gs 'willpower', 'drink', 'resist'
-		if will_cost <= pcs_willpwr:
-			act 'Leave (<<will_cost>> Willpower)':
-				MiraLoc = 0
-				npc_drunk['A60'] = 0
-				mitkabuhmiraday = 0
-				mitkabuhday = 0
-				minut += 15
-				gs 'willpower', 'drink', 'resist'
-				gs 'willpower', 'pay', 'resist'
-				gs 'stat'
-				
-				gt 'gadroad'
-			end
-		else
-			act 'Leave (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-		end
 	end
 end