 				BGem()	
 			if (SubStr(ParentStr, StrPos + 1, 1) = "r")
 				RGem()	
-			if (SubStr(ParentStr, StrPos + 1, 1) = "r")
+			if (SubStr(ParentStr, StrPos + 1, 1) = "w")
 				WGem()				
 			if (SubStr(ParentStr, StrPos + 1, 1) = "g") {
 				if (LastGemPos != StrPos + 1) 

; ###  Syntax for the Bracket-Formula ###
;
; Obviously: 
; 		r = Red / b = Black / o = orange / y = yellow
;
; Maybe a little less obviously:
;
;		g / k = copy of gem in the BOTTOM-LEFT! corner of the 12*3 craftingfield
;
; Furthermore:   ### New Features ###
; 		
;		the numerals 2 to 9 followed by any of the above = Corresponding color (or duplicate, respectively), upgraded 1 to 8 times 
;		
;		Examples: 9o / 2g = Orange upgraded 8 times (grade 9) / Base-gem (BottomLeft corner) upgraded once
;		(Needless to say, the upgrading happens via the "u"-button.) 
;
; And: 			
;
;		a / s / d  =  use (left / middle / right) gem in the top row of the 3*12 craftingfield
;		

	Gui, Add, Checkbox, vChosenIniMode %IsIniChecked%, Initialisation-Mode 	
	Gui, Add, Text,, If checked, you will be asked for coordinates the next time the CombiningHotkey is pressed.`n CombiningHotkey is Alt C by default. 

;############## Wait For Input ##############

	Gui, Add, Button, default, Ok 
	Gui, Show
	WinWaitClose, ahk_id %GuiHWND%
	return                

;############### SUBS / Labels #############

	ShowCustomField: 
		GuiControlGet, StatusOfDll, , ChosenCombine
