<root>
<document schema='101' license='50,Dev User,B5GZU1' title='' description='' guid='6c0ffb74-9af9-4c4d-beed-477a5618ca25' target='PIC.16F.16F877A' >
	<config data='!0,3f72%0,2%2,0%3,0%6,1%7,0%9,3%b,1%8,1%d,1' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<data name='firmware' value='0000000000000000' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
		</dll_dbg_icd>
		<dll_dbg_ict enabled='0' >
			<data name='speed' value='1000' />
			<data name='firmware' value='0000000000000000' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='userpins' value='0' />
		</dll_dbg_ict>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='6c0ffb74-9af9-4c4d-beed-477a5618ca25' vmin='0' vmaj='1' visiblename='' description='' category='' author='' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' >
			<resources />
			<properties >
				<property name='Cell Size' target='cell_size' typeid='14' hidden='0' locked='0' info='' />
				<property name='Wall Colour' target='wall_colour' typeid='1' hidden='0' locked='0' info='' />
				<property name='Width (Cells)' target='width' typeid='14' hidden='0' locked='0' info='' />
				<property name='Height (Cells)' target='height' typeid='14' hidden='0' locked='0' info='' />
				<property name='Cell Count' target='cell_count' typeid='14' hidden='0' locked='1' info='' />
				<property name='X' target='xcoord' typeid='14' hidden='0' locked='0' info='' />
				<property name='Y' target='ycoord' typeid='14' hidden='0' locked='0' info='' />
			</properties>
			<values >
				<value target='cell_size' data='4' />
				<value target='wall_colour' data='255' />
				<value target='width' data='6' />
				<value target='height' data='6' />
				<value target='cell_count' data='36' />
				<value target='xcoord' data='0' />
				<value target='ycoord' data='0' />
			</values>
			<events >
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='cells' type='u8' array='1500' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' array='0' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IR' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' array='0' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Hunt' description='' >
						<return name='Return' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxh' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh &lt; height' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw &lt; width' type='0' start='1' count='1' breakend='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.pointer = (.idxh * width) + .idxw' />
										</command>
										<command class_type='decision' title='Uncut Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x0f) = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='Not Top Row?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh != 0' swap='0' >
													<flowline >
														<command class_type='decision' title='Up One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='cells[.pointer - width] &amp; 0x0f' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																	<argument exp='.pointer' />
																	<argument exp='0x81' />
																	<argument exp='.pointer - width' />
																	<argument exp='0x20' />
																</command>
																<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																	<exp exp='.Return = 1' />
																</command>
																<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Not last column?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw != width - 1' swap='0' >
													<flowline >
														<command class_type='decision' title='Right One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='cells[.pointer + 1] &amp; 0x0f' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																	<argument exp='.pointer' />
																	<argument exp='0x41' />
																	<argument exp='.pointer + 1' />
																	<argument exp='0x10' />
																</command>
																<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																	<exp exp='.Return = 1' />
																</command>
																<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Not bottom row' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh != height - 1' swap='0' >
													<flowline >
														<command class_type='decision' title='Down One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='cells[.pointer + width] &amp; 0x0f' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																	<argument exp='.pointer' />
																	<argument exp='0x21' />
																	<argument exp='.pointer + width' />
																	<argument exp='0x80' />
																</command>
																<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																	<exp exp='.Return = 1' />
																</command>
																<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Not first column' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw != 0' swap='0' >
													<flowline >
														<command class_type='decision' title='Left One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='cells[.pointer - 1] &amp; 0x0f' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																	<argument exp='.pointer' />
																	<argument exp='0x11' />
																	<argument exp='.pointer - 1' />
																	<argument exp='0x40' />
																</command>
																<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																	<exp exp='.Return = 1' />
																</command>
																<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.idxw = .idxw + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='.idxh = .idxh + 1' />
									<exp exp='.idxw = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_Cells' description='' >
						<local name='idxw' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxh' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh &lt; height' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw &lt; width' type='0' start='1' count='1' breakend='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.pointer = (.idxh * width) + .idxw' />
										</command>
										<command class_type='calculation' title='Walls 0x00 + ID 0x00  ' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='cells[.pointer] = 0x00' />
										</command>
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.idxw = .idxw + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='.idxh = .idxh + 1' />
									<exp exp='.idxw = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Remove_Wall' description='' >
						<param name='pointer' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='mask' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='pointer2' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='mask2' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxh' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxw' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Merge Cells' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='cells[.pointer] = cells[.pointer] | .mask' />
							<exp exp='cells[.pointer2] = cells[.pointer2] | .mask2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Property' description='Sent when a property has been changed by the User' >
						<return name='Return' type='u32' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='calc' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retval' type='T8' array='20' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.GetValue' >
							<return exp='.retval' />
							<argument exp='this' />
							<argument exp='&quot;width&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='.calc = StringToInt$ (.retval)' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.GetValue' >
							<return exp='.retval' />
							<argument exp='this' />
							<argument exp='&quot;height&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='.calc = .calc * StringToInt$ (.retval)' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;cell_count&quot;' />
							<argument exp='.calc' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.GetValue' >
							<return exp='.retval' />
							<argument exp='this' />
							<argument exp='&quot;wall_colour&quot;' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.SetValue' >
							<argument exp='RepRap_Printer' />
							<argument exp='&quot;Col_Print&quot;' />
							<argument exp='.retval' />
						</command>
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='.calc = width * cell_size' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.SetValue' >
							<argument exp='RepRap_Printer' />
							<argument exp='&quot;X_Width&quot;' />
							<argument exp='.calc' />
						</command>
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='.calc = height * cell_size' />
						</command>
						<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Component.Property.SetValue' >
							<argument exp='RepRap_Printer' />
							<argument exp='&quot;Y_Length&quot;' />
							<argument exp='.calc' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PickStartCell' description='' >
						<local name='idx' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='9999' setinit='9999' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idx &gt;= cell_count' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='.idx = random ()' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='cells[.idx] = cells[.idx] | 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Draw_Cells' description='' >
						<local name='idxh' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh &lt; height' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw &lt; width' type='0' start='1' count='1' breakend='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.pointer = (.idxh * width) + .idxw' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
											<argument exp='0' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveToXYZ' >
											<argument exp='(.idxw * cell_size) + xcoord' />
											<argument exp='(.idxh * cell_size) + ycoord' />
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='Wall Top?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x80) = 0' swap='0' >
													<flowline >
														<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
															<argument exp='1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveByXYZ' >
											<argument exp='cell_size' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Wall Right?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x40) = 0' swap='0' >
											<flowline >
												<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveByXYZ' >
											<argument exp='0' />
											<argument exp='cell_size' />
											<argument exp='0' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Wall Bottom?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x20) = 0' swap='0' >
											<flowline >
												<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveByXYZ' >
											<argument exp='-cell_size' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw = 0' swap='0' >
											<flowline >
												<command class_type='decision' title='Wall Left?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x10) = 0' swap='0' >
													<flowline >
														<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
															<argument exp='1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveByXYZ' >
											<argument exp='0' />
											<argument exp='-cell_size' />
											<argument exp='0' />
										</command>
										<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ControlPrintHead' >
											<argument exp='0' />
										</command>
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.idxw = .idxw + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='.idxh = .idxh + 1' />
									<exp exp='.idxw = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Redraw_Maze' description='' >
						<local name='active' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='ClearPrevPrint' />
						<command class_type='sim' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='RepRap_Printer' macro='MoveToHome' />
						<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Init_Cells' />
						<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='PickStartCell' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.active' type='0' start='0' count='1' breakend='0' >
							<flowline >
								<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Recursive' />
								<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Hunt' >
									<return exp='.active' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Draw_Cells' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Redraw_Maze' />
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='1' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='1' hide='0' customize='0' macro='Panel.Position.Camera.SetEye' >
									<argument exp='FormulaFlowcode' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='1' hide='0' customize='0' macro='Panel.Position.Camera.SetTarget' >
									<argument exp='FormulaFlowcode' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='1' hide='0' customize='0' component='FormulaFlowcode' macro='Stop' />
								<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='ReadIRSensor' >
									<return exp='IR' />
									<argument exp='&apos;l&apos;' />
								</command>
								<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='IR &lt; 15' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='IR &lt; 3' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='SpinRight' >
													<argument exp='60' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='ReadIRSensor' >
													<return exp='IR' />
													<argument exp='&apos;f&apos;' />
												</command>
												<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='IR &lt; 5' swap='0' >
													<flowline >
														<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='SpinRight' >
															<argument exp='120' />
														</command>
														<command class_type='delay' title='Delay' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='100' type='1' />
													</flowline>
													<flowline >
														<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='Forward' >
															<argument exp='150' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='FormulaFlowcode' macro='SpinLeft' >
											<argument exp='60' />
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='50' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Recursive' description='' >
						<local name='idxh' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='temp' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='valid' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh &lt; height' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw &lt; width' type='0' start='1' count='1' breakend='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.pointer = (.idxh * width) + .idxw' />
										</command>
										<command class_type='label' title='Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='A' />
										<command class_type='decision' title='Fresh Cut Cell?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer] &amp; 0x0f) = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Upgrade Cell to Checked' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
													<exp exp='cells[.pointer] = cells[.pointer] | 0x02' />
												</command>
												<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
													<exp exp='.valid = 0x0f' />
												</command>
												<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.valid' type='0' start='1' count='4' breakend='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
															<exp exp='.idxh = .pointer / width' />
															<exp exp='.idxw = .pointer MOD width' />
														</command>
														<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
															<exp exp='.temp = random () &amp; 0x03' />
														</command>
														<command class_type='switch' title='Switch' comment='' ccode='' textshow='1' textmode='0' textarea='36,25,36,25' break='0' mark='0' disable='0' hide='0' customize='0' exp='.temp' >
															<case >
																<flowline >
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='decision' title='Not Top Row?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh != 0' swap='0' >
																		<flowline >
																			<command class_type='decision' title='Up One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer - width] &amp; 0x0f) = 0' swap='0' >
																				<flowline >
																					<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																						<argument exp='.pointer' />
																						<argument exp='0x80' />
																						<argument exp='.pointer - width' />
																						<argument exp='0x21' />
																					</command>
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.pointer = .pointer - width' />
																					</command>
																					<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
																				</flowline>
																				<flowline >
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.valid = .valid &amp; 0x07' />
																					</command>
																				</flowline>
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																				<exp exp='.valid = .valid &amp; 0x07' />
																			</command>
																		</flowline>
																	</command>
																</flowline>
															</case>
															<case exp='1' >
																<flowline >
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='decision' title='Not last column?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw != width - 1' swap='0' >
																		<flowline >
																			<command class_type='decision' title='Right One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer + 1] &amp; 0x0f) = 0' swap='0' >
																				<flowline >
																					<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																						<argument exp='.pointer' />
																						<argument exp='0x40' />
																						<argument exp='.pointer + 1' />
																						<argument exp='0x11' />
																					</command>
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.pointer = .pointer + 1' />
																					</command>
																					<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
																				</flowline>
																				<flowline >
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.valid = .valid &amp; 0x0B' />
																					</command>
																				</flowline>
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																				<exp exp='.valid = .valid &amp; 0x0B' />
																			</command>
																		</flowline>
																	</command>
																</flowline>
															</case>
															<case exp='2' >
																<flowline >
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='decision' title='Not bottom row' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxh != height - 1' swap='0' >
																		<flowline >
																			<command class_type='decision' title='Down One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer + width] &amp; 0x0f) = 0' swap='0' >
																				<flowline >
																					<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																						<argument exp='.pointer' />
																						<argument exp='0x20' />
																						<argument exp='.pointer + width' />
																						<argument exp='0x81' />
																					</command>
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.pointer = .pointer + width' />
																					</command>
																					<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
																				</flowline>
																				<flowline >
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.valid = .valid &amp; 0x0D' />
																					</command>
																				</flowline>
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																				<exp exp='.valid = .valid &amp; 0x0D' />
																			</command>
																		</flowline>
																	</command>
																</flowline>
															</case>
															<case exp='3' >
																<flowline >
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='1' />
																	<command class_type='block' title='' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='1' customize='0' start='0' />
																	<command class_type='decision' title='Not first column' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='.idxw != 0' swap='0' >
																		<flowline >
																			<command class_type='decision' title='Left One Cell' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='(cells[.pointer - 1] &amp; 0x0f) = 0' swap='0' >
																				<flowline >
																					<command class_type='call' title='Call Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' macro='Remove_Wall' >
																						<argument exp='.pointer' />
																						<argument exp='0x10' />
																						<argument exp='.pointer - 1' />
																						<argument exp='0x41' />
																					</command>
																					<command class_type='calculation' title='Merge Cells' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='cells[.pointer] = cells[.pointer] | 0x10' />
																						<exp exp='cells[.pointer - 1] = cells[.pointer - 1] | 0x41' />
																					</command>
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.pointer = .pointer - 1' />
																					</command>
																					<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
																				</flowline>
																				<flowline >
																					<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																						<exp exp='.valid = .valid &amp; 0x0E' />
																					</command>
																				</flowline>
																			</command>
																		</flowline>
																		<flowline >
																			<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
																				<exp exp='.valid = .valid &amp; 0x0E' />
																			</command>
																		</flowline>
																	</command>
																</flowline>
															</case>
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
											<exp exp='.idxw = .idxw + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='.idxh = .idxh + 1' />
									<exp exp='.idxw = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='62b6ca37-eb0a-4b5f-b2e1-9a732c4e05ce' vmin='3' vmaj='1' codename='RepRap_Printer' x='0' y='0' z='40' xsz='70' ysz='70' zsz='70' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' >
				<resources />
				<properties />
				<values >
					<value target='Col_Bed' data='16777215' />
					<value target='Col_Print' data='255' />
					<value target='print_speed' data='100' />
					<value target='PrintType' data='000' />
					<value target='Resolution' data='5' />
					<value target='RedrawCount' data='10' />
					<value target='print_size' data='1.000000' />
					<value target='Shape' data='000' />
					<value target='X_Width' data='24' />
					<value target='Y_Length' data='24' />
					<value target='Z_Height' data='20' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9d5300ab-57ae-4483-8f18-04ec2007b406' vmin='2' vmaj='1' codename='FormulaFlowcode' x='-706.725' y='-102.602' z='26.2' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='-102.647' xquat='0' yquat='0' zquat='0.780686' wquat='-0.624923' visible='1' interactive='1' solid='1' layer='0' >
				<resources />
				<properties />
				<values >
					<value target='wait_b4_start' data='0' />
					<value target='ret_type' data='000' />
					<value target='balance' data='0' />
					<value target='thresh_left' data='8' />
					<value target='thresh_front' data='6' />
					<value target='thresh_right' data='8' />
					<value target='sim_speed' data='50' />
					<value target='Animate_Style' data='0' />
					<value target='Redraw' data='0' />
					<value target='timer_interval' data='50' />
					<value target='IR_Count' data='255' />
					<value target='IR_Res' data='5.000000' />
					<value target='collision_mode' data='001' />
					<value target='collision_group' data='RepRap_Printer' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='5.03205' ye='-28.946' ze='2732' xt='5.03205' yt='-28.946' zt='1.33607' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='68' scrollx='0' scrolly='546' flags='0' />
		<view type='0' name='Redraw_Maze' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Draw_Cells' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Hunt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PickStartCell' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Recursive' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Remove_Wall' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_Cells' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAFUCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
