source: vis_dev/vis-2.1/examples/elevator/elevator.mv @ 14

Last change on this file since 14 was 11, checked in by cecile, 13 years ago

Add vis

File size: 144.4 KB
Line 
1# vl2mv elevator.v
2# version: 0.2
3# date:    17:49:14 11/22/96 (PST)
4.model main
5# I/O ports
6
7# assign init11  = $NDset ( 0,1,2,3 )
8.names -> init11<0> init11<1>
90 0
101 0
110 1
121 1
13# assign init22  = $NDset ( 0,1,2,3 )
14.names -> init22<0> init22<1>
150 0
161 0
170 1
181 1
19# assign init1  = init11  == 3 ? 2 : init11
20.names _n6<0>
211
22.names _n6<1>
231
24# init11  == 3
25.names init11<0> _n6<0> _n7<0>
26.def 0
270 1 1
281 0 1
29.names init11<1> _n6<1> _n7<1>
30.def 0
310 1 1
321 0 1
33.names _n7<0> _n7<1> _n8
34.def 1
350 0 0
36.names _n8 _n5
370 1 
381 0 
39.names _n9<0>
400
41.names _n9<1>
421
43# init11  == 3 ? 2 : init11
44.names _n9<0> init11<0> _n5 _na<0>
450 - 1 0
461 - 1 1
47- 0 0 0
48- 1 0 1
49.names _n9<1> init11<1> _n5 _na<1>
500 - 1 0
511 - 1 1
52- 0 0 0
53- 1 0 1
54.names _na<0> init1$raw_n4<0>
55- =_na<0>
56.names _na<1> init1$raw_n4<1>
57- =_na<1>
58# assign init2  = init22  == 3 ? 2 : init22
59.names _nf<0>
601
61.names _nf<1>
621
63# init22  == 3
64.names init22<0> _nf<0> _n10<0>
65.def 0
660 1 1
671 0 1
68.names init22<1> _nf<1> _n10<1>
69.def 0
700 1 1
711 0 1
72.names _n10<0> _n10<1> _n11
73.def 1
740 0 0
75.names _n11 _ne
760 1 
771 0 
78.names _n12<0>
790
80.names _n12<1>
811
82# init22  == 3 ? 2 : init22
83.names _n12<0> init22<0> _ne _n13<0>
840 - 1 0
851 - 1 1
86- 0 0 0
87- 1 0 1
88.names _n12<1> init22<1> _ne _n13<1>
890 - 1 0
901 - 1 1
91- 0 0 0
92- 1 0 1
93.names _n13<0> init2$raw_nd<0>
94- =_n13<0>
95.names _n13<1> init2$raw_nd<1>
96- =_n13<1>
97.subckt elevator e1 stop_next=stop_next<1>  inc=inc<1>  dec=dec<1>  continue=continue<1>  init<0>=init1<0> init<1>=init1<1> 
98.subckt elevator e2 stop_next=stop_next<2>  inc=inc<2>  dec=dec<2>  continue=continue<2>  init<0>=init2<0> init<1>=init2<1> 
99.subckt main_control main_control inc<1>=inc<1> inc<2>=inc<2>  dec<1>=dec<1> dec<2>=dec<2>  stop_next<1>=stop_next<1> stop_next<2>=stop_next<2>  continue<1>=continue<1> continue<2>=continue<2>  init1<0>=init1<0> init1<1>=init1<1>  init2<0>=init2<0> init2<1>=init2<1> 
100# conflict arbitrators
101.names init2$raw_nd<0>  init2<0>
102- =init2$raw_nd<0>
103.names init2$raw_nd<1>  init2<1>
104- =init2$raw_nd<1>
105.names init1$raw_n4<0>  init1<0>
106- =init1$raw_n4<0>
107.names init1$raw_n4<1>  init1<1>
108- =init1$raw_n4<1>
109# non-blocking assignments
110# latches
111# quasi-continuous assignment
112.end
113
114
115.model elevator
116# I/O ports
117.outputs dec
118.outputs inc
119.inputs init<0> init<1>
120.inputs stop_next
121.inputs continue
122
123.mv movement 2 STOPPED MOVING
124.mv buttons<*0*> 2 ON OFF
125.mv buttons<*1*> 2 ON OFF
126.mv buttons<*2*> 2 ON OFF
127.mv door 4 OPEN OPENING CLOSED CLOSING
128.mv direction 2 UP DOWN
129# open_next  = 0
130.names open_next$raw_n16
1310
132# non-blocking assignments for initial
133# location  = init
134.names init<0> location$raw_n17<0>
135- =init<0>
136.names init<1> location$raw_n17<1>
137- =init<1>
138# non-blocking assignments for initial
139# direction  = 0
140.mv direction$raw_n18 2 UP DOWN
141.names direction$raw_n18
142UP
143# non-blocking assignments for initial
144# door  = 0
145.mv door$raw_n19 4 OPEN OPENING CLOSED CLOSING
146.names door$raw_n19
147OPEN
148# non-blocking assignments for initial
149# movement  = 0
150.mv movement$raw_n1a 2 STOPPED MOVING
151.names movement$raw_n1a
152STOPPED
153# non-blocking assignments for initial
154# buttons [0] = 1
155.mv buttons$raw_n1b<*0*> 2 ON OFF
156.mv buttons$raw_n1b<*1*> 2 ON OFF
157.mv buttons$raw_n1b<*2*> 2 ON OFF
158.mv _n1c 2 ON OFF
159.names _n1d<0>
1600
161.names _n1d<1>
1620
163.names _n1e<0>
1640
165.names _n1e<1>
1660
167.names _n1e<0> _n1d<0> _n20<0>
168.def 0
1690 1 1
1701 0 1
171.names _n1e<1> _n1d<1> _n20<1>
172.def 0
1730 1 1
1741 0 1
175.names _n20<0> _n20<1> _n21
176.def 1
1770 0 0
178.names _n21 _n1f
1790 1 
1801 0 
181.mv _n22 2 ON OFF
182.names _n22
183ON
184.names _n1c _n22 _n1f buttons$raw_n1b<*0*>
185- - 0 =_n22
186- - 1 =_n1c
187.names _n23<0>
1881
189.names _n23<1>
1900
191.names _n23<0> _n1d<0> _n25<0>
192.def 0
1930 1 1
1941 0 1
195.names _n23<1> _n1d<1> _n25<1>
196.def 0
1970 1 1
1981 0 1
199.names _n25<0> _n25<1> _n26
200.def 1
2010 0 0
202.names _n26 _n24
2030 1 
2041 0 
205.mv _n27 2 ON OFF
206.names _n27
207ON
208.names _n1c _n27 _n24 buttons$raw_n1b<*1*>
209- - 0 =_n27
210- - 1 =_n1c
211.names _n28<0>
2120
213.names _n28<1>
2141
215.names _n28<0> _n1d<0> _n2a<0>
216.def 0
2170 1 1
2181 0 1
219.names _n28<1> _n1d<1> _n2a<1>
220.def 0
2210 1 1
2221 0 1
223.names _n2a<0> _n2a<1> _n2b
224.def 1
2250 0 0
226.names _n2b _n29
2270 1 
2281 0 
229.mv _n2c 2 ON OFF
230.names _n2c
231ON
232.names _n1c _n2c _n29 buttons$raw_n1b<*2*>
233- - 0 =_n2c
234- - 1 =_n1c
235.names _n1c
236OFF
237# non-blocking assignments for initial
238# buttons [1] = 1
239.mv buttons$raw_n2d<*0*> 2 ON OFF
240.mv buttons$raw_n2d<*1*> 2 ON OFF
241.mv buttons$raw_n2d<*2*> 2 ON OFF
242.mv _n2e 2 ON OFF
243.names _n2f<0>
2441
245.names _n2f<1>
2460
247.names _n30<0>
2480
249.names _n30<1>
2500
251.names _n30<0> _n2f<0> _n32<0>
252.def 0
2530 1 1
2541 0 1
255.names _n30<1> _n2f<1> _n32<1>
256.def 0
2570 1 1
2581 0 1
259.names _n32<0> _n32<1> _n33
260.def 1
2610 0 0
262.names _n33 _n31
2630 1 
2641 0 
265.mv _n34 2 ON OFF
266.names _n34
267ON
268.names _n2e _n34 _n31 buttons$raw_n2d<*0*>
269- - 0 =_n34
270- - 1 =_n2e
271.names _n35<0>
2721
273.names _n35<1>
2740
275.names _n35<0> _n2f<0> _n37<0>
276.def 0
2770 1 1
2781 0 1
279.names _n35<1> _n2f<1> _n37<1>
280.def 0
2810 1 1
2821 0 1
283.names _n37<0> _n37<1> _n38
284.def 1
2850 0 0
286.names _n38 _n36
2870 1 
2881 0 
289.mv _n39 2 ON OFF
290.names _n39
291ON
292.names _n2e _n39 _n36 buttons$raw_n2d<*1*>
293- - 0 =_n39
294- - 1 =_n2e
295.names _n3a<0>
2960
297.names _n3a<1>
2981
299.names _n3a<0> _n2f<0> _n3c<0>
300.def 0
3010 1 1
3021 0 1
303.names _n3a<1> _n2f<1> _n3c<1>
304.def 0
3050 1 1
3061 0 1
307.names _n3c<0> _n3c<1> _n3d
308.def 1
3090 0 0
310.names _n3d _n3b
3110 1 
3121 0 
313.mv _n3e 2 ON OFF
314.names _n3e
315ON
316.names _n2e _n3e _n3b buttons$raw_n2d<*2*>
317- - 0 =_n3e
318- - 1 =_n2e
319.names _n2e
320OFF
321# non-blocking assignments for initial
322# buttons [2] = 1
323.mv buttons$raw_n3f<*0*> 2 ON OFF
324.mv buttons$raw_n3f<*1*> 2 ON OFF
325.mv buttons$raw_n3f<*2*> 2 ON OFF
326.mv _n40 2 ON OFF
327.names _n41<0>
3280
329.names _n41<1>
3301
331.names _n42<0>
3320
333.names _n42<1>
3340
335.names _n42<0> _n41<0> _n44<0>
336.def 0
3370 1 1
3381 0 1
339.names _n42<1> _n41<1> _n44<1>
340.def 0
3410 1 1
3421 0 1
343.names _n44<0> _n44<1> _n45
344.def 1
3450 0 0
346.names _n45 _n43
3470 1 
3481 0 
349.mv _n46 2 ON OFF
350.names _n46
351ON
352.names _n40 _n46 _n43 buttons$raw_n3f<*0*>
353- - 0 =_n46
354- - 1 =_n40
355.names _n47<0>
3561
357.names _n47<1>
3580
359.names _n47<0> _n41<0> _n49<0>
360.def 0
3610 1 1
3621 0 1
363.names _n47<1> _n41<1> _n49<1>
364.def 0
3650 1 1
3661 0 1
367.names _n49<0> _n49<1> _n4a
368.def 1
3690 0 0
370.names _n4a _n48
3710 1 
3721 0 
373.mv _n4b 2 ON OFF
374.names _n4b
375ON
376.names _n40 _n4b _n48 buttons$raw_n3f<*1*>
377- - 0 =_n4b
378- - 1 =_n40
379.names _n4c<0>
3800
381.names _n4c<1>
3821
383.names _n4c<0> _n41<0> _n4e<0>
384.def 0
3850 1 1
3861 0 1
387.names _n4c<1> _n41<1> _n4e<1>
388.def 0
3890 1 1
3901 0 1
391.names _n4e<0> _n4e<1> _n4f
392.def 1
3930 0 0
394.names _n4f _n4d
3950 1 
3961 0 
397.mv _n50 2 ON OFF
398.names _n50
399ON
400.names _n40 _n50 _n4d buttons$raw_n3f<*2*>
401- - 0 =_n50
402- - 1 =_n40
403.names _n40
404OFF
405# non-blocking assignments for initial
406# assign random_push  = $NDset ( 0,1,2,3,4,5,6,7 )
407.names -> random_push<0> random_push<1> random_push<2>
4080 0 0
4091 0 0
4100 1 0
4111 1 0
4120 0 1
4131 0 1
4140 1 1
4151 1 1
416# assign button_below  = ((location  == 2) && (buttons [1] == ON  || buttons [0] == ON )) || ((location  == 1) && buttons [0] == ON )
417.names _n55<0>
4180
419.names _n55<1>
4201
421# location  == 2
422.names location<0> _n55<0> _n56<0>
423.def 0
4240 1 1
4251 0 1
426.names location<1> _n55<1> _n56<1>
427.def 0
4280 1 1
4291 0 1
430.names _n56<0> _n56<1> _n57
431.def 1
4320 0 0
433.names _n57 _n54
4340 1 
4351 0 
436.names _n59<0>
4371
438.names _n59<1>
4390
440.mv _n5a 2 ON OFF
441.names buttons<*0*> buttons<*1*> buttons<*2*> _n59<1> _n59<0> _n5a
442- - - 0 0 =buttons<*0*>
443- - - 0 1 =buttons<*1*>
444- - - 1 0 =buttons<*2*>
445- - - 1 1 ON
446.mv _n5b 2 ON OFF
447.names _n5b
448ON
449# buttons [1] == 0
450.names _n5a _n5b _n58
451.def 0
452- =_n5a 1
453.names _n5d<0>
4540
455.names _n5d<1>
4560
457.mv _n5e 2 ON OFF
458.names buttons<*0*> buttons<*1*> buttons<*2*> _n5d<1> _n5d<0> _n5e
459- - - 0 0 =buttons<*0*>
460- - - 0 1 =buttons<*1*>
461- - - 1 0 =buttons<*2*>
462- - - 1 1 ON
463.mv _n5f 2 ON OFF
464.names _n5f
465ON
466# buttons [0] == 0
467.names _n5e _n5f _n5c
468.def 0
469- =_n5e 1
470# buttons [1] == 0 || buttons [0] == 0
471.names _n58 _n5c _n60
472.def 1
4730 0 0
474# (location  == 2) && (buttons [1] == 0 || buttons [0] == 0)
475.names _n54 _n60 _n61
476.def 0
4771 1 1
478.names _n63<0>
4791
480.names _n63<1>
4810
482# location  == 1
483.names location<0> _n63<0> _n64<0>
484.def 0
4850 1 1
4861 0 1
487.names location<1> _n63<1> _n64<1>
488.def 0
4890 1 1
4901 0 1
491.names _n64<0> _n64<1> _n65
492.def 1
4930 0 0
494.names _n65 _n62
4950 1 
4961 0 
497.names _n67<0>
4980
499.names _n67<1>
5000
501.mv _n68 2 ON OFF
502.names buttons<*0*> buttons<*1*> buttons<*2*> _n67<1> _n67<0> _n68
503- - - 0 0 =buttons<*0*>
504- - - 0 1 =buttons<*1*>
505- - - 1 0 =buttons<*2*>
506- - - 1 1 ON
507.mv _n69 2 ON OFF
508.names _n69
509ON
510# buttons [0] == 0
511.names _n68 _n69 _n66
512.def 0
513- =_n68 1
514# (location  == 1) && buttons [0] == 0
515.names _n62 _n66 _n6a
516.def 0
5171 1 1
518# ((location  == 2) && (buttons [1] == 0 || buttons [0] == 0)) || ((location  == 1) && buttons [0] == 0)
519.names _n61 _n6a _n6b
520.def 1
5210 0 0
522.names _n6b button_below$raw_n53
523- =_n6b
524# assign button_above  = ((location  == 0) && (buttons [2] == ON  || buttons [1] == ON )) || ((location  == 1) && (buttons [2] == ON ))
525.names _n6e<0>
5260
527.names _n6e<1>
5280
529# location  == 0
530.names location<0> _n6e<0> _n6f<0>
531.def 0
5320 1 1
5331 0 1
534.names location<1> _n6e<1> _n6f<1>
535.def 0
5360 1 1
5371 0 1
538.names _n6f<0> _n6f<1> _n70
539.def 1
5400 0 0
541.names _n70 _n6d
5420 1 
5431 0 
544.names _n72<0>
5450
546.names _n72<1>
5471
548.mv _n73 2 ON OFF
549.names buttons<*0*> buttons<*1*> buttons<*2*> _n72<1> _n72<0> _n73
550- - - 0 0 =buttons<*0*>
551- - - 0 1 =buttons<*1*>
552- - - 1 0 =buttons<*2*>
553- - - 1 1 ON
554.mv _n74 2 ON OFF
555.names _n74
556ON
557# buttons [2] == 0
558.names _n73 _n74 _n71
559.def 0
560- =_n73 1
561.names _n76<0>
5621
563.names _n76<1>
5640
565.mv _n77 2 ON OFF
566.names buttons<*0*> buttons<*1*> buttons<*2*> _n76<1> _n76<0> _n77
567- - - 0 0 =buttons<*0*>
568- - - 0 1 =buttons<*1*>
569- - - 1 0 =buttons<*2*>
570- - - 1 1 ON
571.mv _n78 2 ON OFF
572.names _n78
573ON
574# buttons [1] == 0
575.names _n77 _n78 _n75
576.def 0
577- =_n77 1
578# buttons [2] == 0 || buttons [1] == 0
579.names _n71 _n75 _n79
580.def 1
5810 0 0
582# (location  == 0) && (buttons [2] == 0 || buttons [1] == 0)
583.names _n6d _n79 _n7a
584.def 0
5851 1 1
586.names _n7c<0>
5871
588.names _n7c<1>
5890
590# location  == 1
591.names location<0> _n7c<0> _n7d<0>
592.def 0
5930 1 1
5941 0 1
595.names location<1> _n7c<1> _n7d<1>
596.def 0
5970 1 1
5981 0 1
599.names _n7d<0> _n7d<1> _n7e
600.def 1
6010 0 0
602.names _n7e _n7b
6030 1 
6041 0 
605.names _n80<0>
6060
607.names _n80<1>
6081
609.mv _n81 2 ON OFF
610.names buttons<*0*> buttons<*1*> buttons<*2*> _n80<1> _n80<0> _n81
611- - - 0 0 =buttons<*0*>
612- - - 0 1 =buttons<*1*>
613- - - 1 0 =buttons<*2*>
614- - - 1 1 ON
615.mv _n82 2 ON OFF
616.names _n82
617ON
618# buttons [2] == 0
619.names _n81 _n82 _n7f
620.def 0
621- =_n81 1
622# (location  == 1) && (buttons [2] == 0)
623.names _n7b _n7f _n83
624.def 0
6251 1 1
626# ((location  == 0) && (buttons [2] == 0 || buttons [1] == 0)) || ((location  == 1) && (buttons [2] == 0))
627.names _n7a _n83 _n84
628.def 1
6290 0 0
630.names _n84 button_above$raw_n6c
631- =_n84
632.names _n86<0>
6330
634.names _n86<1>
6350
636# 0 == location
637.names _n86<0> location<0> _n87<0>
638.def 0
6390 1 1
6401 0 1
641.names _n86<1> location<1> _n87<1>
642.def 0
6430 1 1
6441 0 1
645.names _n87<0> _n87<1> _n88
646.def 1
6470 0 0
648.names _n88 _n85
6490 1 
6501 0 
651.names _n85 _n89
652- =_n85
653# buttons [0] = 1
654.mv buttons$_n85_n8a$true<*0*> 2 ON OFF
655.mv buttons$_n85_n8a$true<*1*> 2 ON OFF
656.mv buttons$_n85_n8a$true<*2*> 2 ON OFF
657.mv _n8b 2 ON OFF
658.names _n8c<0>
6590
660.names _n8c<1>
6610
662.names _n8d<0>
6630
664.names _n8d<1>
6650
666.names _n8d<0> _n8c<0> _n8f<0>
667.def 0
6680 1 1
6691 0 1
670.names _n8d<1> _n8c<1> _n8f<1>
671.def 0
6720 1 1
6731 0 1
674.names _n8f<0> _n8f<1> _n90
675.def 1
6760 0 0
677.names _n90 _n8e
6780 1 
6791 0 
680.names _n8b buttons<*0*> _n8e buttons$_n85_n8a$true<*0*>
681- - 0 =buttons<*0*>
682- - 1 =_n8b
683.names _n91<0>
6841
685.names _n91<1>
6860
687.names _n91<0> _n8c<0> _n93<0>
688.def 0
6890 1 1
6901 0 1
691.names _n91<1> _n8c<1> _n93<1>
692.def 0
6930 1 1
6941 0 1
695.names _n93<0> _n93<1> _n94
696.def 1
6970 0 0
698.names _n94 _n92
6990 1 
7001 0 
701.names _n8b buttons<*1*> _n92 buttons$_n85_n8a$true<*1*>
702- - 0 =buttons<*1*>
703- - 1 =_n8b
704.names _n95<0>
7050
706.names _n95<1>
7071
708.names _n95<0> _n8c<0> _n97<0>
709.def 0
7100 1 1
7111 0 1
712.names _n95<1> _n8c<1> _n97<1>
713.def 0
7140 1 1
7151 0 1
716.names _n97<0> _n97<1> _n98
717.def 1
7180 0 0
719.names _n98 _n96
7200 1 
7211 0 
722.names _n8b buttons<*2*> _n96 buttons$_n85_n8a$true<*2*>
723- - 0 =buttons<*2*>
724- - 1 =_n8b
725.names _n8b
726OFF
727.names random_push<0> _n9a
728.def 1
7290 0
730.names _n9a _n99
731- =_n9a
732# buttons [0] = 0
733.mv buttons$random_push_n9b$true<*0*> 2 ON OFF
734.mv buttons$random_push_n9b$true<*1*> 2 ON OFF
735.mv buttons$random_push_n9b$true<*2*> 2 ON OFF
736.mv _n9c 2 ON OFF
737.names _n9d<0>
7380
739.names _n9d<1>
7400
741.names _n9e<0>
7420
743.names _n9e<1>
7440
745.names _n9e<0> _n9d<0> _na0<0>
746.def 0
7470 1 1
7481 0 1
749.names _n9e<1> _n9d<1> _na0<1>
750.def 0
7510 1 1
7521 0 1
753.names _na0<0> _na0<1> _na1
754.def 1
7550 0 0
756.names _na1 _n9f
7570 1 
7581 0 
759.names _n9c buttons<*0*> _n9f buttons$random_push_n9b$true<*0*>
760- - 0 =buttons<*0*>
761- - 1 =_n9c
762.names _na2<0>
7631
764.names _na2<1>
7650
766.names _na2<0> _n9d<0> _na4<0>
767.def 0
7680 1 1
7691 0 1
770.names _na2<1> _n9d<1> _na4<1>
771.def 0
7720 1 1
7731 0 1
774.names _na4<0> _na4<1> _na5
775.def 1
7760 0 0
777.names _na5 _na3
7780 1 
7791 0 
780.names _n9c buttons<*1*> _na3 buttons$random_push_n9b$true<*1*>
781- - 0 =buttons<*1*>
782- - 1 =_n9c
783.names _na6<0>
7840
785.names _na6<1>
7861
787.names _na6<0> _n9d<0> _na8<0>
788.def 0
7890 1 1
7901 0 1
791.names _na6<1> _n9d<1> _na8<1>
792.def 0
7930 1 1
7941 0 1
795.names _na8<0> _na8<1> _na9
796.def 1
7970 0 0
798.names _na9 _na7
7990 1 
8001 0 
801.names _n9c buttons<*2*> _na7 buttons$random_push_n9b$true<*2*>
802- - 0 =buttons<*2*>
803- - 1 =_n9c
804.names _n9c
805ON
806# if/else (random_push [0])
807.mv buttons$random_push$raw_nac<*0*> 2 ON OFF
808.mv buttons$random_push$raw_nac<*1*> 2 ON OFF
809.mv buttons$random_push$raw_nac<*2*> 2 ON OFF
810.names random_push<0> _nad
811.def 1
8120 0
813.names buttons$random_push_n9b$true<*0*> buttons<*0*> _nad buttons$random_push$raw_nac<*0*>
814- - 0 =buttons<*0*>
815- - 1 =buttons$random_push_n9b$true<*0*>
816.names buttons$random_push_n9b$true<*1*> buttons<*1*> _nad buttons$random_push$raw_nac<*1*>
817- - 0 =buttons<*1*>
818- - 1 =buttons$random_push_n9b$true<*1*>
819.names buttons$random_push_n9b$true<*2*> buttons<*2*> _nad buttons$random_push$raw_nac<*2*>
820- - 0 =buttons<*2*>
821- - 1 =buttons$random_push_n9b$true<*2*>
822# if/else (0 == location )
823.mv buttons$_n85$raw_naf<*0*> 2 ON OFF
824.mv buttons$_n85$raw_naf<*1*> 2 ON OFF
825.mv buttons$_n85$raw_naf<*2*> 2 ON OFF
826.names buttons$_n85_n8a$true<*0*> buttons$random_push$raw_nac<*0*> _n85 buttons$_n85$raw_naf<*0*>
827- - 0 =buttons$random_push$raw_nac<*0*>
828- - 1 =buttons$_n85_n8a$true<*0*>
829.names buttons$_n85_n8a$true<*1*> buttons$random_push$raw_nac<*1*> _n85 buttons$_n85$raw_naf<*1*>
830- - 0 =buttons$random_push$raw_nac<*1*>
831- - 1 =buttons$_n85_n8a$true<*1*>
832.names buttons$_n85_n8a$true<*2*> buttons$random_push$raw_nac<*2*> _n85 buttons$_n85$raw_naf<*2*>
833- - 0 =buttons$random_push$raw_nac<*2*>
834- - 1 =buttons$_n85_n8a$true<*2*>
835.names _nb3<0>
8361
837.names _nb3<1>
8380
839# 1 == location
840.names _nb3<0> location<0> _nb4<0>
841.def 0
8420 1 1
8431 0 1
844.names _nb3<1> location<1> _nb4<1>
845.def 0
8460 1 1
8471 0 1
848.names _nb4<0> _nb4<1> _nb5
849.def 1
8500 0 0
851.names _nb5 _nb2
8520 1 
8531 0 
854.names _nb2 _nb6
855- =_nb2
856# buttons [1] = 1
857.mv buttons$_nb2_nb7$true<*0*> 2 ON OFF
858.mv buttons$_nb2_nb7$true<*1*> 2 ON OFF
859.mv buttons$_nb2_nb7$true<*2*> 2 ON OFF
860.mv _nb8 2 ON OFF
861.names _nb9<0>
8621
863.names _nb9<1>
8640
865.names _nba<0>
8660
867.names _nba<1>
8680
869.names _nba<0> _nb9<0> _nbc<0>
870.def 0
8710 1 1
8721 0 1
873.names _nba<1> _nb9<1> _nbc<1>
874.def 0
8750 1 1
8761 0 1
877.names _nbc<0> _nbc<1> _nbd
878.def 1
8790 0 0
880.names _nbd _nbb
8810 1 
8821 0 
883.names _nb8 buttons$_n85$raw_naf<*0*> _nbb buttons$_nb2_nb7$true<*0*>
884- - 0 =buttons$_n85$raw_naf<*0*>
885- - 1 =_nb8
886.names _nbe<0>
8871
888.names _nbe<1>
8890
890.names _nbe<0> _nb9<0> _nc0<0>
891.def 0
8920 1 1
8931 0 1
894.names _nbe<1> _nb9<1> _nc0<1>
895.def 0
8960 1 1
8971 0 1
898.names _nc0<0> _nc0<1> _nc1
899.def 1
9000 0 0
901.names _nc1 _nbf
9020 1 
9031 0 
904.names _nb8 buttons$_n85$raw_naf<*1*> _nbf buttons$_nb2_nb7$true<*1*>
905- - 0 =buttons$_n85$raw_naf<*1*>
906- - 1 =_nb8
907.names _nc2<0>
9080
909.names _nc2<1>
9101
911.names _nc2<0> _nb9<0> _nc4<0>
912.def 0
9130 1 1
9141 0 1
915.names _nc2<1> _nb9<1> _nc4<1>
916.def 0
9170 1 1
9181 0 1
919.names _nc4<0> _nc4<1> _nc5
920.def 1
9210 0 0
922.names _nc5 _nc3
9230 1 
9241 0 
925.names _nb8 buttons$_n85$raw_naf<*2*> _nc3 buttons$_nb2_nb7$true<*2*>
926- - 0 =buttons$_n85$raw_naf<*2*>
927- - 1 =_nb8
928.names _nb8
929OFF
930.names random_push<1> _nc7
931.def 1
9320 0
933.names _nc7 _nc6
934- =_nc7
935# buttons [1] = 0
936.mv buttons$random_push_nc8$true<*0*> 2 ON OFF
937.mv buttons$random_push_nc8$true<*1*> 2 ON OFF
938.mv buttons$random_push_nc8$true<*2*> 2 ON OFF
939.mv _nc9 2 ON OFF
940.names _nca<0>
9411
942.names _nca<1>
9430
944.names _ncb<0>
9450
946.names _ncb<1>
9470
948.names _ncb<0> _nca<0> _ncd<0>
949.def 0
9500 1 1
9511 0 1
952.names _ncb<1> _nca<1> _ncd<1>
953.def 0
9540 1 1
9551 0 1
956.names _ncd<0> _ncd<1> _nce
957.def 1
9580 0 0
959.names _nce _ncc
9600 1 
9611 0 
962.names _nc9 buttons$_n85$raw_naf<*0*> _ncc buttons$random_push_nc8$true<*0*>
963- - 0 =buttons$_n85$raw_naf<*0*>
964- - 1 =_nc9
965.names _ncf<0>
9661
967.names _ncf<1>
9680
969.names _ncf<0> _nca<0> _nd1<0>
970.def 0
9710 1 1
9721 0 1
973.names _ncf<1> _nca<1> _nd1<1>
974.def 0
9750 1 1
9761 0 1
977.names _nd1<0> _nd1<1> _nd2
978.def 1
9790 0 0
980.names _nd2 _nd0
9810 1 
9821 0 
983.names _nc9 buttons$_n85$raw_naf<*1*> _nd0 buttons$random_push_nc8$true<*1*>
984- - 0 =buttons$_n85$raw_naf<*1*>
985- - 1 =_nc9
986.names _nd3<0>
9870
988.names _nd3<1>
9891
990.names _nd3<0> _nca<0> _nd5<0>
991.def 0
9920 1 1
9931 0 1
994.names _nd3<1> _nca<1> _nd5<1>
995.def 0
9960 1 1
9971 0 1
998.names _nd5<0> _nd5<1> _nd6
999.def 1
10000 0 0
1001.names _nd6 _nd4
10020 1 
10031 0 
1004.names _nc9 buttons$_n85$raw_naf<*2*> _nd4 buttons$random_push_nc8$true<*2*>
1005- - 0 =buttons$_n85$raw_naf<*2*>
1006- - 1 =_nc9
1007.names _nc9
1008ON
1009# if/else (random_push [1])
1010.mv buttons$random_push$raw_nd7<*0*> 2 ON OFF
1011.mv buttons$random_push$raw_nd7<*1*> 2 ON OFF
1012.mv buttons$random_push$raw_nd7<*2*> 2 ON OFF
1013.names random_push<1> _nd8
1014.def 1
10150 0
1016.names buttons$random_push_nc8$true<*0*> buttons$_n85$raw_naf<*0*> _nd8 buttons$random_push$raw_nd7<*0*>
1017- - 0 =buttons$_n85$raw_naf<*0*>
1018- - 1 =buttons$random_push_nc8$true<*0*>
1019.names buttons$random_push_nc8$true<*1*> buttons$_n85$raw_naf<*1*> _nd8 buttons$random_push$raw_nd7<*1*>
1020- - 0 =buttons$_n85$raw_naf<*1*>
1021- - 1 =buttons$random_push_nc8$true<*1*>
1022.names buttons$random_push_nc8$true<*2*> buttons$_n85$raw_naf<*2*> _nd8 buttons$random_push$raw_nd7<*2*>
1023- - 0 =buttons$_n85$raw_naf<*2*>
1024- - 1 =buttons$random_push_nc8$true<*2*>
1025# if/else (1 == location )
1026.mv buttons$_nb2$raw_ndc<*0*> 2 ON OFF
1027.mv buttons$_nb2$raw_ndc<*1*> 2 ON OFF
1028.mv buttons$_nb2$raw_ndc<*2*> 2 ON OFF
1029.names buttons$_nb2_nb7$true<*0*> buttons$random_push$raw_nd7<*0*> _nb2 buttons$_nb2$raw_ndc<*0*>
1030- - 0 =buttons$random_push$raw_nd7<*0*>
1031- - 1 =buttons$_nb2_nb7$true<*0*>
1032.names buttons$_nb2_nb7$true<*1*> buttons$random_push$raw_nd7<*1*> _nb2 buttons$_nb2$raw_ndc<*1*>
1033- - 0 =buttons$random_push$raw_nd7<*1*>
1034- - 1 =buttons$_nb2_nb7$true<*1*>
1035.names buttons$_nb2_nb7$true<*2*> buttons$random_push$raw_nd7<*2*> _nb2 buttons$_nb2$raw_ndc<*2*>
1036- - 0 =buttons$random_push$raw_nd7<*2*>
1037- - 1 =buttons$_nb2_nb7$true<*2*>
1038.names _ne1<0>
10390
1040.names _ne1<1>
10411
1042# 2 == location
1043.names _ne1<0> location<0> _ne2<0>
1044.def 0
10450 1 1
10461 0 1
1047.names _ne1<1> location<1> _ne2<1>
1048.def 0
10490 1 1
10501 0 1
1051.names _ne2<0> _ne2<1> _ne3
1052.def 1
10530 0 0
1054.names _ne3 _ne0
10550 1 
10561 0 
1057.names _ne0 _ne4
1058- =_ne0
1059# buttons [2] = 1
1060.mv buttons$_ne0_ne5$true<*0*> 2 ON OFF
1061.mv buttons$_ne0_ne5$true<*1*> 2 ON OFF
1062.mv buttons$_ne0_ne5$true<*2*> 2 ON OFF
1063.mv _ne6 2 ON OFF
1064.names _ne7<0>
10650
1066.names _ne7<1>
10671
1068.names _ne8<0>
10690
1070.names _ne8<1>
10710
1072.names _ne8<0> _ne7<0> _nea<0>
1073.def 0
10740 1 1
10751 0 1
1076.names _ne8<1> _ne7<1> _nea<1>
1077.def 0
10780 1 1
10791 0 1
1080.names _nea<0> _nea<1> _neb
1081.def 1
10820 0 0
1083.names _neb _ne9
10840 1 
10851 0 
1086.names _ne6 buttons$_nb2$raw_ndc<*0*> _ne9 buttons$_ne0_ne5$true<*0*>
1087- - 0 =buttons$_nb2$raw_ndc<*0*>
1088- - 1 =_ne6
1089.names _nec<0>
10901
1091.names _nec<1>
10920
1093.names _nec<0> _ne7<0> _nee<0>
1094.def 0
10950 1 1
10961 0 1
1097.names _nec<1> _ne7<1> _nee<1>
1098.def 0
10990 1 1
11001 0 1
1101.names _nee<0> _nee<1> _nef
1102.def 1
11030 0 0
1104.names _nef _ned
11050 1 
11061 0 
1107.names _ne6 buttons$_nb2$raw_ndc<*1*> _ned buttons$_ne0_ne5$true<*1*>
1108- - 0 =buttons$_nb2$raw_ndc<*1*>
1109- - 1 =_ne6
1110.names _nf0<0>
11110
1112.names _nf0<1>
11131
1114.names _nf0<0> _ne7<0> _nf2<0>
1115.def 0
11160 1 1
11171 0 1
1118.names _nf0<1> _ne7<1> _nf2<1>
1119.def 0
11200 1 1
11211 0 1
1122.names _nf2<0> _nf2<1> _nf3
1123.def 1
11240 0 0
1125.names _nf3 _nf1
11260 1 
11271 0 
1128.names _ne6 buttons$_nb2$raw_ndc<*2*> _nf1 buttons$_ne0_ne5$true<*2*>
1129- - 0 =buttons$_nb2$raw_ndc<*2*>
1130- - 1 =_ne6
1131.names _ne6
1132OFF
1133.names random_push<2> _nf5
1134.def 1
11350 0
1136.names _nf5 _nf4
1137- =_nf5
1138# buttons [2] = 0
1139.mv buttons$random_push_nf6$true<*0*> 2 ON OFF
1140.mv buttons$random_push_nf6$true<*1*> 2 ON OFF
1141.mv buttons$random_push_nf6$true<*2*> 2 ON OFF
1142.mv _nf7 2 ON OFF
1143.names _nf8<0>
11440
1145.names _nf8<1>
11461
1147.names _nf9<0>
11480
1149.names _nf9<1>
11500
1151.names _nf9<0> _nf8<0> _nfb<0>
1152.def 0
11530 1 1
11541 0 1
1155.names _nf9<1> _nf8<1> _nfb<1>
1156.def 0
11570 1 1
11581 0 1
1159.names _nfb<0> _nfb<1> _nfc
1160.def 1
11610 0 0
1162.names _nfc _nfa
11630 1 
11641 0 
1165.names _nf7 buttons$_nb2$raw_ndc<*0*> _nfa buttons$random_push_nf6$true<*0*>
1166- - 0 =buttons$_nb2$raw_ndc<*0*>
1167- - 1 =_nf7
1168.names _nfd<0>
11691
1170.names _nfd<1>
11710
1172.names _nfd<0> _nf8<0> _nff<0>
1173.def 0
11740 1 1
11751 0 1
1176.names _nfd<1> _nf8<1> _nff<1>
1177.def 0
11780 1 1
11791 0 1
1180.names _nff<0> _nff<1> _n100
1181.def 1
11820 0 0
1183.names _n100 _nfe
11840 1 
11851 0 
1186.names _nf7 buttons$_nb2$raw_ndc<*1*> _nfe buttons$random_push_nf6$true<*1*>
1187- - 0 =buttons$_nb2$raw_ndc<*1*>
1188- - 1 =_nf7
1189.names _n101<0>
11900
1191.names _n101<1>
11921
1193.names _n101<0> _nf8<0> _n103<0>
1194.def 0
11950 1 1
11961 0 1
1197.names _n101<1> _nf8<1> _n103<1>
1198.def 0
11990 1 1
12001 0 1
1201.names _n103<0> _n103<1> _n104
1202.def 1
12030 0 0
1204.names _n104 _n102
12050 1 
12061 0 
1207.names _nf7 buttons$_nb2$raw_ndc<*2*> _n102 buttons$random_push_nf6$true<*2*>
1208- - 0 =buttons$_nb2$raw_ndc<*2*>
1209- - 1 =_nf7
1210.names _nf7
1211ON
1212# if/else (random_push [2])
1213.mv buttons$random_push$raw_n105<*0*> 2 ON OFF
1214.mv buttons$random_push$raw_n105<*1*> 2 ON OFF
1215.mv buttons$random_push$raw_n105<*2*> 2 ON OFF
1216.names random_push<2> _n106
1217.def 1
12180 0
1219.names buttons$random_push_nf6$true<*0*> buttons$_nb2$raw_ndc<*0*> _n106 buttons$random_push$raw_n105<*0*>
1220- - 0 =buttons$_nb2$raw_ndc<*0*>
1221- - 1 =buttons$random_push_nf6$true<*0*>
1222.names buttons$random_push_nf6$true<*1*> buttons$_nb2$raw_ndc<*1*> _n106 buttons$random_push$raw_n105<*1*>
1223- - 0 =buttons$_nb2$raw_ndc<*1*>
1224- - 1 =buttons$random_push_nf6$true<*1*>
1225.names buttons$random_push_nf6$true<*2*> buttons$_nb2$raw_ndc<*2*> _n106 buttons$random_push$raw_n105<*2*>
1226- - 0 =buttons$_nb2$raw_ndc<*2*>
1227- - 1 =buttons$random_push_nf6$true<*2*>
1228# if/else (2 == location )
1229.mv buttons$_ne0$raw_n10a<*0*> 2 ON OFF
1230.mv buttons$_ne0$raw_n10a<*1*> 2 ON OFF
1231.mv buttons$_ne0$raw_n10a<*2*> 2 ON OFF
1232.names buttons$_ne0_ne5$true<*0*> buttons$random_push$raw_n105<*0*> _ne0 buttons$_ne0$raw_n10a<*0*>
1233- - 0 =buttons$random_push$raw_n105<*0*>
1234- - 1 =buttons$_ne0_ne5$true<*0*>
1235.names buttons$_ne0_ne5$true<*1*> buttons$random_push$raw_n105<*1*> _ne0 buttons$_ne0$raw_n10a<*1*>
1236- - 0 =buttons$random_push$raw_n105<*1*>
1237- - 1 =buttons$_ne0_ne5$true<*1*>
1238.names buttons$_ne0_ne5$true<*2*> buttons$random_push$raw_n105<*2*> _ne0 buttons$_ne0$raw_n10a<*2*>
1239- - 0 =buttons$random_push$raw_n105<*2*>
1240- - 1 =buttons$_ne0_ne5$true<*2*>
1241.names stop_next _n10e
1242- =stop_next
1243.mv _n110 2 UP DOWN
1244.names _n110
1245UP
1246# direction  == 0
1247.names direction _n110 _n10f
1248.def 0
1249- =direction 1
1250.names _n10f _n111
1251- =_n10f
1252# buttons [location  + 1] = 0
1253.mv buttons$_n10f_n112$true<*0*> 2 ON OFF
1254.mv buttons$_n10f_n112$true<*1*> 2 ON OFF
1255.mv buttons$_n10f_n112$true<*2*> 2 ON OFF
1256.names _n113<0>
12571
1258.names _n113<1>
12590
1260# location  + 1
1261.names _n115
12620
1263.names location<0> _n113<0> _n115 _n114<0>
1264.def 0
12650 0 1 1
12660 1 0 1
12671 0 0 1
12681 1 1 1
1269# carry/borrow
1270.names _n117
12710
1272.names location<0> _n113<0> _n117 _n116
1273.def 0
12740 1 1 1
12751 0 1 1
12761 1 0 1
12771 1 1 1
1278.names location<1> _n113<1> _n116 _n114<1>
1279.def 0
12800 0 1 1
12810 1 0 1
12821 0 0 1
12831 1 1 1
1284.mv _n118 2 ON OFF
1285.names _n119<0>
12860
1287.names _n119<1>
12880
1289.names _n119<0> _n114<0> _n11b<0>
1290.def 0
12910 1 1
12921 0 1
1293.names _n119<1> _n114<1> _n11b<1>
1294.def 0
12950 1 1
12961 0 1
1297.names _n11b<0> _n11b<1> _n11c
1298.def 1
12990 0 0
1300.names _n11c _n11a
13010 1 
13021 0 
1303.names _n118 buttons$_ne0$raw_n10a<*0*> _n11a buttons$_n10f_n112$true<*0*>
1304- - 0 =buttons$_ne0$raw_n10a<*0*>
1305- - 1 =_n118
1306.names _n11d<0>
13071
1308.names _n11d<1>
13090
1310.names _n11d<0> _n114<0> _n11f<0>
1311.def 0
13120 1 1
13131 0 1
1314.names _n11d<1> _n114<1> _n11f<1>
1315.def 0
13160 1 1
13171 0 1
1318.names _n11f<0> _n11f<1> _n120
1319.def 1
13200 0 0
1321.names _n120 _n11e
13220 1 
13231 0 
1324.names _n118 buttons$_ne0$raw_n10a<*1*> _n11e buttons$_n10f_n112$true<*1*>
1325- - 0 =buttons$_ne0$raw_n10a<*1*>
1326- - 1 =_n118
1327.names _n121<0>
13280
1329.names _n121<1>
13301
1331.names _n121<0> _n114<0> _n123<0>
1332.def 0
13330 1 1
13341 0 1
1335.names _n121<1> _n114<1> _n123<1>
1336.def 0
13370 1 1
13381 0 1
1339.names _n123<0> _n123<1> _n124
1340.def 1
13410 0 0
1342.names _n124 _n122
13430 1 
13441 0 
1345.names _n118 buttons$_ne0$raw_n10a<*2*> _n122 buttons$_n10f_n112$true<*2*>
1346- - 0 =buttons$_ne0$raw_n10a<*2*>
1347- - 1 =_n118
1348.names _n118
1349ON
1350# buttons [location  - 1] = 0
1351.mv buttons$_n10f_n125$false<*0*> 2 ON OFF
1352.mv buttons$_n10f_n125$false<*1*> 2 ON OFF
1353.mv buttons$_n10f_n125$false<*2*> 2 ON OFF
1354.names _n126<0>
13551
1356.names _n126<1>
13570
1358# location  - 1
1359.names _n128
13600
1361.names location<0> _n126<0> _n128 _n127<0>
1362.def 0
13630 0 1 1
13640 1 0 1
13651 0 0 1
13661 1 1 1
1367# carry/borrow
1368.names _n12a
13690
1370.names location<0> _n126<0> _n12a _n129
1371.def 0
13720 0 1 1
13730 1 0 1
13740 1 1 1
13751 1 1 1
1376.names location<1> _n126<1> _n129 _n127<1>
1377.def 0
13780 0 1 1
13790 1 0 1
13801 0 0 1
13811 1 1 1
1382.mv _n12b 2 ON OFF
1383.names _n12c<0>
13840
1385.names _n12c<1>
13860
1387.names _n12c<0> _n127<0> _n12e<0>
1388.def 0
13890 1 1
13901 0 1
1391.names _n12c<1> _n127<1> _n12e<1>
1392.def 0
13930 1 1
13941 0 1
1395.names _n12e<0> _n12e<1> _n12f
1396.def 1
13970 0 0
1398.names _n12f _n12d
13990 1 
14001 0 
1401.names _n12b buttons$_ne0$raw_n10a<*0*> _n12d buttons$_n10f_n125$false<*0*>
1402- - 0 =buttons$_ne0$raw_n10a<*0*>
1403- - 1 =_n12b
1404.names _n130<0>
14051
1406.names _n130<1>
14070
1408.names _n130<0> _n127<0> _n132<0>
1409.def 0
14100 1 1
14111 0 1
1412.names _n130<1> _n127<1> _n132<1>
1413.def 0
14140 1 1
14151 0 1
1416.names _n132<0> _n132<1> _n133
1417.def 1
14180 0 0
1419.names _n133 _n131
14200 1 
14211 0 
1422.names _n12b buttons$_ne0$raw_n10a<*1*> _n131 buttons$_n10f_n125$false<*1*>
1423- - 0 =buttons$_ne0$raw_n10a<*1*>
1424- - 1 =_n12b
1425.names _n134<0>
14260
1427.names _n134<1>
14281
1429.names _n134<0> _n127<0> _n136<0>
1430.def 0
14310 1 1
14321 0 1
1433.names _n134<1> _n127<1> _n136<1>
1434.def 0
14350 1 1
14361 0 1
1437.names _n136<0> _n136<1> _n137
1438.def 1
14390 0 0
1440.names _n137 _n135
14410 1 
14421 0 
1443.names _n12b buttons$_ne0$raw_n10a<*2*> _n135 buttons$_n10f_n125$false<*2*>
1444- - 0 =buttons$_ne0$raw_n10a<*2*>
1445- - 1 =_n12b
1446.names _n12b
1447ON
1448# if/else (direction  == 0)
1449.mv buttons$_n10f$raw_n138<*0*> 2 ON OFF
1450.mv buttons$_n10f$raw_n138<*1*> 2 ON OFF
1451.mv buttons$_n10f$raw_n138<*2*> 2 ON OFF
1452.names buttons$_n10f_n112$true<*0*> buttons$_n10f_n125$false<*0*> _n10f buttons$_n10f$raw_n138<*0*>
1453- - 0 =buttons$_n10f_n125$false<*0*>
1454- - 1 =buttons$_n10f_n112$true<*0*>
1455.names buttons$_n10f_n112$true<*1*> buttons$_n10f_n125$false<*1*> _n10f buttons$_n10f$raw_n138<*1*>
1456- - 0 =buttons$_n10f_n125$false<*1*>
1457- - 1 =buttons$_n10f_n112$true<*1*>
1458.names buttons$_n10f_n112$true<*2*> buttons$_n10f_n125$false<*2*> _n10f buttons$_n10f$raw_n138<*2*>
1459- - 0 =buttons$_n10f_n125$false<*2*>
1460- - 1 =buttons$_n10f_n112$true<*2*>
1461# if/else (stop_next )
1462.mv buttons$stop_next$raw_n13c<*0*> 2 ON OFF
1463.mv buttons$stop_next$raw_n13c<*1*> 2 ON OFF
1464.mv buttons$stop_next$raw_n13c<*2*> 2 ON OFF
1465.names buttons$_n10f$raw_n138<*0*> buttons$_ne0$raw_n10a<*0*> stop_next buttons$stop_next$raw_n13c<*0*>
1466- - 0 =buttons$_ne0$raw_n10a<*0*>
1467- - 1 =buttons$_n10f$raw_n138<*0*>
1468.names buttons$_n10f$raw_n138<*1*> buttons$_ne0$raw_n10a<*1*> stop_next buttons$stop_next$raw_n13c<*1*>
1469- - 0 =buttons$_ne0$raw_n10a<*1*>
1470- - 1 =buttons$_n10f$raw_n138<*1*>
1471.names buttons$_n10f$raw_n138<*2*> buttons$_ne0$raw_n10a<*2*> stop_next buttons$stop_next$raw_n13c<*2*>
1472- - 0 =buttons$_ne0$raw_n10a<*2*>
1473- - 1 =buttons$_n10f$raw_n138<*2*>
1474.mv _n141 4 OPEN OPENING CLOSED CLOSING
1475.names _n141
1476CLOSED
1477# door  != 2
1478.names door _n141 _n140
1479.def 1
1480- =door 0
1481.names _n140 _n142
1482- =_n140
1483# open_next  = 0
1484.names open_next$_n140_n143$true
14850
1486.mv _n145 2 STOPPED MOVING
1487.names _n145
1488MOVING
1489# movement  == 1
1490.names movement _n145 _n144
1491.def 0
1492- =movement 1
1493.mv _n147 2 UP DOWN
1494.names _n147
1495UP
1496# direction  == 0
1497.names direction _n147 _n146
1498.def 0
1499- =direction 1
1500.names _n149<0>
15011
1502.names _n149<1>
15030
1504# location  + 1
1505.names _n14b
15060
1507.names location<0> _n149<0> _n14b _n14a<0>
1508.def 0
15090 0 1 1
15100 1 0 1
15111 0 0 1
15121 1 1 1
1513# carry/borrow
1514.names _n14d
15150
1516.names location<0> _n149<0> _n14d _n14c
1517.def 0
15180 1 1 1
15191 0 1 1
15201 1 0 1
15211 1 1 1
1522.names location<1> _n149<1> _n14c _n14a<1>
1523.def 0
15240 0 1 1
15250 1 0 1
15261 0 0 1
15271 1 1 1
1528.mv _n14e 2 ON OFF
1529.names buttons<*0*> buttons<*1*> buttons<*2*> _n14a<1> _n14a<0> _n14e
1530- - - 0 0 =buttons<*0*>
1531- - - 0 1 =buttons<*1*>
1532- - - 1 0 =buttons<*2*>
1533- - - 1 1 ON
1534.mv _n14f 2 ON OFF
1535.names _n14f
1536ON
1537# buttons [location  + 1] == 0
1538.names _n14e _n14f _n148
1539.def 0
1540- =_n14e 1
1541# direction  == 0 && buttons [location  + 1] == 0
1542.names _n146 _n148 _n150
1543.def 0
15441 1 1
1545# stop_next  || (direction  == 0 && buttons [location  + 1] == 0)
1546.names stop_next _n150 _n151
1547.def 1
15480 0 0
1549.mv _n153 2 UP DOWN
1550.names _n153
1551DOWN
1552# direction  == 1
1553.names direction _n153 _n152
1554.def 0
1555- =direction 1
1556.names _n155<0>
15571
1558.names _n155<1>
15590
1560# location  - 1
1561.names _n157
15620
1563.names location<0> _n155<0> _n157 _n156<0>
1564.def 0
15650 0 1 1
15660 1 0 1
15671 0 0 1
15681 1 1 1
1569# carry/borrow
1570.names _n159
15710
1572.names location<0> _n155<0> _n159 _n158
1573.def 0
15740 0 1 1
15750 1 0 1
15760 1 1 1
15771 1 1 1
1578.names location<1> _n155<1> _n158 _n156<1>
1579.def 0
15800 0 1 1
15810 1 0 1
15821 0 0 1
15831 1 1 1
1584.mv _n15a 2 ON OFF
1585.names buttons<*0*> buttons<*1*> buttons<*2*> _n156<1> _n156<0> _n15a
1586- - - 0 0 =buttons<*0*>
1587- - - 0 1 =buttons<*1*>
1588- - - 1 0 =buttons<*2*>
1589- - - 1 1 ON
1590.mv _n15b 2 ON OFF
1591.names _n15b
1592ON
1593# buttons [location  - 1] == 0
1594.names _n15a _n15b _n154
1595.def 0
1596- =_n15a 1
1597# direction  == 1 && buttons [location  - 1] == 0
1598.names _n152 _n154 _n15c
1599.def 0
16001 1 1
1601# stop_next  || (direction  == 0 && buttons [location  + 1] == 0) || (direction  == 1 && buttons [location  - 1] == 0)
1602.names _n151 _n15c _n15d
1603.def 1
16040 0 0
1605# movement  == 1 && (stop_next  || (direction  == 0 && buttons [location  + 1] == 0) || (direction  == 1 && buttons [location  - 1] == 0))
1606.names _n144 _n15d _n15e
1607.def 0
16081 1 1
1609.names _n15e _n15f
1610- =_n15e
1611# open_next  = 1
1612.names open_next$_n15e_n160$true
16131
1614# if/else (movement  == 1 && (stop_next  || (direction  == 0 && buttons [location  + 1] == 0) || (direction  == 1 && buttons [location  - 1] == 0)))
1615.names open_next$_n15e_n160$true open_next _n15e open_next$_n15e$raw_n163
16160 - 1 0
16171 - 1 1
1618- 0 0 0
1619- 1 0 1
1620# if/else (door  != 2)
1621.names open_next$_n140_n143$true open_next$_n15e$raw_n163 _n140 open_next$_n140$raw_n166
16220 - 1 0
16231 - 1 1
1624- 0 0 0
1625- 1 0 1
1626# assign random  = $NDset ( 0,1 )
1627.names random
16280
16291
1630.mv _n16e 4 OPEN OPENING CLOSED CLOSING
1631.names _n16e
1632CLOSED
1633.names door _n16e _n16d
1634.def 0
1635- =door 1
1636.names _n16d  _n16c
16371 1
16380 0
1639.mv _n170 2 STOPPED MOVING
1640.names _n170
1641STOPPED
1642# movement  == 0
1643.names movement _n170 _n16f
1644.def 0
1645- =movement 1
1646# open_next  && movement  == 0
1647.names open_next _n16f _n171
1648.def 0
16491 1 1
1650.names _n171 _n172
1651- =_n171
1652# door  = 1
1653.mv door$_n171_n173$true 4 OPEN OPENING CLOSED CLOSING
1654.names door$_n171_n173$true
1655OPENING
1656# if/else (open_next  && movement  == 0)
1657.mv door$_n171$raw_n176 4 OPEN OPENING CLOSED CLOSING
1658.names door$_n171_n173$true door _n171 door$_n171$raw_n176
1659- - 0 =door
1660- - 1 =door$_n171_n173$true
1661.mv _n179 4 OPEN OPENING CLOSED CLOSING
1662.names _n179
1663OPENING
1664.names door _n179 _n178
1665.def 0
1666- =door 1
1667.names _n178  _n177
16681 1
16690 0
1670.names random _n17a
1671- =random
1672# door  = 0
1673.mv door$random_n17b$true 4 OPEN OPENING CLOSED CLOSING
1674.names door$random_n17b$true
1675OPEN
1676# if/else (random )
1677.mv door$random$raw_n17e 4 OPEN OPENING CLOSED CLOSING
1678.names door$random_n17b$true door random door$random$raw_n17e
1679- - 0 =door
1680- - 1 =door$random_n17b$true
1681.mv _n181 4 OPEN OPENING CLOSED CLOSING
1682.names _n181
1683OPEN
1684.names door _n181 _n180
1685.def 0
1686- =door 1
1687.names _n180  _n17f
16881 1
16890 0
1690.names random _n182
1691- =random
1692# door  = 3
1693.mv door$random_n183$true 4 OPEN OPENING CLOSED CLOSING
1694.names door$random_n183$true
1695CLOSING
1696# if/else (random )
1697.mv door$random$raw_n186 4 OPEN OPENING CLOSED CLOSING
1698.names door$random_n183$true door random door$random$raw_n186
1699- - 0 =door
1700- - 1 =door$random_n183$true
1701.mv _n189 4 OPEN OPENING CLOSED CLOSING
1702.names _n189
1703CLOSING
1704.names door _n189 _n188
1705.def 0
1706- =door 1
1707.names _n188  _n187
17081 1
17090 0
1710.names random _n18a
1711- =random
1712# door  = 2
1713.mv door$random_n18b$true 4 OPEN OPENING CLOSED CLOSING
1714.names door$random_n18b$true
1715CLOSED
1716# if/else (random )
1717.mv door$random$raw_n18e 4 OPEN OPENING CLOSED CLOSING
1718.names door$random_n18b$true door random door$random$raw_n18e
1719- - 0 =door
1720- - 1 =door$random_n18b$true
1721# case (door )
1722.mv door$_n187$raw_n191 4 OPEN OPENING CLOSED CLOSING
1723.names door$random$raw_n18e door _n187 door$_n187$raw_n191
1724- - 0 =door
1725- - 1 =door$random$raw_n18e
1726.mv door$_n17f$raw_n192 4 OPEN OPENING CLOSED CLOSING
1727.names door$random$raw_n186 door$_n187$raw_n191 _n17f door$_n17f$raw_n192
1728- - 0 =door$_n187$raw_n191
1729- - 1 =door$random$raw_n186
1730.mv door$_n177$raw_n196 4 OPEN OPENING CLOSED CLOSING
1731.names door$random$raw_n17e door$_n17f$raw_n192 _n177 door$_n177$raw_n196
1732- - 0 =door$_n17f$raw_n192
1733- - 1 =door$random$raw_n17e
1734.mv door$_n16c$raw_n19a 4 OPEN OPENING CLOSED CLOSING
1735.names door$_n171$raw_n176 door$_n177$raw_n196 _n16c door$_n16c$raw_n19a
1736- - 0 =door$_n177$raw_n196
1737- - 1 =door$_n171$raw_n176
1738# assign start_moving  = (continue  || button_above  && direction  == UP ) || (button_below  && direction  == DOWN )
1739.mv _n1a0 2 UP DOWN
1740.names _n1a0
1741UP
1742# direction  == 0
1743.names direction _n1a0 _n19f
1744.def 0
1745- =direction 1
1746# button_above  && direction  == 0
1747.names button_above _n19f _n1a1
1748.def 0
17491 1 1
1750# continue  || button_above  && direction  == 0
1751.names continue _n1a1 _n1a2
1752.def 1
17530 0 0
1754.mv _n1a4 2 UP DOWN
1755.names _n1a4
1756DOWN
1757# direction  == 1
1758.names direction _n1a4 _n1a3
1759.def 0
1760- =direction 1
1761# button_below  && direction  == 1
1762.names button_below _n1a3 _n1a5
1763.def 0
17641 1 1
1765# (continue  || button_above  && direction  == 0) || (button_below  && direction  == 1)
1766.names _n1a2 _n1a5 _n1a6
1767.def 1
17680 0 0
1769.names _n1a6 start_moving$raw_n19e
1770- =_n1a6
1771# assign r_stop  = $NDset ( 0,1 )
1772.names r_stop
17730
17741
1775# assign stop_moving  = r_stop  && (movement  == MOVING )
1776.mv _n1ab 2 STOPPED MOVING
1777.names _n1ab
1778MOVING
1779# movement  == 1
1780.names movement _n1ab _n1aa
1781.def 0
1782- =movement 1
1783# r_stop  && (movement  == 1)
1784.names r_stop _n1aa _n1ac
1785.def 0
17861 1 1
1787.names _n1ac stop_moving$raw_n1a9
1788- =_n1ac
1789# assign inc  = (stop_moving ) && (direction  == UP )
1790.mv _n1af 2 UP DOWN
1791.names _n1af
1792UP
1793# direction  == 0
1794.names direction _n1af _n1ae
1795.def 0
1796- =direction 1
1797# (stop_moving ) && (direction  == 0)
1798.names stop_moving _n1ae _n1b0
1799.def 0
18001 1 1
1801.names _n1b0 inc$raw_n1ad
1802- =_n1b0
1803# assign dec  = (stop_moving ) && (direction  == DOWN )
1804.mv _n1b3 2 UP DOWN
1805.names _n1b3
1806DOWN
1807# direction  == 1
1808.names direction _n1b3 _n1b2
1809.def 0
1810- =direction 1
1811# (stop_moving ) && (direction  == 1)
1812.names stop_moving _n1b2 _n1b4
1813.def 0
18141 1 1
1815.names _n1b4 dec$raw_n1b1
1816- =_n1b4
1817.mv _n1b6 4 OPEN OPENING CLOSED CLOSING
1818.names _n1b6
1819CLOSED
1820# door  == 2
1821.names door _n1b6 _n1b5
1822.def 0
1823- =door 1
1824.names _n1b5 _n1b7
1825- =_n1b5
1826.mv _n1ba 2 STOPPED MOVING
1827.names _n1ba
1828STOPPED
1829.names movement _n1ba _n1b9
1830.def 0
1831- =movement 1
1832.names _n1b9  _n1b8
18331 1
18340 0
1835.mv _n1bc 4 OPEN OPENING CLOSED CLOSING
1836.names _n1bc
1837CLOSED
1838# door  == 2
1839.names door _n1bc _n1bb
1840.def 0
1841- =door 1
1842# door  == 2 && start_moving
1843.names _n1bb start_moving _n1bd
1844.def 0
18451 1 1
1846.names open_next _n1be
18470 1 
18481 0 
1849# door  == 2 && start_moving  && !open_next
1850.names _n1bd _n1be _n1bf
1851.def 0
18521 1 1
1853.names _n1bf _n1c0
1854- =_n1bf
1855# movement  = 1
1856.mv movement$_n1bf_n1c1$true 2 STOPPED MOVING
1857.names movement$_n1bf_n1c1$true
1858MOVING
1859# if/else (door  == 2 && start_moving  && !open_next )
1860.mv movement$_n1bf$raw_n1c4 2 STOPPED MOVING
1861.names movement$_n1bf_n1c1$true movement _n1bf movement$_n1bf$raw_n1c4
1862- - 0 =movement
1863- - 1 =movement$_n1bf_n1c1$true
1864.mv _n1c7 2 STOPPED MOVING
1865.names _n1c7
1866MOVING
1867.names movement _n1c7 _n1c6
1868.def 0
1869- =movement 1
1870.names _n1c6  _n1c5
18711 1
18720 0
1873.names stop_moving _n1c8
1874- =stop_moving
1875# movement  = 0
1876.mv movement$stop_moving_n1c9$true 2 STOPPED MOVING
1877.names movement$stop_moving_n1c9$true
1878STOPPED
1879.mv _n1cb 2 UP DOWN
1880.names _n1cb
1881UP
1882# direction  == 0
1883.names direction _n1cb _n1ca
1884.def 0
1885- =direction 1
1886.names _n1ca _n1cc
1887- =_n1ca
1888# location  = location  + 1
1889.names _n1ce<0>
18901
1891.names _n1ce<1>
18920
1893# location  + 1
1894.names _n1d0
18950
1896.names location<0> _n1ce<0> _n1d0 _n1cf<0>
1897.def 0
18980 0 1 1
18990 1 0 1
19001 0 0 1
19011 1 1 1
1902# carry/borrow
1903.names _n1d2
19040
1905.names location<0> _n1ce<0> _n1d2 _n1d1
1906.def 0
19070 1 1 1
19081 0 1 1
19091 1 0 1
19101 1 1 1
1911.names location<1> _n1ce<1> _n1d1 _n1cf<1>
1912.def 0
19130 0 1 1
19140 1 0 1
19151 0 0 1
19161 1 1 1
1917.names _n1cf<0> location$_n1ca_n1cd$true<0>
1918- =_n1cf<0>
1919.names _n1cf<1> location$_n1ca_n1cd$true<1>
1920- =_n1cf<1>
1921# if/else (direction  == 0)
1922.names location$_n1ca_n1cd$true<0> location<0> _n1ca location$_n1ca$raw_n1d8<0>
19230 - 1 0
19241 - 1 1
1925- 0 0 0
1926- 1 0 1
1927.names location$_n1ca_n1cd$true<1> location<1> _n1ca location$_n1ca$raw_n1d8<1>
19280 - 1 0
19291 - 1 1
1930- 0 0 0
1931- 1 0 1
1932.mv _n1dd 2 UP DOWN
1933.names _n1dd
1934DOWN
1935# direction  == 1
1936.names direction _n1dd _n1dc
1937.def 0
1938- =direction 1
1939.names _n1dc _n1de
1940- =_n1dc
1941# location  = location  - 1
1942.names _n1e0<0>
19431
1944.names _n1e0<1>
19450
1946# location  - 1
1947.names _n1e2
19480
1949.names location$_n1ca$raw_n1d8<0> _n1e0<0> _n1e2 _n1e1<0>
1950.def 0
19510 0 1 1
19520 1 0 1
19531 0 0 1
19541 1 1 1
1955# carry/borrow
1956.names _n1e4
19570
1958.names location$_n1ca$raw_n1d8<0> _n1e0<0> _n1e4 _n1e3
1959.def 0
19600 0 1 1
19610 1 0 1
19620 1 1 1
19631 1 1 1
1964.names location$_n1ca$raw_n1d8<1> _n1e0<1> _n1e3 _n1e1<1>
1965.def 0
19660 0 1 1
19670 1 0 1
19681 0 0 1
19691 1 1 1
1970.names _n1e1<0> location$_n1dc_n1df$true<0>
1971- =_n1e1<0>
1972.names _n1e1<1> location$_n1dc_n1df$true<1>
1973- =_n1e1<1>
1974# if/else (direction  == 1)
1975.names location$_n1dc_n1df$true<0> location$_n1ca$raw_n1d8<0> _n1dc location$_n1dc$raw_n1e6<0>
19760 - 1 0
19771 - 1 1
1978- 0 0 0
1979- 1 0 1
1980.names location$_n1dc_n1df$true<1> location$_n1ca$raw_n1d8<1> _n1dc location$_n1dc$raw_n1e6<1>
19810 - 1 0
19821 - 1 1
1983- 0 0 0
1984- 1 0 1
1985# if/else (stop_moving )
1986.mv movement$stop_moving$raw_n1f3 2 STOPPED MOVING
1987.names movement$stop_moving_n1c9$true movement stop_moving movement$stop_moving$raw_n1f3
1988- - 0 =movement
1989- - 1 =movement$stop_moving_n1c9$true
1990.names location$_n1dc$raw_n1e6<0> location<0> stop_moving location$stop_moving$raw_n1f4<0>
19910 - 1 0
19921 - 1 1
1993- 0 0 0
1994- 1 0 1
1995.names location$_n1dc$raw_n1e6<1> location<1> stop_moving location$stop_moving$raw_n1f4<1>
19960 - 1 0
19971 - 1 1
1998- 0 0 0
1999- 1 0 1
2000# case (movement )
2001.mv movement$_n1c5$raw_n1fb 2 STOPPED MOVING
2002.names movement$stop_moving$raw_n1f3 movement _n1c5 movement$_n1c5$raw_n1fb
2003- - 0 =movement
2004- - 1 =movement$stop_moving$raw_n1f3
2005.names location$stop_moving$raw_n1f4<0> location<0> _n1c5 location$_n1c5$raw_n1fc<0>
20060 - 1 0
20071 - 1 1
2008- 0 0 0
2009- 1 0 1
2010.names location$stop_moving$raw_n1f4<1> location<1> _n1c5 location$_n1c5$raw_n1fc<1>
20110 - 1 0
20121 - 1 1
2013- 0 0 0
2014- 1 0 1
2015.mv movement$_n1b8$raw_n1ff 2 STOPPED MOVING
2016.names movement$_n1bf$raw_n1c4 movement$_n1c5$raw_n1fb _n1b8 movement$_n1b8$raw_n1ff
2017- - 0 =movement$_n1c5$raw_n1fb
2018- - 1 =movement$_n1bf$raw_n1c4
2019.names location<0> location$_n1c5$raw_n1fc<0> _n1b8 location$_n1b8$raw_n203<0>
20200 - 1 0
20211 - 1 1
2022- 0 0 0
2023- 1 0 1
2024.names location<1> location$_n1c5$raw_n1fc<1> _n1b8 location$_n1b8$raw_n203<1>
20250 - 1 0
20261 - 1 1
2027- 0 0 0
2028- 1 0 1
2029# if/else (door  == 2)
2030.mv movement$_n1b5$raw_n20a 2 STOPPED MOVING
2031.names movement$_n1b8$raw_n1ff movement _n1b5 movement$_n1b5$raw_n20a
2032- - 0 =movement
2033- - 1 =movement$_n1b8$raw_n1ff
2034.names location$_n1b8$raw_n203<0> location<0> _n1b5 location$_n1b5$raw_n20b<0>
20350 - 1 0
20361 - 1 1
2037- 0 0 0
2038- 1 0 1
2039.names location$_n1b8$raw_n203<1> location<1> _n1b5 location$_n1b5$raw_n20b<1>
20400 - 1 0
20411 - 1 1
2042- 0 0 0
2043- 1 0 1
2044.mv _n210 2 UP DOWN
2045.names _n210
2046UP
2047.names direction _n210 _n20f
2048.def 0
2049- =direction 1
2050.names _n20f  _n20e
20511 1
20520 0
2053.names button_above _n211
20540 1 
20551 0 
2056.names continue _n212
20570 1 
20581 0 
2059# (!button_above ) && !continue
2060.names _n211 _n212 _n213
2061.def 0
20621 1 1
2063.names _n213 _n214
2064- =_n213
2065# direction  = 1
2066.mv direction$_n213_n215$true 2 UP DOWN
2067.names direction$_n213_n215$true
2068DOWN
2069# if/else ((!button_above ) && !continue )
2070.mv direction$_n213$raw_n218 2 UP DOWN
2071.names direction$_n213_n215$true direction _n213 direction$_n213$raw_n218
2072- - 0 =direction
2073- - 1 =direction$_n213_n215$true
2074.mv _n21b 2 UP DOWN
2075.names _n21b
2076DOWN
2077.names direction _n21b _n21a
2078.def 0
2079- =direction 1
2080.names _n21a  _n219
20811 1
20820 0
2083.names button_below _n21c
20840 1 
20851 0 
2086.names continue _n21d
20870 1 
20881 0 
2089# (!button_below ) && !continue
2090.names _n21c _n21d _n21e
2091.def 0
20921 1 1
2093.names _n21e _n21f
2094- =_n21e
2095# direction  = 0
2096.mv direction$_n21e_n220$true 2 UP DOWN
2097.names direction$_n21e_n220$true
2098UP
2099# if/else ((!button_below ) && !continue )
2100.mv direction$_n21e$raw_n223 2 UP DOWN
2101.names direction$_n21e_n220$true direction _n21e direction$_n21e$raw_n223
2102- - 0 =direction
2103- - 1 =direction$_n21e_n220$true
2104# case (direction )
2105.mv direction$_n219$raw_n226 2 UP DOWN
2106.names direction$_n21e$raw_n223 direction _n219 direction$_n219$raw_n226
2107- - 0 =direction
2108- - 1 =direction$_n21e$raw_n223
2109.mv direction$_n20e$raw_n227 2 UP DOWN
2110.names direction$_n213$raw_n218 direction$_n219$raw_n226 _n20e direction$_n20e$raw_n227
2111- - 0 =direction$_n219$raw_n226
2112- - 1 =direction$_n213$raw_n218
2113.names _n22c<0>
21141
2115.names _n22c<1>
21161
2117.names _n22d<0>
21181
2119.names _n22d<1>
21200
2121# 3 - 1
2122.names _n22f
21230
2124.names _n22c<0> _n22d<0> _n22f _n22e<0>
2125.def 0
21260 0 1 1
21270 1 0 1
21281 0 0 1
21291 1 1 1
2130# carry/borrow
2131.names _n231
21320
2133.names _n22c<0> _n22d<0> _n231 _n230
2134.def 0
21350 0 1 1
21360 1 0 1
21370 1 1 1
21381 1 1 1
2139.names _n22c<1> _n22d<1> _n230 _n22e<1>
2140.def 0
21410 0 1 1
21420 1 0 1
21431 0 0 1
21441 1 1 1
2145# location  == 3 - 1
2146.names location<0> _n22e<0> _n232<0>
2147.def 0
21480 1 1
21491 0 1
2150.names location<1> _n22e<1> _n232<1>
2151.def 0
21520 1 1
21531 0 1
2154.names _n232<0> _n232<1> _n233
2155.def 1
21560 0 0
2157.names _n233 _n22b
21580 1 
21591 0 
2160.names _n22b _n234
2161- =_n22b
2162# direction  = 1
2163.mv direction$_n22b_n235$true 2 UP DOWN
2164.names direction$_n22b_n235$true
2165DOWN
2166# if/else (location  == 3 - 1)
2167.mv direction$_n22b$raw_n236 2 UP DOWN
2168.names direction$_n22b_n235$true direction$_n20e$raw_n227 _n22b direction$_n22b$raw_n236
2169- - 0 =direction$_n20e$raw_n227
2170- - 1 =direction$_n22b_n235$true
2171.names _n23b<0>
21720
2173.names _n23b<1>
21740
2175# location  == 0
2176.names location<0> _n23b<0> _n23c<0>
2177.def 0
21780 1 1
21791 0 1
2180.names location<1> _n23b<1> _n23c<1>
2181.def 0
21820 1 1
21831 0 1
2184.names _n23c<0> _n23c<1> _n23d
2185.def 1
21860 0 0
2187.names _n23d _n23a
21880 1 
21891 0 
2190.names _n23a _n23e
2191- =_n23a
2192# direction  = 0
2193.mv direction$_n23a_n23f$true 2 UP DOWN
2194.names direction$_n23a_n23f$true
2195UP
2196# if/else (location  == 0)
2197.mv direction$_n23a$raw_n240 2 UP DOWN
2198.names direction$_n23a_n23f$true direction$_n22b$raw_n236 _n23a direction$_n23a$raw_n240
2199- - 0 =direction$_n22b$raw_n236
2200- - 1 =direction$_n23a_n23f$true
2201# conflict arbitrators
2202.names button_above$raw_n6c  button_above
22030 0
22041 1
2205.names _n1b7 _n1b8 _n1c0 _n1c5 _n1c8 _n244
2206.def 0
2207 1 1 1 - - 1
2208 1 0 - 1 1 1
2209.mv _n245 2 STOPPED MOVING
2210.names _n244 movement$_n1b5$raw_n20a movement _n245
22111 - - =movement$_n1b5$raw_n20a
22120 - - =movement
2213.names _n89 _n99 _nb6 _nc6 _ne4 _nf4 _n10e _n111 _n25b
2214.def 0
2215 1 - - - - - - - 1
2216 0 1 - - - - - - 1
2217 - - 1 - - - - - 1
2218 - - 0 1 - - - - 1
2219 - - - - 1 - - - 1
2220 - - - - 0 1 - - 1
2221 - - - - - - 1 1 1
2222 - - - - - - 1 0 1
2223.mv _n25c<*0*> 2 ON OFF
2224.mv _n25c<*1*> 2 ON OFF
2225.mv _n25c<*2*> 2 ON OFF
2226.names _n25b buttons$stop_next$raw_n13c<*0*> buttons<*0*> _n25c<*0*>
22271 - - =buttons$stop_next$raw_n13c<*0*>
22280 - - =buttons<*0*>
2229.names _n25b buttons$stop_next$raw_n13c<*1*> buttons<*1*> _n25c<*1*>
22301 - - =buttons$stop_next$raw_n13c<*1*>
22310 - - =buttons<*1*>
2232.names _n25b buttons$stop_next$raw_n13c<*2*> buttons<*2*> _n25c<*2*>
22331 - - =buttons$stop_next$raw_n13c<*2*>
22340 - - =buttons<*2*>
2235.names start_moving$raw_n19e  start_moving
22360 0
22371 1
2238.names _n16c _n172 _n177 _n17a _n17f _n182 _n187 _n18a _n29c
2239.def 0
2240 1 1 - - - - - - 1
2241 0 - 1 1 - - - - 1
2242 0 - 0 - 1 1 - - 1
2243 0 - 0 - 0 - 1 1 1
2244.mv _n29d 4 OPEN OPENING CLOSED CLOSING
2245.names _n29c door$_n16c$raw_n19a door _n29d
22461 - - =door$_n16c$raw_n19a
22470 - - =door
2248.names stop_moving$raw_n1a9  stop_moving
22490 0
22501 1
2251.names _n1b7 _n1b8 _n1c5 _n1c8 _n1cc _n1de _n2b3
2252.def 0
2253 1 0 1 1 1 - 1
2254 1 0 1 1 - 1 1
2255.names _n2b3 location$_n1b5$raw_n20b<0> location$_n1b5$raw_n20b<1> location<0> location<1> -> _n2b4<0> _n2b4<1>
22561 - - - - =location$_n1b5$raw_n20b<0> =location$_n1b5$raw_n20b<1>
22570 - - - - =location<0> =location<1>
2258.names button_below$raw_n53  button_below
22590 0
22601 1
2261.names _n20e _n214 _n219 _n21f _n234 _n23e _n2b5
2262.def 0
2263 1 1 - - - - 1
2264 0 - 1 1 - - 1
2265 - - - - 1 - 1
2266 - - - - - 1 1
2267.mv _n2b6 2 UP DOWN
2268.names _n2b5 direction$_n23a$raw_n240 direction _n2b6
22691 - - =direction$_n23a$raw_n240
22700 - - =direction
2271.names _n142 _n15f _n2cc
2272.def 0
2273 1 - 1
2274 0 1 1
2275.names _n2cc open_next$_n140$raw_n166 open_next _n2cd
22761 0 - 0
22771 1 - 1
22780 - 0 0
22790 - 1 1
2280.names dec$raw_n1b1  dec
22810 0
22821 1
2283.names inc$raw_n1ad  inc
22840 0
22851 1
2286# non-blocking assignments
2287# latches
2288.r movement$raw_n1a movement
2289- =movement$raw_n1a
2290.latch _n245 movement
2291.r buttons$raw_n1b<*0*> buttons$raw_n2d<*0*> buttons$raw_n3f<*0*> buttons<*0*>
2292.def ON
2293OFF - - =buttons$raw_n1b<*0*>
2294ON OFF - =buttons$raw_n2d<*0*>
2295ON ON OFF =buttons$raw_n3f<*0*>
2296.r buttons$raw_n1b<*1*> buttons$raw_n2d<*1*> buttons$raw_n3f<*1*> buttons<*1*>
2297.def ON
2298OFF - - =buttons$raw_n1b<*1*>
2299ON OFF - =buttons$raw_n2d<*1*>
2300ON ON OFF =buttons$raw_n3f<*1*>
2301.r buttons$raw_n1b<*2*> buttons$raw_n2d<*2*> buttons$raw_n3f<*2*> buttons<*2*>
2302.def ON
2303OFF - - =buttons$raw_n1b<*2*>
2304ON OFF - =buttons$raw_n2d<*2*>
2305ON ON OFF =buttons$raw_n3f<*2*>
2306.latch _n25c<*0*> buttons<*0*>
2307.latch _n25c<*1*> buttons<*1*>
2308.latch _n25c<*2*> buttons<*2*>
2309.r door$raw_n19 door
2310- =door$raw_n19
2311.latch _n29d door
2312.r location$raw_n17<0> location<0>
2313.def 0
23141 1
2315.r location$raw_n17<1> location<1>
2316.def 0
23171 1
2318.latch _n2b4<0> location<0>
2319.latch _n2b4<1> location<1>
2320.r direction$raw_n18 direction
2321- =direction$raw_n18
2322.latch _n2b6 direction
2323.r open_next$raw_n16 open_next
23240 0
23251 1
2326.latch _n2cd open_next
2327# quasi-continuous assignment
2328.end
2329
2330
2331.model main_control
2332# I/O ports
2333.inputs init2<0> init2<1>
2334.inputs init1<0> init1<1>
2335.outputs stop_next<1> stop_next<2>
2336.inputs dec<1> dec<2>
2337.inputs inc<1> inc<2>
2338.outputs continue<1> continue<2>
2339
2340.mv down_floor_buttons<*0*> 2 ON OFF
2341.mv down_floor_buttons<*1*> 2 ON OFF
2342.mv down_floor_buttons<*2*> 2 ON OFF
2343.mv direction<*1*> 2 UP DOWN
2344.mv direction<*2*> 2 UP DOWN
2345.mv up_floor_buttons<*0*> 2 ON OFF
2346.mv up_floor_buttons<*1*> 2 ON OFF
2347.mv up_floor_buttons<*2*> 2 ON OFF
2348# locations [1] = init1
2349.names _n2d0<0>
23501
2351.names _n2d0<1>
23520
2353.names _n2d1<0>
23541
2355.names _n2d1<1>
23560
2357.names _n2d1<0> _n2d0<0> _n2d3<0>
2358.def 0
23590 1 1
23601 0 1
2361.names _n2d1<1> _n2d0<1> _n2d3<1>
2362.def 0
23630 1 1
23641 0 1
2365.names _n2d3<0> _n2d3<1> _n2d4
2366.def 1
23670 0 0
2368.names _n2d4 _n2d2
23690 1 
23701 0 
2371.names _n2d5<0>
23720
2373.names _n2d5<1>
23740
2375.names _n2cf<0> _n2d5<0> _n2d2 locations$raw_n2ce<*1*><0>
23760 - 1 0
23771 - 1 1
2378- 0 0 0
2379- 1 0 1
2380.names _n2cf<1> _n2d5<1> _n2d2 locations$raw_n2ce<*1*><1>
23810 - 1 0
23821 - 1 1
2383- 0 0 0
2384- 1 0 1
2385.names _n2d8<0>
23860
2387.names _n2d8<1>
23881
2389.names _n2d8<0> _n2d0<0> _n2da<0>
2390.def 0
23910 1 1
23921 0 1
2393.names _n2d8<1> _n2d0<1> _n2da<1>
2394.def 0
23950 1 1
23961 0 1
2397.names _n2da<0> _n2da<1> _n2db
2398.def 1
23990 0 0
2400.names _n2db _n2d9
24010 1 
24021 0 
2403.names _n2dc<0>
24040
2405.names _n2dc<1>
24060
2407.names _n2cf<0> _n2dc<0> _n2d9 locations$raw_n2ce<*2*><0>
24080 - 1 0
24091 - 1 1
2410- 0 0 0
2411- 1 0 1
2412.names _n2cf<1> _n2dc<1> _n2d9 locations$raw_n2ce<*2*><1>
24130 - 1 0
24141 - 1 1
2415- 0 0 0
2416- 1 0 1
2417.names init1<0> _n2cf<0>
2418- =init1<0>
2419.names init1<1> _n2cf<1>
2420- =init1<1>
2421# locations [2] = init2
2422.names _n2e1<0>
24230
2424.names _n2e1<1>
24251
2426.names _n2e2<0>
24271
2428.names _n2e2<1>
24290
2430.names _n2e2<0> _n2e1<0> _n2e4<0>
2431.def 0
24320 1 1
24331 0 1
2434.names _n2e2<1> _n2e1<1> _n2e4<1>
2435.def 0
24360 1 1
24371 0 1
2438.names _n2e4<0> _n2e4<1> _n2e5
2439.def 1
24400 0 0
2441.names _n2e5 _n2e3
24420 1 
24431 0 
2444.names _n2e0<0> locations$raw_n2ce<*1*><0> _n2e3 locations$raw_n2df<*1*><0>
24450 - 1 0
24461 - 1 1
2447- 0 0 0
2448- 1 0 1
2449.names _n2e0<1> locations$raw_n2ce<*1*><1> _n2e3 locations$raw_n2df<*1*><1>
24500 - 1 0
24511 - 1 1
2452- 0 0 0
2453- 1 0 1
2454.names _n2e8<0>
24550
2456.names _n2e8<1>
24571
2458.names _n2e8<0> _n2e1<0> _n2ea<0>
2459.def 0
24600 1 1
24611 0 1
2462.names _n2e8<1> _n2e1<1> _n2ea<1>
2463.def 0
24640 1 1
24651 0 1
2466.names _n2ea<0> _n2ea<1> _n2eb
2467.def 1
24680 0 0
2469.names _n2eb _n2e9
24700 1 
24711 0 
2472.names _n2e0<0> locations$raw_n2ce<*2*><0> _n2e9 locations$raw_n2df<*2*><0>
24730 - 1 0
24741 - 1 1
2475- 0 0 0
2476- 1 0 1
2477.names _n2e0<1> locations$raw_n2ce<*2*><1> _n2e9 locations$raw_n2df<*2*><1>
24780 - 1 0
24791 - 1 1
2480- 0 0 0
2481- 1 0 1
2482.names init2<0> _n2e0<0>
2483- =init2<0>
2484.names init2<1> _n2e0<1>
2485- =init2<1>
2486# up_floor_buttons [0] = 1
2487.mv up_floor_buttons$raw_n2ee<*0*> 2 ON OFF
2488.mv up_floor_buttons$raw_n2ee<*1*> 2 ON OFF
2489.mv up_floor_buttons$raw_n2ee<*2*> 2 ON OFF
2490.mv _n2ef 2 ON OFF
2491.names _n2f0<0>
24920
2493.names _n2f0<1>
24940
2495.names _n2f1<0>
24960
2497.names _n2f1<1>
24980
2499.names _n2f1<0> _n2f0<0> _n2f3<0>
2500.def 0
25010 1 1
25021 0 1
2503.names _n2f1<1> _n2f0<1> _n2f3<1>
2504.def 0
25050 1 1
25061 0 1
2507.names _n2f3<0> _n2f3<1> _n2f4
2508.def 1
25090 0 0
2510.names _n2f4 _n2f2
25110 1 
25121 0 
2513.mv _n2f5 2 ON OFF
2514.names _n2f5
2515ON
2516.names _n2ef _n2f5 _n2f2 up_floor_buttons$raw_n2ee<*0*>
2517- - 0 =_n2f5
2518- - 1 =_n2ef
2519.names _n2f6<0>
25201
2521.names _n2f6<1>
25220
2523.names _n2f6<0> _n2f0<0> _n2f8<0>
2524.def 0
25250 1 1
25261 0 1
2527.names _n2f6<1> _n2f0<1> _n2f8<1>
2528.def 0
25290 1 1
25301 0 1
2531.names _n2f8<0> _n2f8<1> _n2f9
2532.def 1
25330 0 0
2534.names _n2f9 _n2f7
25350 1 
25361 0 
2537.mv _n2fa 2 ON OFF
2538.names _n2fa
2539ON
2540.names _n2ef _n2fa _n2f7 up_floor_buttons$raw_n2ee<*1*>
2541- - 0 =_n2fa
2542- - 1 =_n2ef
2543.names _n2fb<0>
25440
2545.names _n2fb<1>
25461
2547.names _n2fb<0> _n2f0<0> _n2fd<0>
2548.def 0
25490 1 1
25501 0 1
2551.names _n2fb<1> _n2f0<1> _n2fd<1>
2552.def 0
25530 1 1
25541 0 1
2555.names _n2fd<0> _n2fd<1> _n2fe
2556.def 1
25570 0 0
2558.names _n2fe _n2fc
25590 1 
25601 0 
2561.mv _n2ff 2 ON OFF
2562.names _n2ff
2563ON
2564.names _n2ef _n2ff _n2fc up_floor_buttons$raw_n2ee<*2*>
2565- - 0 =_n2ff
2566- - 1 =_n2ef
2567.names _n2ef
2568OFF
2569# up_floor_buttons [1] = 1
2570.mv up_floor_buttons$raw_n300<*0*> 2 ON OFF
2571.mv up_floor_buttons$raw_n300<*1*> 2 ON OFF
2572.mv up_floor_buttons$raw_n300<*2*> 2 ON OFF
2573.mv _n301 2 ON OFF
2574.names _n302<0>
25751
2576.names _n302<1>
25770
2578.names _n303<0>
25790
2580.names _n303<1>
25810
2582.names _n303<0> _n302<0> _n305<0>
2583.def 0
25840 1 1
25851 0 1
2586.names _n303<1> _n302<1> _n305<1>
2587.def 0
25880 1 1
25891 0 1
2590.names _n305<0> _n305<1> _n306
2591.def 1
25920 0 0
2593.names _n306 _n304
25940 1 
25951 0 
2596.names _n301 up_floor_buttons$raw_n2ee<*0*> _n304 up_floor_buttons$raw_n300<*0*>
2597- - 0 =up_floor_buttons$raw_n2ee<*0*>
2598- - 1 =_n301
2599.names _n307<0>
26001
2601.names _n307<1>
26020
2603.names _n307<0> _n302<0> _n309<0>
2604.def 0
26050 1 1
26061 0 1
2607.names _n307<1> _n302<1> _n309<1>
2608.def 0
26090 1 1
26101 0 1
2611.names _n309<0> _n309<1> _n30a
2612.def 1
26130 0 0
2614.names _n30a _n308
26150 1 
26161 0 
2617.names _n301 up_floor_buttons$raw_n2ee<*1*> _n308 up_floor_buttons$raw_n300<*1*>
2618- - 0 =up_floor_buttons$raw_n2ee<*1*>
2619- - 1 =_n301
2620.names _n30b<0>
26210
2622.names _n30b<1>
26231
2624.names _n30b<0> _n302<0> _n30d<0>
2625.def 0
26260 1 1
26271 0 1
2628.names _n30b<1> _n302<1> _n30d<1>
2629.def 0
26300 1 1
26311 0 1
2632.names _n30d<0> _n30d<1> _n30e
2633.def 1
26340 0 0
2635.names _n30e _n30c
26360 1 
26371 0 
2638.names _n301 up_floor_buttons$raw_n2ee<*2*> _n30c up_floor_buttons$raw_n300<*2*>
2639- - 0 =up_floor_buttons$raw_n2ee<*2*>
2640- - 1 =_n301
2641.names _n301
2642OFF
2643# up_floor_buttons [2] = 1
2644.mv up_floor_buttons$raw_n30f<*0*> 2 ON OFF
2645.mv up_floor_buttons$raw_n30f<*1*> 2 ON OFF
2646.mv up_floor_buttons$raw_n30f<*2*> 2 ON OFF
2647.mv _n310 2 ON OFF
2648.names _n311<0>
26490
2650.names _n311<1>
26511
2652.names _n312<0>
26530
2654.names _n312<1>
26550
2656.names _n312<0> _n311<0> _n314<0>
2657.def 0
26580 1 1
26591 0 1
2660.names _n312<1> _n311<1> _n314<1>
2661.def 0
26620 1 1
26631 0 1
2664.names _n314<0> _n314<1> _n315
2665.def 1
26660 0 0
2667.names _n315 _n313
26680 1 
26691 0 
2670.names _n310 up_floor_buttons$raw_n300<*0*> _n313 up_floor_buttons$raw_n30f<*0*>
2671- - 0 =up_floor_buttons$raw_n300<*0*>
2672- - 1 =_n310
2673.names _n316<0>
26741
2675.names _n316<1>
26760
2677.names _n316<0> _n311<0> _n318<0>
2678.def 0
26790 1 1
26801 0 1
2681.names _n316<1> _n311<1> _n318<1>
2682.def 0
26830 1 1
26841 0 1
2685.names _n318<0> _n318<1> _n319
2686.def 1
26870 0 0
2688.names _n319 _n317
26890 1 
26901 0 
2691.names _n310 up_floor_buttons$raw_n300<*1*> _n317 up_floor_buttons$raw_n30f<*1*>
2692- - 0 =up_floor_buttons$raw_n300<*1*>
2693- - 1 =_n310
2694.names _n31a<0>
26950
2696.names _n31a<1>
26971
2698.names _n31a<0> _n311<0> _n31c<0>
2699.def 0
27000 1 1
27011 0 1
2702.names _n31a<1> _n311<1> _n31c<1>
2703.def 0
27040 1 1
27051 0 1
2706.names _n31c<0> _n31c<1> _n31d
2707.def 1
27080 0 0
2709.names _n31d _n31b
27100 1 
27111 0 
2712.names _n310 up_floor_buttons$raw_n300<*2*> _n31b up_floor_buttons$raw_n30f<*2*>
2713- - 0 =up_floor_buttons$raw_n300<*2*>
2714- - 1 =_n310
2715.names _n310
2716OFF
2717# down_floor_buttons [0] = 1
2718.mv down_floor_buttons$raw_n31e<*0*> 2 ON OFF
2719.mv down_floor_buttons$raw_n31e<*1*> 2 ON OFF
2720.mv down_floor_buttons$raw_n31e<*2*> 2 ON OFF
2721.mv _n31f 2 ON OFF
2722.names _n320<0>
27230
2724.names _n320<1>
27250
2726.names _n321<0>
27270
2728.names _n321<1>
27290
2730.names _n321<0> _n320<0> _n323<0>
2731.def 0
27320 1 1
27331 0 1
2734.names _n321<1> _n320<1> _n323<1>
2735.def 0
27360 1 1
27371 0 1
2738.names _n323<0> _n323<1> _n324
2739.def 1
27400 0 0
2741.names _n324 _n322
27420 1 
27431 0 
2744.mv _n325 2 ON OFF
2745.names _n325
2746ON
2747.names _n31f _n325 _n322 down_floor_buttons$raw_n31e<*0*>
2748- - 0 =_n325
2749- - 1 =_n31f
2750.names _n326<0>
27511
2752.names _n326<1>
27530
2754.names _n326<0> _n320<0> _n328<0>
2755.def 0
27560 1 1
27571 0 1
2758.names _n326<1> _n320<1> _n328<1>
2759.def 0
27600 1 1
27611 0 1
2762.names _n328<0> _n328<1> _n329
2763.def 1
27640 0 0
2765.names _n329 _n327
27660 1 
27671 0 
2768.mv _n32a 2 ON OFF
2769.names _n32a
2770ON
2771.names _n31f _n32a _n327 down_floor_buttons$raw_n31e<*1*>
2772- - 0 =_n32a
2773- - 1 =_n31f
2774.names _n32b<0>
27750
2776.names _n32b<1>
27771
2778.names _n32b<0> _n320<0> _n32d<0>
2779.def 0
27800 1 1
27811 0 1
2782.names _n32b<1> _n320<1> _n32d<1>
2783.def 0
27840 1 1
27851 0 1
2786.names _n32d<0> _n32d<1> _n32e
2787.def 1
27880 0 0
2789.names _n32e _n32c
27900 1 
27911 0 
2792.mv _n32f 2 ON OFF
2793.names _n32f
2794ON
2795.names _n31f _n32f _n32c down_floor_buttons$raw_n31e<*2*>
2796- - 0 =_n32f
2797- - 1 =_n31f
2798.names _n31f
2799OFF
2800# down_floor_buttons [1] = 1
2801.mv down_floor_buttons$raw_n330<*0*> 2 ON OFF
2802.mv down_floor_buttons$raw_n330<*1*> 2 ON OFF
2803.mv down_floor_buttons$raw_n330<*2*> 2 ON OFF
2804.mv _n331 2 ON OFF
2805.names _n332<0>
28061
2807.names _n332<1>
28080
2809.names _n333<0>
28100
2811.names _n333<1>
28120
2813.names _n333<0> _n332<0> _n335<0>
2814.def 0
28150 1 1
28161 0 1
2817.names _n333<1> _n332<1> _n335<1>
2818.def 0
28190 1 1
28201 0 1
2821.names _n335<0> _n335<1> _n336
2822.def 1
28230 0 0
2824.names _n336 _n334
28250 1 
28261 0 
2827.names _n331 down_floor_buttons$raw_n31e<*0*> _n334 down_floor_buttons$raw_n330<*0*>
2828- - 0 =down_floor_buttons$raw_n31e<*0*>
2829- - 1 =_n331
2830.names _n337<0>
28311
2832.names _n337<1>
28330
2834.names _n337<0> _n332<0> _n339<0>
2835.def 0
28360 1 1
28371 0 1
2838.names _n337<1> _n332<1> _n339<1>
2839.def 0
28400 1 1
28411 0 1
2842.names _n339<0> _n339<1> _n33a
2843.def 1
28440 0 0
2845.names _n33a _n338
28460 1 
28471 0 
2848.names _n331 down_floor_buttons$raw_n31e<*1*> _n338 down_floor_buttons$raw_n330<*1*>
2849- - 0 =down_floor_buttons$raw_n31e<*1*>
2850- - 1 =_n331
2851.names _n33b<0>
28520
2853.names _n33b<1>
28541
2855.names _n33b<0> _n332<0> _n33d<0>
2856.def 0
28570 1 1
28581 0 1
2859.names _n33b<1> _n332<1> _n33d<1>
2860.def 0
28610 1 1
28621 0 1
2863.names _n33d<0> _n33d<1> _n33e
2864.def 1
28650 0 0
2866.names _n33e _n33c
28670 1 
28681 0 
2869.names _n331 down_floor_buttons$raw_n31e<*2*> _n33c down_floor_buttons$raw_n330<*2*>
2870- - 0 =down_floor_buttons$raw_n31e<*2*>
2871- - 1 =_n331
2872.names _n331
2873OFF
2874# down_floor_buttons [2] = 1
2875.mv down_floor_buttons$raw_n33f<*0*> 2 ON OFF
2876.mv down_floor_buttons$raw_n33f<*1*> 2 ON OFF
2877.mv down_floor_buttons$raw_n33f<*2*> 2 ON OFF
2878.mv _n340 2 ON OFF
2879.names _n341<0>
28800
2881.names _n341<1>
28821
2883.names _n342<0>
28840
2885.names _n342<1>
28860
2887.names _n342<0> _n341<0> _n344<0>
2888.def 0
28890 1 1
28901 0 1
2891.names _n342<1> _n341<1> _n344<1>
2892.def 0
28930 1 1
28941 0 1
2895.names _n344<0> _n344<1> _n345
2896.def 1
28970 0 0
2898.names _n345 _n343
28990 1 
29001 0 
2901.names _n340 down_floor_buttons$raw_n330<*0*> _n343 down_floor_buttons$raw_n33f<*0*>
2902- - 0 =down_floor_buttons$raw_n330<*0*>
2903- - 1 =_n340
2904.names _n346<0>
29051
2906.names _n346<1>
29070
2908.names _n346<0> _n341<0> _n348<0>
2909.def 0
29100 1 1
29111 0 1
2912.names _n346<1> _n341<1> _n348<1>
2913.def 0
29140 1 1
29151 0 1
2916.names _n348<0> _n348<1> _n349
2917.def 1
29180 0 0
2919.names _n349 _n347
29200 1 
29211 0 
2922.names _n340 down_floor_buttons$raw_n330<*1*> _n347 down_floor_buttons$raw_n33f<*1*>
2923- - 0 =down_floor_buttons$raw_n330<*1*>
2924- - 1 =_n340
2925.names _n34a<0>
29260
2927.names _n34a<1>
29281
2929.names _n34a<0> _n341<0> _n34c<0>
2930.def 0
29310 1 1
29321 0 1
2933.names _n34a<1> _n341<1> _n34c<1>
2934.def 0
29350 1 1
29361 0 1
2937.names _n34c<0> _n34c<1> _n34d
2938.def 1
29390 0 0
2940.names _n34d _n34b
29410 1 
29421 0 
2943.names _n340 down_floor_buttons$raw_n330<*2*> _n34b down_floor_buttons$raw_n33f<*2*>
2944- - 0 =down_floor_buttons$raw_n330<*2*>
2945- - 1 =_n340
2946.names _n340
2947OFF
2948# direction [1] = 0
2949.mv direction$raw_n34e<*1*> 2 UP DOWN
2950.mv direction$raw_n34e<*2*> 2 UP DOWN
2951.mv _n34f 2 UP DOWN
2952.names _n350<0>
29531
2954.names _n350<1>
29550
2956.names _n351<0>
29571
2958.names _n351<1>
29590
2960.names _n351<0> _n350<0> _n353<0>
2961.def 0
29620 1 1
29631 0 1
2964.names _n351<1> _n350<1> _n353<1>
2965.def 0
29660 1 1
29671 0 1
2968.names _n353<0> _n353<1> _n354
2969.def 1
29700 0 0
2971.names _n354 _n352
29720 1 
29731 0 
2974.mv _n355 2 UP DOWN
2975.names _n355
2976UP
2977.names _n34f _n355 _n352 direction$raw_n34e<*1*>
2978- - 0 =_n355
2979- - 1 =_n34f
2980.names _n356<0>
29810
2982.names _n356<1>
29831
2984.names _n356<0> _n350<0> _n358<0>
2985.def 0
29860 1 1
29871 0 1
2988.names _n356<1> _n350<1> _n358<1>
2989.def 0
29900 1 1
29911 0 1
2992.names _n358<0> _n358<1> _n359
2993.def 1
29940 0 0
2995.names _n359 _n357
29960 1 
29971 0 
2998.mv _n35a 2 UP DOWN
2999.names _n35a
3000UP
3001.names _n34f _n35a _n357 direction$raw_n34e<*2*>
3002- - 0 =_n35a
3003- - 1 =_n34f
3004.names _n34f
3005UP
3006# direction [2] = 0
3007.mv direction$raw_n35b<*1*> 2 UP DOWN
3008.mv direction$raw_n35b<*2*> 2 UP DOWN
3009.mv _n35c 2 UP DOWN
3010.names _n35d<0>
30110
3012.names _n35d<1>
30131
3014.names _n35e<0>
30151
3016.names _n35e<1>
30170
3018.names _n35e<0> _n35d<0> _n360<0>
3019.def 0
30200 1 1
30211 0 1
3022.names _n35e<1> _n35d<1> _n360<1>
3023.def 0
30240 1 1
30251 0 1
3026.names _n360<0> _n360<1> _n361
3027.def 1
30280 0 0
3029.names _n361 _n35f
30300 1 
30311 0 
3032.names _n35c direction$raw_n34e<*1*> _n35f direction$raw_n35b<*1*>
3033- - 0 =direction$raw_n34e<*1*>
3034- - 1 =_n35c
3035.names _n362<0>
30360
3037.names _n362<1>
30381
3039.names _n362<0> _n35d<0> _n364<0>
3040.def 0
30410 1 1
30421 0 1
3043.names _n362<1> _n35d<1> _n364<1>
3044.def 0
30450 1 1
30461 0 1
3047.names _n364<0> _n364<1> _n365
3048.def 1
30490 0 0
3050.names _n365 _n363
30510 1 
30521 0 
3053.names _n35c direction$raw_n34e<*2*> _n363 direction$raw_n35b<*2*>
3054- - 0 =direction$raw_n34e<*2*>
3055- - 1 =_n35c
3056.names _n35c
3057UP
3058# non-blocking assignments for initial
3059# assign buttons [0] = up_floor_buttons [0] == ON  || down_floor_buttons [0] == ON
3060.names _n368<0>
30610
3062.names _n368<1>
30630
3064.mv _n369 2 ON OFF
3065.names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n368<1> _n368<0> _n369
3066- - - 0 0 =up_floor_buttons<*0*>
3067- - - 0 1 =up_floor_buttons<*1*>
3068- - - 1 0 =up_floor_buttons<*2*>
3069- - - 1 1 ON
3070.mv _n36a 2 ON OFF
3071.names _n36a
3072ON
3073# up_floor_buttons [0] == 0
3074.names _n369 _n36a _n367
3075.def 0
3076- =_n369 1
3077.names _n36c<0>
30780
3079.names _n36c<1>
30800
3081.mv _n36d 2 ON OFF
3082.names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n36c<1> _n36c<0> _n36d
3083- - - 0 0 =down_floor_buttons<*0*>
3084- - - 0 1 =down_floor_buttons<*1*>
3085- - - 1 0 =down_floor_buttons<*2*>
3086- - - 1 1 ON
3087.mv _n36e 2 ON OFF
3088.names _n36e
3089ON
3090# down_floor_buttons [0] == 0
3091.names _n36d _n36e _n36b
3092.def 0
3093- =_n36d 1
3094# up_floor_buttons [0] == 0 || down_floor_buttons [0] == 0
3095.names _n367 _n36b _n36f
3096.def 1
30970 0 0
3098.names _n36f buttons$raw_n366<0>
3099- =_n36f
3100.names _n370
31010
3102# assign buttons [1] = up_floor_buttons [1] == ON  || down_floor_buttons [1] == ON
3103.names _n373<0>
31041
3105.names _n373<1>
31060
3107.mv _n374 2 ON OFF
3108.names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n373<1> _n373<0> _n374
3109- - - 0 0 =up_floor_buttons<*0*>
3110- - - 0 1 =up_floor_buttons<*1*>
3111- - - 1 0 =up_floor_buttons<*2*>
3112- - - 1 1 ON
3113.mv _n375 2 ON OFF
3114.names _n375
3115ON
3116# up_floor_buttons [1] == 0
3117.names _n374 _n375 _n372
3118.def 0
3119- =_n374 1
3120.names _n377<0>
31211
3122.names _n377<1>
31230
3124.mv _n378 2 ON OFF
3125.names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n377<1> _n377<0> _n378
3126- - - 0 0 =down_floor_buttons<*0*>
3127- - - 0 1 =down_floor_buttons<*1*>
3128- - - 1 0 =down_floor_buttons<*2*>
3129- - - 1 1 ON
3130.mv _n379 2 ON OFF
3131.names _n379
3132ON
3133# down_floor_buttons [1] == 0
3134.names _n378 _n379 _n376
3135.def 0
3136- =_n378 1
3137# up_floor_buttons [1] == 0 || down_floor_buttons [1] == 0
3138.names _n372 _n376 _n37a
3139.def 1
31400 0 0
3141.names _n37a buttons$raw_n371<1>
3142- =_n37a
3143.names _n37b
31440
3145# assign buttons [2] = up_floor_buttons [2] == ON  || down_floor_buttons [2] == ON
3146.names _n37e<0>
31470
3148.names _n37e<1>
31491
3150.mv _n37f 2 ON OFF
3151.names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n37e<1> _n37e<0> _n37f
3152- - - 0 0 =up_floor_buttons<*0*>
3153- - - 0 1 =up_floor_buttons<*1*>
3154- - - 1 0 =up_floor_buttons<*2*>
3155- - - 1 1 ON
3156.mv _n380 2 ON OFF
3157.names _n380
3158ON
3159# up_floor_buttons [2] == 0
3160.names _n37f _n380 _n37d
3161.def 0
3162- =_n37f 1
3163.names _n382<0>
31640
3165.names _n382<1>
31661
3167.mv _n383 2 ON OFF
3168.names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n382<1> _n382<0> _n383
3169- - - 0 0 =down_floor_buttons<*0*>
3170- - - 0 1 =down_floor_buttons<*1*>
3171- - - 1 0 =down_floor_buttons<*2*>
3172- - - 1 1 ON
3173.mv _n384 2 ON OFF
3174.names _n384
3175ON
3176# down_floor_buttons [2] == 0
3177.names _n383 _n384 _n381
3178.def 0
3179- =_n383 1
3180# up_floor_buttons [2] == 0 || down_floor_buttons [2] == 0
3181.names _n37d _n381 _n385
3182.def 1
31830 0 0
3184.names _n385 buttons$raw_n37c<2>
3185- =_n385
3186.names _n386
31870
3188# assign button_below [1] = ((locations [1] == 2) && (buttons [0] || buttons [1])) || (locations [1] == 1 && buttons [0])
3189.names _n389<0>
31901
3191.names _n389<1>
31920
3193.names locations<*1*><0> locations<*2*><0> _n389<1> _n389<0> _n38a<0>
3194- - 0 0 0
3195- - 0 0 0
31960 - 0 1 0
31971 - 0 1 1
3198- 0 1 0 0
3199- 1 1 0 1
3200- - 1 1 0
3201- - 1 1 0
3202.names locations<*1*><1> locations<*2*><1> _n389<1> _n389<0> _n38a<1>
3203- - 0 0 0
3204- - 0 0 0
32050 - 0 1 0
32061 - 0 1 1
3207- 0 1 0 0
3208- 1 1 0 1
3209- - 1 1 0
3210- - 1 1 0
3211.names _n38b<0>
32120
3213.names _n38b<1>
32141
3215# locations [1] == 2
3216.names _n38a<0> _n38b<0> _n38c<0>
3217.def 0
32180 1 1
32191 0 1
3220.names _n38a<1> _n38b<1> _n38c<1>
3221.def 0
32220 1 1
32231 0 1
3224.names _n38c<0> _n38c<1> _n38d
3225.def 1
32260 0 0
3227.names _n38d _n388
32280 1 
32291 0 
3230# buttons [0] || buttons [1]
3231.names buttons<0> buttons<1> _n38e<0>
3232.def 1
32330 0 0
3234# (locations [1] == 2) && (buttons [0] || buttons [1])
3235.names _n388 _n38e<0> _n38f<0>
3236.def 0
32371 1 1
3238.names _n390
32390
3240.names _n392<0>
32411
3242.names _n392<1>
32430
3244.names locations<*1*><0> locations<*2*><0> _n392<1> _n392<0> _n393<0>
3245- - 0 0 0
3246- - 0 0 0
32470 - 0 1 0
32481 - 0 1 1
3249- 0 1 0 0
3250- 1 1 0 1
3251- - 1 1 0
3252- - 1 1 0
3253.names locations<*1*><1> locations<*2*><1> _n392<1> _n392<0> _n393<1>
3254- - 0 0 0
3255- - 0 0 0
32560 - 0 1 0
32571 - 0 1 1
3258- 0 1 0 0
3259- 1 1 0 1
3260- - 1 1 0
3261- - 1 1 0
3262.names _n394<0>
32631
3264.names _n394<1>
32650
3266# locations [1] == 1
3267.names _n393<0> _n394<0> _n395<0>
3268.def 0
32690 1 1
32701 0 1
3271.names _n393<1> _n394<1> _n395<1>
3272.def 0
32730 1 1
32741 0 1
3275.names _n395<0> _n395<1> _n396
3276.def 1
32770 0 0
3278.names _n396 _n391
32790 1 
32801 0 
3281# locations [1] == 1 && buttons [0]
3282.names _n391 buttons<0> _n397<0>
3283.def 0
32841 1 1
3285.names _n398
32860
3287# ((locations [1] == 2) && (buttons [0] || buttons [1])) || (locations [1] == 1 && buttons [0])
3288.names _n38f<0> _n397<0> _n399<0>
3289.def 1
32900 0 0
3291.names _n399<0> button_below$raw_n387<1>
3292- =_n399<0>
3293# assign button_above [1] = ((locations [1] == 0) && (buttons [2] || buttons [1])) || ((locations [1] == 1) && (buttons [2]))
3294.names _n39c<0>
32951
3296.names _n39c<1>
32970
3298.names locations<*1*><0> locations<*2*><0> _n39c<1> _n39c<0> _n39d<0>
3299- - 0 0 0
3300- - 0 0 0
33010 - 0 1 0
33021 - 0 1 1
3303- 0 1 0 0
3304- 1 1 0 1
3305- - 1 1 0
3306- - 1 1 0
3307.names locations<*1*><1> locations<*2*><1> _n39c<1> _n39c<0> _n39d<1>
3308- - 0 0 0
3309- - 0 0 0
33100 - 0 1 0
33111 - 0 1 1
3312- 0 1 0 0
3313- 1 1 0 1
3314- - 1 1 0
3315- - 1 1 0
3316.names _n39e<0>
33170
3318.names _n39e<1>
33190
3320# locations [1] == 0
3321.names _n39d<0> _n39e<0> _n39f<0>
3322.def 0
33230 1 1
33241 0 1
3325.names _n39d<1> _n39e<1> _n39f<1>
3326.def 0
33270 1 1
33281 0 1
3329.names _n39f<0> _n39f<1> _n3a0
3330.def 1
33310 0 0
3332.names _n3a0 _n39b
33330 1 
33341 0 
3335# buttons [2] || buttons [1]
3336.names buttons<2> buttons<1> _n3a1<0>
3337.def 1
33380 0 0
3339# (locations [1] == 0) && (buttons [2] || buttons [1])
3340.names _n39b _n3a1<0> _n3a2<0>
3341.def 0
33421 1 1
3343.names _n3a3
33440
3345.names _n3a5<0>
33461
3347.names _n3a5<1>
33480
3349.names locations<*1*><0> locations<*2*><0> _n3a5<1> _n3a5<0> _n3a6<0>
3350- - 0 0 0
3351- - 0 0 0
33520 - 0 1 0
33531 - 0 1 1
3354- 0 1 0 0
3355- 1 1 0 1
3356- - 1 1 0
3357- - 1 1 0
3358.names locations<*1*><1> locations<*2*><1> _n3a5<1> _n3a5<0> _n3a6<1>
3359- - 0 0 0
3360- - 0 0 0
33610 - 0 1 0
33621 - 0 1 1
3363- 0 1 0 0
3364- 1 1 0 1
3365- - 1 1 0
3366- - 1 1 0
3367.names _n3a7<0>
33681
3369.names _n3a7<1>
33700
3371# locations [1] == 1
3372.names _n3a6<0> _n3a7<0> _n3a8<0>
3373.def 0
33740 1 1
33751 0 1
3376.names _n3a6<1> _n3a7<1> _n3a8<1>
3377.def 0
33780 1 1
33791 0 1
3380.names _n3a8<0> _n3a8<1> _n3a9
3381.def 1
33820 0 0
3383.names _n3a9 _n3a4
33840 1 
33851 0 
3386# (locations [1] == 1) && (buttons [2])
3387.names _n3a4 buttons<2> _n3aa<2>
3388.def 0
33891 1 1
3390.names _n3ab
33910
3392# ((locations [1] == 0) && (buttons [2] || buttons [1])) || ((locations [1] == 1) && (buttons [2]))
3393.names _n3a2<0> _n3aa<2> _n3ac<0>
3394.def 1
33950 0 0
3396.names _n3ac<0> button_above$raw_n39a<1>
3397- =_n3ac<0>
3398# assign button_below [2] = ((locations [2] == 2) && (buttons [0] || buttons [1])) || (locations [2] == 1 && buttons [0])
3399.names _n3af<0>
34000
3401.names _n3af<1>
34021
3403.names locations<*1*><0> locations<*2*><0> _n3af<1> _n3af<0> _n3b0<0>
3404- - 0 0 0
3405- - 0 0 0
34060 - 0 1 0
34071 - 0 1 1
3408- 0 1 0 0
3409- 1 1 0 1
3410- - 1 1 0
3411- - 1 1 0
3412.names locations<*1*><1> locations<*2*><1> _n3af<1> _n3af<0> _n3b0<1>
3413- - 0 0 0
3414- - 0 0 0
34150 - 0 1 0
34161 - 0 1 1
3417- 0 1 0 0
3418- 1 1 0 1
3419- - 1 1 0
3420- - 1 1 0
3421.names _n3b1<0>
34220
3423.names _n3b1<1>
34241
3425# locations [2] == 2
3426.names _n3b0<0> _n3b1<0> _n3b2<0>
3427.def 0
34280 1 1
34291 0 1
3430.names _n3b0<1> _n3b1<1> _n3b2<1>
3431.def 0
34320 1 1
34331 0 1
3434.names _n3b2<0> _n3b2<1> _n3b3
3435.def 1
34360 0 0
3437.names _n3b3 _n3ae
34380 1 
34391 0 
3440# buttons [0] || buttons [1]
3441.names buttons<0> buttons<1> _n3b4<0>
3442.def 1
34430 0 0
3444# (locations [2] == 2) && (buttons [0] || buttons [1])
3445.names _n3ae _n3b4<0> _n3b5<0>
3446.def 0
34471 1 1
3448.names _n3b6
34490
3450.names _n3b8<0>
34510
3452.names _n3b8<1>
34531
3454.names locations<*1*><0> locations<*2*><0> _n3b8<1> _n3b8<0> _n3b9<0>
3455- - 0 0 0
3456- - 0 0 0
34570 - 0 1 0
34581 - 0 1 1
3459- 0 1 0 0
3460- 1 1 0 1
3461- - 1 1 0
3462- - 1 1 0
3463.names locations<*1*><1> locations<*2*><1> _n3b8<1> _n3b8<0> _n3b9<1>
3464- - 0 0 0
3465- - 0 0 0
34660 - 0 1 0
34671 - 0 1 1
3468- 0 1 0 0
3469- 1 1 0 1
3470- - 1 1 0
3471- - 1 1 0
3472.names _n3ba<0>
34731
3474.names _n3ba<1>
34750
3476# locations [2] == 1
3477.names _n3b9<0> _n3ba<0> _n3bb<0>
3478.def 0
34790 1 1
34801 0 1
3481.names _n3b9<1> _n3ba<1> _n3bb<1>
3482.def 0
34830 1 1
34841 0 1
3485.names _n3bb<0> _n3bb<1> _n3bc
3486.def 1
34870 0 0
3488.names _n3bc _n3b7
34890 1 
34901 0 
3491# locations [2] == 1 && buttons [0]
3492.names _n3b7 buttons<0> _n3bd<0>
3493.def 0
34941 1 1
3495.names _n3be
34960
3497# ((locations [2] == 2) && (buttons [0] || buttons [1])) || (locations [2] == 1 && buttons [0])
3498.names _n3b5<0> _n3bd<0> _n3bf<0>
3499.def 1
35000 0 0
3501.names _n3bf<0> button_below$raw_n3ad<2>
3502- =_n3bf<0>
3503# assign button_above [2] = ((locations [2] == 0) && (buttons [2] || buttons [1])) || ((locations [2] == 1) && (buttons [2]))
3504.names _n3c2<0>
35050
3506.names _n3c2<1>
35071
3508.names locations<*1*><0> locations<*2*><0> _n3c2<1> _n3c2<0> _n3c3<0>
3509- - 0 0 0
3510- - 0 0 0
35110 - 0 1 0
35121 - 0 1 1
3513- 0 1 0 0
3514- 1 1 0 1
3515- - 1 1 0
3516- - 1 1 0
3517.names locations<*1*><1> locations<*2*><1> _n3c2<1> _n3c2<0> _n3c3<1>
3518- - 0 0 0
3519- - 0 0 0
35200 - 0 1 0
35211 - 0 1 1
3522- 0 1 0 0
3523- 1 1 0 1
3524- - 1 1 0
3525- - 1 1 0
3526.names _n3c4<0>
35270
3528.names _n3c4<1>
35290
3530# locations [2] == 0
3531.names _n3c3<0> _n3c4<0> _n3c5<0>
3532.def 0
35330 1 1
35341 0 1
3535.names _n3c3<1> _n3c4<1> _n3c5<1>
3536.def 0
35370 1 1
35381 0 1
3539.names _n3c5<0> _n3c5<1> _n3c6
3540.def 1
35410 0 0
3542.names _n3c6 _n3c1
35430 1 
35441 0 
3545# buttons [2] || buttons [1]
3546.names buttons<2> buttons<1> _n3c7<0>
3547.def 1
35480 0 0
3549# (locations [2] == 0) && (buttons [2] || buttons [1])
3550.names _n3c1 _n3c7<0> _n3c8<0>
3551.def 0
35521 1 1
3553.names _n3c9
35540
3555.names _n3cb<0>
35560
3557.names _n3cb<1>
35581
3559.names locations<*1*><0> locations<*2*><0> _n3cb<1> _n3cb<0> _n3cc<0>
3560- - 0 0 0
3561- - 0 0 0
35620 - 0 1 0
35631 - 0 1 1
3564- 0 1 0 0
3565- 1 1 0 1
3566- - 1 1 0
3567- - 1 1 0
3568.names locations<*1*><1> locations<*2*><1> _n3cb<1> _n3cb<0> _n3cc<1>
3569- - 0 0 0
3570- - 0 0 0
35710 - 0 1 0
35721 - 0 1 1
3573- 0 1 0 0
3574- 1 1 0 1
3575- - 1 1 0
3576- - 1 1 0
3577.names _n3cd<0>
35781
3579.names _n3cd<1>
35800
3581# locations [2] == 1
3582.names _n3cc<0> _n3cd<0> _n3ce<0>
3583.def 0
35840 1 1
35851 0 1
3586.names _n3cc<1> _n3cd<1> _n3ce<1>
3587.def 0
35880 1 1
35891 0 1
3590.names _n3ce<0> _n3ce<1> _n3cf
3591.def 1
35920 0 0
3593.names _n3cf _n3ca
35940 1 
35951 0 
3596# (locations [2] == 1) && (buttons [2])
3597.names _n3ca buttons<2> _n3d0<2>
3598.def 0
35991 1 1
3600.names _n3d1
36010
3602# ((locations [2] == 0) && (buttons [2] || buttons [1])) || ((locations [2] == 1) && (buttons [2]))
3603.names _n3c8<0> _n3d0<2> _n3d2<0>
3604.def 1
36050 0 0
3606.names _n3d2<0> button_above$raw_n3c0<2>
3607- =_n3d2<0>
3608# assign continue [1] = button_above [1] && direction [1] == UP  || button_below [1] && direction [1] == DOWN
3609.names _n3d5<0>
36101
3611.names _n3d5<1>
36120
3613.mv _n3d6 2 UP DOWN
3614.names direction<*1*> direction<*2*> _n3d5<1> _n3d5<0> _n3d6
3615- - 0 0 UP
3616- - 0 1 =direction<*1*>
3617- - 1 0 =direction<*2*>
3618- - 1 1 UP
3619.mv _n3d7 2 UP DOWN
3620.names _n3d7
3621UP
3622# direction [1] == 0
3623.names _n3d6 _n3d7 _n3d4
3624.def 0
3625- =_n3d6 1
3626# button_above [1] && direction [1] == 0
3627.names button_above<1> _n3d4 _n3d8<1>
3628.def 0
36291 1 1
3630.names _n3d9
36310
3632.names _n3db<0>
36331
3634.names _n3db<1>
36350
3636.mv _n3dc 2 UP DOWN
3637.names direction<*1*> direction<*2*> _n3db<1> _n3db<0> _n3dc
3638- - 0 0 UP
3639- - 0 1 =direction<*1*>
3640- - 1 0 =direction<*2*>
3641- - 1 1 UP
3642.mv _n3dd 2 UP DOWN
3643.names _n3dd
3644DOWN
3645# direction [1] == 1
3646.names _n3dc _n3dd _n3da
3647.def 0
3648- =_n3dc 1
3649# button_below [1] && direction [1] == 1
3650.names button_below<1> _n3da _n3de<1>
3651.def 0
36521 1 1
3653.names _n3df
36540
3655# button_above [1] && direction [1] == 0 || button_below [1] && direction [1] == 1
3656.names _n3d8<1> _n3de<1> _n3e0<0>
3657.def 1
36580 0 0
3659.names _n3e0<0> continue$raw_n3d3<1>
3660- =_n3e0<0>
3661# assign continue [2] = button_above [2] && direction [2] == UP  || button_below [2] && direction [2] == DOWN
3662.names _n3e3<0>
36630
3664.names _n3e3<1>
36651
3666.mv _n3e4 2 UP DOWN
3667.names direction<*1*> direction<*2*> _n3e3<1> _n3e3<0> _n3e4
3668- - 0 0 UP
3669- - 0 1 =direction<*1*>
3670- - 1 0 =direction<*2*>
3671- - 1 1 UP
3672.mv _n3e5 2 UP DOWN
3673.names _n3e5
3674UP
3675# direction [2] == 0
3676.names _n3e4 _n3e5 _n3e2
3677.def 0
3678- =_n3e4 1
3679# button_above [2] && direction [2] == 0
3680.names button_above<2> _n3e2 _n3e6<2>
3681.def 0
36821 1 1
3683.names _n3e7
36840
3685.names _n3e9<0>
36860
3687.names _n3e9<1>
36881
3689.mv _n3ea 2 UP DOWN
3690.names direction<*1*> direction<*2*> _n3e9<1> _n3e9<0> _n3ea
3691- - 0 0 UP
3692- - 0 1 =direction<*1*>
3693- - 1 0 =direction<*2*>
3694- - 1 1 UP
3695.mv _n3eb 2 UP DOWN
3696.names _n3eb
3697DOWN
3698# direction [2] == 1
3699.names _n3ea _n3eb _n3e8
3700.def 0
3701- =_n3ea 1
3702# button_below [2] && direction [2] == 1
3703.names button_below<2> _n3e8 _n3ec<2>
3704.def 0
37051 1 1
3706.names _n3ed
37070
3708# button_above [2] && direction [2] == 0 || button_below [2] && direction [2] == 1
3709.names _n3e6<2> _n3ec<2> _n3ee<0>
3710.def 1
37110 0 0
3712.names _n3ee<0> continue$raw_n3e1<2>
3713- =_n3ee<0>
3714# assign stop_next [1] = ((locations [1] != 3 - 1) && (direction [1] == UP )) ? ((up_floor_buttons [locations [1] + 1] == ON ) ? 1 : 0) : (((locations [1] != 0) && (direction [1] == DOWN )) ? ((down_floor_buttons [locations [1] - 1] == ON ) ? 1 : 0) : 0)
3715.names _n3f1<0>
37161
3717.names _n3f1<1>
37180
3719.names locations<*1*><0> locations<*2*><0> _n3f1<1> _n3f1<0> _n3f2<0>
3720- - 0 0 0
3721- - 0 0 0
37220 - 0 1 0
37231 - 0 1 1
3724- 0 1 0 0
3725- 1 1 0 1
3726- - 1 1 0
3727- - 1 1 0
3728.names locations<*1*><1> locations<*2*><1> _n3f1<1> _n3f1<0> _n3f2<1>
3729- - 0 0 0
3730- - 0 0 0
37310 - 0 1 0
37321 - 0 1 1
3733- 0 1 0 0
3734- 1 1 0 1
3735- - 1 1 0
3736- - 1 1 0
3737.names _n3f3<0>
37381
3739.names _n3f3<1>
37401
3741.names _n3f4<0>
37421
3743.names _n3f4<1>
37440
3745# 3 - 1
3746.names _n3f6
37470
3748.names _n3f3<0> _n3f4<0> _n3f6 _n3f5<0>
3749.def 0
37500 0 1 1
37510 1 0 1
37521 0 0 1
37531 1 1 1
3754# carry/borrow
3755.names _n3f8
37560
3757.names _n3f3<0> _n3f4<0> _n3f8 _n3f7
3758.def 0
37590 0 1 1
37600 1 0 1
37610 1 1 1
37621 1 1 1
3763.names _n3f3<1> _n3f4<1> _n3f7 _n3f5<1>
3764.def 0
37650 0 1 1
37660 1 0 1
37671 0 0 1
37681 1 1 1
3769# locations [1] != 3 - 1
3770.names _n3f2<0> _n3f5<0> _n3f9<0>
3771.def 0
37720 1 1
37731 0 1
3774.names _n3f2<1> _n3f5<1> _n3f9<1>
3775.def 0
37760 1 1
37771 0 1
3778.names _n3f9<0> _n3f9<1> _n3fa
3779.def 1
37800 0 0
3781.names _n3fa _n3f0
3782- =_n3fa
3783.names _n3fc<0>
37841
3785.names _n3fc<1>
37860
3787.mv _n3fd 2 UP DOWN
3788.names direction<*1*> direction<*2*> _n3fc<1> _n3fc<0> _n3fd
3789- - 0 0 UP
3790- - 0 1 =direction<*1*>
3791- - 1 0 =direction<*2*>
3792- - 1 1 UP
3793.mv _n3fe 2 UP DOWN
3794.names _n3fe
3795UP
3796# direction [1] == 0
3797.names _n3fd _n3fe _n3fb
3798.def 0
3799- =_n3fd 1
3800# (locations [1] != 3 - 1) && (direction [1] == 0)
3801.names _n3f0 _n3fb _n3ff
3802.def 0
38031 1 1
3804.names _n401<0>
38051
3806.names _n401<1>
38070
3808.names locations<*1*><0> locations<*2*><0> _n401<1> _n401<0> _n402<0>
3809- - 0 0 0
3810- - 0 0 0
38110 - 0 1 0
38121 - 0 1 1
3813- 0 1 0 0
3814- 1 1 0 1
3815- - 1 1 0
3816- - 1 1 0
3817.names locations<*1*><1> locations<*2*><1> _n401<1> _n401<0> _n402<1>
3818- - 0 0 0
3819- - 0 0 0
38200 - 0 1 0
38211 - 0 1 1
3822- 0 1 0 0
3823- 1 1 0 1
3824- - 1 1 0
3825- - 1 1 0
3826.names _n403<0>
38271
3828.names _n403<1>
38290
3830# locations [1] + 1
3831.names _n405
38320
3833.names _n402<0> _n403<0> _n405 _n404<0>
3834.def 0
38350 0 1 1
38360 1 0 1
38371 0 0 1
38381 1 1 1
3839# carry/borrow
3840.names _n407
38410
3842.names _n402<0> _n403<0> _n407 _n406
3843.def 0
38440 1 1 1
38451 0 1 1
38461 1 0 1
38471 1 1 1
3848.names _n402<1> _n403<1> _n406 _n404<1>
3849.def 0
38500 0 1 1
38510 1 0 1
38521 0 0 1
38531 1 1 1
3854.mv _n408 2 ON OFF
3855.names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n404<1> _n404<0> _n408
3856- - - 0 0 =up_floor_buttons<*0*>
3857- - - 0 1 =up_floor_buttons<*1*>
3858- - - 1 0 =up_floor_buttons<*2*>
3859- - - 1 1 ON
3860.mv _n409 2 ON OFF
3861.names _n409
3862ON
3863# up_floor_buttons [locations [1] + 1] == 0
3864.names _n408 _n409 _n400
3865.def 0
3866- =_n408 1
3867.names _n40a<1>
38681
3869.names _n40b<1>
38700
3871# (up_floor_buttons [locations [1] + 1] == 0) ? 1 : 0
3872.names _n40a<1> _n40b<1> _n400 _n40c<1>
38730 - 1 0
38741 - 1 1
3875- 0 0 0
3876- 1 0 1
3877.names _n40f<0>
38781
3879.names _n40f<1>
38800
3881.names locations<*1*><0> locations<*2*><0> _n40f<1> _n40f<0> _n410<0>
3882- - 0 0 0
3883- - 0 0 0
38840 - 0 1 0
38851 - 0 1 1
3886- 0 1 0 0
3887- 1 1 0 1
3888- - 1 1 0
3889- - 1 1 0
3890.names locations<*1*><1> locations<*2*><1> _n40f<1> _n40f<0> _n410<1>
3891- - 0 0 0
3892- - 0 0 0
38930 - 0 1 0
38941 - 0 1 1
3895- 0 1 0 0
3896- 1 1 0 1
3897- - 1 1 0
3898- - 1 1 0
3899.names _n411<0>
39000
3901.names _n411<1>
39020
3903# locations [1] != 0
3904.names _n410<0> _n411<0> _n412<0>
3905.def 0
39060 1 1
39071 0 1
3908.names _n410<1> _n411<1> _n412<1>
3909.def 0
39100 1 1
39111 0 1
3912.names _n412<0> _n412<1> _n413
3913.def 1
39140 0 0
3915.names _n413 _n40e
3916- =_n413
3917.names _n415<0>
39181
3919.names _n415<1>
39200
3921.mv _n416 2 UP DOWN
3922.names direction<*1*> direction<*2*> _n415<1> _n415<0> _n416
3923- - 0 0 UP
3924- - 0 1 =direction<*1*>
3925- - 1 0 =direction<*2*>
3926- - 1 1 UP
3927.mv _n417 2 UP DOWN
3928.names _n417
3929DOWN
3930# direction [1] == 1
3931.names _n416 _n417 _n414
3932.def 0
3933- =_n416 1
3934# (locations [1] != 0) && (direction [1] == 1)
3935.names _n40e _n414 _n418
3936.def 0
39371 1 1
3938.names _n41a<0>
39391
3940.names _n41a<1>
39410
3942.names locations<*1*><0> locations<*2*><0> _n41a<1> _n41a<0> _n41b<0>
3943- - 0 0 0
3944- - 0 0 0
39450 - 0 1 0
39461 - 0 1 1
3947- 0 1 0 0
3948- 1 1 0 1
3949- - 1 1 0
3950- - 1 1 0
3951.names locations<*1*><1> locations<*2*><1> _n41a<1> _n41a<0> _n41b<1>
3952- - 0 0 0
3953- - 0 0 0
39540 - 0 1 0
39551 - 0 1 1
3956- 0 1 0 0
3957- 1 1 0 1
3958- - 1 1 0
3959- - 1 1 0
3960.names _n41c<0>
39611
3962.names _n41c<1>
39630
3964# locations [1] - 1
3965.names _n41e
39660
3967.names _n41b<0> _n41c<0> _n41e _n41d<0>
3968.def 0
39690 0 1 1
39700 1 0 1
39711 0 0 1
39721 1 1 1
3973# carry/borrow
3974.names _n420
39750
3976.names _n41b<0> _n41c<0> _n420 _n41f
3977.def 0
39780 0 1 1
39790 1 0 1
39800 1 1 1
39811 1 1 1
3982.names _n41b<1> _n41c<1> _n41f _n41d<1>
3983.def 0
39840 0 1 1
39850 1 0 1
39861 0 0 1
39871 1 1 1
3988.mv _n421 2 ON OFF
3989.names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n41d<1> _n41d<0> _n421
3990- - - 0 0 =down_floor_buttons<*0*>
3991- - - 0 1 =down_floor_buttons<*1*>
3992- - - 1 0 =down_floor_buttons<*2*>
3993- - - 1 1 ON
3994.mv _n422 2 ON OFF
3995.names _n422
3996ON
3997# down_floor_buttons [locations [1] - 1] == 0
3998.names _n421 _n422 _n419
3999.def 0
4000- =_n421 1
4001.names _n423<1>
40021
4003.names _n424<1>
40040
4005# (down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0
4006.names _n423<1> _n424<1> _n419 _n425<1>
40070 - 1 0
40081 - 1 1
4009- 0 0 0
4010- 1 0 1
4011.names _n427<1>
40120
4013# ((locations [1] != 0) && (direction [1] == 1)) ? ((down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0) : 0
4014.names _n425<1> _n427<1> _n418 _n428<1>
40150 - 1 0
40161 - 1 1
4017- 0 0 0
4018- 1 0 1
4019# ((locations [1] != 3 - 1) && (direction [1] == 0)) ? ((up_floor_buttons [locations [1] + 1] == 0) ? 1 : 0) : (((locations [1] != 0) && (direction [1] == 1)) ? ((down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0) : 0)
4020.names _n40c<1> _n428<1> _n3ff _n42a<1>
40210 - 1 0
40221 - 1 1
4023- 0 0 0
4024- 1 0 1
4025.names _n42a<1> stop_next$raw_n3ef<1>
4026- =_n42a<1>
4027# assign stop_next [2] = ((locations [2] != 3 - 1) && (direction [2] == UP )) ? ((up_floor_buttons [locations [2] + 1] == ON ) ? 1 : 0) : (((locations [2] != 0) && (direction [2] == DOWN )) ? ((down_floor_buttons [locations [2] - 1] == ON ) ? 1 : 0) : 0)
4028.names _n42e<0>
40290
4030.names _n42e<1>
40311
4032.names locations<*1*><0> locations<*2*><0> _n42e<1> _n42e<0> _n42f<0>
4033- - 0 0 0
4034- - 0 0 0
40350 - 0 1 0
40361 - 0 1 1
4037- 0 1 0 0
4038- 1 1 0 1
4039- - 1 1 0
4040- - 1 1 0
4041.names locations<*1*><1> locations<*2*><1> _n42e<1> _n42e<0> _n42f<1>
4042- - 0 0 0
4043- - 0 0 0
40440 - 0 1 0
40451 - 0 1 1
4046- 0 1 0 0
4047- 1 1 0 1
4048- - 1 1 0
4049- - 1 1 0
4050.names _n430<0>
40511
4052.names _n430<1>
40531
4054.names _n431<0>
40551
4056.names _n431<1>
40570
4058# 3 - 1
4059.names _n433
40600
4061.names _n430<0> _n431<0> _n433 _n432<0>
4062.def 0
40630 0 1 1
40640 1 0 1
40651 0 0 1
40661 1 1 1
4067# carry/borrow
4068.names _n435
40690
4070.names _n430<0> _n431<0> _n435 _n434
4071.def 0
40720 0 1 1
40730 1 0 1
40740 1 1 1
40751 1 1 1
4076.names _n430<1> _n431<1> _n434 _n432<1>
4077.def 0
40780 0 1 1
40790 1 0 1
40801 0 0 1
40811 1 1 1
4082# locations [2] != 3 - 1
4083.names _n42f<0> _n432<0> _n436<0>
4084.def 0
40850 1 1
40861 0 1
4087.names _n42f<1> _n432<1> _n436<1>
4088.def 0
40890 1 1
40901 0 1
4091.names _n436<0> _n436<1> _n437
4092.def 1
40930 0 0
4094.names _n437 _n42d
4095- =_n437
4096.names _n439<0>
40970
4098.names _n439<1>
40991
4100.mv _n43a 2 UP DOWN
4101.names direction<*1*> direction<*2*> _n439<1> _n439<0> _n43a
4102- - 0 0 UP
4103- - 0 1 =direction<*1*>
4104- - 1 0 =direction<*2*>
4105- - 1 1 UP
4106.mv _n43b 2 UP DOWN
4107.names _n43b
4108UP
4109# direction [2] == 0
4110.names _n43a _n43b _n438
4111.def 0
4112- =_n43a 1
4113# (locations [2] != 3 - 1) && (direction [2] == 0)
4114.names _n42d _n438 _n43c
4115.def 0
41161 1 1
4117.names _n43e<0>
41180
4119.names _n43e<1>
41201
4121.names locations<*1*><0> locations<*2*><0> _n43e<1> _n43e<0> _n43f<0>
4122- - 0 0 0
4123- - 0 0 0
41240 - 0 1 0
41251 - 0 1 1
4126- 0 1 0 0
4127- 1 1 0 1
4128- - 1 1 0
4129- - 1 1 0
4130.names locations<*1*><1> locations<*2*><1> _n43e<1> _n43e<0> _n43f<1>
4131- - 0 0 0
4132- - 0 0 0
41330 - 0 1 0
41341 - 0 1 1
4135- 0 1 0 0
4136- 1 1 0 1
4137- - 1 1 0
4138- - 1 1 0
4139.names _n440<0>
41401
4141.names _n440<1>
41420
4143# locations [2] + 1
4144.names _n442
41450
4146.names _n43f<0> _n440<0> _n442 _n441<0>
4147.def 0
41480 0 1 1
41490 1 0 1
41501 0 0 1
41511 1 1 1
4152# carry/borrow
4153.names _n444
41540
4155.names _n43f<0> _n440<0> _n444 _n443
4156.def 0
41570 1 1 1
41581 0 1 1
41591 1 0 1
41601 1 1 1
4161.names _n43f<1> _n440<1> _n443 _n441<1>
4162.def 0
41630 0 1 1
41640 1 0 1
41651 0 0 1
41661 1 1 1
4167.mv _n445 2 ON OFF
4168.names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n441<1> _n441<0> _n445
4169- - - 0 0 =up_floor_buttons<*0*>
4170- - - 0 1 =up_floor_buttons<*1*>
4171- - - 1 0 =up_floor_buttons<*2*>
4172- - - 1 1 ON
4173.mv _n446 2 ON OFF
4174.names _n446
4175ON
4176# up_floor_buttons [locations [2] + 1] == 0
4177.names _n445 _n446 _n43d
4178.def 0
4179- =_n445 1
4180.names _n447<2>
41811
4182.names _n448<2>
41830
4184# (up_floor_buttons [locations [2] + 1] == 0) ? 1 : 0
4185.names _n447<2> _n448<2> _n43d _n449<2>
41860 - 1 0
41871 - 1 1
4188- 0 0 0
4189- 1 0 1
4190.names _n44c<0>
41910
4192.names _n44c<1>
41931
4194.names locations<*1*><0> locations<*2*><0> _n44c<1> _n44c<0> _n44d<0>
4195- - 0 0 0
4196- - 0 0 0
41970 - 0 1 0
41981 - 0 1 1
4199- 0 1 0 0
4200- 1 1 0 1
4201- - 1 1 0
4202- - 1 1 0
4203.names locations<*1*><1> locations<*2*><1> _n44c<1> _n44c<0> _n44d<1>
4204- - 0 0 0
4205- - 0 0 0
42060 - 0 1 0
42071 - 0 1 1
4208- 0 1 0 0
4209- 1 1 0 1
4210- - 1 1 0
4211- - 1 1 0
4212.names _n44e<0>
42130
4214.names _n44e<1>
42150
4216# locations [2] != 0
4217.names _n44d<0> _n44e<0> _n44f<0>
4218.def 0
42190 1 1
42201 0 1
4221.names _n44d<1> _n44e<1> _n44f<1>
4222.def 0
42230 1 1
42241 0 1
4225.names _n44f<0> _n44f<1> _n450
4226.def 1
42270 0 0
4228.names _n450 _n44b
4229- =_n450
4230.names _n452<0>
42310
4232.names _n452<1>
42331
4234.mv _n453 2 UP DOWN
4235.names direction<*1*> direction<*2*> _n452<1> _n452<0> _n453
4236- - 0 0 UP
4237- - 0 1 =direction<*1*>
4238- - 1 0 =direction<*2*>
4239- - 1 1 UP
4240.mv _n454 2 UP DOWN
4241.names _n454
4242DOWN
4243# direction [2] == 1
4244.names _n453 _n454 _n451
4245.def 0
4246- =_n453 1
4247# (locations [2] != 0) && (direction [2] == 1)
4248.names _n44b _n451 _n455
4249.def 0
42501 1 1
4251.names _n457<0>
42520
4253.names _n457<1>
42541
4255.names locations<*1*><0> locations<*2*><0> _n457<1> _n457<0> _n458<0>
4256- - 0 0 0
4257- - 0 0 0
42580 - 0 1 0
42591 - 0 1 1
4260- 0 1 0 0
4261- 1 1 0 1
4262- - 1 1 0
4263- - 1 1 0
4264.names locations<*1*><1> locations<*2*><1> _n457<1> _n457<0> _n458<1>
4265- - 0 0 0
4266- - 0 0 0
42670 - 0 1 0
42681 - 0 1 1
4269- 0 1 0 0
4270- 1 1 0 1
4271- - 1 1 0
4272- - 1 1 0
4273.names _n459<0>
42741
4275.names _n459<1>
42760
4277# locations [2] - 1
4278.names _n45b
42790
4280.names _n458<0> _n459<0> _n45b _n45a<0>
4281.def 0
42820 0 1 1
42830 1 0 1
42841 0 0 1
42851 1 1 1
4286# carry/borrow
4287.names _n45d
42880
4289.names _n458<0> _n459<0> _n45d _n45c
4290.def 0
42910 0 1 1
42920 1 0 1
42930 1 1 1
42941 1 1 1
4295.names _n458<1> _n459<1> _n45c _n45a<1>
4296.def 0
42970 0 1 1
42980 1 0 1
42991 0 0 1
43001 1 1 1
4301.mv _n45e 2 ON OFF
4302.names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n45a<1> _n45a<0> _n45e
4303- - - 0 0 =down_floor_buttons<*0*>
4304- - - 0 1 =down_floor_buttons<*1*>
4305- - - 1 0 =down_floor_buttons<*2*>
4306- - - 1 1 ON
4307.mv _n45f 2 ON OFF
4308.names _n45f
4309ON
4310# down_floor_buttons [locations [2] - 1] == 0
4311.names _n45e _n45f _n456
4312.def 0
4313- =_n45e 1
4314.names _n460<2>
43151
4316.names _n461<2>
43170
4318# (down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0
4319.names _n460<2> _n461<2> _n456 _n462<2>
43200 - 1 0
43211 - 1 1
4322- 0 0 0
4323- 1 0 1
4324.names _n464<2>
43250
4326# ((locations [2] != 0) && (direction [2] == 1)) ? ((down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0) : 0
4327.names _n462<2> _n464<2> _n455 _n465<2>
43280 - 1 0
43291 - 1 1
4330- 0 0 0
4331- 1 0 1
4332# ((locations [2] != 3 - 1) && (direction [2] == 0)) ? ((up_floor_buttons [locations [2] + 1] == 0) ? 1 : 0) : (((locations [2] != 0) && (direction [2] == 1)) ? ((down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0) : 0)
4333.names _n449<2> _n465<2> _n43c _n467<2>
43340 - 1 0
43351 - 1 1
4336- 0 0 0
4337- 1 0 1
4338.names _n467<2> stop_next$raw_n42c<2>
4339- =_n467<2>
4340# assign random_up [0] = $NDset ( 0,1 )
4341.names -> random_up<0>
43420
43431
4344# assign random_down [0] = $NDset ( 0,1 )
4345.names -> random_down<0>
43460
43471
4348# assign random_up [1] = $NDset ( 0,1 )
4349.names -> random_up<1>
43500
43511
4352# assign random_down [1] = $NDset ( 0,1 )
4353.names -> random_down<1>
43540
43551
4356# assign random_up [2] = $NDset ( 0,1 )
4357.names -> random_up<2>
43580
43591
4360# assign random_down [2] = $NDset ( 0,1 )
4361.names -> random_down<2>
43620
43631
4364.names random_up<0> _n476
4365.def 1
43660 0
4367.names _n476 _n475
4368- =_n476
4369# up_floor_buttons [0] = 0
4370.mv up_floor_buttons$random_up_n477$true<*0*> 2 ON OFF
4371.mv up_floor_buttons$random_up_n477$true<*1*> 2 ON OFF
4372.mv up_floor_buttons$random_up_n477$true<*2*> 2 ON OFF
4373.mv _n478 2 ON OFF
4374.names _n479<0>
43750
4376.names _n479<1>
43770
4378.names _n47a<0>
43790
4380.names _n47a<1>
43810
4382.names _n47a<0> _n479<0> _n47c<0>
4383.def 0
43840 1 1
43851 0 1
4386.names _n47a<1> _n479<1> _n47c<1>
4387.def 0
43880 1 1
43891 0 1
4390.names _n47c<0> _n47c<1> _n47d
4391.def 1
43920 0 0
4393.names _n47d _n47b
43940 1 
43951 0 
4396.names _n478 up_floor_buttons<*0*> _n47b up_floor_buttons$random_up_n477$true<*0*>
4397- - 0 =up_floor_buttons<*0*>
4398- - 1 =_n478
4399.names _n47e<0>
44001
4401.names _n47e<1>
44020
4403.names _n47e<0> _n479<0> _n480<0>
4404.def 0
44050 1 1
44061 0 1
4407.names _n47e<1> _n479<1> _n480<1>
4408.def 0
44090 1 1
44101 0 1
4411.names _n480<0> _n480<1> _n481
4412.def 1
44130 0 0
4414.names _n481 _n47f
44150 1 
44161 0 
4417.names _n478 up_floor_buttons<*1*> _n47f up_floor_buttons$random_up_n477$true<*1*>
4418- - 0 =up_floor_buttons<*1*>
4419- - 1 =_n478
4420.names _n482<0>
44210
4422.names _n482<1>
44231
4424.names _n482<0> _n479<0> _n484<0>
4425.def 0
44260 1 1
44271 0 1
4428.names _n482<1> _n479<1> _n484<1>
4429.def 0
44300 1 1
44311 0 1
4432.names _n484<0> _n484<1> _n485
4433.def 1
44340 0 0
4435.names _n485 _n483
44360 1 
44371 0 
4438.names _n478 up_floor_buttons<*2*> _n483 up_floor_buttons$random_up_n477$true<*2*>
4439- - 0 =up_floor_buttons<*2*>
4440- - 1 =_n478
4441.names _n478
4442ON
4443# if/else (random_up [0])
4444.mv up_floor_buttons$random_up$raw_n488<*0*> 2 ON OFF
4445.mv up_floor_buttons$random_up$raw_n488<*1*> 2 ON OFF
4446.mv up_floor_buttons$random_up$raw_n488<*2*> 2 ON OFF
4447.names random_up<0> _n489
4448.def 1
44490 0
4450.names up_floor_buttons$random_up_n477$true<*0*> up_floor_buttons<*0*> _n489 up_floor_buttons$random_up$raw_n488<*0*>
4451- - 0 =up_floor_buttons<*0*>
4452- - 1 =up_floor_buttons$random_up_n477$true<*0*>
4453.names up_floor_buttons$random_up_n477$true<*1*> up_floor_buttons<*1*> _n489 up_floor_buttons$random_up$raw_n488<*1*>
4454- - 0 =up_floor_buttons<*1*>
4455- - 1 =up_floor_buttons$random_up_n477$true<*1*>
4456.names up_floor_buttons$random_up_n477$true<*2*> up_floor_buttons<*2*> _n489 up_floor_buttons$random_up$raw_n488<*2*>
4457- - 0 =up_floor_buttons<*2*>
4458- - 1 =up_floor_buttons$random_up_n477$true<*2*>
4459.names random_down<0> _n48b
4460.def 1
44610 0
4462.names _n48b _n48a
4463- =_n48b
4464# down_floor_buttons [0] = 0
4465.mv down_floor_buttons$random_down_n48c$true<*0*> 2 ON OFF
4466.mv down_floor_buttons$random_down_n48c$true<*1*> 2 ON OFF
4467.mv down_floor_buttons$random_down_n48c$true<*2*> 2 ON OFF
4468.mv _n48d 2 ON OFF
4469.names _n48e<0>
44700
4471.names _n48e<1>
44720
4473.names _n48f<0>
44740
4475.names _n48f<1>
44760
4477.names _n48f<0> _n48e<0> _n491<0>
4478.def 0
44790 1 1
44801 0 1
4481.names _n48f<1> _n48e<1> _n491<1>
4482.def 0
44830 1 1
44841 0 1
4485.names _n491<0> _n491<1> _n492
4486.def 1
44870 0 0
4488.names _n492 _n490
44890 1 
44901 0 
4491.names _n48d down_floor_buttons<*0*> _n490 down_floor_buttons$random_down_n48c$true<*0*>
4492- - 0 =down_floor_buttons<*0*>
4493- - 1 =_n48d
4494.names _n493<0>
44951
4496.names _n493<1>
44970
4498.names _n493<0> _n48e<0> _n495<0>
4499.def 0
45000 1 1
45011 0 1
4502.names _n493<1> _n48e<1> _n495<1>
4503.def 0
45040 1 1
45051 0 1
4506.names _n495<0> _n495<1> _n496
4507.def 1
45080 0 0
4509.names _n496 _n494
45100 1 
45111 0 
4512.names _n48d down_floor_buttons<*1*> _n494 down_floor_buttons$random_down_n48c$true<*1*>
4513- - 0 =down_floor_buttons<*1*>
4514- - 1 =_n48d
4515.names _n497<0>
45160
4517.names _n497<1>
45181
4519.names _n497<0> _n48e<0> _n499<0>
4520.def 0
45210 1 1
45221 0 1
4523.names _n497<1> _n48e<1> _n499<1>
4524.def 0
45250 1 1
45261 0 1
4527.names _n499<0> _n499<1> _n49a
4528.def 1
45290 0 0
4530.names _n49a _n498
45310 1 
45321 0 
4533.names _n48d down_floor_buttons<*2*> _n498 down_floor_buttons$random_down_n48c$true<*2*>
4534- - 0 =down_floor_buttons<*2*>
4535- - 1 =_n48d
4536.names _n48d
4537ON
4538# if/else (random_down [0])
4539.mv down_floor_buttons$random_down$raw_n49f<*0*> 2 ON OFF
4540.mv down_floor_buttons$random_down$raw_n49f<*1*> 2 ON OFF
4541.mv down_floor_buttons$random_down$raw_n49f<*2*> 2 ON OFF
4542.names random_down<0> _n4a0
4543.def 1
45440 0
4545.names down_floor_buttons$random_down_n48c$true<*0*> down_floor_buttons<*0*> _n4a0 down_floor_buttons$random_down$raw_n49f<*0*>
4546- - 0 =down_floor_buttons<*0*>
4547- - 1 =down_floor_buttons$random_down_n48c$true<*0*>
4548.names down_floor_buttons$random_down_n48c$true<*1*> down_floor_buttons<*1*> _n4a0 down_floor_buttons$random_down$raw_n49f<*1*>
4549- - 0 =down_floor_buttons<*1*>
4550- - 1 =down_floor_buttons$random_down_n48c$true<*1*>
4551.names down_floor_buttons$random_down_n48c$true<*2*> down_floor_buttons<*2*> _n4a0 down_floor_buttons$random_down$raw_n49f<*2*>
4552- - 0 =down_floor_buttons<*2*>
4553- - 1 =down_floor_buttons$random_down_n48c$true<*2*>
4554.names random_up<1> _n4a4
4555.def 1
45560 0
4557.names _n4a4 _n4a3
4558- =_n4a4
4559# up_floor_buttons [1] = 0
4560.mv up_floor_buttons$random_up_n4a5$true<*0*> 2 ON OFF
4561.mv up_floor_buttons$random_up_n4a5$true<*1*> 2 ON OFF
4562.mv up_floor_buttons$random_up_n4a5$true<*2*> 2 ON OFF
4563.mv _n4a6 2 ON OFF
4564.names _n4a7<0>
45651
4566.names _n4a7<1>
45670
4568.names _n4a8<0>
45690
4570.names _n4a8<1>
45710
4572.names _n4a8<0> _n4a7<0> _n4aa<0>
4573.def 0
45740 1 1
45751 0 1
4576.names _n4a8<1> _n4a7<1> _n4aa<1>
4577.def 0
45780 1 1
45791 0 1
4580.names _n4aa<0> _n4aa<1> _n4ab
4581.def 1
45820 0 0
4583.names _n4ab _n4a9
45840 1 
45851 0 
4586.names _n4a6 up_floor_buttons$random_up$raw_n488<*0*> _n4a9 up_floor_buttons$random_up_n4a5$true<*0*>
4587- - 0 =up_floor_buttons$random_up$raw_n488<*0*>
4588- - 1 =_n4a6
4589.names _n4ac<0>
45901
4591.names _n4ac<1>
45920
4593.names _n4ac<0> _n4a7<0> _n4ae<0>
4594.def 0
45950 1 1
45961 0 1
4597.names _n4ac<1> _n4a7<1> _n4ae<1>
4598.def 0
45990 1 1
46001 0 1
4601.names _n4ae<0> _n4ae<1> _n4af
4602.def 1
46030 0 0
4604.names _n4af _n4ad
46050 1 
46061 0 
4607.names _n4a6 up_floor_buttons$random_up$raw_n488<*1*> _n4ad up_floor_buttons$random_up_n4a5$true<*1*>
4608- - 0 =up_floor_buttons$random_up$raw_n488<*1*>
4609- - 1 =_n4a6
4610.names _n4b0<0>
46110
4612.names _n4b0<1>
46131
4614.names _n4b0<0> _n4a7<0> _n4b2<0>
4615.def 0
46160 1 1
46171 0 1
4618.names _n4b0<1> _n4a7<1> _n4b2<1>
4619.def 0
46200 1 1
46211 0 1
4622.names _n4b2<0> _n4b2<1> _n4b3
4623.def 1
46240 0 0
4625.names _n4b3 _n4b1
46260 1 
46271 0 
4628.names _n4a6 up_floor_buttons$random_up$raw_n488<*2*> _n4b1 up_floor_buttons$random_up_n4a5$true<*2*>
4629- - 0 =up_floor_buttons$random_up$raw_n488<*2*>
4630- - 1 =_n4a6
4631.names _n4a6
4632ON
4633# if/else (random_up [1])
4634.mv up_floor_buttons$random_up$raw_n4b5<*0*> 2 ON OFF
4635.mv up_floor_buttons$random_up$raw_n4b5<*1*> 2 ON OFF
4636.mv up_floor_buttons$random_up$raw_n4b5<*2*> 2 ON OFF
4637.names random_up<1> _n4b6
4638.def 1
46390 0
4640.names up_floor_buttons$random_up_n4a5$true<*0*> up_floor_buttons$random_up$raw_n488<*0*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*0*>
4641- - 0 =up_floor_buttons$random_up$raw_n488<*0*>
4642- - 1 =up_floor_buttons$random_up_n4a5$true<*0*>
4643.names up_floor_buttons$random_up_n4a5$true<*1*> up_floor_buttons$random_up$raw_n488<*1*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*1*>
4644- - 0 =up_floor_buttons$random_up$raw_n488<*1*>
4645- - 1 =up_floor_buttons$random_up_n4a5$true<*1*>
4646.names up_floor_buttons$random_up_n4a5$true<*2*> up_floor_buttons$random_up$raw_n488<*2*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*2*>
4647- - 0 =up_floor_buttons$random_up$raw_n488<*2*>
4648- - 1 =up_floor_buttons$random_up_n4a5$true<*2*>
4649.names random_down<1> _n4be
4650.def 1
46510 0
4652.names _n4be _n4bd
4653- =_n4be
4654# down_floor_buttons [1] = 0
4655.mv down_floor_buttons$random_down_n4bf$true<*0*> 2 ON OFF
4656.mv down_floor_buttons$random_down_n4bf$true<*1*> 2 ON OFF
4657.mv down_floor_buttons$random_down_n4bf$true<*2*> 2 ON OFF
4658.mv _n4c0 2 ON OFF
4659.names _n4c1<0>
46601
4661.names _n4c1<1>
46620
4663.names _n4c2<0>
46640
4665.names _n4c2<1>
46660
4667.names _n4c2<0> _n4c1<0> _n4c4<0>
4668.def 0
46690 1 1
46701 0 1
4671.names _n4c2<1> _n4c1<1> _n4c4<1>
4672.def 0
46730 1 1
46741 0 1
4675.names _n4c4<0> _n4c4<1> _n4c5
4676.def 1
46770 0 0
4678.names _n4c5 _n4c3
46790 1 
46801 0 
4681.names _n4c0 down_floor_buttons$random_down$raw_n49f<*0*> _n4c3 down_floor_buttons$random_down_n4bf$true<*0*>
4682- - 0 =down_floor_buttons$random_down$raw_n49f<*0*>
4683- - 1 =_n4c0
4684.names _n4c6<0>
46851
4686.names _n4c6<1>
46870
4688.names _n4c6<0> _n4c1<0> _n4c8<0>
4689.def 0
46900 1 1
46911 0 1
4692.names _n4c6<1> _n4c1<1> _n4c8<1>
4693.def 0
46940 1 1
46951 0 1
4696.names _n4c8<0> _n4c8<1> _n4c9
4697.def 1
46980 0 0
4699.names _n4c9 _n4c7
47000 1 
47011 0 
4702.names _n4c0 down_floor_buttons$random_down$raw_n49f<*1*> _n4c7 down_floor_buttons$random_down_n4bf$true<*1*>
4703- - 0 =down_floor_buttons$random_down$raw_n49f<*1*>
4704- - 1 =_n4c0
4705.names _n4ca<0>
47060
4707.names _n4ca<1>
47081
4709.names _n4ca<0> _n4c1<0> _n4cc<0>
4710.def 0
47110 1 1
47121 0 1
4713.names _n4ca<1> _n4c1<1> _n4cc<1>
4714.def 0
47150 1 1
47161 0 1
4717.names _n4cc<0> _n4cc<1> _n4cd
4718.def 1
47190 0 0
4720.names _n4cd _n4cb
47210 1 
47221 0 
4723.names _n4c0 down_floor_buttons$random_down$raw_n49f<*2*> _n4cb down_floor_buttons$random_down_n4bf$true<*2*>
4724- - 0 =down_floor_buttons$random_down$raw_n49f<*2*>
4725- - 1 =_n4c0
4726.names _n4c0
4727ON
4728# if/else (random_down [1])
4729.mv down_floor_buttons$random_down$raw_n4ce<*0*> 2 ON OFF
4730.mv down_floor_buttons$random_down$raw_n4ce<*1*> 2 ON OFF
4731.mv down_floor_buttons$random_down$raw_n4ce<*2*> 2 ON OFF
4732.names random_down<1> _n4cf
4733.def 1
47340 0
4735.names down_floor_buttons$random_down_n4bf$true<*0*> down_floor_buttons$random_down$raw_n49f<*0*> _n4cf down_floor_buttons$random_down$raw_n4ce<*0*>
4736- - 0 =down_floor_buttons$random_down$raw_n49f<*0*>
4737- - 1 =down_floor_buttons$random_down_n4bf$true<*0*>
4738.names down_floor_buttons$random_down_n4bf$true<*1*> down_floor_buttons$random_down$raw_n49f<*1*> _n4cf down_floor_buttons$random_down$raw_n4ce<*1*>
4739- - 0 =down_floor_buttons$random_down$raw_n49f<*1*>
4740- - 1 =down_floor_buttons$random_down_n4bf$true<*1*>
4741.names down_floor_buttons$random_down_n4bf$true<*2*> down_floor_buttons$random_down$raw_n49f<*2*> _n4cf down_floor_buttons$random_down$raw_n4ce<*2*>
4742- - 0 =down_floor_buttons$random_down$raw_n49f<*2*>
4743- - 1 =down_floor_buttons$random_down_n4bf$true<*2*>
4744.names random_up<2> _n4d8
4745.def 1
47460 0
4747.names _n4d8 _n4d7
4748- =_n4d8
4749# up_floor_buttons [2] = 0
4750.mv up_floor_buttons$random_up_n4d9$true<*0*> 2 ON OFF
4751.mv up_floor_buttons$random_up_n4d9$true<*1*> 2 ON OFF
4752.mv up_floor_buttons$random_up_n4d9$true<*2*> 2 ON OFF
4753.mv _n4da 2 ON OFF
4754.names _n4db<0>
47550
4756.names _n4db<1>
47571
4758.names _n4dc<0>
47590
4760.names _n4dc<1>
47610
4762.names _n4dc<0> _n4db<0> _n4de<0>
4763.def 0
47640 1 1
47651 0 1
4766.names _n4dc<1> _n4db<1> _n4de<1>
4767.def 0
47680 1 1
47691 0 1
4770.names _n4de<0> _n4de<1> _n4df
4771.def 1
47720 0 0
4773.names _n4df _n4dd
47740 1 
47751 0 
4776.names _n4da up_floor_buttons$random_up$raw_n4b5<*0*> _n4dd up_floor_buttons$random_up_n4d9$true<*0*>
4777- - 0 =up_floor_buttons$random_up$raw_n4b5<*0*>
4778- - 1 =_n4da
4779.names _n4e0<0>
47801
4781.names _n4e0<1>
47820
4783.names _n4e0<0> _n4db<0> _n4e2<0>
4784.def 0
47850 1 1
47861 0 1
4787.names _n4e0<1> _n4db<1> _n4e2<1>
4788.def 0
47890 1 1
47901 0 1
4791.names _n4e2<0> _n4e2<1> _n4e3
4792.def 1
47930 0 0
4794.names _n4e3 _n4e1
47950 1 
47961 0 
4797.names _n4da up_floor_buttons$random_up$raw_n4b5<*1*> _n4e1 up_floor_buttons$random_up_n4d9$true<*1*>
4798- - 0 =up_floor_buttons$random_up$raw_n4b5<*1*>
4799- - 1 =_n4da
4800.names _n4e4<0>
48010
4802.names _n4e4<1>
48031
4804.names _n4e4<0> _n4db<0> _n4e6<0>
4805.def 0
48060 1 1
48071 0 1
4808.names _n4e4<1> _n4db<1> _n4e6<1>
4809.def 0
48100 1 1
48111 0 1
4812.names _n4e6<0> _n4e6<1> _n4e7
4813.def 1
48140 0 0
4815.names _n4e7 _n4e5
48160 1 
48171 0 
4818.names _n4da up_floor_buttons$random_up$raw_n4b5<*2*> _n4e5 up_floor_buttons$random_up_n4d9$true<*2*>
4819- - 0 =up_floor_buttons$random_up$raw_n4b5<*2*>
4820- - 1 =_n4da
4821.names _n4da
4822ON
4823# if/else (random_up [2])
4824.mv up_floor_buttons$random_up$raw_n4e9<*0*> 2 ON OFF
4825.mv up_floor_buttons$random_up$raw_n4e9<*1*> 2 ON OFF
4826.mv up_floor_buttons$random_up$raw_n4e9<*2*> 2 ON OFF
4827.names random_up<2> _n4ea
4828.def 1
48290 0
4830.names up_floor_buttons$random_up_n4d9$true<*0*> up_floor_buttons$random_up$raw_n4b5<*0*> _n4ea up_floor_buttons$random_up$raw_n4e9<*0*>
4831- - 0 =up_floor_buttons$random_up$raw_n4b5<*0*>
4832- - 1 =up_floor_buttons$random_up_n4d9$true<*0*>
4833.names up_floor_buttons$random_up_n4d9$true<*1*> up_floor_buttons$random_up$raw_n4b5<*1*> _n4ea up_floor_buttons$random_up$raw_n4e9<*1*>
4834- - 0 =up_floor_buttons$random_up$raw_n4b5<*1*>
4835- - 1 =up_floor_buttons$random_up_n4d9$true<*1*>
4836.names up_floor_buttons$random_up_n4d9$true<*2*> up_floor_buttons$random_up$raw_n4b5<*2*> _n4ea up_floor_buttons$random_up$raw_n4e9<*2*>
4837- - 0 =up_floor_buttons$random_up$raw_n4b5<*2*>
4838- - 1 =up_floor_buttons$random_up_n4d9$true<*2*>
4839.names random_down<2> _n4f2
4840.def 1
48410 0
4842.names _n4f2 _n4f1
4843- =_n4f2
4844# down_floor_buttons [2] = 0
4845.mv down_floor_buttons$random_down_n4f3$true<*0*> 2 ON OFF
4846.mv down_floor_buttons$random_down_n4f3$true<*1*> 2 ON OFF
4847.mv down_floor_buttons$random_down_n4f3$true<*2*> 2 ON OFF
4848.mv _n4f4 2 ON OFF
4849.names _n4f5<0>
48500
4851.names _n4f5<1>
48521
4853.names _n4f6<0>
48540
4855.names _n4f6<1>
48560
4857.names _n4f6<0> _n4f5<0> _n4f8<0>
4858.def 0
48590 1 1
48601 0 1
4861.names _n4f6<1> _n4f5<1> _n4f8<1>
4862.def 0
48630 1 1
48641 0 1
4865.names _n4f8<0> _n4f8<1> _n4f9
4866.def 1
48670 0 0
4868.names _n4f9 _n4f7
48690 1 
48701 0 
4871.names _n4f4 down_floor_buttons$random_down$raw_n4ce<*0*> _n4f7 down_floor_buttons$random_down_n4f3$true<*0*>
4872- - 0 =down_floor_buttons$random_down$raw_n4ce<*0*>
4873- - 1 =_n4f4
4874.names _n4fa<0>
48751
4876.names _n4fa<1>
48770
4878.names _n4fa<0> _n4f5<0> _n4fc<0>
4879.def 0
48800 1 1
48811 0 1
4882.names _n4fa<1> _n4f5<1> _n4fc<1>
4883.def 0
48840 1 1
48851 0 1
4886.names _n4fc<0> _n4fc<1> _n4fd
4887.def 1
48880 0 0
4889.names _n4fd _n4fb
48900 1 
48911 0 
4892.names _n4f4 down_floor_buttons$random_down$raw_n4ce<*1*> _n4fb down_floor_buttons$random_down_n4f3$true<*1*>
4893- - 0 =down_floor_buttons$random_down$raw_n4ce<*1*>
4894- - 1 =_n4f4
4895.names _n4fe<0>
48960
4897.names _n4fe<1>
48981
4899.names _n4fe<0> _n4f5<0> _n500<0>
4900.def 0
49010 1 1
49021 0 1
4903.names _n4fe<1> _n4f5<1> _n500<1>
4904.def 0
49050 1 1
49061 0 1
4907.names _n500<0> _n500<1> _n501
4908.def 1
49090 0 0
4910.names _n501 _n4ff
49110 1 
49121 0 
4913.names _n4f4 down_floor_buttons$random_down$raw_n4ce<*2*> _n4ff down_floor_buttons$random_down_n4f3$true<*2*>
4914- - 0 =down_floor_buttons$random_down$raw_n4ce<*2*>
4915- - 1 =_n4f4
4916.names _n4f4
4917ON
4918# if/else (random_down [2])
4919.mv down_floor_buttons$random_down$raw_n502<*0*> 2 ON OFF
4920.mv down_floor_buttons$random_down$raw_n502<*1*> 2 ON OFF
4921.mv down_floor_buttons$random_down$raw_n502<*2*> 2 ON OFF
4922.names random_down<2> _n503
4923.def 1
49240 0
4925.names down_floor_buttons$random_down_n4f3$true<*0*> down_floor_buttons$random_down$raw_n4ce<*0*> _n503 down_floor_buttons$random_down$raw_n502<*0*>
4926- - 0 =down_floor_buttons$random_down$raw_n4ce<*0*>
4927- - 1 =down_floor_buttons$random_down_n4f3$true<*0*>
4928.names down_floor_buttons$random_down_n4f3$true<*1*> down_floor_buttons$random_down$raw_n4ce<*1*> _n503 down_floor_buttons$random_down$raw_n502<*1*>
4929- - 0 =down_floor_buttons$random_down$raw_n4ce<*1*>
4930- - 1 =down_floor_buttons$random_down_n4f3$true<*1*>
4931.names down_floor_buttons$random_down_n4f3$true<*2*> down_floor_buttons$random_down$raw_n4ce<*2*> _n503 down_floor_buttons$random_down$raw_n502<*2*>
4932- - 0 =down_floor_buttons$random_down$raw_n4ce<*2*>
4933- - 1 =down_floor_buttons$random_down_n4f3$true<*2*>
4934.names _n50c<0>
49351
4936.names _n50c<1>
49370
4938.names locations<*1*><0> locations<*2*><0> _n50c<1> _n50c<0> _n50d<0>
4939- - 0 0 0
4940- - 0 0 0
49410 - 0 1 0
49421 - 0 1 1
4943- 0 1 0 0
4944- 1 1 0 1
4945- - 1 1 0
4946- - 1 1 0
4947.names locations<*1*><1> locations<*2*><1> _n50c<1> _n50c<0> _n50d<1>
4948- - 0 0 0
4949- - 0 0 0
49500 - 0 1 0
49511 - 0 1 1
4952- 0 1 0 0
4953- 1 1 0 1
4954- - 1 1 0
4955- - 1 1 0
4956.names _n50e<0>
49571
4958.names _n50e<1>
49591
4960.names _n50f<0>
49611
4962.names _n50f<1>
49630
4964# 3 - 1
4965.names _n511
49660
4967.names _n50e<0> _n50f<0> _n511 _n510<0>
4968.def 0
49690 0 1 1
49700 1 0 1
49711 0 0 1
49721 1 1 1
4973# carry/borrow
4974.names _n513
49750
4976.names _n50e<0> _n50f<0> _n513 _n512
4977.def 0
49780 0 1 1
49790 1 0 1
49800 1 1 1
49811 1 1 1
4982.names _n50e<1> _n50f<1> _n512 _n510<1>
4983.def 0
49840 0 1 1
49850 1 0 1
49861 0 0 1
49871 1 1 1
4988# locations [1] != 3 - 1
4989.names _n50d<0> _n510<0> _n514<0>
4990.def 0
49910 1 1
49921 0 1
4993.names _n50d<1> _n510<1> _n514<1>
4994.def 0
49950 1 1
49961 0 1
4997.names _n514<0> _n514<1> _n515
4998.def 1
49990 0 0
5000.names _n515 _n50b
5001- =_n515
5002.names _n517<0>
50031
5004.names _n517<1>
50050
5006.mv _n518 2 UP DOWN
5007.names direction<*1*> direction<*2*> _n517<1> _n517<0> _n518
5008- - 0 0 UP
5009- - 0 1 =direction<*1*>
5010- - 1 0 =direction<*2*>
5011- - 1 1 UP
5012.mv _n519 2 UP DOWN
5013.names _n519
5014UP
5015# direction [1] == 0
5016.names _n518 _n519 _n516
5017.def 0
5018- =_n518 1
5019# (locations [1] != 3 - 1) && (direction [1] == 0)
5020.names _n50b _n516 _n51a
5021.def 0
50221 1 1
5023.names _n51a _n51b
5024- =_n51a
5025.names _n51d<0>
50261
5027.names _n51d<1>
50280
5029.names locations<*1*><0> locations<*2*><0> _n51d<1> _n51d<0> _n51e<0>
5030- - 0 0 0
5031- - 0 0 0
50320 - 0 1 0
50331 - 0 1 1
5034- 0 1 0 0
5035- 1 1 0 1
5036- - 1 1 0
5037- - 1 1 0
5038.names locations<*1*><1> locations<*2*><1> _n51d<1> _n51d<0> _n51e<1>
5039- - 0 0 0
5040- - 0 0 0
50410 - 0 1 0
50421 - 0 1 1
5043- 0 1 0 0
5044- 1 1 0 1
5045- - 1 1 0
5046- - 1 1 0
5047.names _n51f<0>
50481
5049.names _n51f<1>
50500
5051# locations [1] + 1
5052.names _n521
50530
5054.names _n51e<0> _n51f<0> _n521 _n520<0>
5055.def 0
50560 0 1 1
50570 1 0 1
50581 0 0 1
50591 1 1 1
5060# carry/borrow
5061.names _n523
50620
5063.names _n51e<0> _n51f<0> _n523 _n522
5064.def 0
50650 1 1 1
50661 0 1 1
50671 1 0 1
50681 1 1 1
5069.names _n51e<1> _n51f<1> _n522 _n520<1>
5070.def 0
50710 0 1 1
50720 1 0 1
50731 0 0 1
50741 1 1 1
5075.mv _n524 2 ON OFF
5076.names up_floor_buttons$random_up$raw_n4e9<*0*> up_floor_buttons$random_up$raw_n4e9<*1*> up_floor_buttons$random_up$raw_n4e9<*2*> _n520<1> _n520<0> _n524
5077- - - 0 0 =up_floor_buttons$random_up$raw_n4e9<*0*>
5078- - - 0 1 =up_floor_buttons$random_up$raw_n4e9<*1*>
5079- - - 1 0 =up_floor_buttons$random_up$raw_n4e9<*2*>
5080- - - 1 1 ON
5081.mv _n525 2 ON OFF
5082.names _n525
5083ON
5084# up_floor_buttons [locations [1] + 1] == 0
5085.names _n524 _n525 _n51c
5086.def 0
5087- =_n524 1
5088.names _n51c _n526
5089- =_n51c
5090# up_floor_buttons [locations [1] + 1] = 1
5091.mv up_floor_buttons$_n51c_n527$true<*0*> 2 ON OFF
5092.mv up_floor_buttons$_n51c_n527$true<*1*> 2 ON OFF
5093.mv up_floor_buttons$_n51c_n527$true<*2*> 2 ON OFF
5094.names _n528<0>
50951
5096.names _n528<1>
50970
5098.names locations<*1*><0> locations<*2*><0> _n528<1> _n528<0> _n529<0>
5099- - 0 0 0
5100- - 0 0 0
51010 - 0 1 0
51021 - 0 1 1
5103- 0 1 0 0
5104- 1 1 0 1
5105- - 1 1 0
5106- - 1 1 0
5107.names locations<*1*><1> locations<*2*><1> _n528<1> _n528<0> _n529<1>
5108- - 0 0 0
5109- - 0 0 0
51100 - 0 1 0
51111 - 0 1 1
5112- 0 1 0 0
5113- 1 1 0 1
5114- - 1 1 0
5115- - 1 1 0
5116.names _n52a<0>
51171
5118.names _n52a<1>
51190
5120# locations [1] + 1
5121.names _n52c
51220
5123.names _n529<0> _n52a<0> _n52c _n52b<0>
5124.def 0
51250 0 1 1
51260 1 0 1
51271 0 0 1
51281 1 1 1
5129# carry/borrow
5130.names _n52e
51310
5132.names _n529<0> _n52a<0> _n52e _n52d
5133.def 0
51340 1 1 1
51351 0 1 1
51361 1 0 1
51371 1 1 1
5138.names _n529<1> _n52a<1> _n52d _n52b<1>
5139.def 0
51400 0 1 1
51410 1 0 1
51421 0 0 1
51431 1 1 1
5144.mv _n52f 2 ON OFF
5145.names _n530<0>
51460
5147.names _n530<1>
51480
5149.names _n530<0> _n52b<0> _n532<0>
5150.def 0
51510 1 1
51521 0 1
5153.names _n530<1> _n52b<1> _n532<1>
5154.def 0
51550 1 1
51561 0 1
5157.names _n532<0> _n532<1> _n533
5158.def 1
51590 0 0
5160.names _n533 _n531
51610 1 
51621 0 
5163.names _n52f up_floor_buttons$random_up$raw_n4e9<*0*> _n531 up_floor_buttons$_n51c_n527$true<*0*>
5164- - 0 =up_floor_buttons$random_up$raw_n4e9<*0*>
5165- - 1 =_n52f
5166.names _n534<0>
51671
5168.names _n534<1>
51690
5170.names _n534<0> _n52b<0> _n536<0>
5171.def 0
51720 1 1
51731 0 1
5174.names _n534<1> _n52b<1> _n536<1>
5175.def 0
51760 1 1
51771 0 1
5178.names _n536<0> _n536<1> _n537
5179.def 1
51800 0 0
5181.names _n537 _n535
51820 1 
51831 0 
5184.names _n52f up_floor_buttons$random_up$raw_n4e9<*1*> _n535 up_floor_buttons$_n51c_n527$true<*1*>
5185- - 0 =up_floor_buttons$random_up$raw_n4e9<*1*>
5186- - 1 =_n52f
5187.names _n538<0>
51880
5189.names _n538<1>
51901
5191.names _n538<0> _n52b<0> _n53a<0>
5192.def 0
51930 1 1
51941 0 1
5195.names _n538<1> _n52b<1> _n53a<1>
5196.def 0
51970 1 1
51981 0 1
5199.names _n53a<0> _n53a<1> _n53b
5200.def 1
52010 0 0
5202.names _n53b _n539
52030 1 
52041 0 
5205.names _n52f up_floor_buttons$random_up$raw_n4e9<*2*> _n539 up_floor_buttons$_n51c_n527$true<*2*>
5206- - 0 =up_floor_buttons$random_up$raw_n4e9<*2*>
5207- - 1 =_n52f
5208.names _n52f
5209OFF
5210# if/else (up_floor_buttons [locations [1] + 1] == 0)
5211.mv up_floor_buttons$_n51c$raw_n53d<*0*> 2 ON OFF
5212.mv up_floor_buttons$_n51c$raw_n53d<*1*> 2 ON OFF
5213.mv up_floor_buttons$_n51c$raw_n53d<*2*> 2 ON OFF
5214.names up_floor_buttons$_n51c_n527$true<*0*> up_floor_buttons$random_up$raw_n4e9<*0*> _n51c up_floor_buttons$_n51c$raw_n53d<*0*>
5215- - 0 =up_floor_buttons$random_up$raw_n4e9<*0*>
5216- - 1 =up_floor_buttons$_n51c_n527$true<*0*>
5217.names up_floor_buttons$_n51c_n527$true<*1*> up_floor_buttons$random_up$raw_n4e9<*1*> _n51c up_floor_buttons$_n51c$raw_n53d<*1*>
5218- - 0 =up_floor_buttons$random_up$raw_n4e9<*1*>
5219- - 1 =up_floor_buttons$_n51c_n527$true<*1*>
5220.names up_floor_buttons$_n51c_n527$true<*2*> up_floor_buttons$random_up$raw_n4e9<*2*> _n51c up_floor_buttons$_n51c$raw_n53d<*2*>
5221- - 0 =up_floor_buttons$random_up$raw_n4e9<*2*>
5222- - 1 =up_floor_buttons$_n51c_n527$true<*2*>
5223# if/else ((locations [1] != 3 - 1) && (direction [1] == 0))
5224.mv up_floor_buttons$_n51a$raw_n545<*0*> 2 ON OFF
5225.mv up_floor_buttons$_n51a$raw_n545<*1*> 2 ON OFF
5226.mv up_floor_buttons$_n51a$raw_n545<*2*> 2 ON OFF
5227.names up_floor_buttons$_n51c$raw_n53d<*0*> up_floor_buttons$random_up$raw_n4e9<*0*> _n51a up_floor_buttons$_n51a$raw_n545<*0*>
5228- - 0 =up_floor_buttons$random_up$raw_n4e9<*0*>
5229- - 1 =up_floor_buttons$_n51c$raw_n53d<*0*>
5230.names up_floor_buttons$_n51c$raw_n53d<*1*> up_floor_buttons$random_up$raw_n4e9<*1*> _n51a up_floor_buttons$_n51a$raw_n545<*1*>
5231- - 0 =up_floor_buttons$random_up$raw_n4e9<*1*>
5232- - 1 =up_floor_buttons$_n51c$raw_n53d<*1*>
5233.names up_floor_buttons$_n51c$raw_n53d<*2*> up_floor_buttons$random_up$raw_n4e9<*2*> _n51a up_floor_buttons$_n51a$raw_n545<*2*>
5234- - 0 =up_floor_buttons$random_up$raw_n4e9<*2*>
5235- - 1 =up_floor_buttons$_n51c$raw_n53d<*2*>
5236.names _n54d<0>
52371
5238.names _n54d<1>
52390
5240.names locations<*1*><0> locations<*2*><0> _n54d<1> _n54d<0> _n54e<0>
5241- - 0 0 0
5242- - 0 0 0
52430 - 0 1 0
52441 - 0 1 1
5245- 0 1 0 0
5246- 1 1 0 1
5247- - 1 1 0
5248- - 1 1 0
5249.names locations<*1*><1> locations<*2*><1> _n54d<1> _n54d<0> _n54e<1>
5250- - 0 0 0
5251- - 0 0 0
52520 - 0 1 0
52531 - 0 1 1
5254- 0 1 0 0
5255- 1 1 0 1
5256- - 1 1 0
5257- - 1 1 0
5258.names _n54f<0>
52590
5260.names _n54f<1>
52610
5262# locations [1] != 0
5263.names _n54e<0> _n54f<0> _n550<0>
5264.def 0
52650 1 1
52661 0 1
5267.names _n54e<1> _n54f<1> _n550<1>
5268.def 0
52690 1 1
52701 0 1
5271.names _n550<0> _n550<1> _n551
5272.def 1
52730 0 0
5274.names _n551 _n54c
5275- =_n551
5276.names _n553<0>
52771
5278.names _n553<1>
52790
5280.mv _n554 2 UP DOWN
5281.names direction<*1*> direction<*2*> _n553<1> _n553<0> _n554
5282- - 0 0 UP
5283- - 0 1 =direction<*1*>
5284- - 1 0 =direction<*2*>
5285- - 1 1 UP
5286.mv _n555 2 UP DOWN
5287.names _n555
5288DOWN
5289# direction [1] == 1
5290.names _n554 _n555 _n552
5291.def 0
5292- =_n554 1
5293# (locations [1] != 0) && (direction [1] == 1)
5294.names _n54c _n552 _n556
5295.def 0
52961 1 1
5297.names _n556 _n557
5298- =_n556
5299.names _n559<0>
53001
5301.names _n559<1>
53020
5303.names locations<*1*><0> locations<*2*><0> _n559<1> _n559<0> _n55a<0>
5304- - 0 0 0
5305- - 0 0 0
53060 - 0 1 0
53071 - 0 1 1
5308- 0 1 0 0
5309- 1 1 0 1
5310- - 1 1 0
5311- - 1 1 0
5312.names locations<*1*><1> locations<*2*><1> _n559<1> _n559<0> _n55a<1>
5313- - 0 0 0
5314- - 0 0 0
53150 - 0 1 0
53161 - 0 1 1
5317- 0 1 0 0
5318- 1 1 0 1
5319- - 1 1 0
5320- - 1 1 0
5321.names _n55b<0>
53221
5323.names _n55b<1>
53240
5325# locations [1] - 1
5326.names _n55d
53270
5328.names _n55a<0> _n55b<0> _n55d _n55c<0>
5329.def 0
53300 0 1 1
53310 1 0 1
53321 0 0 1
53331 1 1 1
5334# carry/borrow
5335.names _n55f
53360
5337.names _n55a<0> _n55b<0> _n55f _n55e
5338.def 0
53390 0 1 1
53400 1 0 1
53410 1 1 1
53421 1 1 1
5343.names _n55a<1> _n55b<1> _n55e _n55c<1>
5344.def 0
53450 0 1 1
53460 1 0 1
53471 0 0 1
53481 1 1 1
5349.mv _n560 2 ON OFF
5350.names down_floor_buttons$random_down$raw_n502<*0*> down_floor_buttons$random_down$raw_n502<*1*> down_floor_buttons$random_down$raw_n502<*2*> _n55c<1> _n55c<0> _n560
5351- - - 0 0 =down_floor_buttons$random_down$raw_n502<*0*>
5352- - - 0 1 =down_floor_buttons$random_down$raw_n502<*1*>
5353- - - 1 0 =down_floor_buttons$random_down$raw_n502<*2*>
5354- - - 1 1 ON
5355.mv _n561 2 ON OFF
5356.names _n561
5357ON
5358# down_floor_buttons [locations [1] - 1] == 0
5359.names _n560 _n561 _n558
5360.def 0
5361- =_n560 1
5362.names _n558 _n562
5363- =_n558
5364# down_floor_buttons [locations [1] - 1] = 1
5365.mv down_floor_buttons$_n558_n563$true<*0*> 2 ON OFF
5366.mv down_floor_buttons$_n558_n563$true<*1*> 2 ON OFF
5367.mv down_floor_buttons$_n558_n563$true<*2*> 2 ON OFF
5368.names _n564<0>
53691
5370.names _n564<1>
53710
5372.names locations<*1*><0> locations<*2*><0> _n564<1> _n564<0> _n565<0>
5373- - 0 0 0
5374- - 0 0 0
53750 - 0 1 0
53761 - 0 1 1
5377- 0 1 0 0
5378- 1 1 0 1
5379- - 1 1 0
5380- - 1 1 0
5381.names locations<*1*><1> locations<*2*><1> _n564<1> _n564<0> _n565<1>
5382- - 0 0 0
5383- - 0 0 0
53840 - 0 1 0
53851 - 0 1 1
5386- 0 1 0 0
5387- 1 1 0 1
5388- - 1 1 0
5389- - 1 1 0
5390.names _n566<0>
53911
5392.names _n566<1>
53930
5394# locations [1] - 1
5395.names _n568
53960
5397.names _n565<0> _n566<0> _n568 _n567<0>
5398.def 0
53990 0 1 1
54000 1 0 1
54011 0 0 1
54021 1 1 1
5403# carry/borrow
5404.names _n56a
54050
5406.names _n565<0> _n566<0> _n56a _n569
5407.def 0
54080 0 1 1
54090 1 0 1
54100 1 1 1
54111 1 1 1
5412.names _n565<1> _n566<1> _n569 _n567<1>
5413.def 0
54140 0 1 1
54150 1 0 1
54161 0 0 1
54171 1 1 1
5418.mv _n56b 2 ON OFF
5419.names _n56c<0>
54200
5421.names _n56c<1>
54220
5423.names _n56c<0> _n567<0> _n56e<0>
5424.def 0
54250 1 1
54261 0 1
5427.names _n56c<1> _n567<1> _n56e<1>
5428.def 0
54290 1 1
54301 0 1
5431.names _n56e<0> _n56e<1> _n56f
5432.def 1
54330 0 0
5434.names _n56f _n56d
54350 1 
54361 0 
5437.names _n56b down_floor_buttons$random_down$raw_n502<*0*> _n56d down_floor_buttons$_n558_n563$true<*0*>
5438- - 0 =down_floor_buttons$random_down$raw_n502<*0*>
5439- - 1 =_n56b
5440.names _n570<0>
54411
5442.names _n570<1>
54430
5444.names _n570<0> _n567<0> _n572<0>
5445.def 0
54460 1 1
54471 0 1
5448.names _n570<1> _n567<1> _n572<1>
5449.def 0
54500 1 1
54511 0 1
5452.names _n572<0> _n572<1> _n573
5453.def 1
54540 0 0
5455.names _n573 _n571
54560 1 
54571 0 
5458.names _n56b down_floor_buttons$random_down$raw_n502<*1*> _n571 down_floor_buttons$_n558_n563$true<*1*>
5459- - 0 =down_floor_buttons$random_down$raw_n502<*1*>
5460- - 1 =_n56b
5461.names _n574<0>
54620
5463.names _n574<1>
54641
5465.names _n574<0> _n567<0> _n576<0>
5466.def 0
54670 1 1
54681 0 1
5469.names _n574<1> _n567<1> _n576<1>
5470.def 0
54710 1 1
54721 0 1
5473.names _n576<0> _n576<1> _n577
5474.def 1
54750 0 0
5476.names _n577 _n575
54770 1 
54781 0 
5479.names _n56b down_floor_buttons$random_down$raw_n502<*2*> _n575 down_floor_buttons$_n558_n563$true<*2*>
5480- - 0 =down_floor_buttons$random_down$raw_n502<*2*>
5481- - 1 =_n56b
5482.names _n56b
5483OFF
5484# if/else (down_floor_buttons [locations [1] - 1] == 0)
5485.mv down_floor_buttons$_n558$raw_n578<*0*> 2 ON OFF
5486.mv down_floor_buttons$_n558$raw_n578<*1*> 2 ON OFF
5487.mv down_floor_buttons$_n558$raw_n578<*2*> 2 ON OFF
5488.names down_floor_buttons$_n558_n563$true<*0*> down_floor_buttons$random_down$raw_n502<*0*> _n558 down_floor_buttons$_n558$raw_n578<*0*>
5489- - 0 =down_floor_buttons$random_down$raw_n502<*0*>
5490- - 1 =down_floor_buttons$_n558_n563$true<*0*>
5491.names down_floor_buttons$_n558_n563$true<*1*> down_floor_buttons$random_down$raw_n502<*1*> _n558 down_floor_buttons$_n558$raw_n578<*1*>
5492- - 0 =down_floor_buttons$random_down$raw_n502<*1*>
5493- - 1 =down_floor_buttons$_n558_n563$true<*1*>
5494.names down_floor_buttons$_n558_n563$true<*2*> down_floor_buttons$random_down$raw_n502<*2*> _n558 down_floor_buttons$_n558$raw_n578<*2*>
5495- - 0 =down_floor_buttons$random_down$raw_n502<*2*>
5496- - 1 =down_floor_buttons$_n558_n563$true<*2*>
5497# if/else ((locations [1] != 0) && (direction [1] == 1))
5498.mv down_floor_buttons$_n556$raw_n580<*0*> 2 ON OFF
5499.mv down_floor_buttons$_n556$raw_n580<*1*> 2 ON OFF
5500.mv down_floor_buttons$_n556$raw_n580<*2*> 2 ON OFF
5501.names down_floor_buttons$_n558$raw_n578<*0*> down_floor_buttons$random_down$raw_n502<*0*> _n556 down_floor_buttons$_n556$raw_n580<*0*>
5502- - 0 =down_floor_buttons$random_down$raw_n502<*0*>
5503- - 1 =down_floor_buttons$_n558$raw_n578<*0*>
5504.names down_floor_buttons$_n558$raw_n578<*1*> down_floor_buttons$random_down$raw_n502<*1*> _n556 down_floor_buttons$_n556$raw_n580<*1*>
5505- - 0 =down_floor_buttons$random_down$raw_n502<*1*>
5506- - 1 =down_floor_buttons$_n558$raw_n578<*1*>
5507.names down_floor_buttons$_n558$raw_n578<*2*> down_floor_buttons$random_down$raw_n502<*2*> _n556 down_floor_buttons$_n556$raw_n580<*2*>
5508- - 0 =down_floor_buttons$random_down$raw_n502<*2*>
5509- - 1 =down_floor_buttons$_n558$raw_n578<*2*>
5510.names _n589<0>
55110
5512.names _n589<1>
55131
5514.names locations<*1*><0> locations<*2*><0> _n589<1> _n589<0> _n58a<0>
5515- - 0 0 0
5516- - 0 0 0
55170 - 0 1 0
55181 - 0 1 1
5519- 0 1 0 0
5520- 1 1 0 1
5521- - 1 1 0
5522- - 1 1 0
5523.names locations<*1*><1> locations<*2*><1> _n589<1> _n589<0> _n58a<1>
5524- - 0 0 0
5525- - 0 0 0
55260 - 0 1 0
55271 - 0 1 1
5528- 0 1 0 0
5529- 1 1 0 1
5530- - 1 1 0
5531- - 1 1 0
5532.names _n58b<0>
55331
5534.names _n58b<1>
55351
5536.names _n58c<0>
55371
5538.names _n58c<1>
55390
5540# 3 - 1
5541.names _n58e
55420
5543.names _n58b<0> _n58c<0> _n58e _n58d<0>
5544.def 0
55450 0 1 1
55460 1 0 1
55471 0 0 1
55481 1 1 1
5549# carry/borrow
5550.names _n590
55510
5552.names _n58b<0> _n58c<0> _n590 _n58f
5553.def 0
55540 0 1 1
55550 1 0 1
55560 1 1 1
55571 1 1 1
5558.names _n58b<1> _n58c<1> _n58f _n58d<1>
5559.def 0
55600 0 1 1
55610 1 0 1
55621 0 0 1
55631 1 1 1
5564# locations [2] != 3 - 1
5565.names _n58a<0> _n58d<0> _n591<0>
5566.def 0
55670 1 1
55681 0 1
5569.names _n58a<1> _n58d<1> _n591<1>
5570.def 0
55710 1 1
55721 0 1
5573.names _n591<0> _n591<1> _n592
5574.def 1
55750 0 0
5576.names _n592 _n588
5577- =_n592
5578.names _n594<0>
55790
5580.names _n594<1>
55811
5582.mv _n595 2 UP DOWN
5583.names direction<*1*> direction<*2*> _n594<1> _n594<0> _n595
5584- - 0 0 UP
5585- - 0 1 =direction<*1*>
5586- - 1 0 =direction<*2*>
5587- - 1 1 UP
5588.mv _n596 2 UP DOWN
5589.names _n596
5590UP
5591# direction [2] == 0
5592.names _n595 _n596 _n593
5593.def 0
5594- =_n595 1
5595# (locations [2] != 3 - 1) && (direction [2] == 0)
5596.names _n588 _n593 _n597
5597.def 0
55981 1 1
5599.names _n597 _n598
5600- =_n597
5601.names _n59a<0>
56020
5603.names _n59a<1>
56041
5605.names locations<*1*><0> locations<*2*><0> _n59a<1> _n59a<0> _n59b<0>
5606- - 0 0 0
5607- - 0 0 0
56080 - 0 1 0
56091 - 0 1 1
5610- 0 1 0 0
5611- 1 1 0 1
5612- - 1 1 0
5613- - 1 1 0
5614.names locations<*1*><1> locations<*2*><1> _n59a<1> _n59a<0> _n59b<1>
5615- - 0 0 0
5616- - 0 0 0
56170 - 0 1 0
56181 - 0 1 1
5619- 0 1 0 0
5620- 1 1 0 1
5621- - 1 1 0
5622- - 1 1 0
5623.names _n59c<0>
56241
5625.names _n59c<1>
56260
5627# locations [2] + 1
5628.names _n59e
56290
5630.names _n59b<0> _n59c<0> _n59e _n59d<0>
5631.def 0
56320 0 1 1
56330 1 0 1
56341 0 0 1
56351 1 1 1
5636# carry/borrow
5637.names _n5a0
56380
5639.names _n59b<0> _n59c<0> _n5a0 _n59f
5640.def 0
56410 1 1 1
56421 0 1 1
56431 1 0 1
56441 1 1 1
5645.names _n59b<1> _n59c<1> _n59f _n59d<1>
5646.def 0
56470 0 1 1
56480 1 0 1
56491 0 0 1
56501 1 1 1
5651.mv _n5a1 2 ON OFF
5652.names up_floor_buttons$_n51a$raw_n545<*0*> up_floor_buttons$_n51a$raw_n545<*1*> up_floor_buttons$_n51a$raw_n545<*2*> _n59d<1> _n59d<0> _n5a1
5653- - - 0 0 =up_floor_buttons$_n51a$raw_n545<*0*>
5654- - - 0 1 =up_floor_buttons$_n51a$raw_n545<*1*>
5655- - - 1 0 =up_floor_buttons$_n51a$raw_n545<*2*>
5656- - - 1 1 ON
5657.mv _n5a2 2 ON OFF
5658.names _n5a2
5659ON
5660# up_floor_buttons [locations [2] + 1] == 0
5661.names _n5a1 _n5a2 _n599
5662.def 0
5663- =_n5a1 1
5664.names _n599 _n5a3
5665- =_n599
5666# up_floor_buttons [locations [2] + 1] = 1
5667.mv up_floor_buttons$_n599_n5a4$true<*0*> 2 ON OFF
5668.mv up_floor_buttons$_n599_n5a4$true<*1*> 2 ON OFF
5669.mv up_floor_buttons$_n599_n5a4$true<*2*> 2 ON OFF
5670.names _n5a5<0>
56710
5672.names _n5a5<1>
56731
5674.names locations<*1*><0> locations<*2*><0> _n5a5<1> _n5a5<0> _n5a6<0>
5675- - 0 0 0
5676- - 0 0 0
56770 - 0 1 0
56781 - 0 1 1
5679- 0 1 0 0
5680- 1 1 0 1
5681- - 1 1 0
5682- - 1 1 0
5683.names locations<*1*><1> locations<*2*><1> _n5a5<1> _n5a5<0> _n5a6<1>
5684- - 0 0 0
5685- - 0 0 0
56860 - 0 1 0
56871 - 0 1 1
5688- 0 1 0 0
5689- 1 1 0 1
5690- - 1 1 0
5691- - 1 1 0
5692.names _n5a7<0>
56931
5694.names _n5a7<1>
56950
5696# locations [2] + 1
5697.names _n5a9
56980
5699.names _n5a6<0> _n5a7<0> _n5a9 _n5a8<0>
5700.def 0
57010 0 1 1
57020 1 0 1
57031 0 0 1
57041 1 1 1
5705# carry/borrow
5706.names _n5ab
57070
5708.names _n5a6<0> _n5a7<0> _n5ab _n5aa
5709.def 0
57100 1 1 1
57111 0 1 1
57121 1 0 1
57131 1 1 1
5714.names _n5a6<1> _n5a7<1> _n5aa _n5a8<1>
5715.def 0
57160 0 1 1
57170 1 0 1
57181 0 0 1
57191 1 1 1
5720.mv _n5ac 2 ON OFF
5721.names _n5ad<0>
57220
5723.names _n5ad<1>
57240
5725.names _n5ad<0> _n5a8<0> _n5af<0>
5726.def 0
57270 1 1
57281 0 1
5729.names _n5ad<1> _n5a8<1> _n5af<1>
5730.def 0
57310 1 1
57321 0 1
5733.names _n5af<0> _n5af<1> _n5b0
5734.def 1
57350 0 0
5736.names _n5b0 _n5ae
57370 1 
57381 0 
5739.names _n5ac up_floor_buttons$_n51a$raw_n545<*0*> _n5ae up_floor_buttons$_n599_n5a4$true<*0*>
5740- - 0 =up_floor_buttons$_n51a$raw_n545<*0*>
5741- - 1 =_n5ac
5742.names _n5b1<0>
57431
5744.names _n5b1<1>
57450
5746.names _n5b1<0> _n5a8<0> _n5b3<0>
5747.def 0
57480 1 1
57491 0 1
5750.names _n5b1<1> _n5a8<1> _n5b3<1>
5751.def 0
57520 1 1
57531 0 1
5754.names _n5b3<0> _n5b3<1> _n5b4
5755.def 1
57560 0 0
5757.names _n5b4 _n5b2
57580 1 
57591 0 
5760.names _n5ac up_floor_buttons$_n51a$raw_n545<*1*> _n5b2 up_floor_buttons$_n599_n5a4$true<*1*>
5761- - 0 =up_floor_buttons$_n51a$raw_n545<*1*>
5762- - 1 =_n5ac
5763.names _n5b5<0>
57640
5765.names _n5b5<1>
57661
5767.names _n5b5<0> _n5a8<0> _n5b7<0>
5768.def 0
57690 1 1
57701 0 1
5771.names _n5b5<1> _n5a8<1> _n5b7<1>
5772.def 0
57730 1 1
57741 0 1
5775.names _n5b7<0> _n5b7<1> _n5b8
5776.def 1
57770 0 0
5778.names _n5b8 _n5b6
57790 1 
57801 0 
5781.names _n5ac up_floor_buttons$_n51a$raw_n545<*2*> _n5b6 up_floor_buttons$_n599_n5a4$true<*2*>
5782- - 0 =up_floor_buttons$_n51a$raw_n545<*2*>
5783- - 1 =_n5ac
5784.names _n5ac
5785OFF
5786# if/else (up_floor_buttons [locations [2] + 1] == 0)
5787.mv up_floor_buttons$_n599$raw_n5ba<*0*> 2 ON OFF
5788.mv up_floor_buttons$_n599$raw_n5ba<*1*> 2 ON OFF
5789.mv up_floor_buttons$_n599$raw_n5ba<*2*> 2 ON OFF
5790.names up_floor_buttons$_n599_n5a4$true<*0*> up_floor_buttons$_n51a$raw_n545<*0*> _n599 up_floor_buttons$_n599$raw_n5ba<*0*>
5791- - 0 =up_floor_buttons$_n51a$raw_n545<*0*>
5792- - 1 =up_floor_buttons$_n599_n5a4$true<*0*>
5793.names up_floor_buttons$_n599_n5a4$true<*1*> up_floor_buttons$_n51a$raw_n545<*1*> _n599 up_floor_buttons$_n599$raw_n5ba<*1*>
5794- - 0 =up_floor_buttons$_n51a$raw_n545<*1*>
5795- - 1 =up_floor_buttons$_n599_n5a4$true<*1*>
5796.names up_floor_buttons$_n599_n5a4$true<*2*> up_floor_buttons$_n51a$raw_n545<*2*> _n599 up_floor_buttons$_n599$raw_n5ba<*2*>
5797- - 0 =up_floor_buttons$_n51a$raw_n545<*2*>
5798- - 1 =up_floor_buttons$_n599_n5a4$true<*2*>
5799# if/else ((locations [2] != 3 - 1) && (direction [2] == 0))
5800.mv up_floor_buttons$_n597$raw_n5c2<*0*> 2 ON OFF
5801.mv up_floor_buttons$_n597$raw_n5c2<*1*> 2 ON OFF
5802.mv up_floor_buttons$_n597$raw_n5c2<*2*> 2 ON OFF
5803.names up_floor_buttons$_n599$raw_n5ba<*0*> up_floor_buttons$_n51a$raw_n545<*0*> _n597 up_floor_buttons$_n597$raw_n5c2<*0*>
5804- - 0 =up_floor_buttons$_n51a$raw_n545<*0*>
5805- - 1 =up_floor_buttons$_n599$raw_n5ba<*0*>
5806.names up_floor_buttons$_n599$raw_n5ba<*1*> up_floor_buttons$_n51a$raw_n545<*1*> _n597 up_floor_buttons$_n597$raw_n5c2<*1*>
5807- - 0 =up_floor_buttons$_n51a$raw_n545<*1*>
5808- - 1 =up_floor_buttons$_n599$raw_n5ba<*1*>
5809.names up_floor_buttons$_n599$raw_n5ba<*2*> up_floor_buttons$_n51a$raw_n545<*2*> _n597 up_floor_buttons$_n597$raw_n5c2<*2*>
5810- - 0 =up_floor_buttons$_n51a$raw_n545<*2*>
5811- - 1 =up_floor_buttons$_n599$raw_n5ba<*2*>
5812.names _n5ca<0>
58130
5814.names _n5ca<1>
58151
5816.names locations<*1*><0> locations<*2*><0> _n5ca<1> _n5ca<0> _n5cb<0>
5817- - 0 0 0
5818- - 0 0 0
58190 - 0 1 0
58201 - 0 1 1
5821- 0 1 0 0
5822- 1 1 0 1
5823- - 1 1 0
5824- - 1 1 0
5825.names locations<*1*><1> locations<*2*><1> _n5ca<1> _n5ca<0> _n5cb<1>
5826- - 0 0 0
5827- - 0 0 0
58280 - 0 1 0
58291 - 0 1 1
5830- 0 1 0 0
5831- 1 1 0 1
5832- - 1 1 0
5833- - 1 1 0
5834.names _n5cc<0>
58350
5836.names _n5cc<1>
58370
5838# locations [2] != 0
5839.names _n5cb<0> _n5cc<0> _n5cd<0>
5840.def 0
58410 1 1
58421 0 1
5843.names _n5cb<1> _n5cc<1> _n5cd<1>
5844.def 0
58450 1 1
58461 0 1
5847.names _n5cd<0> _n5cd<1> _n5ce
5848.def 1
58490 0 0
5850.names _n5ce _n5c9
5851- =_n5ce
5852.names _n5d0<0>
58530
5854.names _n5d0<1>
58551
5856.mv _n5d1 2 UP DOWN
5857.names direction<*1*> direction<*2*> _n5d0<1> _n5d0<0> _n5d1
5858- - 0 0 UP
5859- - 0 1 =direction<*1*>
5860- - 1 0 =direction<*2*>
5861- - 1 1 UP
5862.mv _n5d2 2 UP DOWN
5863.names _n5d2
5864DOWN
5865# direction [2] == 1
5866.names _n5d1 _n5d2 _n5cf
5867.def 0
5868- =_n5d1 1
5869# (locations [2] != 0) && (direction [2] == 1)
5870.names _n5c9 _n5cf _n5d3
5871.def 0
58721 1 1
5873.names _n5d3 _n5d4
5874- =_n5d3
5875.names _n5d6<0>
58760
5877.names _n5d6<1>
58781
5879.names locations<*1*><0> locations<*2*><0> _n5d6<1> _n5d6<0> _n5d7<0>
5880- - 0 0 0
5881- - 0 0 0
58820 - 0 1 0
58831 - 0 1 1
5884- 0 1 0 0
5885- 1 1 0 1
5886- - 1 1 0
5887- - 1 1 0
5888.names locations<*1*><1> locations<*2*><1> _n5d6<1> _n5d6<0> _n5d7<1>
5889- - 0 0 0
5890- - 0 0 0
58910 - 0 1 0
58921 - 0 1 1
5893- 0 1 0 0
5894- 1 1 0 1
5895- - 1 1 0
5896- - 1 1 0
5897.names _n5d8<0>
58981
5899.names _n5d8<1>
59000
5901# locations [2] - 1
5902.names _n5da
59030
5904.names _n5d7<0> _n5d8<0> _n5da _n5d9<0>
5905.def 0
59060 0 1 1
59070 1 0 1
59081 0 0 1
59091 1 1 1
5910# carry/borrow
5911.names _n5dc
59120
5913.names _n5d7<0> _n5d8<0> _n5dc _n5db
5914.def 0
59150 0 1 1
59160 1 0 1
59170 1 1 1
59181 1 1 1
5919.names _n5d7<1> _n5d8<1> _n5db _n5d9<1>
5920.def 0
59210 0 1 1
59220 1 0 1
59231 0 0 1
59241 1 1 1
5925.mv _n5dd 2 ON OFF
5926.names down_floor_buttons$_n556$raw_n580<*0*> down_floor_buttons$_n556$raw_n580<*1*> down_floor_buttons$_n556$raw_n580<*2*> _n5d9<1> _n5d9<0> _n5dd
5927- - - 0 0 =down_floor_buttons$_n556$raw_n580<*0*>
5928- - - 0 1 =down_floor_buttons$_n556$raw_n580<*1*>
5929- - - 1 0 =down_floor_buttons$_n556$raw_n580<*2*>
5930- - - 1 1 ON
5931.mv _n5de 2 ON OFF
5932.names _n5de
5933ON
5934# down_floor_buttons [locations [2] - 1] == 0
5935.names _n5dd _n5de _n5d5
5936.def 0
5937- =_n5dd 1
5938.names _n5d5 _n5df
5939- =_n5d5
5940# down_floor_buttons [locations [2] - 1] = 1
5941.mv down_floor_buttons$_n5d5_n5e0$true<*0*> 2 ON OFF
5942.mv down_floor_buttons$_n5d5_n5e0$true<*1*> 2 ON OFF
5943.mv down_floor_buttons$_n5d5_n5e0$true<*2*> 2 ON OFF
5944.names _n5e1<0>
59450
5946.names _n5e1<1>
59471
5948.names locations<*1*><0> locations<*2*><0> _n5e1<1> _n5e1<0> _n5e2<0>
5949- - 0 0 0
5950- - 0 0 0
59510 - 0 1 0
59521 - 0 1 1
5953- 0 1 0 0
5954- 1 1 0 1
5955- - 1 1 0
5956- - 1 1 0
5957.names locations<*1*><1> locations<*2*><1> _n5e1<1> _n5e1<0> _n5e2<1>
5958- - 0 0 0
5959- - 0 0 0
59600 - 0 1 0
59611 - 0 1 1
5962- 0 1 0 0
5963- 1 1 0 1
5964- - 1 1 0
5965- - 1 1 0
5966.names _n5e3<0>
59671
5968.names _n5e3<1>
59690
5970# locations [2] - 1
5971.names _n5e5
59720
5973.names _n5e2<0> _n5e3<0> _n5e5 _n5e4<0>
5974.def 0
59750 0 1 1
59760 1 0 1
59771 0 0 1
59781 1 1 1
5979# carry/borrow
5980.names _n5e7
59810
5982.names _n5e2<0> _n5e3<0> _n5e7 _n5e6
5983.def 0
59840 0 1 1
59850 1 0 1
59860 1 1 1
59871 1 1 1
5988.names _n5e2<1> _n5e3<1> _n5e6 _n5e4<1>
5989.def 0
59900 0 1 1
59910 1 0 1
59921 0 0 1
59931 1 1 1
5994.mv _n5e8 2 ON OFF
5995.names _n5e9<0>
59960
5997.names _n5e9<1>
59980
5999.names _n5e9<0> _n5e4<0> _n5eb<0>
6000.def 0
60010 1 1
60021 0 1
6003.names _n5e9<1> _n5e4<1> _n5eb<1>
6004.def 0
60050 1 1
60061 0 1
6007.names _n5eb<0> _n5eb<1> _n5ec
6008.def 1
60090 0 0
6010.names _n5ec _n5ea
60110 1 
60121 0 
6013.names _n5e8 down_floor_buttons$_n556$raw_n580<*0*> _n5ea down_floor_buttons$_n5d5_n5e0$true<*0*>
6014- - 0 =down_floor_buttons$_n556$raw_n580<*0*>
6015- - 1 =_n5e8
6016.names _n5ed<0>
60171
6018.names _n5ed<1>
60190
6020.names _n5ed<0> _n5e4<0> _n5ef<0>
6021.def 0
60220 1 1
60231 0 1
6024.names _n5ed<1> _n5e4<1> _n5ef<1>
6025.def 0
60260 1 1
60271 0 1
6028.names _n5ef<0> _n5ef<1> _n5f0
6029.def 1
60300 0 0
6031.names _n5f0 _n5ee
60320 1 
60331 0 
6034.names _n5e8 down_floor_buttons$_n556$raw_n580<*1*> _n5ee down_floor_buttons$_n5d5_n5e0$true<*1*>
6035- - 0 =down_floor_buttons$_n556$raw_n580<*1*>
6036- - 1 =_n5e8
6037.names _n5f1<0>
60380
6039.names _n5f1<1>
60401
6041.names _n5f1<0> _n5e4<0> _n5f3<0>
6042.def 0
60430 1 1
60441 0 1
6045.names _n5f1<1> _n5e4<1> _n5f3<1>
6046.def 0
60470 1 1
60481 0 1
6049.names _n5f3<0> _n5f3<1> _n5f4
6050.def 1
60510 0 0
6052.names _n5f4 _n5f2
60530 1 
60541 0 
6055.names _n5e8 down_floor_buttons$_n556$raw_n580<*2*> _n5f2 down_floor_buttons$_n5d5_n5e0$true<*2*>
6056- - 0 =down_floor_buttons$_n556$raw_n580<*2*>
6057- - 1 =_n5e8
6058.names _n5e8
6059OFF
6060# if/else (down_floor_buttons [locations [2] - 1] == 0)
6061.mv down_floor_buttons$_n5d5$raw_n5f5<*0*> 2 ON OFF
6062.mv down_floor_buttons$_n5d5$raw_n5f5<*1*> 2 ON OFF
6063.mv down_floor_buttons$_n5d5$raw_n5f5<*2*> 2 ON OFF
6064.names down_floor_buttons$_n5d5_n5e0$true<*0*> down_floor_buttons$_n556$raw_n580<*0*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*0*>
6065- - 0 =down_floor_buttons$_n556$raw_n580<*0*>
6066- - 1 =down_floor_buttons$_n5d5_n5e0$true<*0*>
6067.names down_floor_buttons$_n5d5_n5e0$true<*1*> down_floor_buttons$_n556$raw_n580<*1*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*1*>
6068- - 0 =down_floor_buttons$_n556$raw_n580<*1*>
6069- - 1 =down_floor_buttons$_n5d5_n5e0$true<*1*>
6070.names down_floor_buttons$_n5d5_n5e0$true<*2*> down_floor_buttons$_n556$raw_n580<*2*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*2*>
6071- - 0 =down_floor_buttons$_n556$raw_n580<*2*>
6072- - 1 =down_floor_buttons$_n5d5_n5e0$true<*2*>
6073# if/else ((locations [2] != 0) && (direction [2] == 1))
6074.mv down_floor_buttons$_n5d3$raw_n5fd<*0*> 2 ON OFF
6075.mv down_floor_buttons$_n5d3$raw_n5fd<*1*> 2 ON OFF
6076.mv down_floor_buttons$_n5d3$raw_n5fd<*2*> 2 ON OFF
6077.names down_floor_buttons$_n5d5$raw_n5f5<*0*> down_floor_buttons$_n556$raw_n580<*0*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*0*>
6078- - 0 =down_floor_buttons$_n556$raw_n580<*0*>
6079- - 1 =down_floor_buttons$_n5d5$raw_n5f5<*0*>
6080.names down_floor_buttons$_n5d5$raw_n5f5<*1*> down_floor_buttons$_n556$raw_n580<*1*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*1*>
6081- - 0 =down_floor_buttons$_n556$raw_n580<*1*>
6082- - 1 =down_floor_buttons$_n5d5$raw_n5f5<*1*>
6083.names down_floor_buttons$_n5d5$raw_n5f5<*2*> down_floor_buttons$_n556$raw_n580<*2*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*2*>
6084- - 0 =down_floor_buttons$_n556$raw_n580<*2*>
6085- - 1 =down_floor_buttons$_n5d5$raw_n5f5<*2*>
6086.names _n606<0>
60871
6088.names _n606<1>
60890
6090.names locations<*1*><0> locations<*2*><0> _n606<1> _n606<0> _n607<0>
6091- - 0 0 0
6092- - 0 0 0
60930 - 0 1 0
60941 - 0 1 1
6095- 0 1 0 0
6096- 1 1 0 1
6097- - 1 1 0
6098- - 1 1 0
6099.names locations<*1*><1> locations<*2*><1> _n606<1> _n606<0> _n607<1>
6100- - 0 0 0
6101- - 0 0 0
61020 - 0 1 0
61031 - 0 1 1
6104- 0 1 0 0
6105- 1 1 0 1
6106- - 1 1 0
6107- - 1 1 0
6108.names _n608<0>
61091
6110.names _n608<1>
61111
6112.names _n609<0>
61131
6114.names _n609<1>
61150
6116# 3 - 1
6117.names _n60b
61180
6119.names _n608<0> _n609<0> _n60b _n60a<0>
6120.def 0
61210 0 1 1
61220 1 0 1
61231 0 0 1
61241 1 1 1
6125# carry/borrow
6126.names _n60d
61270
6128.names _n608<0> _n609<0> _n60d _n60c
6129.def 0
61300 0 1 1
61310 1 0 1
61320 1 1 1
61331 1 1 1
6134.names _n608<1> _n609<1> _n60c _n60a<1>
6135.def 0
61360 0 1 1
61370 1 0 1
61381 0 0 1
61391 1 1 1
6140# locations [1] == 3 - 1
6141.names _n607<0> _n60a<0> _n60e<0>
6142.def 0
61430 1 1
61441 0 1
6145.names _n607<1> _n60a<1> _n60e<1>
6146.def 0
61470 1 1
61481 0 1
6149.names _n60e<0> _n60e<1> _n60f
6150.def 1
61510 0 0
6152.names _n60f _n605
61530 1 
61541 0 
6155.names _n605 _n610
6156- =_n605
6157# direction [1] = 1
6158.mv direction$_n605_n611$true<*1*> 2 UP DOWN
6159.mv direction$_n605_n611$true<*2*> 2 UP DOWN
6160.mv _n612 2 UP DOWN
6161.names _n613<0>
61621
6163.names _n613<1>
61640
6165.names _n614<0>
61661
6167.names _n614<1>
61680
6169.names _n614<0> _n613<0> _n616<0>
6170.def 0
61710 1 1
61721 0 1
6173.names _n614<1> _n613<1> _n616<1>
6174.def 0
61750 1 1
61761 0 1
6177.names _n616<0> _n616<1> _n617
6178.def 1
61790 0 0
6180.names _n617 _n615
61810 1 
61821 0 
6183.names _n612 direction<*1*> _n615 direction$_n605_n611$true<*1*>
6184- - 0 =direction<*1*>
6185- - 1 =_n612
6186.names _n618<0>
61870
6188.names _n618<1>
61891
6190.names _n618<0> _n613<0> _n61a<0>
6191.def 0
61920 1 1
61931 0 1
6194.names _n618<1> _n613<1> _n61a<1>
6195.def 0
61960 1 1
61971 0 1
6198.names _n61a<0> _n61a<1> _n61b
6199.def 1
62000 0 0
6201.names _n61b _n619
62020 1 
62031 0 
6204.names _n612 direction<*2*> _n619 direction$_n605_n611$true<*2*>
6205- - 0 =direction<*2*>
6206- - 1 =_n612
6207.names _n612
6208DOWN
6209# if/else (locations [1] == 3 - 1)
6210.mv direction$_n605$raw_n61e<*1*> 2 UP DOWN
6211.mv direction$_n605$raw_n61e<*2*> 2 UP DOWN
6212.names direction$_n605_n611$true<*1*> direction<*1*> _n605 direction$_n605$raw_n61e<*1*>
6213- - 0 =direction<*1*>
6214- - 1 =direction$_n605_n611$true<*1*>
6215.names direction$_n605_n611$true<*2*> direction<*2*> _n605 direction$_n605$raw_n61e<*2*>
6216- - 0 =direction<*2*>
6217- - 1 =direction$_n605_n611$true<*2*>
6218.names _n620<0>
62191
6220.names _n620<1>
62210
6222.names locations<*1*><0> locations<*2*><0> _n620<1> _n620<0> _n621<0>
6223- - 0 0 0
6224- - 0 0 0
62250 - 0 1 0
62261 - 0 1 1
6227- 0 1 0 0
6228- 1 1 0 1
6229- - 1 1 0
6230- - 1 1 0
6231.names locations<*1*><1> locations<*2*><1> _n620<1> _n620<0> _n621<1>
6232- - 0 0 0
6233- - 0 0 0
62340 - 0 1 0
62351 - 0 1 1
6236- 0 1 0 0
6237- 1 1 0 1
6238- - 1 1 0
6239- - 1 1 0
6240.names _n622<0>
62410
6242.names _n622<1>
62430
6244# locations [1] == 0
6245.names _n621<0> _n622<0> _n623<0>
6246.def 0
62470 1 1
62481 0 1
6249.names _n621<1> _n622<1> _n623<1>
6250.def 0
62510 1 1
62521 0 1
6253.names _n623<0> _n623<1> _n624
6254.def 1
62550 0 0
6256.names _n624 _n61f
62570 1 
62581 0 
6259.names _n61f _n625
6260- =_n61f
6261# direction [1] = 0
6262.mv direction$_n61f_n626$true<*1*> 2 UP DOWN
6263.mv direction$_n61f_n626$true<*2*> 2 UP DOWN
6264.mv _n627 2 UP DOWN
6265.names _n628<0>
62661
6267.names _n628<1>
62680
6269.names _n629<0>
62701
6271.names _n629<1>
62720
6273.names _n629<0> _n628<0> _n62b<0>
6274.def 0
62750 1 1
62761 0 1
6277.names _n629<1> _n628<1> _n62b<1>
6278.def 0
62790 1 1
62801 0 1
6281.names _n62b<0> _n62b<1> _n62c
6282.def 1
62830 0 0
6284.names _n62c _n62a
62850 1 
62861 0 
6287.names _n627 direction$_n605$raw_n61e<*1*> _n62a direction$_n61f_n626$true<*1*>
6288- - 0 =direction$_n605$raw_n61e<*1*>
6289- - 1 =_n627
6290.names _n62d<0>
62910
6292.names _n62d<1>
62931
6294.names _n62d<0> _n628<0> _n62f<0>
6295.def 0
62960 1 1
62971 0 1
6298.names _n62d<1> _n628<1> _n62f<1>
6299.def 0
63000 1 1
63011 0 1
6302.names _n62f<0> _n62f<1> _n630
6303.def 1
63040 0 0
6305.names _n630 _n62e
63060 1 
63071 0 
6308.names _n627 direction$_n605$raw_n61e<*2*> _n62e direction$_n61f_n626$true<*2*>
6309- - 0 =direction$_n605$raw_n61e<*2*>
6310- - 1 =_n627
6311.names _n627
6312UP
6313# if/else (locations [1] == 0)
6314.mv direction$_n61f$raw_n631<*1*> 2 UP DOWN
6315.mv direction$_n61f$raw_n631<*2*> 2 UP DOWN
6316.names direction$_n61f_n626$true<*1*> direction$_n605$raw_n61e<*1*> _n61f direction$_n61f$raw_n631<*1*>
6317- - 0 =direction$_n605$raw_n61e<*1*>
6318- - 1 =direction$_n61f_n626$true<*1*>
6319.names direction$_n61f_n626$true<*2*> direction$_n605$raw_n61e<*2*> _n61f direction$_n61f$raw_n631<*2*>
6320- - 0 =direction$_n605$raw_n61e<*2*>
6321- - 1 =direction$_n61f_n626$true<*2*>
6322.names inc<1> _n636
6323.def 1
63240 0
6325.names _n636 _n635
6326- =_n636
6327# locations [1] = locations [1] + 1
6328.names _n639<0>
63291
6330.names _n639<1>
63310
6332.names _n63a<0>
63331
6334.names _n63a<1>
63350
6336.names _n63a<0> _n639<0> _n63c<0>
6337.def 0
63380 1 1
63391 0 1
6340.names _n63a<1> _n639<1> _n63c<1>
6341.def 0
63420 1 1
63431 0 1
6344.names _n63c<0> _n63c<1> _n63d
6345.def 1
63460 0 0
6347.names _n63d _n63b
63480 1 
63491 0 
6350.names _n638<0> locations<*1*><0> _n63b locations$inc_n637$true<*1*><0>
63510 - 1 0
63521 - 1 1
6353- 0 0 0
6354- 1 0 1
6355.names _n638<1> locations<*1*><1> _n63b locations$inc_n637$true<*1*><1>
63560 - 1 0
63571 - 1 1
6358- 0 0 0
6359- 1 0 1
6360.names _n640<0>
63610
6362.names _n640<1>
63631
6364.names _n640<0> _n639<0> _n642<0>
6365.def 0
63660 1 1
63671 0 1
6368.names _n640<1> _n639<1> _n642<1>
6369.def 0
63700 1 1
63711 0 1
6372.names _n642<0> _n642<1> _n643
6373.def 1
63740 0 0
6375.names _n643 _n641
63760 1 
63771 0 
6378.names _n638<0> locations<*2*><0> _n641 locations$inc_n637$true<*2*><0>
63790 - 1 0
63801 - 1 1
6381- 0 0 0
6382- 1 0 1
6383.names _n638<1> locations<*2*><1> _n641 locations$inc_n637$true<*2*><1>
63840 - 1 0
63851 - 1 1
6386- 0 0 0
6387- 1 0 1
6388.names _n646<0>
63891
6390.names _n646<1>
63910
6392.names locations<*1*><0> locations<*2*><0> _n646<1> _n646<0> _n647<0>
6393- - 0 0 0
6394- - 0 0 0
63950 - 0 1 0
63961 - 0 1 1
6397- 0 1 0 0
6398- 1 1 0 1
6399- - 1 1 0
6400- - 1 1 0
6401.names locations<*1*><1> locations<*2*><1> _n646<1> _n646<0> _n647<1>
6402- - 0 0 0
6403- - 0 0 0
64040 - 0 1 0
64051 - 0 1 1
6406- 0 1 0 0
6407- 1 1 0 1
6408- - 1 1 0
6409- - 1 1 0
6410.names _n648<0>
64111
6412.names _n648<1>
64130
6414# locations [1] + 1
6415.names _n64a
64160
6417.names _n647<0> _n648<0> _n64a _n649<0>
6418.def 0
64190 0 1 1
64200 1 0 1
64211 0 0 1
64221 1 1 1
6423# carry/borrow
6424.names _n64c
64250
6426.names _n647<0> _n648<0> _n64c _n64b
6427.def 0
64280 1 1 1
64291 0 1 1
64301 1 0 1
64311 1 1 1
6432.names _n647<1> _n648<1> _n64b _n649<1>
6433.def 0
64340 0 1 1
64350 1 0 1
64361 0 0 1
64371 1 1 1
6438.names _n649<0> _n638<0>
6439- =_n649<0>
6440.names _n649<1> _n638<1>
6441- =_n649<1>
6442# direction [1] = 0
6443.mv direction$inc_n64d$true<*1*> 2 UP DOWN
6444.mv direction$inc_n64d$true<*2*> 2 UP DOWN
6445.mv _n64e 2 UP DOWN
6446.names _n64f<0>
64471
6448.names _n64f<1>
64490
6450.names _n650<0>
64511
6452.names _n650<1>
64530
6454.names _n650<0> _n64f<0> _n652<0>
6455.def 0
64560 1 1
64571 0 1
6458.names _n650<1> _n64f<1> _n652<1>
6459.def 0
64600 1 1
64611 0 1
6462.names _n652<0> _n652<1> _n653
6463.def 1
64640 0 0
6465.names _n653 _n651
64660 1 
64671 0 
6468.names _n64e direction$_n61f$raw_n631<*1*> _n651 direction$inc_n64d$true<*1*>
6469- - 0 =direction$_n61f$raw_n631<*1*>
6470- - 1 =_n64e
6471.names _n654<0>
64720
6473.names _n654<1>
64741
6475.names _n654<0> _n64f<0> _n656<0>
6476.def 0
64770 1 1
64781 0 1
6479.names _n654<1> _n64f<1> _n656<1>
6480.def 0
64810 1 1
64821 0 1
6483.names _n656<0> _n656<1> _n657
6484.def 1
64850 0 0
6486.names _n657 _n655
64870 1 
64881 0 
6489.names _n64e direction$_n61f$raw_n631<*2*> _n655 direction$inc_n64d$true<*2*>
6490- - 0 =direction$_n61f$raw_n631<*2*>
6491- - 1 =_n64e
6492.names _n64e
6493UP
6494# if/else (inc [1])
6495.mv direction$inc$raw_n658<*1*> 2 UP DOWN
6496.mv direction$inc$raw_n658<*2*> 2 UP DOWN
6497.names inc<1> _n659
6498.def 1
64990 0
6500.names direction$inc_n64d$true<*1*> direction$_n61f$raw_n631<*1*> _n659 direction$inc$raw_n658<*1*>
6501- - 0 =direction$_n61f$raw_n631<*1*>
6502- - 1 =direction$inc_n64d$true<*1*>
6503.names direction$inc_n64d$true<*2*> direction$_n61f$raw_n631<*2*> _n659 direction$inc$raw_n658<*2*>
6504- - 0 =direction$_n61f$raw_n631<*2*>
6505- - 1 =direction$inc_n64d$true<*2*>
6506.names inc<1> _n65f
6507.def 1
65080 0
6509.names locations$inc_n637$true<*1*><0> locations<*1*><0> _n65f locations$inc$raw_n65e<*1*><0>
65100 - 1 0
65111 - 1 1
6512- 0 0 0
6513- 1 0 1
6514.names locations$inc_n637$true<*1*><1> locations<*1*><1> _n65f locations$inc$raw_n65e<*1*><1>
65150 - 1 0
65161 - 1 1
6517- 0 0 0
6518- 1 0 1
6519.names locations$inc_n637$true<*2*><0> locations<*2*><0> _n65f locations$inc$raw_n65e<*2*><0>
65200 - 1 0
65211 - 1 1
6522- 0 0 0
6523- 1 0 1
6524.names locations$inc_n637$true<*2*><1> locations<*2*><1> _n65f locations$inc$raw_n65e<*2*><1>
65250 - 1 0
65261 - 1 1
6527- 0 0 0
6528- 1 0 1
6529.names dec<1> _n666
6530.def 1
65310 0
6532.names _n666 _n665
6533- =_n666
6534# locations [1] = locations [1] - 1
6535.names _n669<0>
65361
6537.names _n669<1>
65380
6539.names _n66a<0>
65401
6541.names _n66a<1>
65420
6543.names _n66a<0> _n669<0> _n66c<0>
6544.def 0
65450 1 1
65461 0 1
6547.names _n66a<1> _n669<1> _n66c<1>
6548.def 0
65490 1 1
65501 0 1
6551.names _n66c<0> _n66c<1> _n66d
6552.def 1
65530 0 0
6554.names _n66d _n66b
65550 1 
65561 0 
6557.names _n668<0> locations$inc$raw_n65e<*1*><0> _n66b locations$dec_n667$true<*1*><0>
65580 - 1 0
65591 - 1 1
6560- 0 0 0
6561- 1 0 1
6562.names _n668<1> locations$inc$raw_n65e<*1*><1> _n66b locations$dec_n667$true<*1*><1>
65630 - 1 0
65641 - 1 1
6565- 0 0 0
6566- 1 0 1
6567.names _n670<0>
65680
6569.names _n670<1>
65701
6571.names _n670<0> _n669<0> _n672<0>
6572.def 0
65730 1 1
65741 0 1
6575.names _n670<1> _n669<1> _n672<1>
6576.def 0
65770 1 1
65781 0 1
6579.names _n672<0> _n672<1> _n673
6580.def 1
65810 0 0
6582.names _n673 _n671
65830 1 
65841 0 
6585.names _n668<0> locations$inc$raw_n65e<*2*><0> _n671 locations$dec_n667$true<*2*><0>
65860 - 1 0
65871 - 1 1
6588- 0 0 0
6589- 1 0 1
6590.names _n668<1> locations$inc$raw_n65e<*2*><1> _n671 locations$dec_n667$true<*2*><1>
65910 - 1 0
65921 - 1 1
6593- 0 0 0
6594- 1 0 1
6595.names _n676<0>
65961
6597.names _n676<1>
65980
6599.names locations$inc$raw_n65e<*1*><0> locations$inc$raw_n65e<*2*><0> _n676<1> _n676<0> _n677<0>
6600- - 0 0 0
6601- - 0 0 0
66020 - 0 1 0
66031 - 0 1 1
6604- 0 1 0 0
6605- 1 1 0 1
6606- - 1 1 0
6607- - 1 1 0
6608.names locations$inc$raw_n65e<*1*><1> locations$inc$raw_n65e<*2*><1> _n676<1> _n676<0> _n677<1>
6609- - 0 0 0
6610- - 0 0 0
66110 - 0 1 0
66121 - 0 1 1
6613- 0 1 0 0
6614- 1 1 0 1
6615- - 1 1 0
6616- - 1 1 0
6617.names _n678<0>
66181
6619.names _n678<1>
66200
6621# locations [1] - 1
6622.names _n67a
66230
6624.names _n677<0> _n678<0> _n67a _n679<0>
6625.def 0
66260 0 1 1
66270 1 0 1
66281 0 0 1
66291 1 1 1
6630# carry/borrow
6631.names _n67c
66320
6633.names _n677<0> _n678<0> _n67c _n67b
6634.def 0
66350 0 1 1
66360 1 0 1
66370 1 1 1
66381 1 1 1
6639.names _n677<1> _n678<1> _n67b _n679<1>
6640.def 0
66410 0 1 1
66420 1 0 1
66431 0 0 1
66441 1 1 1
6645.names _n679<0> _n668<0>
6646- =_n679<0>
6647.names _n679<1> _n668<1>
6648- =_n679<1>
6649# direction [1] = 1
6650.mv direction$dec_n67d$true<*1*> 2 UP DOWN
6651.mv direction$dec_n67d$true<*2*> 2 UP DOWN
6652.mv _n67e 2 UP DOWN
6653.names _n67f<0>
66541
6655.names _n67f<1>
66560
6657.names _n680<0>
66581
6659.names _n680<1>
66600
6661.names _n680<0> _n67f<0> _n682<0>
6662.def 0
66630 1 1
66641 0 1
6665.names _n680<1> _n67f<1> _n682<1>
6666.def 0
66670 1 1
66681 0 1
6669.names _n682<0> _n682<1> _n683
6670.def 1
66710 0 0
6672.names _n683 _n681
66730 1 
66741 0 
6675.names _n67e direction$inc$raw_n658<*1*> _n681 direction$dec_n67d$true<*1*>
6676- - 0 =direction$inc$raw_n658<*1*>
6677- - 1 =_n67e
6678.names _n684<0>
66790
6680.names _n684<1>
66811
6682.names _n684<0> _n67f<0> _n686<0>
6683.def 0
66840 1 1
66851 0 1
6686.names _n684<1> _n67f<1> _n686<1>
6687.def 0
66880 1 1
66891 0 1
6690.names _n686<0> _n686<1> _n687
6691.def 1
66920 0 0
6693.names _n687 _n685
66940 1 
66951 0 
6696.names _n67e direction$inc$raw_n658<*2*> _n685 direction$dec_n67d$true<*2*>
6697- - 0 =direction$inc$raw_n658<*2*>
6698- - 1 =_n67e
6699.names _n67e
6700DOWN
6701# if/else (dec [1])
6702.mv direction$dec$raw_n688<*1*> 2 UP DOWN
6703.mv direction$dec$raw_n688<*2*> 2 UP DOWN
6704.names dec<1> _n689
6705.def 1
67060 0
6707.names direction$dec_n67d$true<*1*> direction$inc$raw_n658<*1*> _n689 direction$dec$raw_n688<*1*>
6708- - 0 =direction$inc$raw_n658<*1*>
6709- - 1 =direction$dec_n67d$true<*1*>
6710.names direction$dec_n67d$true<*2*> direction$inc$raw_n658<*2*> _n689 direction$dec$raw_n688<*2*>
6711- - 0 =direction$inc$raw_n658<*2*>
6712- - 1 =direction$dec_n67d$true<*2*>
6713.names dec<1> _n68b
6714.def 1
67150 0
6716.names locations$dec_n667$true<*1*><0> locations$inc$raw_n65e<*1*><0> _n68b locations$dec$raw_n68a<*1*><0>
67170 - 1 0
67181 - 1 1
6719- 0 0 0
6720- 1 0 1
6721.names locations$dec_n667$true<*1*><1> locations$inc$raw_n65e<*1*><1> _n68b locations$dec$raw_n68a<*1*><1>
67220 - 1 0
67231 - 1 1
6724- 0 0 0
6725- 1 0 1
6726.names locations$dec_n667$true<*2*><0> locations$inc$raw_n65e<*2*><0> _n68b locations$dec$raw_n68a<*2*><0>
67270 - 1 0
67281 - 1 1
6729- 0 0 0
6730- 1 0 1
6731.names locations$dec_n667$true<*2*><1> locations$inc$raw_n65e<*2*><1> _n68b locations$dec$raw_n68a<*2*><1>
67320 - 1 0
67331 - 1 1
6734- 0 0 0
6735- 1 0 1
6736.names _n697<0>
67370
6738.names _n697<1>
67391
6740.names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n697<1> _n697<0> _n698<0>
6741- - 0 0 0
6742- - 0 0 0
67430 - 0 1 0
67441 - 0 1 1
6745- 0 1 0 0
6746- 1 1 0 1
6747- - 1 1 0
6748- - 1 1 0
6749.names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n697<1> _n697<0> _n698<1>
6750- - 0 0 0
6751- - 0 0 0
67520 - 0 1 0
67531 - 0 1 1
6754- 0 1 0 0
6755- 1 1 0 1
6756- - 1 1 0
6757- - 1 1 0
6758.names _n699<0>
67591
6760.names _n699<1>
67611
6762.names _n69a<0>
67631
6764.names _n69a<1>
67650
6766# 3 - 1
6767.names _n69c
67680
6769.names _n699<0> _n69a<0> _n69c _n69b<0>
6770.def 0
67710 0 1 1
67720 1 0 1
67731 0 0 1
67741 1 1 1
6775# carry/borrow
6776.names _n69e
67770
6778.names _n699<0> _n69a<0> _n69e _n69d
6779.def 0
67800 0 1 1
67810 1 0 1
67820 1 1 1
67831 1 1 1
6784.names _n699<1> _n69a<1> _n69d _n69b<1>
6785.def 0
67860 0 1 1
67870 1 0 1
67881 0 0 1
67891 1 1 1
6790# locations [2] == 3 - 1
6791.names _n698<0> _n69b<0> _n69f<0>
6792.def 0
67930 1 1
67941 0 1
6795.names _n698<1> _n69b<1> _n69f<1>
6796.def 0
67970 1 1
67981 0 1
6799.names _n69f<0> _n69f<1> _n6a0
6800.def 1
68010 0 0
6802.names _n6a0 _n696
68030 1 
68041 0 
6805.names _n696 _n6a1
6806- =_n696
6807# direction [2] = 1
6808.mv direction$_n696_n6a2$true<*1*> 2 UP DOWN
6809.mv direction$_n696_n6a2$true<*2*> 2 UP DOWN
6810.mv _n6a3 2 UP DOWN
6811.names _n6a4<0>
68120
6813.names _n6a4<1>
68141
6815.names _n6a5<0>
68161
6817.names _n6a5<1>
68180
6819.names _n6a5<0> _n6a4<0> _n6a7<0>
6820.def 0
68210 1 1
68221 0 1
6823.names _n6a5<1> _n6a4<1> _n6a7<1>
6824.def 0
68250 1 1
68261 0 1
6827.names _n6a7<0> _n6a7<1> _n6a8
6828.def 1
68290 0 0
6830.names _n6a8 _n6a6
68310 1 
68321 0 
6833.names _n6a3 direction$dec$raw_n688<*1*> _n6a6 direction$_n696_n6a2$true<*1*>
6834- - 0 =direction$dec$raw_n688<*1*>
6835- - 1 =_n6a3
6836.names _n6a9<0>
68370
6838.names _n6a9<1>
68391
6840.names _n6a9<0> _n6a4<0> _n6ab<0>
6841.def 0
68420 1 1
68431 0 1
6844.names _n6a9<1> _n6a4<1> _n6ab<1>
6845.def 0
68460 1 1
68471 0 1
6848.names _n6ab<0> _n6ab<1> _n6ac
6849.def 1
68500 0 0
6851.names _n6ac _n6aa
68520 1 
68531 0 
6854.names _n6a3 direction$dec$raw_n688<*2*> _n6aa direction$_n696_n6a2$true<*2*>
6855- - 0 =direction$dec$raw_n688<*2*>
6856- - 1 =_n6a3
6857.names _n6a3
6858DOWN
6859# if/else (locations [2] == 3 - 1)
6860.mv direction$_n696$raw_n6ad<*1*> 2 UP DOWN
6861.mv direction$_n696$raw_n6ad<*2*> 2 UP DOWN
6862.names direction$_n696_n6a2$true<*1*> direction$dec$raw_n688<*1*> _n696 direction$_n696$raw_n6ad<*1*>
6863- - 0 =direction$dec$raw_n688<*1*>
6864- - 1 =direction$_n696_n6a2$true<*1*>
6865.names direction$_n696_n6a2$true<*2*> direction$dec$raw_n688<*2*> _n696 direction$_n696$raw_n6ad<*2*>
6866- - 0 =direction$dec$raw_n688<*2*>
6867- - 1 =direction$_n696_n6a2$true<*2*>
6868.names _n6b6<0>
68690
6870.names _n6b6<1>
68711
6872.names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n6b6<1> _n6b6<0> _n6b7<0>
6873- - 0 0 0
6874- - 0 0 0
68750 - 0 1 0
68761 - 0 1 1
6877- 0 1 0 0
6878- 1 1 0 1
6879- - 1 1 0
6880- - 1 1 0
6881.names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n6b6<1> _n6b6<0> _n6b7<1>
6882- - 0 0 0
6883- - 0 0 0
68840 - 0 1 0
68851 - 0 1 1
6886- 0 1 0 0
6887- 1 1 0 1
6888- - 1 1 0
6889- - 1 1 0
6890.names _n6b8<0>
68910
6892.names _n6b8<1>
68930
6894# locations [2] == 0
6895.names _n6b7<0> _n6b8<0> _n6b9<0>
6896.def 0
68970 1 1
68981 0 1
6899.names _n6b7<1> _n6b8<1> _n6b9<1>
6900.def 0
69010 1 1
69021 0 1
6903.names _n6b9<0> _n6b9<1> _n6ba
6904.def 1
69050 0 0
6906.names _n6ba _n6b5
69070 1 
69081 0 
6909.names _n6b5 _n6bb
6910- =_n6b5
6911# direction [2] = 0
6912.mv direction$_n6b5_n6bc$true<*1*> 2 UP DOWN
6913.mv direction$_n6b5_n6bc$true<*2*> 2 UP DOWN
6914.mv _n6bd 2 UP DOWN
6915.names _n6be<0>
69160
6917.names _n6be<1>
69181
6919.names _n6bf<0>
69201
6921.names _n6bf<1>
69220
6923.names _n6bf<0> _n6be<0> _n6c1<0>
6924.def 0
69250 1 1
69261 0 1
6927.names _n6bf<1> _n6be<1> _n6c1<1>
6928.def 0
69290 1 1
69301 0 1
6931.names _n6c1<0> _n6c1<1> _n6c2
6932.def 1
69330 0 0
6934.names _n6c2 _n6c0
69350 1 
69361 0 
6937.names _n6bd direction$_n696$raw_n6ad<*1*> _n6c0 direction$_n6b5_n6bc$true<*1*>
6938- - 0 =direction$_n696$raw_n6ad<*1*>
6939- - 1 =_n6bd
6940.names _n6c3<0>
69410
6942.names _n6c3<1>
69431
6944.names _n6c3<0> _n6be<0> _n6c5<0>
6945.def 0
69460 1 1
69471 0 1
6948.names _n6c3<1> _n6be<1> _n6c5<1>
6949.def 0
69500 1 1
69511 0 1
6952.names _n6c5<0> _n6c5<1> _n6c6
6953.def 1
69540 0 0
6955.names _n6c6 _n6c4
69560 1 
69571 0 
6958.names _n6bd direction$_n696$raw_n6ad<*2*> _n6c4 direction$_n6b5_n6bc$true<*2*>
6959- - 0 =direction$_n696$raw_n6ad<*2*>
6960- - 1 =_n6bd
6961.names _n6bd
6962UP
6963# if/else (locations [2] == 0)
6964.mv direction$_n6b5$raw_n6c7<*1*> 2 UP DOWN
6965.mv direction$_n6b5$raw_n6c7<*2*> 2 UP DOWN
6966.names direction$_n6b5_n6bc$true<*1*> direction$_n696$raw_n6ad<*1*> _n6b5 direction$_n6b5$raw_n6c7<*1*>
6967- - 0 =direction$_n696$raw_n6ad<*1*>
6968- - 1 =direction$_n6b5_n6bc$true<*1*>
6969.names direction$_n6b5_n6bc$true<*2*> direction$_n696$raw_n6ad<*2*> _n6b5 direction$_n6b5$raw_n6c7<*2*>
6970- - 0 =direction$_n696$raw_n6ad<*2*>
6971- - 1 =direction$_n6b5_n6bc$true<*2*>
6972.names inc<2> _n6d0
6973.def 1
69740 0
6975.names _n6d0 _n6cf
6976- =_n6d0
6977# locations [2] = locations [2] + 1
6978.names _n6d3<0>
69790
6980.names _n6d3<1>
69811
6982.names _n6d4<0>
69831
6984.names _n6d4<1>
69850
6986.names _n6d4<0> _n6d3<0> _n6d6<0>
6987.def 0
69880 1 1
69891 0 1
6990.names _n6d4<1> _n6d3<1> _n6d6<1>
6991.def 0
69920 1 1
69931 0 1
6994.names _n6d6<0> _n6d6<1> _n6d7
6995.def 1
69960 0 0
6997.names _n6d7 _n6d5
69980 1 
69991 0 
7000.names _n6d2<0> locations$dec$raw_n68a<*1*><0> _n6d5 locations$inc_n6d1$true<*1*><0>
70010 - 1 0
70021 - 1 1
7003- 0 0 0
7004- 1 0 1
7005.names _n6d2<1> locations$dec$raw_n68a<*1*><1> _n6d5 locations$inc_n6d1$true<*1*><1>
70060 - 1 0
70071 - 1 1
7008- 0 0 0
7009- 1 0 1
7010.names _n6da<0>
70110
7012.names _n6da<1>
70131
7014.names _n6da<0> _n6d3<0> _n6dc<0>
7015.def 0
70160 1 1
70171 0 1
7018.names _n6da<1> _n6d3<1> _n6dc<1>
7019.def 0
70200 1 1
70211 0 1
7022.names _n6dc<0> _n6dc<1> _n6dd
7023.def 1
70240 0 0
7025.names _n6dd _n6db
70260 1 
70271 0 
7028.names _n6d2<0> locations$dec$raw_n68a<*2*><0> _n6db locations$inc_n6d1$true<*2*><0>
70290 - 1 0
70301 - 1 1
7031- 0 0 0
7032- 1 0 1
7033.names _n6d2<1> locations$dec$raw_n68a<*2*><1> _n6db locations$inc_n6d1$true<*2*><1>
70340 - 1 0
70351 - 1 1
7036- 0 0 0
7037- 1 0 1
7038.names _n6e0<0>
70390
7040.names _n6e0<1>
70411
7042.names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n6e0<1> _n6e0<0> _n6e1<0>
7043- - 0 0 0
7044- - 0 0 0
70450 - 0 1 0
70461 - 0 1 1
7047- 0 1 0 0
7048- 1 1 0 1
7049- - 1 1 0
7050- - 1 1 0
7051.names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n6e0<1> _n6e0<0> _n6e1<1>
7052- - 0 0 0
7053- - 0 0 0
70540 - 0 1 0
70551 - 0 1 1
7056- 0 1 0 0
7057- 1 1 0 1
7058- - 1 1 0
7059- - 1 1 0
7060.names _n6e2<0>
70611
7062.names _n6e2<1>
70630
7064# locations [2] + 1
7065.names _n6e4
70660
7067.names _n6e1<0> _n6e2<0> _n6e4 _n6e3<0>
7068.def 0
70690 0 1 1
70700 1 0 1
70711 0 0 1
70721 1 1 1
7073# carry/borrow
7074.names _n6e6
70750
7076.names _n6e1<0> _n6e2<0> _n6e6 _n6e5
7077.def 0
70780 1 1 1
70791 0 1 1
70801 1 0 1
70811 1 1 1
7082.names _n6e1<1> _n6e2<1> _n6e5 _n6e3<1>
7083.def 0
70840 0 1 1
70850 1 0 1
70861 0 0 1
70871 1 1 1
7088.names _n6e3<0> _n6d2<0>
7089- =_n6e3<0>
7090.names _n6e3<1> _n6d2<1>
7091- =_n6e3<1>
7092# direction [2] = 0
7093.mv direction$inc_n6e7$true<*1*> 2 UP DOWN
7094.mv direction$inc_n6e7$true<*2*> 2 UP DOWN
7095.mv _n6e8 2 UP DOWN
7096.names _n6e9<0>
70970
7098.names _n6e9<1>
70991
7100.names _n6ea<0>
71011
7102.names _n6ea<1>
71030
7104.names _n6ea<0> _n6e9<0> _n6ec<0>
7105.def 0
71060 1 1
71071 0 1
7108.names _n6ea<1> _n6e9<1> _n6ec<1>
7109.def 0
71100 1 1
71111 0 1
7112.names _n6ec<0> _n6ec<1> _n6ed
7113.def 1
71140 0 0
7115.names _n6ed _n6eb
71160 1 
71171 0 
7118.names _n6e8 direction$_n6b5$raw_n6c7<*1*> _n6eb direction$inc_n6e7$true<*1*>
7119- - 0 =direction$_n6b5$raw_n6c7<*1*>
7120- - 1 =_n6e8
7121.names _n6ee<0>
71220
7123.names _n6ee<1>
71241
7125.names _n6ee<0> _n6e9<0> _n6f0<0>
7126.def 0
71270 1 1
71281 0 1
7129.names _n6ee<1> _n6e9<1> _n6f0<1>
7130.def 0
71310 1 1
71321 0 1
7133.names _n6f0<0> _n6f0<1> _n6f1
7134.def 1
71350 0 0
7136.names _n6f1 _n6ef
71370 1 
71381 0 
7139.names _n6e8 direction$_n6b5$raw_n6c7<*2*> _n6ef direction$inc_n6e7$true<*2*>
7140- - 0 =direction$_n6b5$raw_n6c7<*2*>
7141- - 1 =_n6e8
7142.names _n6e8
7143UP
7144# if/else (inc [2])
7145.mv direction$inc$raw_n6f2<*1*> 2 UP DOWN
7146.mv direction$inc$raw_n6f2<*2*> 2 UP DOWN
7147.names inc<2> _n6f3
7148.def 1
71490 0
7150.names direction$inc_n6e7$true<*1*> direction$_n6b5$raw_n6c7<*1*> _n6f3 direction$inc$raw_n6f2<*1*>
7151- - 0 =direction$_n6b5$raw_n6c7<*1*>
7152- - 1 =direction$inc_n6e7$true<*1*>
7153.names direction$inc_n6e7$true<*2*> direction$_n6b5$raw_n6c7<*2*> _n6f3 direction$inc$raw_n6f2<*2*>
7154- - 0 =direction$_n6b5$raw_n6c7<*2*>
7155- - 1 =direction$inc_n6e7$true<*2*>
7156.names inc<2> _n6f5
7157.def 1
71580 0
7159.names locations$inc_n6d1$true<*1*><0> locations$dec$raw_n68a<*1*><0> _n6f5 locations$inc$raw_n6f4<*1*><0>
71600 - 1 0
71611 - 1 1
7162- 0 0 0
7163- 1 0 1
7164.names locations$inc_n6d1$true<*1*><1> locations$dec$raw_n68a<*1*><1> _n6f5 locations$inc$raw_n6f4<*1*><1>
71650 - 1 0
71661 - 1 1
7167- 0 0 0
7168- 1 0 1
7169.names locations$inc_n6d1$true<*2*><0> locations$dec$raw_n68a<*2*><0> _n6f5 locations$inc$raw_n6f4<*2*><0>
71700 - 1 0
71711 - 1 1
7172- 0 0 0
7173- 1 0 1
7174.names locations$inc_n6d1$true<*2*><1> locations$dec$raw_n68a<*2*><1> _n6f5 locations$inc$raw_n6f4<*2*><1>
71750 - 1 0
71761 - 1 1
7177- 0 0 0
7178- 1 0 1
7179.names dec<2> _n701
7180.def 1
71810 0
7182.names _n701 _n700
7183- =_n701
7184# locations [2] = locations [2] - 1
7185.names _n704<0>
71860
7187.names _n704<1>
71881
7189.names _n705<0>
71901
7191.names _n705<1>
71920
7193.names _n705<0> _n704<0> _n707<0>
7194.def 0
71950 1 1
71961 0 1
7197.names _n705<1> _n704<1> _n707<1>
7198.def 0
71990 1 1
72001 0 1
7201.names _n707<0> _n707<1> _n708
7202.def 1
72030 0 0
7204.names _n708 _n706
72050 1 
72061 0 
7207.names _n703<0> locations$inc$raw_n6f4<*1*><0> _n706 locations$dec_n702$true<*1*><0>
72080 - 1 0
72091 - 1 1
7210- 0 0 0
7211- 1 0 1
7212.names _n703<1> locations$inc$raw_n6f4<*1*><1> _n706 locations$dec_n702$true<*1*><1>
72130 - 1 0
72141 - 1 1
7215- 0 0 0
7216- 1 0 1
7217.names _n70b<0>
72180
7219.names _n70b<1>
72201
7221.names _n70b<0> _n704<0> _n70d<0>
7222.def 0
72230 1 1
72241 0 1
7225.names _n70b<1> _n704<1> _n70d<1>
7226.def 0
72270 1 1
72281 0 1
7229.names _n70d<0> _n70d<1> _n70e
7230.def 1
72310 0 0
7232.names _n70e _n70c
72330 1 
72341 0 
7235.names _n703<0> locations$inc$raw_n6f4<*2*><0> _n70c locations$dec_n702$true<*2*><0>
72360 - 1 0
72371 - 1 1
7238- 0 0 0
7239- 1 0 1
7240.names _n703<1> locations$inc$raw_n6f4<*2*><1> _n70c locations$dec_n702$true<*2*><1>
72410 - 1 0
72421 - 1 1
7243- 0 0 0
7244- 1 0 1
7245.names _n711<0>
72460
7247.names _n711<1>
72481
7249.names locations$inc$raw_n6f4<*1*><0> locations$inc$raw_n6f4<*2*><0> _n711<1> _n711<0> _n712<0>
7250- - 0 0 0
7251- - 0 0 0
72520 - 0 1 0
72531 - 0 1 1
7254- 0 1 0 0
7255- 1 1 0 1
7256- - 1 1 0
7257- - 1 1 0
7258.names locations$inc$raw_n6f4<*1*><1> locations$inc$raw_n6f4<*2*><1> _n711<1> _n711<0> _n712<1>
7259- - 0 0 0
7260- - 0 0 0
72610 - 0 1 0
72621 - 0 1 1
7263- 0 1 0 0
7264- 1 1 0 1
7265- - 1 1 0
7266- - 1 1 0
7267.names _n713<0>
72681
7269.names _n713<1>
72700
7271# locations [2] - 1
7272.names _n715
72730
7274.names _n712<0> _n713<0> _n715 _n714<0>
7275.def 0
72760 0 1 1
72770 1 0 1
72781 0 0 1
72791 1 1 1
7280# carry/borrow
7281.names _n717
72820
7283.names _n712<0> _n713<0> _n717 _n716
7284.def 0
72850 0 1 1
72860 1 0 1
72870 1 1 1
72881 1 1 1
7289.names _n712<1> _n713<1> _n716 _n714<1>
7290.def 0
72910 0 1 1
72920 1 0 1
72931 0 0 1
72941 1 1 1
7295.names _n714<0> _n703<0>
7296- =_n714<0>
7297.names _n714<1> _n703<1>
7298- =_n714<1>
7299# direction [2] = 1
7300.mv direction$dec_n718$true<*1*> 2 UP DOWN
7301.mv direction$dec_n718$true<*2*> 2 UP DOWN
7302.mv _n719 2 UP DOWN
7303.names _n71a<0>
73040
7305.names _n71a<1>
73061
7307.names _n71b<0>
73081
7309.names _n71b<1>
73100
7311.names _n71b<0> _n71a<0> _n71d<0>
7312.def 0
73130 1 1
73141 0 1
7315.names _n71b<1> _n71a<1> _n71d<1>
7316.def 0
73170 1 1
73181 0 1
7319.names _n71d<0> _n71d<1> _n71e
7320.def 1
73210 0 0
7322.names _n71e _n71c
73230 1 
73241 0 
7325.names _n719 direction$inc$raw_n6f2<*1*> _n71c direction$dec_n718$true<*1*>
7326- - 0 =direction$inc$raw_n6f2<*1*>
7327- - 1 =_n719
7328.names _n71f<0>
73290
7330.names _n71f<1>
73311
7332.names _n71f<0> _n71a<0> _n721<0>
7333.def 0
73340 1 1
73351 0 1
7336.names _n71f<1> _n71a<1> _n721<1>
7337.def 0
73380 1 1
73391 0 1
7340.names _n721<0> _n721<1> _n722
7341.def 1
73420 0 0
7343.names _n722 _n720
73440 1 
73451 0 
7346.names _n719 direction$inc$raw_n6f2<*2*> _n720 direction$dec_n718$true<*2*>
7347- - 0 =direction$inc$raw_n6f2<*2*>
7348- - 1 =_n719
7349.names _n719
7350DOWN
7351# if/else (dec [2])
7352.mv direction$dec$raw_n723<*1*> 2 UP DOWN
7353.mv direction$dec$raw_n723<*2*> 2 UP DOWN
7354.names dec<2> _n724
7355.def 1
73560 0
7357.names direction$dec_n718$true<*1*> direction$inc$raw_n6f2<*1*> _n724 direction$dec$raw_n723<*1*>
7358- - 0 =direction$inc$raw_n6f2<*1*>
7359- - 1 =direction$dec_n718$true<*1*>
7360.names direction$dec_n718$true<*2*> direction$inc$raw_n6f2<*2*> _n724 direction$dec$raw_n723<*2*>
7361- - 0 =direction$inc$raw_n6f2<*2*>
7362- - 1 =direction$dec_n718$true<*2*>
7363.names dec<2> _n726
7364.def 1
73650 0
7366.names locations$dec_n702$true<*1*><0> locations$inc$raw_n6f4<*1*><0> _n726 locations$dec$raw_n725<*1*><0>
73670 - 1 0
73681 - 1 1
7369- 0 0 0
7370- 1 0 1
7371.names locations$dec_n702$true<*1*><1> locations$inc$raw_n6f4<*1*><1> _n726 locations$dec$raw_n725<*1*><1>
73720 - 1 0
73731 - 1 1
7374- 0 0 0
7375- 1 0 1
7376.names locations$dec_n702$true<*2*><0> locations$inc$raw_n6f4<*2*><0> _n726 locations$dec$raw_n725<*2*><0>
73770 - 1 0
73781 - 1 1
7379- 0 0 0
7380- 1 0 1
7381.names locations$dec_n702$true<*2*><1> locations$inc$raw_n6f4<*2*><1> _n726 locations$dec$raw_n725<*2*><1>
73820 - 1 0
73831 - 1 1
7384- 0 0 0
7385- 1 0 1
7386# conflict arbitrators
7387.names button_above$raw_n39a<1>  button_above<1>
7388- =button_above$raw_n39a<1>
7389.names button_above$raw_n3c0<2>  button_above<2>
7390- =button_above$raw_n3c0<2>
7391.names _n48a _n4bd _n4f1 _n557 _n562 _n5d4 _n5df _n731
7392.def 0
7393 1 - - - - - - 1
7394 - 1 - - - - - 1
7395 - - 1 - - - - 1
7396 - - - 1 1 - - 1
7397 - - - - - 1 1 1
7398.mv _n732<*0*> 2 ON OFF
7399.mv _n732<*1*> 2 ON OFF
7400.mv _n732<*2*> 2 ON OFF
7401.names _n731 down_floor_buttons$_n5d3$raw_n5fd<*0*> down_floor_buttons<*0*> _n732<*0*>
74021 - - =down_floor_buttons$_n5d3$raw_n5fd<*0*>
74030 - - =down_floor_buttons<*0*>
7404.names _n731 down_floor_buttons$_n5d3$raw_n5fd<*1*> down_floor_buttons<*1*> _n732<*1*>
74051 - - =down_floor_buttons$_n5d3$raw_n5fd<*1*>
74060 - - =down_floor_buttons<*1*>
7407.names _n731 down_floor_buttons$_n5d3$raw_n5fd<*2*> down_floor_buttons<*2*> _n732<*2*>
74081 - - =down_floor_buttons$_n5d3$raw_n5fd<*2*>
74090 - - =down_floor_buttons<*2*>
7410.names buttons$raw_n366<0>  buttons<0>
7411- =buttons$raw_n366<0>
7412.names buttons$raw_n371<1>  buttons<1>
7413- =buttons$raw_n371<1>
7414.names buttons$raw_n37c<2>  buttons<2>
7415- =buttons$raw_n37c<2>
7416.names _n610 _n625 _n635 _n665 _n6a1 _n6bb _n6cf _n700 _n784
7417.def 0
7418 1 - - - - - - - 1
7419 - 1 - - - - - - 1
7420 - - 1 - - - - - 1
7421 - - - 1 - - - - 1
7422 - - - - 1 - - - 1
7423 - - - - - 1 - - 1
7424 - - - - - - 1 - 1
7425 - - - - - - - 1 1
7426.mv _n785<*1*> 2 UP DOWN
7427.mv _n785<*2*> 2 UP DOWN
7428.names _n784 direction$dec$raw_n723<*1*> direction<*1*> _n785<*1*>
74291 - - =direction$dec$raw_n723<*1*>
74300 - - =direction<*1*>
7431.names _n784 direction$dec$raw_n723<*2*> direction<*2*> _n785<*2*>
74321 - - =direction$dec$raw_n723<*2*>
74330 - - =direction<*2*>
7434.names button_below$raw_n387<1>  button_below<1>
7435- =button_below$raw_n387<1>
7436.names button_below$raw_n3ad<2>  button_below<2>
7437- =button_below$raw_n3ad<2>
7438.names _n475 _n4a3 _n4d7 _n51b _n526 _n598 _n5a3 _n7bc
7439.def 0
7440 1 - - - - - - 1
7441 - 1 - - - - - 1
7442 - - 1 - - - - 1
7443 - - - 1 1 - - 1
7444 - - - - - 1 1 1
7445.mv _n7bd<*0*> 2 ON OFF
7446.mv _n7bd<*1*> 2 ON OFF
7447.mv _n7bd<*2*> 2 ON OFF
7448.names _n7bc up_floor_buttons$_n597$raw_n5c2<*0*> up_floor_buttons<*0*> _n7bd<*0*>
74491 - - =up_floor_buttons$_n597$raw_n5c2<*0*>
74500 - - =up_floor_buttons<*0*>
7451.names _n7bc up_floor_buttons$_n597$raw_n5c2<*1*> up_floor_buttons<*1*> _n7bd<*1*>
74521 - - =up_floor_buttons$_n597$raw_n5c2<*1*>
74530 - - =up_floor_buttons<*1*>
7454.names _n7bc up_floor_buttons$_n597$raw_n5c2<*2*> up_floor_buttons<*2*> _n7bd<*2*>
74551 - - =up_floor_buttons$_n597$raw_n5c2<*2*>
74560 - - =up_floor_buttons<*2*>
7457.names stop_next$raw_n3ef<1>  stop_next<1>
7458- =stop_next$raw_n3ef<1>
7459.names stop_next$raw_n42c<2>  stop_next<2>
7460- =stop_next$raw_n42c<2>
7461.names _n635 _n665 _n6cf _n700 _n80f
7462.def 0
7463 1 - - - 1
7464 - 1 - - 1
7465 - - 1 - 1
7466 - - - 1 1
7467.names _n80f locations$dec$raw_n725<*1*><0> locations$dec$raw_n725<*1*><1> locations<*1*><0> locations<*1*><1> -> _n810<*1*><0> _n810<*1*><1>
74681 - - - - =locations$dec$raw_n725<*1*><0> =locations$dec$raw_n725<*1*><1>
74690 - - - - =locations<*1*><0> =locations<*1*><1>
7470.names _n80f locations$dec$raw_n725<*2*><0> locations$dec$raw_n725<*2*><1> locations<*2*><0> locations<*2*><1> -> _n810<*2*><0> _n810<*2*><1>
74711 - - - - =locations$dec$raw_n725<*2*><0> =locations$dec$raw_n725<*2*><1>
74720 - - - - =locations<*2*><0> =locations<*2*><1>
7473.names continue$raw_n3d3<1>  continue<1>
7474- =continue$raw_n3d3<1>
7475.names continue$raw_n3e1<2>  continue<2>
7476- =continue$raw_n3e1<2>
7477# non-blocking assignments
7478# latches
7479.r down_floor_buttons$raw_n33f<*0*> down_floor_buttons<*0*>
7480.def ON
7481OFF =down_floor_buttons$raw_n33f<*0*>
7482.r down_floor_buttons$raw_n33f<*1*> down_floor_buttons<*1*>
7483.def ON
7484OFF =down_floor_buttons$raw_n33f<*1*>
7485.r down_floor_buttons$raw_n33f<*2*> down_floor_buttons<*2*>
7486.def ON
7487OFF =down_floor_buttons$raw_n33f<*2*>
7488.latch _n732<*0*> down_floor_buttons<*0*>
7489.latch _n732<*1*> down_floor_buttons<*1*>
7490.latch _n732<*2*> down_floor_buttons<*2*>
7491.r up_floor_buttons$raw_n30f<*0*> up_floor_buttons<*0*>
7492.def ON
7493OFF =up_floor_buttons$raw_n30f<*0*>
7494.r up_floor_buttons$raw_n30f<*1*> up_floor_buttons<*1*>
7495.def ON
7496OFF =up_floor_buttons$raw_n30f<*1*>
7497.r up_floor_buttons$raw_n30f<*2*> up_floor_buttons<*2*>
7498.def ON
7499OFF =up_floor_buttons$raw_n30f<*2*>
7500.latch _n7bd<*0*> up_floor_buttons<*0*>
7501.latch _n7bd<*1*> up_floor_buttons<*1*>
7502.latch _n7bd<*2*> up_floor_buttons<*2*>
7503.r direction$raw_n35b<*1*> direction<*1*>
7504.def UP
7505DOWN =direction$raw_n35b<*1*>
7506.r direction$raw_n35b<*2*> direction<*2*>
7507.def UP
7508DOWN =direction$raw_n35b<*2*>
7509.latch _n785<*1*> direction<*1*>
7510.latch _n785<*2*> direction<*2*>
7511.r locations$raw_n2df<*1*><0> locations<*1*><0>
7512.def 0
75131 1
7514.r locations$raw_n2df<*2*><0> locations<*2*><0>
7515.def 0
75161 1
7517.r locations$raw_n2df<*1*><1> locations<*1*><1>
7518.def 0
75191 1
7520.r locations$raw_n2df<*2*><1> locations<*2*><1>
7521.def 0
75221 1
7523.latch _n810<*1*><0> locations<*1*><0>
7524.latch _n810<*2*><0> locations<*2*><0>
7525.latch _n810<*1*><1> locations<*1*><1>
7526.latch _n810<*2*><1> locations<*2*><1>
7527# quasi-continuous assignment
7528.end
7529
7530
Note: See TracBrowser for help on using the repository browser.