<root>
<document schema='101' license=',,' 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='0' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd 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_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_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='foreground_colour' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' protect='1' />
		<definition guid='6c0ffb74-9af9-4c4d-beed-477a5618ca25' vmin='0' vmaj='1' visiblename='' description='' category='' dynamic='0' standalone='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='Cell Colour' target='cell_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='' />
				<property name='Animate' target='animate' typeid='7' hidden='0' locked='0' info='' />
				<property name='Animation Delay (ms)' target='delay' typeid='14' hidden='0' locked='0' info='' />
			</properties>
			<values >
				<value target='cell_size' data='4' />
				<value target='wall_colour' data='0' />
				<value target='cell_colour' data='16777215' />
				<value target='width' data='30' />
				<value target='height' data='36' />
				<value target='cell_count' data='1080' />
				<value target='xcoord' data='4' />
				<value target='ycoord' data='12' />
				<value target='animate' data='1' />
				<value target='delay' data='10' />
			</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' byref='0' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' array='0' byref='0' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' array='0' byref='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' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxh' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' byref='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 name='Hunt' description='' >
								<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 name='Hunt' description='' >
										<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 name='Hunt' description='' >
												<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 name='Hunt' description='' >
														<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 name='Hunt' description='' >
																<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 name='Hunt' description='' />
														</command>
													</flowline>
													<flowline name='Hunt' description='' />
												</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 name='Hunt' description='' >
														<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 name='Hunt' description='' >
																<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 name='Hunt' description='' />
														</command>
													</flowline>
													<flowline name='Hunt' description='' />
												</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 name='Hunt' description='' >
														<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 name='Hunt' description='' >
																<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 name='Hunt' description='' />
														</command>
													</flowline>
													<flowline name='Hunt' description='' />
												</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 name='Hunt' description='' >
														<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 name='Hunt' description='' >
																<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 name='Hunt' description='' />
														</command>
													</flowline>
													<flowline name='Hunt' description='' />
												</command>
											</flowline>
											<flowline name='Hunt' description='' />
										</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' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxh' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' byref='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 name='Init_Cells' description='' >
								<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 name='Init_Cells' description='' >
										<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' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='mask' type='u8' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='pointer2' type='u16' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='mask2' type='u8' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxh' type='u8' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idxw' type='u8' array='0' byref='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>
						<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='animate' swap='0' >
							<flowline name='Remove_Wall' 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='delay' swap='0' >
									<flowline name='Remove_Wall' description='' >
										<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='delay' type='1' />
									</flowline>
									<flowline name='Remove_Wall' description='' />
								</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 = .pointer / width' />
									<exp exp='.idxw = .pointer MOD width' />
								</command>
								<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 name='Remove_Wall' description='' />
									<flowline name='Remove_Wall' description='' >
										<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='cell_colour' />
											<argument exp='cell_colour &gt;&gt; 8' />
											<argument exp='cell_colour &gt;&gt; 16' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
											<argument exp='(.idxw * cell_size) + xcoord' />
											<argument exp='(.idxh * cell_size) + ycoord' />
											<argument exp='((.idxw + 1) * cell_size) + xcoord' />
											<argument exp='(.idxh * cell_size) + ycoord' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='wall_colour' />
											<argument exp='wall_colour &gt;&gt; 8' />
											<argument exp='wall_colour &gt;&gt; 16' />
										</command>
									</flowline>
								</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 name='Remove_Wall' description='' />
									<flowline name='Remove_Wall' description='' >
										<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='cell_colour' />
											<argument exp='cell_colour &gt;&gt; 8' />
											<argument exp='cell_colour &gt;&gt; 16' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
											<argument exp='((.idxw + 1) * cell_size) + xcoord' />
											<argument exp='(.idxh * cell_size) + ycoord' />
											<argument exp='((.idxw + 1) * cell_size) + xcoord' />
											<argument exp='((.idxh + 1) * cell_size) + ycoord' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='wall_colour' />
											<argument exp='wall_colour &gt;&gt; 8' />
											<argument exp='wall_colour &gt;&gt; 16' />
										</command>
									</flowline>
								</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 name='Remove_Wall' description='' />
									<flowline name='Remove_Wall' description='' >
										<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='cell_colour' />
											<argument exp='cell_colour &gt;&gt; 8' />
											<argument exp='cell_colour &gt;&gt; 16' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
											<argument exp='(.idxw * cell_size) + xcoord' />
											<argument exp='((.idxh + 1) * cell_size) + ycoord' />
											<argument exp='((.idxw + 1) * cell_size) + xcoord' />
											<argument exp='((.idxh + 1) * cell_size) + ycoord' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='wall_colour' />
											<argument exp='wall_colour &gt;&gt; 8' />
											<argument exp='wall_colour &gt;&gt; 16' />
										</command>
									</flowline>
								</command>
								<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 name='Remove_Wall' description='' />
									<flowline name='Remove_Wall' description='' >
										<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='cell_colour' />
											<argument exp='cell_colour &gt;&gt; 8' />
											<argument exp='cell_colour &gt;&gt; 16' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
											<argument exp='(.idxw * cell_size) + xcoord' />
											<argument exp='(.idxh * cell_size) + ycoord' />
											<argument exp='(.idxw * cell_size) + xcoord' />
											<argument exp='((.idxh + 1) * cell_size) + ycoord' />
										</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
											<argument exp='wall_colour' />
											<argument exp='wall_colour &gt;&gt; 8' />
											<argument exp='wall_colour &gt;&gt; 16' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline name='Remove_Wall' description='' />
						</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' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='calc' type='u16' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retval' type='T8' array='20' byref='0' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<command class_type='panel' 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='panel' 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='panel' 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='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='animate' swap='0' >
							<flowline name='Ev_Property' description='' >
								<command class_type='panel' 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.SetVisible' >
									<argument exp='this' />
									<argument exp='&quot;delay&quot;' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline name='Ev_Property' description='' >
								<command class_type='panel' 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.SetVisible' >
									<argument exp='this' />
									<argument exp='&quot;delay&quot;' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PickStartCell' description='' >
						<local name='idx' type='u16' array='0' byref='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 name='PickStartCell' description='' >
								<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' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' byref='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 name='Draw_Cells' description='' >
								<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 name='Draw_Cells' description='' >
										<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='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 name='Draw_Cells' description='' >
												<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 name='Draw_Cells' description='' >
														<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' devid='0' device='gLCD_EBM001' macro='DrawLine' >
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
															<argument exp='((.idxw + 1) * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
														</command>
													</flowline>
													<flowline name='Draw_Cells' description='' >
														<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
															<argument exp='cell_colour' />
															<argument exp='cell_colour &gt;&gt; 8' />
															<argument exp='cell_colour &gt;&gt; 16' />
														</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
															<argument exp='((.idxw + 1) * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
														</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
															<argument exp='wall_colour' />
															<argument exp='wall_colour &gt;&gt; 8' />
															<argument exp='wall_colour &gt;&gt; 16' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline name='Draw_Cells' description='' />
										</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 name='Draw_Cells' description='' >
												<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' devid='0' device='gLCD_EBM001' macro='DrawLine' >
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='(.idxh * cell_size) + ycoord' />
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='((.idxh + 1) * cell_size) + ycoord' />
												</command>
											</flowline>
											<flowline name='Draw_Cells' description='' >
												<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
													<argument exp='cell_colour' />
													<argument exp='cell_colour &gt;&gt; 8' />
													<argument exp='cell_colour &gt;&gt; 16' />
												</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='((.idxh * cell_size) + ycoord) + 1' />
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='(((.idxh + 1) * cell_size) + ycoord) - 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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
													<argument exp='wall_colour' />
													<argument exp='wall_colour &gt;&gt; 8' />
													<argument exp='wall_colour &gt;&gt; 16' />
												</command>
											</flowline>
										</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 name='Draw_Cells' description='' >
												<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' devid='0' device='gLCD_EBM001' macro='DrawLine' >
													<argument exp='(.idxw * cell_size) + xcoord' />
													<argument exp='((.idxh + 1) * cell_size) + ycoord' />
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='((.idxh + 1) * cell_size) + ycoord' />
												</command>
											</flowline>
											<flowline name='Draw_Cells' description='' >
												<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
													<argument exp='cell_colour' />
													<argument exp='cell_colour &gt;&gt; 8' />
													<argument exp='cell_colour &gt;&gt; 16' />
												</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
													<argument exp='(.idxw * cell_size) + xcoord' />
													<argument exp='((.idxh + 1) * cell_size) + ycoord' />
													<argument exp='((.idxw + 1) * cell_size) + xcoord' />
													<argument exp='((.idxh + 1) * cell_size) + ycoord' />
												</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
													<argument exp='wall_colour' />
													<argument exp='wall_colour &gt;&gt; 8' />
													<argument exp='wall_colour &gt;&gt; 16' />
												</command>
											</flowline>
										</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 name='Draw_Cells' description='' >
												<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 name='Draw_Cells' description='' >
														<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' devid='0' device='gLCD_EBM001' macro='DrawLine' >
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='((.idxh + 1) * cell_size) + ycoord' />
														</command>
													</flowline>
													<flowline name='Draw_Cells' description='' >
														<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' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
															<argument exp='cell_colour' />
															<argument exp='cell_colour &gt;&gt; 8' />
															<argument exp='cell_colour &gt;&gt; 16' />
														</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawLine' >
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='(.idxh * cell_size) + ycoord' />
															<argument exp='(.idxw * cell_size) + xcoord' />
															<argument exp='((.idxh + 1) * cell_size) + ycoord' />
														</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
															<argument exp='wall_colour' />
															<argument exp='wall_colour &gt;&gt; 8' />
															<argument exp='wall_colour &gt;&gt; 16' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline name='Draw_Cells' description='' />
										</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='Main' description='' >
						<local name='active' type='u8' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<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' devid='0' device='gLCD_EBM001' macro='Initialise' />
						<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' devid='0' device='gLCD_EBM001' macro='Print' >
							<argument exp='&quot;Maze Builder&quot;' />
							<argument exp='28' />
							<argument exp='3' />
							<argument exp='0' />
							<argument exp='1' />
						</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 name='Main' description='' >
								<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 Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetBackgroundColour' >
									<argument exp='cell_colour' />
									<argument exp='cell_colour &gt;&gt; 8' />
									<argument exp='cell_colour &gt;&gt; 16' />
								</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
									<argument exp='cell_colour' />
									<argument exp='cell_colour &gt;&gt; 8' />
									<argument exp='cell_colour &gt;&gt; 16' />
								</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='DrawRectangle' >
									<argument exp='xcoord' />
									<argument exp='ycoord' />
									<argument exp='xcoord + (width * cell_size)' />
									<argument exp='ycoord + (height * cell_size)' />
									<argument exp='0' />
									<argument exp='0' />
								</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='0' hide='0' customize='0' devid='0' device='gLCD_EBM001' macro='SetForegroundColour' >
									<argument exp='wall_colour' />
									<argument exp='wall_colour &gt;&gt; 8' />
									<argument exp='wall_colour &gt;&gt; 16' />
								</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='PickStartCell' />
								<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' />
								<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 name='Main' description='' >
										<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' />
								<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='5' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Recursive' description='' >
						<local name='idxh' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idxw' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='pointer' type='u16' array='0' byref='0' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='temp' type='u8' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='valid' type='u8' array='0' byref='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 name='Recursive' description='' >
								<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 name='Recursive' description='' >
										<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 name='Recursive' description='' >
												<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 name='Recursive' description='' >
														<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 name='Recursive' description='' >
																	<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																	<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																	<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																	<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																					<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 name='Recursive' description='' >
																			<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 name='Recursive' description='' />
										</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='5a6d2f2e-da92-49b4-ad5c-71f51e8fe24b' vmin='3' vmaj='1' codename='gLCD_EBM001' x='0' y='-8' z='1' 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 />
				<values >
					<value target='pixel_height' data='160' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='65535' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='data_pin' data='$PORTB.0' />
					<value target='clock_pin' data='$PORTB.1' />
					<value target='chip_sel_pin' data='$PORTB.2' />
					<value target='a0_pin' data='$PORTB.3' />
					<value target='reset_pin' data='$PORTB.4' />
					<value target='led_pin' data='$PORTB.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='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='2' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='29' />
		<camera xe='0' ye='0' ze='268.066' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Recursive' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Draw_Cells' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PickStartCell' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Remove_Wall' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Hunt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA3wIAAEQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
