1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
|
<html>
<head>
<title>~/atari800_devel/jumpman_jr/jumpmanjr.dasm.html</title>
<meta name="Generator" content="Vim/7.4">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#000000" text="#ffffff">
<pre>
<font color="#8080ff">; da65 V2.15 - Git 104f898</font>
<font color="#8080ff">; Created: 2016-08-30 05:02:11</font>
<font color="#8080ff">; Input file: jumpmanjr.rom</font>
<font color="#8080ff">; Page: 1</font>
.<font color="#00ffff">setcpu</font> <font color="#ff6060">"6502"</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L0000</font> :=<font color="#ff40ff"> $0000</font>
<font color="#00ffff">dm_ypos</font> :=<font color="#ff40ff"> $0054 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_xpos</font> :=<font color="#ff40ff"> $0055 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#ff40ff">SAVMSC</font> :=<font color="#ff40ff"> $0058 </font> <font color="#8080ff">; OS's idea of the start of screen memory [redundant to set here?]</font>
<font color="#00ffff">dm_count</font> :=<font color="#ff40ff"> $00BE </font> <font color="#8080ff">; graphics object definition is this long</font>
<font color="#00ffff">dm_length</font> :=<font color="#ff40ff"> $00BF </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_progctr</font> :=<font color="#ff40ff"> $00C0 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_objptr</font> :=<font color="#ff40ff"> $00C2 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_screen_addr</font> :=<font color="#ff40ff"> $00C4 </font> <font color="#8080ff">; points to byte to write gfx data to</font>
<font color="#00ffff">dm_x_with_offset</font>:=<font color="#ff40ff"> $00C6 </font> <font color="#8080ff">; graphics object X offset, plus dm_xpos</font>
<font color="#00ffff">dm_y_with_offset</font>:=<font color="#ff40ff"> $00C7 </font> <font color="#8080ff">; graphics object Y offset, plus dm_xpos</font>
<font color="#00ffff">dm_delta_x</font> :=<font color="#ff40ff"> $00C9 </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">dm_delta_y</font> :=<font color="#ff40ff"> $00CA </font> <font color="#8080ff">; see draw_map and level_maps.txt</font>
<font color="#00ffff">zp_temp1</font> :=<font color="#ff40ff"> $00CB </font> <font color="#8080ff">; used for (zp,y) addressing, also for checking console keys in vblank_imm_isr</font>
<font color="#00ffff">FR1</font> :=<font color="#ff40ff"> $00E0</font>
<font color="#ff40ff">VDSLST</font> :=<font color="#ff40ff"> $0200</font>
<font color="#ff40ff">VKEYBD</font> :=<font color="#ff40ff"> $0208</font>
<font color="#00ffff">VKEYBD_hi</font> :=<font color="#ff40ff"> $0209</font>
<font color="#ff40ff">SDMCTL</font> :=<font color="#ff40ff"> $022F</font>
<font color="#ff40ff">GPRIOR</font> :=<font color="#ff40ff"> $026F</font>
<font color="#ff40ff">PCOLR0</font> :=<font color="#ff40ff"> $02C0</font>
<font color="#ff40ff">PCOLR1</font> :=<font color="#ff40ff"> $02C1</font>
<font color="#ff40ff">PCOLR2</font> :=<font color="#ff40ff"> $02C2</font>
<font color="#ff40ff">PCOLR3</font> :=<font color="#ff40ff"> $02C3</font>
<font color="#ff40ff">COLOR0</font> :=<font color="#ff40ff"> $02C4</font>
<font color="#ff40ff">COLOR1</font> :=<font color="#ff40ff"> $02C5</font>
<font color="#ff40ff">COLOR2</font> :=<font color="#ff40ff"> $02C6</font>
<font color="#ff40ff">COLOR3</font> :=<font color="#ff40ff"> $02C7</font>
<font color="#ff40ff">COLOR4</font> :=<font color="#ff40ff"> $02C8</font>
<font color="#ff40ff">CHBAS</font> :=<font color="#ff40ff"> $02F4</font>
<font color="#00ffff">jiffy_timer_1</font> :=<font color="#ff40ff"> $061A </font> <font color="#8080ff">; gets incremented every frame</font>
<font color="#00ffff">jiffy_timer_2</font> :=<font color="#ff40ff"> $061B </font> <font color="#8080ff">; gets incremented every frame</font>
<font color="#00ffff">speed_jiffy_timer</font>:=<font color="#ff40ff"> $061E </font> <font color="#8080ff">; counts 0..initial_speed</font>
<font color="#00ffff">player_speed</font> :=<font color="#ff40ff"> $0624</font>
<font color="#00ffff">initial_speed</font> :=<font color="#ff40ff"> $0625</font>
<font color="#00ffff">bonus_jiffy_timer</font>:=<font color="#ff40ff"> $0626 </font> <font color="#8080ff">; gets incremented every frame when playing a level, bonus-=100 when this reaches 0</font>
<font color="#00ffff">playing_level</font> :=<font color="#ff40ff"> $0627 </font> <font color="#8080ff">; 0 = not playing, non-0 = playing</font>
<font color="#00ffff">sfx_lock</font> :=<font color="#ff40ff"> $062F </font> <font color="#8080ff">; lets other code know cue_sfx is still running? not 100% sure</font>
<font color="#00ffff">player_delta_x</font> :=<font color="#ff40ff"> $0630 </font> <font color="#8080ff">; amount to move jumpman this frame (1 or $FF aka -1)</font>
<font color="#00ffff">player_delta_y</font> :=<font color="#ff40ff"> $0631 </font> <font color="#8080ff">; amount to move jumpman this frame (1 or $FF aka -1)</font>
<font color="#00ffff">joystick_disabled</font>:=<font color="#ff40ff"> $0632 </font> <font color="#8080ff">; nonzero = jumpman can't move (title screen or materialization, etc)</font>
<font color="#00ffff">joystick_state</font> :=<font color="#ff40ff"> $0633 </font> <font color="#8080ff">; last PORTA read (bottom 4 bits), or 0 if joystick_disabled</font>
<font color="#00ffff">trigger_disabled</font>:=<font color="#ff40ff"> $0634 </font> <font color="#8080ff">; nonzero = jumpman can't jump (he's already jumping, or title screen or materialization, etc)</font>
<font color="#00ffff">trigger_state</font> :=<font color="#ff40ff"> $0635 </font> <font color="#8080ff">; last TRIG0 read (0 = pressed)</font>
<font color="#00ffff">sfx_ptr</font> :=<font color="#ff40ff"> $063C</font>
<font color="#00ffff">sfx_slot_tempo</font> :=<font color="#ff40ff"> $063E </font> <font color="#8080ff">; tempo of this sfx</font>
<font color="#00ffff">sfx_slot_timer</font> :=<font color="#ff40ff"> $063F</font>
<font color="#00ffff">sfx_slot_duration</font>:=<font color="#ff40ff"> $0646</font>
<font color="#00ffff">sfx_slot_freq</font> :=<font color="#ff40ff"> $0647</font>
<font color="#00ffff">sfx_slot_curpos</font> :=<font color="#ff40ff"> $064E </font> <font color="#8080ff">; address we've got to so far, playing this sfx</font>
<font color="#00ffff">sfx_tempo_tmp</font> :=<font color="#ff40ff"> $0661 </font> <font color="#8080ff">; ??</font>
<font color="#00ffff">dlist_shadow_lo</font> :=<font color="#ff40ff"> $06AC </font> <font color="#8080ff">; stored in DLISTL if dlist_shadow_hi nonzero</font>
<font color="#00ffff">dlist_shadow_hi</font> :=<font color="#ff40ff"> $06AD </font> <font color="#8080ff">; stored in DLISTH if nonzero</font>
<font color="#00ffff">dli_vec_shadow_lo</font>:=<font color="#ff40ff"> $06AE </font> <font color="#8080ff">; stored in VDSLST if dli_vec_shadow_hi nonzero</font>
<font color="#00ffff">dli_vec_shadow_hi</font>:=<font color="#ff40ff"> $06AF </font> <font color="#8080ff">; stored in VDSLST if nonzero</font>
<font color="#00ffff">collision_save</font> :=<font color="#ff40ff"> $06B0 </font> <font color="#8080ff">; save_collisions copies GTIA collision regs $D000-$d00f here</font>
<font color="#00ffff">option_key_vec</font> :=<font color="#ff40ff"> $06C0 </font> <font color="#8080ff">; vblank_imm_isr jumps thru here if option key pressed</font>
<font color="#00ffff">select_key_vec</font> :=<font color="#ff40ff"> $06C2 </font> <font color="#8080ff">; vblank_imm_isr jumps thru here if select key pressed</font>
<font color="#00ffff">start_key_vec</font> :=<font color="#ff40ff"> $06C4 </font> <font color="#8080ff">; vblank_imm_isr jumps thru here if start key pressed</font>
<font color="#00ffff">option_key_enabled</font>:=<font color="#ff40ff"> $06C6 </font> <font color="#8080ff">; non-zero = jump through start_key_vec if start key pressed (checked by vblank_imm_isr)</font>
<font color="#00ffff">select_key_enabled</font>:=<font color="#ff40ff"> $06C7 </font> <font color="#8080ff">; non-zero = jump through start_key_vec if start key pressed (checked by vblank_imm_isr)</font>
<font color="#00ffff">start_key_enabled</font>:=<font color="#ff40ff"> $06C8 </font> <font color="#8080ff">; non-zero = jump through start_key_vec if start key pressed (checked by vblank_imm_isr)</font>
<font color="#00ffff">L06DF</font> :=<font color="#ff40ff"> $06DF</font>
<font color="#00ffff">L06E0</font> :=<font color="#ff40ff"> $06E0</font>
<font color="#00ffff">L06E3</font> :=<font color="#ff40ff"> $06E3</font>
<font color="#00ffff">L06E6</font> :=<font color="#ff40ff"> $06E6</font>
<font color="#00ffff">jump_frame</font> :=<font color="#ff40ff"> $06EB </font> <font color="#8080ff">; 0 if not jumping, or frames since start of jump (range 1 to 21)</font>
<font color="#00ffff">randomizer_mode</font> :=<font color="#ff40ff"> $06F3 </font> <font color="#8080ff">; only after beating levels 1-12 in order</font>
<font color="#00ffff">number_of_players</font>:=<font color="#ff40ff"> $06F4 </font> <font color="#8080ff">; 0 for single-player game, otherwise range 1-3 (2 to 4 players)</font>
<font color="#00ffff">level</font> :=<font color="#ff40ff"> $06F6</font>
<font color="#00ffff">speed_value</font> :=<font color="#ff40ff"> $06F9 </font> <font color="#8080ff">; decoded speed (1-8)</font>
<font color="#00ffff">current_player</font> :=<font color="#ff40ff"> $06FE </font> <font color="#8080ff">; *think* this ranges 1-4, not 0-3</font>
<font color="#00ffff">score</font> :=<font color="#ff40ff"> $0700</font>
<font color="#00ffff">lives</font> :=<font color="#ff40ff"> $070A</font>
<font color="#00ffff">work_level_desc</font> :=<font color="#ff40ff"> $0780 </font> <font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">work_level_sub0</font> :=<font color="#ff40ff"> $0782 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">work_level_sub1</font> :=<font color="#ff40ff"> $0784 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">work_level_sub2</font> :=<font color="#ff40ff"> $0786 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">work_level_sub3</font> :=<font color="#ff40ff"> $0788 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">work_level_num_bombs</font>:=<font color="#ff40ff"> $078A </font> <font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">work_level_bullet_chance</font>:=<font color="#ff40ff"> $078B </font> <font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">work_level_y_start</font>:=<font color="#ff40ff"> $078C </font> <font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">work_level_x_start</font>:=<font color="#ff40ff"> $078D </font> <font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">work_level_offs_14</font>:=<font color="#ff40ff"> $078E </font> <font color="#8080ff">; points to $0600</font>
<font color="#00ffff">work_level_points_per_bomb</font>:=<font color="#ff40ff"> $0790 </font> <font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">work_level_time_bonus</font>:=<font color="#ff40ff"> $0791 </font> <font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">work_level_offs_19</font>:=<font color="#ff40ff"> $0793 </font> <font color="#8080ff">; always $00</font>
<font color="#00ffff">work_level_unkn_table0</font>:=<font color="#ff40ff"> $0794 </font> <font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">work_level_map0</font> :=<font color="#ff40ff"> $0796 </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">work_level_map1</font> :=<font color="#ff40ff"> $0798 </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">work_level_map2</font> :=<font color="#ff40ff"> $079A </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">work_level_unkn_table1</font>:=<font color="#ff40ff"> $079C </font> <font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">work_level_offs_30</font>:=<font color="#ff40ff"> $079E </font> <font color="#8080ff">; always $0000</font>
<font color="#00ffff">work_level_sub_bomb</font>:=<font color="#ff40ff"> $07A0 </font> <font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">work_level_sub_start</font>:=<font color="#ff40ff"> $07A2 </font> <font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">work_level_sub6</font> :=<font color="#ff40ff"> $07A4 </font> <font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">work_level_sub_eol</font>:=<font color="#ff40ff"> $07A6 </font> <font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">work_level_offs_40</font>:=<font color="#ff40ff"> $07A8 </font> <font color="#8080ff">; all zeroes</font>
<font color="#00ffff">work_level_offs_46</font>:=<font color="#ff40ff"> $07AE </font> <font color="#8080ff">; unknown</font>
<font color="#00ffff">work_level_offs_55</font>:=<font color="#ff40ff"> $07B7 </font> <font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">work_level_offs_58</font>:=<font color="#ff40ff"> $07BA </font> <font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">work_level_offs_60</font>:=<font color="#ff40ff"> $07BC </font> <font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">cur_level_desc</font> :=<font color="#ff40ff"> $07C0 </font> <font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">cur_level_sub0</font> :=<font color="#ff40ff"> $07C2 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">cur_level_sub1</font> :=<font color="#ff40ff"> $07C4 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">cur_level_sub2</font> :=<font color="#ff40ff"> $07C6 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">cur_level_sub3</font> :=<font color="#ff40ff"> $07C8 </font> <font color="#8080ff">; a subroutine</font>
<font color="#00ffff">cur_level_num_bombs</font>:=<font color="#ff40ff"> $07CA </font> <font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">cur_level_bullet_chance</font>:=<font color="#ff40ff"> $07CB </font> <font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">cur_level_y_start</font>:=<font color="#ff40ff"> $07CC </font> <font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">cur_level_x_start</font>:=<font color="#ff40ff"> $07CD </font> <font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">cur_level_offs_14</font>:=<font color="#ff40ff"> $07CE </font> <font color="#8080ff">; points to $0600</font>
<font color="#00ffff">cur_level_points_per_bomb</font>:=<font color="#ff40ff"> $07D0 </font> <font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">cur_level_time_bonus</font>:=<font color="#ff40ff"> $07D1 </font> <font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">cur_level_offs_19</font>:=<font color="#ff40ff"> $07D3 </font> <font color="#8080ff">; always $00</font>
<font color="#00ffff">cur_level_unkn_table0</font>:=<font color="#ff40ff"> $07D4 </font> <font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">cur_level_map0</font> :=<font color="#ff40ff"> $07D6 </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">cur_level_map1</font> :=<font color="#ff40ff"> $07D8 </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">cur_level_map2</font> :=<font color="#ff40ff"> $07DA </font> <font color="#8080ff">; map data</font>
<font color="#00ffff">cur_level_unkn_table1</font>:=<font color="#ff40ff"> $07DC </font> <font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">cur_level_offs_30</font>:=<font color="#ff40ff"> $07DE </font> <font color="#8080ff">; always $0000</font>
<font color="#00ffff">cur_level_sub_bomb</font>:=<font color="#ff40ff"> $07E0 </font> <font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">cur_level_sub_start</font>:=<font color="#ff40ff"> $07E2 </font> <font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">cur_level_sub6</font> :=<font color="#ff40ff"> $07E4 </font> <font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">cur_level_sub_eol</font>:=<font color="#ff40ff"> $07E6 </font> <font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">cur_level_offs_40</font>:=<font color="#ff40ff"> $07E8 </font> <font color="#8080ff">; all zeroes</font>
<font color="#00ffff">cur_level_offs_46</font>:=<font color="#ff40ff"> $07EE </font> <font color="#8080ff">; unknown</font>
<font color="#00ffff">cur_level_offs_55</font>:=<font color="#ff40ff"> $07F7 </font> <font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">cur_level_offs_58</font>:=<font color="#ff40ff"> $07FA </font> <font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">cur_level_offs_60</font>:=<font color="#ff40ff"> $07FC </font> <font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">game_display_list</font>:=<font color="#ff40ff"> $0881 </font> <font color="#8080ff">; display list for game board</font>
<font color="#00ffff">pm_memory</font> :=<font color="#ff40ff"> $2800</font>
<font color="#00ffff">HPOSP0_minus_two</font>:=<font color="#ff40ff"> $CFFE</font>
<font color="#ff40ff">HPOSP3</font> :=<font color="#ff40ff"> $D003</font>
<font color="#ff40ff">HPOSM0</font> :=<font color="#ff40ff"> $D004</font>
<font color="#ff40ff">HPOSM1</font> :=<font color="#ff40ff"> $D005</font>
<font color="#ff40ff">HPOSM2</font> :=<font color="#ff40ff"> $D006</font>
<font color="#ff40ff">HPOSM3</font> :=<font color="#ff40ff"> $D007</font>
<font color="#ff40ff">SIZEP2</font> :=<font color="#ff40ff"> $D00A</font>
<font color="#ff40ff">SIZEP3</font> :=<font color="#ff40ff"> $D00B</font>
<font color="#ff40ff">SIZEM</font> :=<font color="#ff40ff"> $D00C</font>
<font color="#ff40ff">TRIG0</font> :=<font color="#ff40ff"> $D010</font>
<font color="#ff40ff">GRAFM</font> :=<font color="#ff40ff"> $D011</font>
<font color="#ff40ff">COLPM0</font> :=<font color="#ff40ff"> $D012</font>
<font color="#ff40ff">COLPM1</font> :=<font color="#ff40ff"> $D013</font>
<font color="#ff40ff">COLPF0</font> :=<font color="#ff40ff"> $D016</font>
<font color="#ff40ff">COLPF1</font> :=<font color="#ff40ff"> $D017</font>
<font color="#ff40ff">COLPF2</font> :=<font color="#ff40ff"> $D018</font>
<font color="#ff40ff">COLPF3</font> :=<font color="#ff40ff"> $D019</font>
<font color="#ff40ff">COLBK</font> :=<font color="#ff40ff"> $D01A</font>
<font color="#ff40ff">PRIOR</font> :=<font color="#ff40ff"> $D01B</font>
<font color="#ff40ff">GRACTL</font> :=<font color="#ff40ff"> $D01D</font>
<font color="#ff40ff">HITCLR</font> :=<font color="#ff40ff"> $D01E</font>
<font color="#ff40ff">CONSOL</font> :=<font color="#ff40ff"> $D01F</font>
<font color="#00ffff">AUDF1_minus_two</font> :=<font color="#ff40ff"> $D1FE</font>
<font color="#00ffff">AUDF1_minus_one</font> :=<font color="#ff40ff"> $D1FF</font>
<font color="#ff40ff">AUDF1</font> :=<font color="#ff40ff"> $D200</font>
<font color="#ff40ff">AUDC1</font> :=<font color="#ff40ff"> $D201</font>
<font color="#ff40ff">AUDF2</font> :=<font color="#ff40ff"> $D202</font>
<font color="#ff40ff">AUDC2</font> :=<font color="#ff40ff"> $D203</font>
<font color="#ff40ff">AUDF3</font> :=<font color="#ff40ff"> $D204</font>
<font color="#ff40ff">AUDC3</font> :=<font color="#ff40ff"> $D205</font>
<font color="#ff40ff">AUDF4</font> :=<font color="#ff40ff"> $D206</font>
<font color="#ff40ff">AUDC4</font> :=<font color="#ff40ff"> $D207</font>
<font color="#ff40ff">AUDCTL</font> :=<font color="#ff40ff"> $D208</font>
<font color="#ff40ff">KBCODE</font> :=<font color="#ff40ff"> $D209</font>
<font color="#ff40ff">RANDOM</font> :=<font color="#ff40ff"> $D20A</font>
<font color="#ff40ff">IRQEN</font> :=<font color="#ff40ff"> $D20E</font>
<font color="#ff40ff">SKCTL</font> :=<font color="#ff40ff"> $D20F</font>
<font color="#ff40ff">PORTA</font> :=<font color="#ff40ff"> $D300</font>
<font color="#ff40ff">DMACTL</font> :=<font color="#ff40ff"> $D400</font>
<font color="#ff40ff">DLISTL</font> :=<font color="#ff40ff"> $D402</font>
<font color="#ff40ff">DLISTH</font> :=<font color="#ff40ff"> $D403</font>
<font color="#ff40ff">HSCROL</font> :=<font color="#ff40ff"> $D404</font>
<font color="#ff40ff">PMBASE</font> :=<font color="#ff40ff"> $D407</font>
<font color="#ff40ff">CHBASE</font> :=<font color="#ff40ff"> $D409</font>
<font color="#ff40ff">WSYNC</font> :=<font color="#ff40ff"> $D40A</font>
<font color="#ff40ff">NMIEN</font> :=<font color="#ff40ff"> $D40E</font>
<font color="#ff40ff">SETVBV</font> :=<font color="#ff40ff"> $E45C</font>
<font color="#ff40ff">XITVBV</font> :=<font color="#ff40ff"> $E462</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; the entry point for parsing the level map and drawing graphics from it. see level_maps.txt.</font>
<font color="#00ffff">draw_map_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">draw_map</font> <font color="#8080ff">; 8000 4C 49 80 LI.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; if cue_sfx not already in progress, setup to play sfx at (sfx_slot_tempo, sfx_lock) tempo (?) A</font>
<font color="#00ffff">cue_sfx_lowprior_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">cue_sfx_lowprior</font> <font color="#8080ff">; 8003 4C 40 82 L@.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; setup to play sfx</font>
<font color="#00ffff">cue_sfx_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">cue_sfx</font> <font color="#8080ff">; 8006 4C 55 82 LU.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called after the level is drawn & the intro music stops, and also during the level (?)</font>
<font color="#00ffff">xxx_level_something_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">xxx_level_something</font> <font color="#8080ff">; 8009 4C 00 86 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; also adds extra life every 7500 points</font>
<font color="#00ffff">update_score_display_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">update_score_display</font> <font color="#8080ff">; 800C 4C BC 8C L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L800F</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L867E</font> <font color="#8080ff">; 800F 4C 7E 86 L~.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; bottom 2 GR.1 lines on the game board</font>
<font color="#00ffff">update_status_window_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">update_status_window</font> <font color="#8080ff">; 8012 4C 94 86 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; for some reason there are 2 copies of the display list, at $0800 and $0881</font>
<font color="#00ffff">setup_gameboard_dlist_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">setup_gameboard_dlist</font> <font color="#8080ff">; 8015 4C 00 9B L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; setup to play whichever music is in A reg, using 5-byte sfx stuct</font>
<font color="#00ffff">cue_music_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">cue_music</font> <font color="#8080ff">; 8018 4C 92 8F L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called after level-intro music is finished playing</font>
<font color="#00ffff">enable_joystick_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">enable_joystick</font> <font color="#8080ff">; 801B 4C 75 87 Lu.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; clear the gameboard screen memory (called before drawing a level, natch)</font>
<font color="#00ffff">clear_screen_mem_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">clear_screen_mem</font> <font color="#8080ff">; 801E 4C 14 87 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; bonus -= 100;</font>
<font color="#00ffff">decrement_time_bonus_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">decrement_time_bonus</font> <font color="#8080ff">; 8021 4C CE 8D L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">init_page_7_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">init_page_7</font> <font color="#8080ff">; 8024 4C 5C 9A L\.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8027</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L9AAA</font> <font color="#8080ff">; 8027 4C AA 9A L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L802A</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">LBA00</font> <font color="#8080ff">; 802A 4C 00 BA L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">level_finished_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">level_finished</font> <font color="#8080ff">; 802D 4C 00 8E L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; just lost your last life</font>
<font color="#00ffff">crumble_gameboard_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">crumble_gameboard</font> <font color="#8080ff">; 8030 4C 00 8D L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; check whether Jumpman just touched a bomb (RTS if not)</font>
<font color="#00ffff">check_bomb_coll_jv</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">check_bomb_coll</font> <font color="#8080ff">; 8033 4C A0 87 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8036</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L8B23</font> <font color="#8080ff">; 8036 4C 23 8B L#.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8B2D</font> <font color="#8080ff">; 8039 4C 2D 8B L-.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L803C</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L8AE0</font> <font color="#8080ff">; 803C 4C E0 8A L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; 3 unused jump vectors, all pointed to the same RTS</font>
<font color="#00ffff">unused_vecs</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">unused_vec_rts</font> <font color="#8080ff">; 803F 4C 48 80 LH.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">unused_vec_rts</font> <font color="#8080ff">; 8042 4C 48 80 LH.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">unused_vec_rts</font> <font color="#8080ff">; 8045 4C 48 80 LH.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; unused jump vectors point here</font>
<font color="#00ffff">unused_vec_rts</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 8048 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; the entry point for parsing the level map and drawing graphics from it. see level_maps.txt. caller must set $C0/$C1 to the address of the map data. modders beware: bogus map data can & will cause infinite loops.</font>
<font color="#00ffff">draw_map</font>:
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8049 A0 00 ..</font>
<font color="#8080ff">; $C0/$C1 points to $A300 (level00_desc) on the first call</font>
<font color="#00ffff">dm_get_opcode</font>:
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 804B B1 C0 ..</font>
<font color="#8080ff">; map opcodes: $FC = jump, $FF = end, $FD = set drawing direction, $FE = select graphics object</font>
<font color="#00ffff">dm_switch_opcode</font>:
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FC</font> <font color="#8080ff">; 804D C9 FC ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">dm_draw_gfx</font> <font color="#8080ff">; 804F 90 3F .?</font>
<font color="#00ff00">beq</font> <font color="#00ffff">dm_jump</font> <font color="#8080ff">; 8051 F0 09 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FD</font> <font color="#8080ff">; 8053 C9 FD ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">dm_delta</font> <font color="#8080ff">; 8055 F0 14 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FE</font> <font color="#8080ff">; 8057 C9 FE ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">dm_obj</font> <font color="#8080ff">; 8059 F0 28 .(</font>
<font color="#8080ff">; handle gfx_end opcode</font>
<font color="#00ffff">dm_fallthru</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 805B 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; handle gfx_jump opcode</font>
<font color="#00ffff">dm_jump</font>:<font color="#00ff00">iny</font> <font color="#8080ff">; 805C C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 805D B1 C0 ..</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 805F 48 H</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8060 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8061 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8063 85 C1 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8065 68 h</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 8066 85 C0 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">draw_map</font> <font color="#8080ff">; 8068 4C 49 80 LI.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; handle gfx_delta opcode</font>
<font color="#00ffff">dm_delta</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 806B C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 806C B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_delta_x</font> <font color="#8080ff">; 806E 85 C9 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8070 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8071 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_delta_y</font> <font color="#8080ff">; 8073 85 CA ..</font>
<font color="#8080ff">; all the other opcode handlers jump here</font>
<font color="#00ffff">dm_next_opcode</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 8075 A5 C0 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8077 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8078 69 03 i.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 807A 85 C0 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">draw_map</font> <font color="#8080ff">; 807C 90 CB ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 807E E6 C1 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">draw_map</font> <font color="#8080ff">; 8080 4C 49 80 LI.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; handle gfx_object opcode</font>
<font color="#00ffff">dm_obj</font>: <font color="#00ff00">iny</font> <font color="#8080ff">; 8083 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8084 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_objptr</font> <font color="#8080ff">; 8086 85 C2 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8088 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8089 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_objptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 808B 85 C3 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">dm_next_opcode</font> <font color="#8080ff">; 808D 4C 75 80 Lu.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; handle gfx_draw opcode</font>
<font color="#00ffff">dm_draw_gfx</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">dm_xpos</font> <font color="#8080ff">; 8090 85 55 .U</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8092 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8093 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_ypos</font> <font color="#8080ff">; 8095 85 54 .T</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8097 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_progctr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8098 B1 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_length</font> <font color="#8080ff">; 809A 85 BF ..</font>
<font color="#8080ff">; loop 'dm_length' times</font>
<font color="#00ffff">dm_draw_loop</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">dm_draw_obj</font> <font color="#8080ff">; 809C 20 B4 80 ..</font>
<font color="#00ff00">dec</font> <font color="#00ffff">dm_length</font> <font color="#8080ff">; 809F C6 BF ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">dm_next_opcode</font> <font color="#8080ff">; 80A1 F0 D2 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dm_delta_x</font> <font color="#8080ff">; 80A3 A5 C9 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80A5 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_xpos</font> <font color="#8080ff">; 80A6 65 55 eU</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_xpos</font> <font color="#8080ff">; 80A8 85 55 .U</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dm_delta_y</font> <font color="#8080ff">; 80AA A5 CA ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80AC 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_ypos</font> <font color="#8080ff">; 80AD 65 54 eT</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_ypos</font> <font color="#8080ff">; 80AF 85 54 .T</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">dm_draw_loop</font> <font color="#8080ff">; 80B1 4C 9C 80 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; draw current object at current x/y position</font>
<font color="#00ffff">dm_draw_obj</font>:
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 80B4 A0 00 ..</font>
<font color="#8080ff">; object definition ends with $FF</font>
<font color="#00ffff">dm_draw_obj_loop</font>:
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_objptr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 80B6 B1 C2 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 80B8 C9 FF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">dm_obj_to_screen</font> <font color="#8080ff">; 80BA D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 80BC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; actually write the object's pixels to screen memory. quite hairy.</font>
<font color="#00ffff">dm_obj_to_screen</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">dm_count</font> <font color="#8080ff">; 80BD 85 BE ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 80BF C8 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80C0 18 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_objptr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 80C1 B1 C2 ..</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_xpos</font> <font color="#8080ff">; 80C3 65 55 eU</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_x_with_offset</font> <font color="#8080ff">; 80C5 85 C6 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 80C7 C8 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80C8 18 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_objptr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 80C9 B1 C2 ..</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_ypos</font> <font color="#8080ff">; 80CB 65 54 eT</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_y_with_offset</font> <font color="#8080ff">; 80CD 85 C7 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 80CF C8 .</font>
<font color="#8080ff">; calculate 40 * dm_y_with_offset + dm_x_with_offset + screen mem address, store in dm_screen_addr</font>
<font color="#00ffff">calc_screen_addr</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 80D0 A9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 80D2 85 BD ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 80D4 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_screen_addr</font> <font color="#8080ff">; 80D6 85 C4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 80D8 A2 08 ..</font>
<font color="#00ffff">L80DA</font>: <font color="#00ff00">lsr</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 80DA 46 BD F.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L80E1</font> <font color="#8080ff">; 80DC 90 03 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80DE 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_y_with_offset</font> <font color="#8080ff">; 80DF 65 C7 e.</font>
<font color="#00ffff">L80E1</font>: <font color="#00ff00">ror</font> <font color="#00ffff">a</font> <font color="#8080ff">; 80E1 6A j</font>
<font color="#00ff00">ror</font> <font color="#00ffff">dm_screen_addr</font> <font color="#8080ff">; 80E2 66 C4 f.</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 80E4 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L80DA</font> <font color="#8080ff">; 80E5 D0 F3 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80E7 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 80E8 65 59 eY</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_screen_addr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 80EA 85 C5 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dm_x_with_offset</font> <font color="#8080ff">; 80EC A5 C6 ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 80EE 4A J</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 80EF 66 C8 f.</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 80F1 4A J</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 80F2 66 C8 f.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 80F4 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_screen_addr</font> <font color="#8080ff">; 80F5 65 C4 e.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_screen_addr</font> <font color="#8080ff">; 80F7 85 C4 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L80FD</font> <font color="#8080ff">; 80F9 90 02 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">dm_screen_addr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 80FB E6 C5 ..</font>
<font color="#00ffff">L80FD</font>: <font color="#00ff00">asl</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 80FD 06 C8 ..</font>
<font color="#00ff00">rol</font> <font color="#00ffff">a</font> <font color="#8080ff">; 80FF 2A *</font>
<font color="#00ff00">asl</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 8100 06 C8 ..</font>
<font color="#00ff00">rol</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8102 2A *</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8103 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 8105 85 C8 ..</font>
<font color="#00ffff">L8107</font>: <font color="#00ff00">lda</font> (<font color="#00ffff">dm_objptr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8107 B1 C2 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 8109 85 BD ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 810B A5 C8 ..</font>
<font color="#00ff00">lsr</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 810D 46 BD F.</font>
<font color="#00ff00">rol</font> <font color="#00ffff">a</font> <font color="#8080ff">; 810F 2A *</font>
<font color="#00ff00">lsr</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 8110 46 BD F.</font>
<font color="#00ff00">rol</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8112 2A *</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 8113 85 BD ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8115 C8 .</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 8116 98 .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 8117 48 H</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8118 A0 00 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 811A A6 C8 ..</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">dm_screen_addr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 811C B1 C4 ..</font>
<font color="#00ff00">and</font> <font color="#00ffff">gr7_and_masks</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 811E 3D 53 81 =S.</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $BD </font> <font color="#8080ff">; 8121 A6 BD ..</font>
<font color="#00ff00">ora</font> <font color="#00ffff">gr7_or_masks</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8123 1D 43 81 .C.</font>
<font color="#00ff00">sta</font> (<font color="#00ffff">dm_screen_addr</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8126 91 C4 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8128 68 h</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8129 A8 .</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 812A E6 C8 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 812C A5 C8 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 812E C9 04 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L813C</font> <font color="#8080ff">; 8130 90 0A ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8132 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $C8 </font> <font color="#8080ff">; 8134 85 C8 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">dm_screen_addr</font> <font color="#8080ff">; 8136 E6 C4 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L813C</font> <font color="#8080ff">; 8138 D0 02 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">dm_screen_addr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 813A E6 C5 ..</font>
<font color="#00ffff">L813C</font>: <font color="#00ff00">dec</font> <font color="#00ffff">dm_count</font> <font color="#8080ff">; 813C C6 BE ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8107</font> <font color="#8080ff">; 813E D0 C7 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">dm_draw_obj_loop</font> <font color="#8080ff">; 8140 4C B6 80 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">gr7_or_masks</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$30</font> <font color="#8080ff">; 8143 00 80 40 C0 00 20 10 30 ..@.. .0</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; 814B 00 08 04 0C 00 02 01 03 ........</font>
<font color="#00ffff">gr7_and_masks</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$3F</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$FC</font> <font color="#8080ff">; 8153 3F CF F3 FC ?...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; we have 4 slots (because POKEY has 4 voices), X counts down by 2 from 10 to 2 (at 0, the loop exits)</font>
<font color="#00ffff">sfx_player_entry</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 8157 A2 0A ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8159 AD 2F 06 ./.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 815C F0 01 ..</font>
<font color="#00ffff">sfx_exit</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 815E 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">next_sfx_slot</font>:
<font color="#00ff00">dex</font> <font color="#8080ff">; 815F CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8160 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">sfx_exit</font> <font color="#8080ff">; 8161 F0 FB ..</font>
<font color="#8080ff">; skip it, if slot is inactive</font>
<font color="#00ffff">is_slot_active</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_tempo</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8163 BD 3E 06 .>.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 8166 F0 F7 ..</font>
<font color="#00ffff">L8168</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8168 BD 3F 06 .?.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 816B F0 10 ..</font>
<font color="#00ff00">dec</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 816D DE 3F 06 .?.</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">sfx_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8170 DD 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 8173 D0 EA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8175 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8177 9D FF D1 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 817A 4C 5F 81 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">sfx_next_note</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 817D BD 4E 06 .N.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8180 85 CB ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8182 BD 4F 06 .O.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8185 85 CC ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8187 A0 00 ..</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8189 B1 CB ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 818B C9 04 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">sfx_play_note</font> <font color="#8080ff">; 818D B0 77 .w</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 818F C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">sfx_change_tempo</font> <font color="#8080ff">; 8191 F0 1B ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8193 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">sfx_jump_opcode</font> <font color="#8080ff">; 8195 F0 31 .1</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8197 C9 03 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">sfx_play_rest</font> <font color="#8080ff">; 8199 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">sfx_finished</font> <font color="#8080ff">; 819B 4C 26 82 L&.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0 on entry</font>
<font color="#00ffff">sfx_play_rest</font>:
<font color="#00ff00">tya</font> <font color="#8080ff">; 819E 98 .</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 819F 9D FF D1 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81A2 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81A3 B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81A5 9D 3F 06 .?.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">inc_sfx_pos</font> <font color="#8080ff">; 81A8 20 31 82 1.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8168</font> <font color="#8080ff">; 81AB 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0 on entry</font>
<font color="#00ffff">sfx_change_tempo</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 81AE C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81AF B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_freq</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B1 9D 47 06 .G.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81B4 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81B5 B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_duration</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81B7 9D 46 06 .F.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">inc_sfx_pos</font> <font color="#8080ff">; 81BA 20 31 82 1.</font>
<font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81BD FE 4E 06 .N.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8168</font> <font color="#8080ff">; 81C0 D0 A6 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81C2 FE 4F 06 .O.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8168</font> <font color="#8080ff">; 81C5 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; I *think* this jumps to a different sfx address...</font>
<font color="#00ffff">sfx_jump_opcode</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 81C8 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81C9 B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81CB 9D 4E 06 .N.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81CE C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81CF B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81D1 9D 4F 06 .O.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 81D4 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $065E,x </font> <font color="#8080ff">; 81D5 BD 5E 06 .^.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L81EE</font> <font color="#8080ff">; 81D8 F0 14 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $065E,x </font> <font color="#8080ff">; 81DA DE 5E 06 .^.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 81DD D0 9E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0656,x </font> <font color="#8080ff">; 81DF BD 56 06 .V.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E2 9D 4E 06 .N.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0657,x </font> <font color="#8080ff">; 81E5 BD 57 06 .W.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 81E8 9D 4F 06 .O.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 81EB 4C 7D 81 L}.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L81EE</font>: <font color="#00ff00">nop</font> <font color="#8080ff">; 81EE EA .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 81EF B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $065E,x </font> <font color="#8080ff">; 81F1 9D 5E 06 .^.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 81F4 A5 CB ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 81F6 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 81F7 69 04 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0656,x </font> <font color="#8080ff">; 81F9 9D 56 06 .V.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 81FC A5 CC ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 81FE 69 00 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0657,x </font> <font color="#8080ff">; 8200 9D 57 06 .W.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">sfx_next_note</font> <font color="#8080ff">; 8203 4C 7D 81 L}.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; y==0, a>=4 on entry</font>
<font color="#00ffff">sfx_play_note</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8206 9D FE D1 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8209 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 820A B1 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820C 9D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_freq</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 820F BD 47 06 .G.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8212 9D FF D1 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8215 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8216 BD 4E 06 .N.</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8219 69 02 i.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 821B 9D 4E 06 .N.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8223</font> <font color="#8080ff">; 821E 90 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8220 FE 4F 06 .O.</font>
<font color="#00ffff">L8223</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L8168</font> <font color="#8080ff">; 8223 4C 68 81 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; done playing this sfx, free up the slot, X-indexed</font>
<font color="#00ffff">sfx_finished</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8226 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8228 9D 3E 06 .>.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">AUDF1_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 822B 9D FF D1 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">next_sfx_slot</font> <font color="#8080ff">; 822E 4C 5F 81 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; point to next byte in current sfx slot indexed by X</font>
<font color="#00ffff">inc_sfx_pos</font>:
<font color="#00ff00">clc</font> <font color="#8080ff">; 8231 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8232 BD 4E 06 .N.</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8235 69 02 i.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8237 9D 4E 06 .N.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">inc_done</font> <font color="#8080ff">; 823A 90 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 823C FE 4F 06 .O.</font>
<font color="#00ffff">inc_done</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 823F 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; if cue_sfx not already in progress, setup to play sfx at (sfx_slot_tempo, sfx_lock) tempo (?) A</font>
<font color="#00ffff">cue_sfx_lowprior</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 8240 48 H</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8241 AD 3D 06 .=.</font>
<font color="#00ffff">cue_ok</font>: <font color="#00ff00">beq</font> <font color="#00ffff">L8248</font> <font color="#8080ff">; 8244 F0 02 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8246 68 h</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8247 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8248</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 8248 AD 3E 06 .>.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 824B 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 824E AD 3F 06 .?.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8251 8D 3D 06 .=.</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8254 68 h</font>
<font color="#8080ff">; setup to play sfx at *sfx_ptr, tempo (?) A</font>
<font color="#00ffff">cue_sfx</font>:<font color="#00ff00">sta</font> <font color="#00ffff">sfx_tempo_tmp</font> <font color="#8080ff">; 8255 8D 61 06 .a.</font>
<font color="#00ff00">inc</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8258 EE 2F 06 ./.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 825B A2 0A ..</font>
<font color="#00ffff">L825D</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 825D CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 825E CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8281</font> <font color="#8080ff">; 825F F0 20 . </font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_tempo</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8261 BD 3E 06 .>.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L825D</font> <font color="#8080ff">; 8264 D0 F7 ..</font>
<font color="#00ffff">L8266</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8266 AD 3C 06 .<.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8269 9D 4E 06 .N.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 826C AD 3D 06 .=.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_curpos</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 826F 9D 4F 06 .O.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_tempo_tmp</font> <font color="#8080ff">; 8272 AD 61 06 .a.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8275 9D 3E 06 .>.</font>
<font color="#00ffff">cue_done</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8278 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 827A 8D 3D 06 .=.</font>
<font color="#00ff00">dec</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 827D CE 2F 06 ./.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8280 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8281</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 8281 A2 0A ..</font>
<font color="#00ffff">L8283</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 8283 CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8284 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">cue_done</font> <font color="#8080ff">; 8285 F0 F1 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_tempo</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8287 BD 3E 06 .>.</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">sfx_tempo_tmp</font> <font color="#8080ff">; 828A CD 61 06 .a.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8266</font> <font color="#8080ff">; 828D 90 D7 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8283</font> <font color="#8080ff">; 828F 4C 83 82 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $82 </font> <font color="#8080ff">; 8292 82 .</font>
<font color="#00ffff">position_missiles</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 8293 A2 05 ..</font>
<font color="#00ffff">L8295</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 8295 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">missiles_done</font> <font color="#8080ff">; 8296 F0 45 .E</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; 8298 BD 9A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $06A2,x </font> <font color="#8080ff">; 829B DD A2 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L82A6</font> <font color="#8080ff">; 829E F0 06 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06A2,x </font> <font color="#8080ff">; 82A0 9D A2 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HPOSP3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82A3 9D 03 D0 ...</font>
<font color="#00ffff">L82A6</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06A6,x </font> <font color="#8080ff">; 82A6 BD A6 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; 82A9 DD 9E 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8295</font> <font color="#8080ff">; 82AC F0 E7 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 82AE A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; 82AF B9 00 2B ..+</font>
<font color="#00ff00">and</font> <font color="#00ffff">missiles_mask_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82B2 3D DF 82 =..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; 82B5 99 00 2B ..+</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $2B01,y </font> <font color="#8080ff">; 82B8 B9 01 2B ..+</font>
<font color="#00ff00">and</font> <font color="#00ffff">missiles_mask_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82BB 3D DF 82 =..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B01,y </font> <font color="#8080ff">; 82BE 99 01 2B ..+</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; 82C1 BD 9E 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06A6,x </font> <font color="#8080ff">; 82C4 9D A6 06 ...</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 82C7 A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; 82C8 B9 00 2B ..+</font>
<font color="#00ff00">ora</font> <font color="#00ffff">L82E3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82CB 1D E3 82 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; 82CE 99 00 2B ..+</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $2B01,y </font> <font color="#8080ff">; 82D1 B9 01 2B ..+</font>
<font color="#00ff00">ora</font> <font color="#00ffff">L82E3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 82D4 1D E3 82 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B01,y </font> <font color="#8080ff">; 82D7 99 01 2B ..+</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8295</font> <font color="#8080ff">; 82DA 4C 95 82 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">missiles_done</font>:
<font color="#00ffff">missiles_mask_table_minus_one</font>:= * + <font color="#ff6060">2</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">position_players</font> <font color="#8080ff">; 82DD 4C E9 82 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">missiles_mask_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FC</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$CF</font> <font color="#8080ff">; 82E0 FC F3 CF ...</font>
<font color="#00ffff">L82E3</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$3F</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$C0</font> <font color="#8080ff">; 82E3 3F 03 0C 30 C0 ?..0.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">position_done</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 82E8 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; X counts down 5..1 (starts at 6, immediately decremented, and loop is done with 0). zp_temp1 is ZP pointer to the current player or missile being written to ($2f00..$2b00, or p3/p2/p1/p0/missiles).</font>
<font color="#00ffff">position_players</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 82E9 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 82EB 85 CB ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 82ED A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 82EF 85 CC ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 82F1 A2 06 ..</font>
<font color="#00ffff">L82F3</font>: <font color="#00ff00">dec</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 82F3 C6 CC ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 82F5 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">position_done</font> <font color="#8080ff">; 82F6 F0 F0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0668,x </font> <font color="#8080ff">; 82F8 BD 68 06 .h.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L82F3</font> <font color="#8080ff">; 82FB F0 F6 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067C,x </font> <font color="#8080ff">; 82FD BD 7C 06 .|.</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $068B,x </font> <font color="#8080ff">; 8300 DD 8B 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">position_pm_vert</font> <font color="#8080ff">; 8303 F0 1D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068B,x </font> <font color="#8080ff">; 8305 9D 8B 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">HPOSP0_minus_two</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8308 9D FE CF ...</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 830B E0 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">position_pm_vert</font> <font color="#8080ff">; 830D D0 13 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 830F A8 .</font>
<font color="#8080ff">; position the 4 missiles side-by-side</font>
<font color="#00ffff">position_player_5</font>:
<font color="#00ff00">sty</font> <font color="#ff40ff">HPOSM3</font> <font color="#8080ff">; 8310 8C 07 D0 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8313 C8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8314 C8 .</font>
<font color="#00ff00">sty</font> <font color="#ff40ff">HPOSM2</font> <font color="#8080ff">; 8315 8C 06 D0 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8318 C8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8319 C8 .</font>
<font color="#00ff00">sty</font> <font color="#ff40ff">HPOSM1</font> <font color="#8080ff">; 831A 8C 05 D0 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 831D C8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 831E C8 .</font>
<font color="#00ff00">sty</font> <font color="#ff40ff">HPOSM0</font> <font color="#8080ff">; 831F 8C 04 D0 ...</font>
<font color="#00ffff">position_pm_vert</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 8322 BD 90 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8325 DD 81 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8338</font> <font color="#8080ff">; 8328 D0 0E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0686,x </font> <font color="#8080ff">; 832A BD 86 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0695,x </font> <font color="#8080ff">; 832D DD 95 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L82F3</font> <font color="#8080ff">; 8330 F0 C1 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0695,x </font> <font color="#8080ff">; 8332 9D 95 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 8335 BD 90 06 ...</font>
<font color="#00ffff">L8338</font>: <font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8338 85 CB ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0677,x </font> <font color="#8080ff">; 833A BD 77 06 .w.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 833D 85 CF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 833F A9 00 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8341 A8 .</font>
<font color="#8080ff">; write zeroes to unused portion of this player/missile</font>
<font color="#00ffff">clear_pm</font>:
<font color="#00ff00">sta</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8342 91 CB ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8344 C8 .</font>
<font color="#00ff00">cpy</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8345 C4 CF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">clear_pm</font> <font color="#8080ff">; 8347 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8349 BD 81 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0690,x </font> <font color="#8080ff">; 834C 9D 90 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 834F 85 CB ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $066D,x </font> <font color="#8080ff">; 8351 BD 6D 06 .m.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8354 85 CD ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0672,x </font> <font color="#8080ff">; 8356 BD 72 06 .r.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CE </font> <font color="#8080ff">; 8359 85 CE ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $0686,x </font> <font color="#8080ff">; 835B BC 86 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 835E 18 .</font>
<font color="#00ffff">L835F</font>: <font color="#00ff00">dey</font> <font color="#8080ff">; 835F 88 .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8370</font> <font color="#8080ff">; 8360 F0 0E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8362 A5 CF ..</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8364 65 CD e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CD </font> <font color="#8080ff">; 8366 85 CD ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L835F</font> <font color="#8080ff">; 8368 90 F5 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $CE </font> <font color="#8080ff">; 836A E6 CE ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 836C 18 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L835F</font> <font color="#8080ff">; 836D 4C 5F 83 L_.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8370</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($CD),y </font> <font color="#8080ff">; 8370 B1 CD ..</font>
<font color="#00ff00">sta</font> (<font color="#00ffff">zp_temp1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; 8372 91 CB ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8374 C8 .</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $CF </font> <font color="#8080ff">; 8375 C6 CF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8370</font> <font color="#8080ff">; 8377 D0 F7 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L82F3</font> <font color="#8080ff">; 8379 4C F3 82 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">init_hardware</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$18</font> <font color="#8080ff">; 837C A2 18 ..</font>
<font color="#8080ff">; movement_direction_table+31 should read data_table_85de-1, da65 isn't perfect yet</font>
<font color="#00ffff">init_page6_loop</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">movement_direction_table</font>+<font color="#ff6060">31</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 837E BD DD 85 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $05FF,x </font> <font color="#8080ff">; 8381 9D FF 05 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8384 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">init_page6_loop</font> <font color="#8080ff">; 8385 D0 F7 ..</font>
<font color="#00ff00">stx</font> <font color="#ff40ff">AUDCTL</font> <font color="#8080ff">; 8387 8E 08 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 838A A9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PMBASE</font> <font color="#8080ff">; 838C 8D 07 D4 ...</font>
<font color="#8080ff">; std playfield, enable players + missiles, single-line p/m res, DMA enabled</font>
<font color="#00ffff">set_dma_ctl</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$3E</font> <font color="#8080ff">; 838F A9 3E .></font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SDMCTL</font> <font color="#8080ff">; 8391 8D 2F 02 ./.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">DMACTL</font> <font color="#8080ff">; 8394 8D 00 D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$11</font> <font color="#8080ff">; 8397 A9 11 ..</font>
<font color="#8080ff">; priority $11: pl0-3, pf0-3, bak (and enable 5th player from the missiles)</font>
<font color="#00ffff">init_set_prior</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff">GPRIOR</font> <font color="#8080ff">; 8399 8D 6F 02 .o.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PRIOR</font> <font color="#8080ff">; 839C 8D 1B D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 839F A9 03 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SKCTL</font> <font color="#8080ff">; 83A1 8D 0F D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">GRACTL</font> <font color="#8080ff">; 83A4 8D 1D D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 83A7 A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 83A9 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$4C</font> <font color="#8080ff">; 83AC A9 4C .L</font>
<font color="#00ff00">sta</font> <font color="#00ffff">L06E0</font> <font color="#8080ff">; 83AE 8D E0 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; 83B1 A9 20 . </font>
<font color="#00ff00">sta</font> <font color="#00ffff">L06E3</font> <font color="#8080ff">; 83B3 8D E3 06 ...</font>
<font color="#8080ff">; store an RTS at $06E6, which will get JSR'ed to by unused level subroutines</font>
<font color="#00ffff">store_rts</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$60</font> <font color="#8080ff">; 83B6 A9 60 .`</font>
<font color="#00ff00">sta</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; 83B8 8D E6 06 ...</font>
<font color="#8080ff">; use character set at $9e00 aka charset</font>
<font color="#00ffff">set_char_base</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$9E</font> <font color="#8080ff">; 83BB A9 9E ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">CHBAS</font> <font color="#8080ff">; 83BD 8D F4 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">CHBASE</font> <font color="#8080ff">; 83C0 8D 09 D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9D</font> <font color="#8080ff">; 83C3 A9 9D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0674 </font> <font color="#8080ff">; 83C5 8D 74 06 .t.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0675 </font> <font color="#8080ff">; 83C8 8D 75 06 .u.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$E8</font> <font color="#8080ff">; 83CB A9 E8 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0670 </font> <font color="#8080ff">; 83CD 8D 70 06 .p.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066A </font> <font color="#8080ff">; 83D0 8D 6A 06 .j.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066B </font> <font color="#8080ff">; 83D3 8D 6B 06 .k.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 83D6 A9 0A ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0679 </font> <font color="#8080ff">; 83D8 8D 79 06 .y.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $067A </font> <font color="#8080ff">; 83DB EE 7A 06 .z.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 83DE A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VKEYBD</font> <font color="#8080ff">; 83E0 8D 08 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font> <font color="#8080ff">; 83E3 85 58 .X</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D5 </font> <font color="#8080ff">; 83E5 85 D5 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 83E7 A9 30 .0</font>
<font color="#8080ff">; tell OS that screen memory starts at $3000</font>
<font color="#00ffff">set_savmsc</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 83E9 85 59 .Y</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9C</font> <font color="#8080ff">; 83EB A9 9C ..</font>
<font color="#8080ff">; VKEYBD now points to $9c00 aka keyboard_isr</font>
<font color="#00ffff">set_vkeybd</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">VKEYBD_hi</font> <font color="#8080ff">; 83ED 8D 09 02 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 83F0 A2 07 ..</font>
<font color="#00ffff">L83F2</font>: <font color="#00ff00">lda</font> <font color="#00ffff">L8405</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 83F2 BD 05 84 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06D8,x </font> <font color="#8080ff">; 83F5 9D D8 06 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 83F8 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L83F2</font> <font color="#8080ff">; 83F9 D0 F7 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; 83FB A0 0D ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$84</font> <font color="#8080ff">; 83FD A2 84 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 83FF A9 06 ..</font>
<font color="#8080ff">; VVBLKI now points to $840d aka vblank_imm_isr</font>
<font color="#00ffff">set_vvblki</font>:
<font color="#00ff00">jsr</font> <font color="#ff40ff">SETVBV</font> <font color="#8080ff">; 8401 20 5C E4 \.</font>
<font color="#00ff00">cld</font> <font color="#8080ff">; 8404 D8 .</font>
<font color="#00ffff">L8405</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8405 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_8406</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 8406 FE 49 9C 00 00 01 FF .I.....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; service immediate vblank interrupt</font>
<font color="#00ffff">vblank_imm_isr</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 840D A2 09 ..</font>
<font color="#8080ff">; update color regs from shadow regs (X ranges 1 to 9, GRAFM+1 is COLPM0, $2bf+1 is PCOLR0)</font>
<font color="#00ffff">update_color_regs</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $02BF,x </font> <font color="#8080ff">; 840F BD BF 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">GRAFM</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8412 9D 11 D0 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8415 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">update_color_regs</font> <font color="#8080ff">; 8416 D0 F7 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0619 </font> <font color="#8080ff">; 8418 EE 19 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L841F</font> <font color="#8080ff">; 841B D0 02 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $A2 </font> <font color="#8080ff">; 841D E6 A2 ..</font>
<font color="#00ffff">L841F</font>: <font color="#00ff00">inc</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 841F EE 1A 06 ...</font>
<font color="#00ff00">inc</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 8422 EE 1B 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $061C </font> <font color="#8080ff">; 8425 EE 1C 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061C </font> <font color="#8080ff">; 8428 AD 1C 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 842B 29 01 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $061C </font> <font color="#8080ff">; 842D 8D 1C 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8430 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; 8432 8D 21 06 .!.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; 8435 8D 22 06 .".</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06FD </font> <font color="#8080ff">; 8438 8D FD 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $061D </font> <font color="#8080ff">; 843B EE 1D 06 ...</font>
<font color="#00ff00">inc</font> <font color="#00ffff">speed_jiffy_timer</font> <font color="#8080ff">; 843E EE 1E 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 8441 AD 24 06 .$.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 8444 C9 09 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L847E</font> <font color="#8080ff">; 8446 B0 36 .6</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061D </font> <font color="#8080ff">; 8448 AD 1D 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 844B CD 24 06 .$.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L846E</font> <font color="#8080ff">; 844E 90 1E ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8450 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $061D </font> <font color="#8080ff">; 8452 8D 1D 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; 8455 EE 21 06 .!.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8458 EE 1F 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 845B EE 20 06 . .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 845E AD 1F 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8461 29 01 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8463 8D 1F 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 8466 AD 20 06 . .</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8469 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 846B 8D 20 06 . .</font>
<font color="#00ffff">L846E</font>: <font color="#00ff00">lda</font> <font color="#00ffff">speed_jiffy_timer</font> <font color="#8080ff">; 846E AD 1E 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">initial_speed</font> <font color="#8080ff">; 8471 CD 25 06 .%.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L847E</font> <font color="#8080ff">; 8474 90 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8476 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">speed_jiffy_timer</font> <font color="#8080ff">; 8478 8D 1E 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; 847B EE 22 06 .".</font>
<font color="#00ffff">L847E</font>: <font color="#00ff00">lda</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 847E AD 27 06 .'.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">no_dec_bonus</font> <font color="#8080ff">; 8481 F0 08 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">bonus_jiffy_timer</font> <font color="#8080ff">; 8483 EE 26 06 .&.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">no_dec_bonus</font> <font color="#8080ff">; 8486 D0 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">decrement_time_bonus_jv</font> <font color="#8080ff">; 8488 20 21 80 !.</font>
<font color="#00ffff">no_dec_bonus</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0619 </font> <font color="#8080ff">; 848B AD 19 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 848E 29 07 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_joystick_enabled</font> <font color="#8080ff">; 8490 D0 12 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0628 </font> <font color="#8080ff">; 8492 EE 28 06 .(.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0628 </font> <font color="#8080ff">; 8495 AD 28 06 .(.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8498 29 07 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0628 </font> <font color="#8080ff">; 849A 8D 28 06 .(.</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 849D AA .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_table_85b6</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 849E BD B6 85 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 84A1 8D 2A 06 .*.</font>
<font color="#8080ff">; read the joystick if not disabled</font>
<font color="#00ffff">check_joystick_enabled</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; 84A4 AD 32 06 .2.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">read_joystick</font> <font color="#8080ff">; 84A7 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">store_joystick_state</font> <font color="#8080ff">; 84A9 4C B1 84 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always joystick #1 (all players use the same joystick and pass it around)</font>
<font color="#00ffff">read_joystick</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">PORTA</font> <font color="#8080ff">; 84AC AD 00 D3 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 84AF 29 0F ).</font>
<font color="#8080ff">; store bottom 4 bits of PORTA, or 0 if joystick_disabled</font>
<font color="#00ffff">store_joystick_state</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">joystick_state</font> <font color="#8080ff">; 84B1 8D 33 06 .3.</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 84B4 0A .</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 84B5 AA .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">movement_direction_table</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 84B6 BD BE 85 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_delta_x</font> <font color="#8080ff">; 84B9 8D 30 06 .0.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">movement_direction_table</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 84BC BD BF 85 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_delta_y</font> <font color="#8080ff">; 84BF 8D 31 06 .1.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">trigger_disabled</font> <font color="#8080ff">; 84C2 AD 34 06 .4.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">read_trigger</font> <font color="#8080ff">; 84C5 F0 0C ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 84C7 C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">fake_read_trigger</font> <font color="#8080ff">; 84C9 F0 02 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 84CB A9 00 ..</font>
<font color="#8080ff">; ??</font>
<font color="#00ffff">fake_read_trigger</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">trigger_state</font> <font color="#8080ff">; 84CD 8D 35 06 .5.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L84D9</font> <font color="#8080ff">; 84D0 4C D9 84 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always joystick #1</font>
<font color="#00ffff">read_trigger</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">TRIG0</font> <font color="#8080ff">; 84D3 AD 10 D0 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">trigger_state</font> <font color="#8080ff">; 84D6 8D 35 06 .5.</font>
<font color="#00ffff">L84D9</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 84D9 A2 08 ..</font>
<font color="#00ffff">L84DB</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_desc</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 84DB BD 81 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L84EE</font> <font color="#8080ff">; 84DE F0 0E ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0603,x </font> <font color="#8080ff">; 84E0 9D 03 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 84E3 BD 80 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0602,x </font> <font color="#8080ff">; 84E6 9D 02 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 84E9 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_desc</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 84EB 9D 81 07 ...</font>
<font color="#00ffff">L84EE</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 84EE CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 84EF CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L84DB</font> <font color="#8080ff">; 84F0 D0 E9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 84F2 AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 84F5 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 84F8 0D 44 06 .D.</font>
<font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 84FB 0D 46 06 .F.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0663 </font> <font color="#8080ff">; 84FE 8D 63 06 .c.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 8501 A2 10 ..</font>
<font color="#8080ff">; save contents of GTIA collision regs (X ranges 1 to $10, dli_vec_shadow_hi should read collision_save-1)</font>
<font color="#00ffff">save_collisions</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $CFFF,x </font> <font color="#8080ff">; 8503 BD FF CF ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8506 9D AF 06 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8509 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">save_collisions</font> <font color="#8080ff">; 850A D0 F7 ..</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 850C E8 .</font>
<font color="#00ffff">clear_collisions</font>:
<font color="#00ff00">stx</font> <font color="#ff40ff">HITCLR</font> <font color="#8080ff">; 850D 8E 1E D0 ...</font>
<font color="#8080ff">; update display list, if there's a new one in the shadow reg</font>
<font color="#00ffff">update_dlist</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8510 AD AD 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">update_dli_vector</font> <font color="#8080ff">; 8513 F0 0E ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">DLISTH</font> <font color="#8080ff">; 8515 8D 03 D4 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 8518 AD AC 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">DLISTL</font> <font color="#8080ff">; 851B 8D 02 D4 ...</font>
<font color="#8080ff">; clear the shadow now that we've updated the HW</font>
<font color="#00ffff">clear_dlist_shadow</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 851E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8520 8D AD 06 ...</font>
<font color="#8080ff">; update DLI vector, if there's a new one in the shadow reg</font>
<font color="#00ffff">update_dli_vector</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 8523 AD AF 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L853B</font> <font color="#8080ff">; 8526 F0 13 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8528 8D 01 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; 852B AD AE 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font> <font color="#8080ff">; 852E 8D 00 02 ...</font>
<font color="#8080ff">; clear the shadow now that we've updated the HW</font>
<font color="#00ffff">clear_dli_shadow</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8531 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 8533 8D AF 06 ...</font>
<font color="#8080ff">; enable DLI now that we've set up the vector</font>
<font color="#00ffff">enable_dli</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; 8536 A9 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">NMIEN</font> <font color="#8080ff">; 8538 8D 0E D4 ...</font>
<font color="#00ffff">L853B</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06FC </font> <font color="#8080ff">; 853B AD FC 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0888 </font> <font color="#8080ff">; 853E CD 88 08 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8551</font> <font color="#8080ff">; 8541 90 0E ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06FD </font> <font color="#8080ff">; 8543 EE FD 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06FB </font> <font color="#8080ff">; 8546 EE FB 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8549 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06FC </font> <font color="#8080ff">; 854B 8D FC 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">enable_keyboard_irq</font> <font color="#8080ff">; 854E 4C 54 85 LT.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8551</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $06FC </font> <font color="#8080ff">; 8551 EE FC 06 ...</font>
<font color="#8080ff">; $C0 = regular keypress, break keypress</font>
<font color="#00ffff">enable_keyboard_irq</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; 8554 A9 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">IRQEN</font> <font color="#8080ff">; 8556 8D 0E D2 ...</font>
<font color="#00ff00">cli</font> <font color="#8080ff">; 8559 58 X</font>
<font color="#8080ff">; 8 = silent (0 would be a click)</font>
<font color="#00ffff">silence_console_speaker</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 855A A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">CONSOL</font> <font color="#8080ff">; 855C 8D 1F D0 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 855F A2 FF ..</font>
<font color="#8080ff">; carry set = not pressed, clear = pressed</font>
<font color="#00ffff">check_start_key</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">CONSOL</font> <font color="#8080ff">; 8561 AD 1F D0 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8564 85 CB ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8566 46 CB F.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">check_select_key</font> <font color="#8080ff">; 8568 B0 09 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 856A AD C8 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">check_select_key</font> <font color="#8080ff">; 856D F0 04 ..</font>
<font color="#00ff00">txs</font> <font color="#8080ff">; 856F 9A .</font>
<font color="#00ff00">jmp</font> (<font color="#00ffff">start_key_vec</font>) <font color="#8080ff">; 8570 6C C4 06 l..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; carry set = not pressed, clear = pressed</font>
<font color="#00ffff">check_select_key</font>:
<font color="#00ff00">lsr</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8573 46 CB F.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">check_option_key</font> <font color="#8080ff">; 8575 B0 09 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">select_key_enabled</font> <font color="#8080ff">; 8577 AD C7 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">check_option_key</font> <font color="#8080ff">; 857A F0 04 ..</font>
<font color="#00ff00">txs</font> <font color="#8080ff">; 857C 9A .</font>
<font color="#00ff00">jmp</font> (<font color="#00ffff">select_key_vec</font>) <font color="#8080ff">; 857D 6C C2 06 l..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; carry set = not pressed, clear = pressed</font>
<font color="#00ffff">check_option_key</font>:
<font color="#00ff00">lsr</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 8580 46 CB F.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L858D</font> <font color="#8080ff">; 8582 B0 09 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 8584 AD C6 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L858D</font> <font color="#8080ff">; 8587 F0 04 ..</font>
<font color="#00ff00">txs</font> <font color="#8080ff">; 8589 9A .</font>
<font color="#00ff00">jmp</font> (<font color="#00ffff">option_key_vec</font>) <font color="#8080ff">; 858A 6C C0 06 l..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L858D</font>: <font color="#00ff00">ldx</font> <font color="#ff40ff"> $0618 </font> <font color="#8080ff">; 858D AE 18 06 ...</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$18</font> <font color="#8080ff">; 8590 E0 18 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L859C</font> <font color="#8080ff">; 8592 D0 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8594 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0618 </font> <font color="#8080ff">; 8596 8D 18 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#ff40ff">XITVBV</font> <font color="#8080ff">; 8599 4C 62 E4 Lb.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L859C</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0618 </font> <font color="#8080ff">; 859C EE 18 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0618 </font> <font color="#8080ff">; 859F EE 18 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0601,x </font> <font color="#8080ff">; 85A2 BD 01 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L858D</font> <font color="#8080ff">; 85A5 F0 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E5 </font> <font color="#8080ff">; 85A7 8D E5 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0600,x </font> <font color="#8080ff">; 85AA BD 00 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E4 </font> <font color="#8080ff">; 85AD 8D E4 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L06E3</font> <font color="#8080ff">; 85B0 20 E3 06 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L858D</font> <font color="#8080ff">; 85B3 4C 8D 85 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used in vblank_imm_isr, not sure for what yet</font>
<font color="#00ffff">data_table_85b6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$56</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$F6</font> <font color="#8080ff">; 85B6 1A 96 28 66 C6 56 0E F6 ..(f.V..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; X/Y movement, indexed by joystick_state << 1, each entry is XXYY, $FF is -1</font>
<font color="#00ffff">movement_direction_table</font>:
.<font color="#ffff00">word</font> <font color="#ff6060">$0000</font>,<font color="#ff6060">$0000</font>,<font color="#ff6060">$0000</font>,<font color="#ff6060">$0000</font> <font color="#8080ff">; 85BE 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">word</font> <font color="#ff6060">$0000</font>,<font color="#ff6060">$0101</font>,<font color="#ff6060">$FF01</font>,<font color="#ff6060">$0001</font> <font color="#8080ff">; 85C6 00 00 01 01 01 FF 01 00 ........</font>
.<font color="#ffff00">word</font> <font color="#ff6060">$0000</font>,<font color="#ff6060">$01FF</font>,<font color="#ff6060">$FFFF</font>,<font color="#ff6060">$00FF</font> <font color="#8080ff">; 85CE 00 00 FF 01 FF FF FF 00 ........</font>
.<font color="#ffff00">word</font> <font color="#ff6060">$0000</font>,<font color="#ff6060">$0100</font>,<font color="#ff6060">$FF00</font>,<font color="#ff6060">$0000</font> <font color="#8080ff">; 85D6 00 00 00 01 00 FF 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet, but it's copied into page 6 by init_hardware</font>
<font color="#00ffff">data_table_85de</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$C8</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$84</font> <font color="#8080ff">; 85DE C8 88 05 84 05 84 05 84 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; 85E6 05 84 05 84 05 84 00 98 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$93</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$69</font>,<font color="#ff6060">$8E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$57</font>,<font color="#ff6060">$81</font> <font color="#8080ff">; 85EE 93 82 69 8E 00 89 57 81 ..i...W.</font>
<font color="#8080ff">; probably just filler</font>
<font color="#00ffff">zero_filler_85f6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85F6 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85FE 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called after the level is drawn & the intro music stops, and also during the level (?)</font>
<font color="#00ffff">xxx_level_something</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8600 A2 00 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8602 A0 00 ..</font>
<font color="#00ff00">stx</font> <font color="#ff40ff"> $0665 </font> <font color="#8080ff">; 8604 8E 65 06 .e.</font>
<font color="#00ffff">L8607</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 8607 A9 10 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8609 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $D5 </font> <font color="#8080ff">; 860A 65 D5 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 860C 91 D3 ..</font>
<font color="#00ffff">L860E</font>: <font color="#00ff00">sec</font> <font color="#8080ff">; 860E 38 8</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $D0 </font> <font color="#8080ff">; 860F A5 D0 ..</font>
<font color="#00ff00">sbc</font> <font color="#00ffff">L8702</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8611 FD 02 87 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D0 </font> <font color="#8080ff">; 8614 85 D0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $D1 </font> <font color="#8080ff">; 8616 A5 D1 ..</font>
<font color="#00ff00">sbc</font> <font color="#00ffff">L8703</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8618 FD 03 87 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D1 </font> <font color="#8080ff">; 861B 85 D1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $D2 </font> <font color="#8080ff">; 861D A5 D2 ..</font>
<font color="#00ff00">sbc</font> <font color="#00ffff">L8704</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 861F FD 04 87 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D2 </font> <font color="#8080ff">; 8622 85 D2 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8633</font> <font color="#8080ff">; 8624 90 0D ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 8626 B1 D3 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8628 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8629 69 01 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 862B 91 D3 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0665 </font> <font color="#8080ff">; 862D 8D 65 06 .e.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L860E</font> <font color="#8080ff">; 8630 4C 0E 86 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8633</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 8633 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8702</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8634 BD 02 87 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $D0 </font> <font color="#8080ff">; 8637 65 D0 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D0 </font> <font color="#8080ff">; 8639 85 D0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8703</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 863B BD 03 87 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $D1 </font> <font color="#8080ff">; 863E 65 D1 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D1 </font> <font color="#8080ff">; 8640 85 D1 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8704</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8642 BD 04 87 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $D2 </font> <font color="#8080ff">; 8645 65 D2 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D2 </font> <font color="#8080ff">; 8647 85 D2 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0665 </font> <font color="#8080ff">; 8649 AD 65 06 .e.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L865C</font> <font color="#8080ff">; 864C D0 0E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 864E B1 D3 ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 8650 29 0F ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L865C</font> <font color="#8080ff">; 8652 D0 08 ..</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 8654 C0 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8667</font> <font color="#8080ff">; 8656 F0 0F ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8658 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 865A 91 D3 ..</font>
<font color="#00ffff">L865C</font>: <font color="#00ff00">cpx</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 865C E0 0F ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8667</font> <font color="#8080ff">; 865E F0 07 ..</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 8660 E8 .</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 8661 E8 .</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 8662 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8663 C8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8607</font> <font color="#8080ff">; 8664 4C 07 86 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8667</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8667 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8668</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$F5</font> <font color="#8080ff">; 8668 A9 F5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D3 </font> <font color="#8080ff">; 866A 85 D3 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3D</font> <font color="#8080ff">; 866C A9 3D .=</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D4 </font> <font color="#8080ff">; 866E 85 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8670 A2 03 ..</font>
<font color="#00ffff">L8672</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF,x </font> <font color="#8080ff">; 8672 BD FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 8675 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8677 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8672</font> <font color="#8080ff">; 8678 D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">xxx_level_something</font> <font color="#8080ff">; 867A 20 00 86 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 867D 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L867E</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 867E A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D3 </font> <font color="#8080ff">; 8680 85 D3 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3E</font> <font color="#8080ff">; 8682 A9 3E .></font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D4 </font> <font color="#8080ff">; 8684 85 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8686 A2 03 ..</font>
<font color="#00ffff">L8688</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_points_per_bomb</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8688 BD 90 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 868B 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 868D CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8688</font> <font color="#8080ff">; 868E D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">xxx_level_something</font> <font color="#8080ff">; 8690 20 00 86 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8693 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; bottom 2 GR.1 lines on the game board</font>
<font color="#00ffff">update_status_window</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8694 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; 8696 8D 04 D4 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8699 A2 28 .(</font>
<font color="#00ffff">L869B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">L86D9</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 869B BD D9 86 ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 869E 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; 869F E9 20 . </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DE7,x </font> <font color="#8080ff">; 86A1 9D E7 3D ..=</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 86A4 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L869B</font> <font color="#8080ff">; 86A5 D0 F4 ..</font>
<font color="#8080ff">; 1 to 4</font>
<font color="#00ffff">show_current_player</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 86A7 AD FE 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 86AA 09 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DE9 </font> <font color="#8080ff">; 86AC 8D E9 3D ..=</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_desc</font> <font color="#8080ff">; 86AF AD 80 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DED </font> <font color="#8080ff">; 86B2 8D ED 3D ..=</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_desc</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 86B5 AD 81 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DEE </font> <font color="#8080ff">; 86B8 8D EE 3D ..=</font>
<font color="#8080ff">; up to 6 jumpmen, and a + if lives > 6. char $C1 = jumpman icon, $CB = plus sign</font>
<font color="#00ffff">show_lives_icons</font>:
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 86BB A0 00 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C1</font> <font color="#8080ff">; 86BD A9 C1 ..</font>
<font color="#00ffff">L86BF</font>: <font color="#00ff00">cpy</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 86BF C0 07 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L86CE</font> <font color="#8080ff">; 86C1 B0 0B ..</font>
<font color="#00ff00">cpy</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 86C3 CC 0A 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L86D3</font> <font color="#8080ff">; 86C6 F0 0B ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DFD,y </font> <font color="#8080ff">; 86C8 99 FD 3D ..=</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 86CB C8 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L86BF</font> <font color="#8080ff">; 86CC D0 F1 ..</font>
<font color="#00ffff">L86CE</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$CB</font> <font color="#8080ff">; 86CE A9 CB ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DFC,y </font> <font color="#8080ff">; 86D0 99 FC 3D ..=</font>
<font color="#00ffff">L86D3</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">L8668</font> <font color="#8080ff">; 86D3 20 68 86 h.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L867E</font> <font color="#8080ff">; 86D6 20 7E 86 ~.</font>
<font color="#00ffff">L86D9</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 86D9 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_table_86da</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$7D</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 86DA 20 30 20 8C 7D 30 30 20 0 .}00 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$D3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$D2</font>,<font color="#ff6060">$C5</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 86E2 D3 C3 CF D2 C5 20 20 20 ..... </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 86EA 20 20 20 20 20 20 20 20 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$CE</font>,<font color="#ff6060">$D5</font> <font color="#8080ff">; 86F2 20 20 20 20 C2 CF CE D5 ....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$D3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 86FA D3 20 20 20 20 20 20 20 . </font>
<font color="#00ffff">L8702</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; 8702 A0 .</font>
<font color="#00ffff">L8703</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $86 </font> <font color="#8080ff">; 8703 86 .</font>
<font color="#00ffff">L8704</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$27</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$E8</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$64</font> <font color="#8080ff">; 8704 01 10 27 00 E8 03 00 64 ..'....d</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 870C 00 00 0A 00 00 01 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; clear the gameboard screen memory (called before drawing a level, natch)</font>
<font color="#00ffff">clear_screen_mem</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 8714 A2 10 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8716 A5 59 .Y</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8718 85 AF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 871A A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 871C 85 AE ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 871E A8 .</font>
<font color="#00ffff">csm_loop</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($AE),y </font> <font color="#8080ff">; 871F 91 AE ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8721 C8 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">csm_loop</font> <font color="#8080ff">; 8722 D0 FB ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8724 E6 AF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8726 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">csm_loop</font> <font color="#8080ff">; 8727 D0 F6 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8729 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; clear P/M mem</font>
<font color="#00ffff">clear_pm_mem</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 872A A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 872C 8D 24 06 .$.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 872F A2 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8731 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 8733 8D 27 06 .'.</font>
<font color="#00ffff">L8736</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $0681,x </font> <font color="#8080ff">; 8736 9D 81 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0668,x </font> <font color="#8080ff">; 8739 9D 68 06 .h.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; 873C 9D 9A 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">hide_player</font> <font color="#8080ff">; 873F 20 B8 8D ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8742 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8736</font> <font color="#8080ff">; 8743 D0 F1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$2B</font> <font color="#8080ff">; 8745 A9 2B .+</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 8747 85 B8 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8749 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 874B 85 B7 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 874D A8 .</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 874E A2 05 ..</font>
<font color="#00ffff">L8750</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> ($B7),y </font> <font color="#8080ff">; 8750 91 B7 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8752 C8 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8750</font> <font color="#8080ff">; 8753 D0 FB ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 8755 E6 B8 ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8757 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8750</font> <font color="#8080ff">; 8758 D0 F6 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 875A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; set all AUDFx to 0</font>
<font color="#00ffff">silence_audio</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 875B A2 00 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 875D A9 00 ..</font>
<font color="#00ffff">sa_loop</font>:<font color="#00ff00">sta</font> <font color="#ff40ff"> $0640,x </font> <font color="#8080ff">; 875F 9D 40 06 .@.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0641,x </font> <font color="#8080ff">; 8762 9D 41 06 .A.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0660,x </font> <font color="#8080ff">; 8765 9D 60 06 .`.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8768 9D 00 D2 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">store_audc</font> <font color="#8080ff">; 876B 20 C6 8D ..</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 876E E8 .</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 876F E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 8770 E0 08 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">sa_loop</font> <font color="#8080ff">; 8772 D0 EB ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8774 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called after level-intro music is finished playing</font>
<font color="#00ffff">enable_joystick</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 8775 A2 08 ..</font>
<font color="#00ffff">ej_loop</font>:<font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; 8777 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8779 9D 80 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 877C A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_desc</font>+<font color="#ff6060">1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 877E 9D 81 07 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8781 CA .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8782 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">ej_loop</font> <font color="#8080ff">; 8783 D0 F2 ..</font>
<font color="#00ff00">stx</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; 8785 8E 32 06 .2.</font>
<font color="#00ff00">stx</font> <font color="#00ffff">sfx_lock</font> <font color="#8080ff">; 8788 8E 2F 06 ./.</font>
<font color="#00ff00">stx</font> <font color="#00ffff">work_level_bullet_chance</font> <font color="#8080ff">; 878B 8E 8B 07 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_pm_mem</font> <font color="#8080ff">; 878E 20 2A 87 *.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">silence_audio</font> <font color="#8080ff">; 8791 20 5B 87 [.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 8794 A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8796 85 59 .Y</font>
<font color="#8080ff">; priority $11: pl0-3, pf0-3, bak (and enable 5th player from the missiles) [redundant? init_set_prior sets this, nothing appears to change it]</font>
<font color="#00ffff">set_prior</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$11</font> <font color="#8080ff">; 8798 A9 11 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PRIOR</font> <font color="#8080ff">; 879A 8D 1B D0 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L88A8</font> <font color="#8080ff">; 879D 4C A8 88 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; check whether Jumpman just touched a bomb (RTS if not)</font>
<font color="#00ffff">check_bomb_coll</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 87A0 AD B4 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 87A3 29 04 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">bomb_pickup</font> <font color="#8080ff">; 87A5 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 87A7 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; Jumpman just picked up a bomb, award points, play sfx_bomb_pickup, make the bomb disappear, do some other stuff I don't understand yet</font>
<font color="#00ffff">bomb_pickup</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 87A8 AD 7E 06 .~.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 87AB 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">work_level_offs_14</font> <font color="#8080ff">; 87AC 6D 8E 07 m..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$E0</font> <font color="#8080ff">; 87AF 29 E0 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B6 </font> <font color="#8080ff">; 87B1 85 B6 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 87B3 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 87B4 AD 83 06 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">work_level_offs_14</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 87B7 6D 8F 07 m..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$E0</font> <font color="#8080ff">; 87BA 29 E0 ).</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 87BC 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 87BD 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 87BE 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 87BF 4A J</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $B6 </font> <font color="#8080ff">; 87C0 05 B6 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B6 </font> <font color="#8080ff">; 87C2 85 B6 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_map2</font> <font color="#8080ff">; 87C4 AD 9A 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B4 </font> <font color="#8080ff">; 87C7 85 B4 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_map2</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 87C9 AD 9B 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B5 </font> <font color="#8080ff">; 87CC 85 B5 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 87CE A0 00 ..</font>
<font color="#00ffff">L87D0</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($B4),y </font> <font color="#8080ff">; 87D0 B1 B4 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 87D2 C9 FF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L87D7</font> <font color="#8080ff">; 87D4 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 87D6 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L87D7</font>: <font color="#00ff00">cmp</font> <font color="#ff40ff"> $B6 </font> <font color="#8080ff">; 87D7 C5 B6 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L87E0</font> <font color="#8080ff">; 87D9 F0 05 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 87DB C8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 87DC C8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L87D0</font> <font color="#8080ff">; 87DD 4C D0 87 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L87E0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_map1</font> <font color="#8080ff">; 87E0 AD 98 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B0 </font> <font color="#8080ff">; 87E3 85 B0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_map1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 87E5 AD 99 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B1 </font> <font color="#8080ff">; 87E8 85 B1 ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 87EA 98 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; 87EB 85 B2 ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 87ED 4A J</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 87EE 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; 87EF 65 B2 e.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 87F1 A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 87F2 B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06DC </font> <font color="#8080ff">; 87F4 8D DC 06 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 87F7 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 87F8 B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06DD </font> <font color="#8080ff">; 87FA 8D DD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$92</font> <font color="#8080ff">; 87FD A9 92 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 87FF 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$88</font> <font color="#8080ff">; 8802 A9 88 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8804 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 8807 A9 08 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8809 20 06 80 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; 880C A4 B2 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 880E C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B4),y </font> <font color="#8080ff">; 880F B1 B4 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8856</font> <font color="#8080ff">; 8811 F0 43 .C</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$F0</font> <font color="#8080ff">; 8813 29 F0 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8831</font> <font color="#8080ff">; 8815 F0 1A ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8817 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8818 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8819 4A J</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 881A A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_unkn_table1</font> <font color="#8080ff">; 881B AD 9C 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B0 </font> <font color="#8080ff">; 881E 85 B0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_unkn_table1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8820 AD 9D 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B1 </font> <font color="#8080ff">; 8823 85 B1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 8825 B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 8827 85 C0 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8829 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 882A B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 882C 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; 882E 20 00 80 ..</font>
<font color="#00ffff">L8831</font>: <font color="#00ff00">ldy</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; 8831 A4 B2 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8833 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B4),y </font> <font color="#8080ff">; 8834 B1 B4 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8856</font> <font color="#8080ff">; 8836 F0 1E ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 8838 29 0F ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8856</font> <font color="#8080ff">; 883A F0 1A ..</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 883C 0A .</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 883D A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_30</font> <font color="#8080ff">; 883E AD 9E 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B0 </font> <font color="#8080ff">; 8841 85 B0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_30</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8843 AD 9F 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B1 </font> <font color="#8080ff">; 8846 85 B1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 8848 B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E4 </font> <font color="#8080ff">; 884A 8D E4 06 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 884D C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($B0),y </font> <font color="#8080ff">; 884E B1 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E5 </font> <font color="#8080ff">; 8850 8D E5 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L06E3</font> <font color="#8080ff">; 8853 20 E3 06 ..</font>
<font color="#00ffff">L8856</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_bomb</font> <font color="#8080ff">; 8856 AD A0 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E4 </font> <font color="#8080ff">; 8859 8D E4 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_bomb</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 885C AD A1 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E5 </font> <font color="#8080ff">; 885F 8D E5 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L06E3</font> <font color="#8080ff">; 8862 20 E3 06 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8865 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font> <font color="#8080ff">; 8866 AD 00 07 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">work_level_points_per_bomb</font> <font color="#8080ff">; 8869 6D 90 07 m..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font> <font color="#8080ff">; 886C 8D 00 07 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8879</font> <font color="#8080ff">; 886F 90 08 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8871 EE 01 07 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8879</font> <font color="#8080ff">; 8874 D0 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; 8876 EE 02 07 ...</font>
<font color="#00ffff">L8879</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$D9</font> <font color="#8080ff">; 8879 A9 D9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 887B 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 887D A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 887F 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; 8881 20 00 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">update_score_display_jv</font> <font color="#8080ff">; 8884 20 0C 80 ..</font>
<font color="#00ff00">dec</font> <font color="#00ffff">work_level_num_bombs</font> <font color="#8080ff">; 8887 CE 8A 07 ...</font>
<font color="#00ffff">L888A</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 888A AD B4 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 888D 29 04 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L888A</font> <font color="#8080ff">; 888F D0 F9 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8891 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; played when a bomb is picked up</font>
<font color="#00ffff">sfx_bomb_pickup</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$1E</font> <font color="#8080ff">; 8892 01 A6 00 1E 03 28 03 1E .....(..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$1E</font> <font color="#8080ff">; 889A 03 28 03 1E 03 28 03 1E .(...(..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 88A2 03 28 03 00 00 00 .(....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L88A8</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 88A8 A2 00 ..</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; 88AA 8A .</font>
<font color="#00ffff">L88AB</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,x </font> <font color="#8080ff">; 88AB 9D 00 2B ..+</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2C00,x </font> <font color="#8080ff">; 88AE 9D 00 2C ..,</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2D00,x </font> <font color="#8080ff">; 88B1 9D 00 2D ..-</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2E00,x </font> <font color="#8080ff">; 88B4 9D 00 2E ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2F00,x </font> <font color="#8080ff">; 88B7 9D 00 2F ../</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 88BA CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L88AB</font> <font color="#8080ff">; 88BB D0 EE ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 88BD 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_88be</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 88BE 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 88C6 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">check_consol</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">player_delta_x</font> <font color="#8080ff">; 88C8 AD 30 06 .0.</font>
<font color="#00ff00">ora</font> <font color="#00ffff">player_delta_y</font> <font color="#8080ff">; 88CB 0D 31 06 .1.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L88DC</font> <font color="#8080ff">; 88CE D0 0C ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">CONSOL</font> <font color="#8080ff">; 88D0 AD 1F D0 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 88D3 29 07 ).</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 88D5 C9 07 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L88DC</font> <font color="#8080ff">; 88D7 D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L88E0</font> <font color="#8080ff">; 88D9 4C E0 88 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L88DC</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 88DC A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A2 </font> <font color="#8080ff">; 88DE 85 A2 ..</font>
<font color="#00ffff">L88E0</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; 88E0 A5 A0 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L88E7</font> <font color="#8080ff">; 88E2 D0 03 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A2 </font> <font color="#8080ff">; 88E4 85 A2 ..</font>
<font color="#00ffff">L88E6</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 88E6 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L88E7</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $A2 </font> <font color="#8080ff">; 88E7 A5 A2 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 88E9 C9 28 .(</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L88E6</font> <font color="#8080ff">; 88EB 90 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 88ED A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; 88EF 85 A0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A2 </font> <font color="#8080ff">; 88F1 85 A2 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 88F3 A2 FF ..</font>
<font color="#00ff00">txs</font> <font color="#8080ff">; 88F5 9A .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">init_game</font> <font color="#8080ff">; 88F6 4C 00 90 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_88f9</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 88F9 00 00 00 00 00 00 00 .......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; 8900 AD 21 06 .!.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L890F</font> <font color="#8080ff">; 8903 F0 0A ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8905 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8908 C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8910</font> <font color="#8080ff">; 890A F0 04 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L89F3</font> <font color="#8080ff">; 890C 4C F3 89 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L890F</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 890F 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8910</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06EE </font> <font color="#8080ff">; 8910 AD EE 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8945</font> <font color="#8080ff">; 8913 D0 30 .0</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06EE </font> <font color="#8080ff">; 8915 EE EE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8918 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 891A 8D 24 06 .$.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067F </font> <font color="#8080ff">; 891D 8D 7F 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8920 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 8922 8D 27 06 .'.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E9 </font> <font color="#8080ff">; 8925 8D E9 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 8928 8D EA 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 892B AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 892E 29 0F ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8930 8D 88 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8933 EE 88 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$60</font> <font color="#8080ff">; 8936 A9 60 .`</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 8938 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 893B A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 893D 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8940 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8942 20 03 80 ..</font>
<font color="#00ffff">L8945</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 8945 AD 83 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; 8948 C9 C6 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L895D</font> <font color="#8080ff">; 894A 90 11 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 894C A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 894E 8D 00 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8951 8D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EF </font> <font color="#8080ff">; 8954 8D EF 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8957 EE 23 06 .#.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L89F3</font> <font color="#8080ff">; 895A 4C F3 89 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L895D</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$70</font> <font color="#8080ff">; 895D A9 70 .p</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0801 </font> <font color="#8080ff">; 895F 8D 01 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">game_display_list</font> <font color="#8080ff">; 8962 8D 81 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 8965 AD EA 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L89A9</font> <font color="#8080ff">; 8968 D0 3F .?</font>
<font color="#00ffff">L896A</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 896A EE 83 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 896D EE 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 8970 AD 83 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 8973 8D 00 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A3</font> <font color="#8080ff">; 8976 A9 A3 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8978 8D 01 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 897B AD B4 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 897E 29 01 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">falling_bounce</font> <font color="#8080ff">; 8980 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8982 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; this looks like it hurts...</font>
<font color="#00ffff">falling_bounce</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8983 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8986 29 03 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">falling_bounce</font> <font color="#8080ff">; 8988 F0 F9 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E9 </font> <font color="#8080ff">; 898A 8D E9 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 898D A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 898F 8D EA 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$50</font> <font color="#8080ff">; 8992 A9 50 .P</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0801 </font> <font color="#8080ff">; 8994 8D 01 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">game_display_list</font> <font color="#8080ff">; 8997 8D 81 08 ...</font>
<font color="#00ffff">play_sfx_bounce_1</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$4B</font> <font color="#8080ff">; 899A A9 4B .K</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 899C 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 899F A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 89A1 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 89A4 A9 04 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 89A6 20 03 80 ..</font>
<font color="#00ffff">L89A9</font>: <font color="#00ff00">ldx</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 89A9 AE EA 06 ...</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 89AC E0 09 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L89B8</font> <font color="#8080ff">; 89AE D0 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 89B0 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 89B2 8D EA 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L896A</font> <font color="#8080ff">; 89B5 4C 6A 89 Lj.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L89B8</font>: <font color="#00ff00">ldy</font> <font color="#00ffff">data_table_8a39</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 89B8 BC 39 8A .9.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06E9 </font> <font color="#8080ff">; 89BB AD E9 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 89BE C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L89D1</font> <font color="#8080ff">; 89C0 F0 0F ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 89C2 A0 00 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 89C4 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L89D1</font> <font color="#8080ff">; 89C6 F0 09 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_table_8a39</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 89C8 BD 39 8A .9.</font>
<font color="#00ff00">eor</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 89CB 49 FF I.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 89CD 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 89CE 69 01 i.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 89D0 A8 .</font>
<font color="#00ffff">L89D1</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 89D1 18 .</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 89D2 98 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 89D3 6D 7E 06 m~.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 89D6 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8A42</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 89D9 BD 42 8A .B.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 89DC 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 89DD 6D 83 06 m..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 89E0 8D 83 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 89E3 8D 00 D2 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06EA </font> <font color="#8080ff">; 89E6 EE EA 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 89E9 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 89EA AD 20 06 . .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$12</font> <font color="#8080ff">; 89ED 69 12 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 89EF 8D 88 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 89F2 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L89F3</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 89F3 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 89F6 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L89FB</font> <font color="#8080ff">; 89F8 F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 89FA 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L89FB</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06EF </font> <font color="#8080ff">; 89FB AD EF 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8A16</font> <font color="#8080ff">; 89FE D0 16 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 8A00 8D 1B 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06EF </font> <font color="#8080ff">; 8A03 EE EF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8A06 A9 00 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; 8A08 20 18 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 8A0B A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 8A0D 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$16</font> <font color="#8080ff">; 8A10 A9 16 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8A12 8D 88 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8A15 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8A16</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0663 </font> <font color="#8080ff">; 8A16 AD 63 06 .c.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8A25</font> <font color="#8080ff">; 8A19 F0 0A ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$16</font> <font color="#8080ff">; 8A1B A9 16 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8A1D 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8A1E 6D 1F 06 m..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8A21 8D 88 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8A24 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8A25</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 8A25 A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 8A27 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8A2A A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8A2C 8D 23 06 .#.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 8A2F 8D 7E 06 .~.</font>
<font color="#00ff00">dec</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 8A32 CE 0A 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EE </font> <font color="#8080ff">; 8A35 8D EE 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8A38 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_table_8a39</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A39 02 02 02 02 02 02 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 8A41 00 .</font>
<font color="#00ffff">L8A42</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 8A42 FE FE 00 00 02 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; 8A4A 02 .</font>
<font color="#8080ff">; used when jumpman is falling?</font>
<font color="#00ffff">sfx_bounce_1</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$8E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8B</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A4B 01 8E 00 30 01 01 8B 00 ...0....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 8A53 40 01 01 88 00 50 01 01 @....P..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$85</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A5B 85 00 60 01 00 ..`..</font>
<font color="#8080ff">; jumpman hit by bullet or started falling</font>
<font color="#00ffff">sfx_death</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FA</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; 8A60 01 C8 00 0A 02 FA 02 14 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$E8</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$28</font> <font color="#8080ff">; 8A68 02 F0 02 1E 02 E8 02 28 .......(</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$DC</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$D2</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; 8A70 02 DC 02 32 02 D2 02 3C ...2...<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A78 02 C8 02 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">play_sfx_bounce_2</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 8A80 AD 1F 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8A94</font> <font color="#8080ff">; 8A83 D0 0F ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$97</font> <font color="#8080ff">; 8A85 A9 97 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 8A87 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 8A8A A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8A8C 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8A8F A9 02 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8A91 20 03 80 ..</font>
<font color="#00ffff">L8A94</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 8A94 4C 25 99 L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used when jumpman is falling?</font>
<font color="#00ffff">sfx_bounce_2</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A97 01 81 00 04 01 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8A9F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8AA7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 8AAF 00 .</font>
<font color="#00ffff">sfx_option_pressed</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8AB0 01 A4 00 3C 02 00 00 00 ...<....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8AB8 00 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">cart_entry_point</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8AC0 A2 00 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8AC2 A9 00 ..</font>
<font color="#8080ff">; clear pages 6 and 7</font>
<font color="#00ffff">init_loop</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0600,x </font> <font color="#8080ff">; 8AC4 9D 00 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8AC7 9D 00 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 8ACA E8 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">init_loop</font> <font color="#8080ff">; 8ACB D0 F7 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">init_hardware</font> <font color="#8080ff">; 8ACD 20 7C 83 |.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$DD</font> <font color="#8080ff">; 8AD0 A9 DD ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 8AD2 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 8AD5 A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8AD7 8D AD 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">init_game</font> <font color="#8080ff">; 8ADA 4C 00 90 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; yet another jump-to-itself empty display list</font>
<font color="#00ffff">blank_dlist_8add</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$41</font>,<font color="#ff6060">$DD</font>,<font color="#ff6060">$8A</font> <font color="#8080ff">; 8ADD 41 DD 8A A..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8AE0</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$EB</font> <font color="#8080ff">; 8AE0 A9 EB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 8AE2 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 8AE5 A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8AE7 8D AD 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8AEA 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; another jump-to-itself empty display list</font>
<font color="#00ffff">blank_dlist_8aeb</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$41</font>,<font color="#ff6060">$EB</font>,<font color="#ff6060">$8A</font> <font color="#8080ff">; 8AEB 41 EB 8A A..</font>
<font color="#00ffff">zero_filler_8aee</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8AEE 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8AF6 00 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">cart_start_stub</font>:
<font color="#00ff00">clc</font> <font color="#8080ff">; 8AFE 18 .</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8AFF 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8b00</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8B00 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8B08 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8B10 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8B18 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8B20 00 00 00 ...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8B23</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; 8B23 A2 20 . </font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8B25 A9 00 ..</font>
<font color="#00ffff">L8B27</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $075F,x </font> <font color="#8080ff">; 8B27 9D 5F 07 ._.</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8B2A CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8B27</font> <font color="#8080ff">; 8B2B D0 FA ..</font>
<font color="#00ffff">L8B2D</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_unkn_table0</font> <font color="#8080ff">; 8B2D AD 94 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AC </font> <font color="#8080ff">; 8B30 85 AC ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_unkn_table0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8B32 AD 95 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AD </font> <font color="#8080ff">; 8B35 85 AD ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8B37 A0 00 ..</font>
<font color="#00ffff">L8B39</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B39 B1 AC ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 8B3B C9 FF ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8B7A</font> <font color="#8080ff">; 8B3D F0 3B .;</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 8B3F AA .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B40 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B41 B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066E,x </font> <font color="#8080ff">; 8B43 9D 6E 06 .n.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B46 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B47 B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0673,x </font> <font color="#8080ff">; 8B49 9D 73 06 .s.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B4C C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B4D B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0678,x </font> <font color="#8080ff">; 8B4F 9D 78 06 .x.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B52 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B53 B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; 8B55 9D 7D 06 .}.</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B58 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B59 B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0682,x </font> <font color="#8080ff">; 8B5B 9D 82 06 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B5E C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B5F B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0687,x </font> <font color="#8080ff">; 8B61 9D 87 06 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B64 C8 .</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 8B65 98 .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 8B66 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8B67 B1 AC ..</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">pcolor0_table</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8B69 BC 7B 8B .{.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR0</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8B6C 99 C0 02 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8B6F 68 h</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8B70 A8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8B71 C8 .</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8B72 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0696,x </font> <font color="#8080ff">; 8B74 9D 96 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8B39</font> <font color="#8080ff">; 8B77 4C 39 8B L9.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8B7A</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8B7A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">pcolor0_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; 8B7B 07 00 01 02 03 .....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; show scores, called at end of game, also called after beating level 12 (after WELL DONE). $40 in NMIEN = disable DLI, enable VBI</font>
<font color="#00ffff">player_scores_screen</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; 8B80 A9 40 .@</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">NMIEN</font> <font color="#8080ff">; 8B82 8D 0E D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$82</font> <font color="#8080ff">; 8B85 A9 82 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 8B87 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8C</font> <font color="#8080ff">; 8B8A A9 8C ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8B8C 8D AD 06 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 8B8F A2 06 ..</font>
<font color="#00ffff">L8B91</font>: <font color="#00ff00">lda</font> <font color="#00ffff">scores_msg</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8B91 BD 7B 8C .{.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3006,x </font> <font color="#8080ff">; 8B94 9D 06 30 ..0</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8B97 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8B91</font> <font color="#8080ff">; 8B98 D0 F7 ..</font>
<font color="#00ff00">ldx</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 8B9A AE FE 06 ...</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">struct_player_lives_offsets_minus_one</font>,<font color="#00ffff">x</font><font color="#8080ff">; 8B9D BC 88 8C ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8BA0 A2 03 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 8BA2 AD 0A 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0713,y </font> <font color="#8080ff">; 8BA5 99 13 07 ...</font>
<font color="#00ffff">L8BA8</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF,x </font> <font color="#8080ff">; 8BA8 BD FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $070B,y </font> <font color="#8080ff">; 8BAB 99 0B 07 ...</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; 8BAE 88 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8BAF CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8BA8</font> <font color="#8080ff">; 8BB0 D0 F6 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8BB2 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8BB4 85 AA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8BB6 85 AB ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8BB8 A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_of_players</font> <font color="#8080ff">; 8BB9 AD F4 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8BBC 85 AE ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8BBE E6 AE ..</font>
<font color="#8080ff">; shows PLAYER (backwards loop)</font>
<font color="#00ffff">show_reyalp_msg</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 8BC0 A2 14 ..</font>
<font color="#00ffff">reyalp_msg_loop</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">reyalp_msg_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8BC2 BD 67 8C .g.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3028,y </font> <font color="#8080ff">; 8BC5 99 28 30 .(0</font>
<font color="#8080ff">; replace 10th char with the ASCII player number</font>
<font color="#00ffff">check_10th</font>:
<font color="#00ff00">cpx</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 8BC8 E0 0A ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">continue_loop</font> <font color="#8080ff">; 8BCA D0 09 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8BCC E6 AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8BCE A5 AA ..</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 8BD0 09 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3028,y </font> <font color="#8080ff">; 8BD2 99 28 30 .(0</font>
<font color="#00ffff">continue_loop</font>:
<font color="#00ff00">iny</font> <font color="#8080ff">; 8BD5 C8 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8BD6 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">reyalp_msg_loop</font> <font color="#8080ff">; 8BD7 D0 E9 ..</font>
<font color="#00ff00">sty</font> <font color="#ff40ff"> $AD </font> <font color="#8080ff">; 8BD9 84 AD ..</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8BDB A6 AA ..</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">struct_player_lives_offsets_minus_one</font>,<font color="#00ffff">x</font><font color="#8080ff">; 8BDD BC 88 8C ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8BE0 A9 00 ..</font>
<font color="#8080ff">; $AF is the character to show after the score (space for alive, cross for dead)</font>
<font color="#00ffff">store_space</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8BE2 85 AF ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0713,y </font> <font color="#8080ff">; 8BE4 B9 13 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 8BE7 C9 FF ..</font>
<font color="#8080ff">; player still has lives left?</font>
<font color="#00ffff">check_alive</font>:
<font color="#00ff00">bne</font> <font color="#00ffff">no_cross</font> <font color="#8080ff">; 8BE9 D0 04 ..</font>
<font color="#8080ff">; no, show a cross instead of a space</font>
<font color="#00ffff">not_alive</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$5E</font> <font color="#8080ff">; 8BEB A9 5E .^</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8BED 85 AF ..</font>
<font color="#00ffff">no_cross</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">L8C84</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8BEF BD 84 8C ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D3 </font> <font color="#8080ff">; 8BF2 85 D3 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 8BF4 A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D4 </font> <font color="#8080ff">; 8BF6 85 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8BF8 A2 03 ..</font>
<font color="#00ffff">L8BFA</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $070B,y </font> <font color="#8080ff">; 8BFA B9 0B 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; 8BFD 95 CF ..</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; 8BFF 88 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 8C00 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8BFA</font> <font color="#8080ff">; 8C01 D0 F7 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">xxx_level_something_jv</font> <font color="#8080ff">; 8C03 20 09 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8C06 A5 AF ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8C08 C8 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($D3),y </font> <font color="#8080ff">; 8C09 91 D3 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $AD </font> <font color="#8080ff">; 8C0B A4 AD ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8C0D C6 AE ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">show_reyalp_msg</font> <font color="#8080ff">; 8C0F D0 AF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; 8C11 A9 96 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; 8C13 8D C7 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; 8C16 A9 C6 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 8C18 8D C4 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 8C1B A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; 8C1D 8D C5 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$52</font> <font color="#8080ff">; 8C20 A9 52 .R</font>
<font color="#8080ff">; set dlist shadow to scores_screen_dlist</font>
<font color="#00ffff">show_scores_screen</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 8C22 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8C</font> <font color="#8080ff">; 8C25 A9 8C ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 8C27 8D AD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8D</font> <font color="#8080ff">; 8C2A A9 8D ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; 8C2C 8D AE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8C</font> <font color="#8080ff">; 8C2F A9 8C ..</font>
<font color="#8080ff">; dli = score_screen_dli_sr</font>
<font color="#00ffff">set_score_screen_dli</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 8C31 8D AF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8C34 A9 02 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; 8C36 20 18 80 ..</font>
<font color="#8080ff">; I *think* we're waiting for the music to finish playing...</font>
<font color="#00ffff">what_are_we_waiting_for</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 8C39 AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 8C3C 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 8C3F 0D 44 06 .D.</font>
<font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 8C42 0D 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">what_are_we_waiting_for</font> <font color="#8080ff">; 8C45 D0 F2 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8C47 8D 1A 06 ...</font>
<font color="#8080ff">; wait 192 jiffies: 3.2 sec (ntsc), 3.84 sec (pal)</font>
<font color="#00ffff">wait_3_sec</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8C4A AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; 8C4D C9 C0 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_3_sec</font> <font color="#8080ff">; 8C4F D0 F9 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8C51 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a GR.2-ish DL, with DLIs, screen mem at $3000, for player scores screen</font>
<font color="#00ffff">scores_screen_dlist</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font> <font color="#8080ff">; 8C52 70 70 70 30 70 70 70 70 ppp0pppp</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$47</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$87</font>,<font color="#ff6060">$87</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$87</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; 8C5A 47 00 30 87 87 10 87 10 G.0.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$87</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; 8C62 87 10 07 41 52 ...AR</font>
<font color="#00ffff">reyalp_msg_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $8C </font> <font color="#8080ff">; 8C67 8C .</font>
<font color="#8080ff">; player spelled backwards: ' 0 # REYALP '</font>
<font color="#00ffff">reyalp_msg</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; 8C68 80 80 10 80 80 80 80 80 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$21</font> <font color="#8080ff">; 8C70 80 80 03 80 32 25 39 21 ....2%9!</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; 8C78 2C 30 80 ,0.</font>
<font color="#8080ff">; ' SCORES' in color 3</font>
<font color="#00ffff">scores_msg</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$80</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$E3</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$F2</font>,<font color="#ff6060">$E5</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; 8C7B 80 F3 E3 EF F2 E5 F3 .......</font>
<font color="#8080ff">; looks like an empty jump-to-itself dlist</font>
<font color="#00ffff">blank_dlist_8c82</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$41</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 8C82 41 82 A.</font>
<font color="#00ffff">L8C84</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $8C </font> <font color="#8080ff">; 8C84 8C .</font>
<font color="#8080ff">; offsets into screen memory, column 12, rows 2 3 4 5, used by code at $8BEF, loaded in $d3, hi byte in $d4 is $30</font>
<font color="#00ffff">score_offsets</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$34</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$5C</font> <font color="#8080ff">; 8C85 34 48 5C 4H\</font>
<font color="#00ffff">struct_player_lives_offsets_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $70 </font> <font color="#8080ff">; 8C88 70 p</font>
<font color="#8080ff">; lookup table, offset from $713 to lives for indexed player</font>
<font color="#00ffff">struct_player_lives_offsets</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$23</font> <font color="#8080ff">; 8C89 02 0D 18 23 ...#</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used by score screen</font>
<font color="#00ffff">score_screen_dli_sr</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 8C8D 48 H</font>
<font color="#00ff00">lda</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 8C8E AD FE 06 ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 8C91 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8C92 E9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 8C94 8D 0A D4 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8C97 C5 AB ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8CA4</font> <font color="#8080ff">; 8C99 D0 09 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 8C9B AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF0</font> <font color="#8080ff">; 8C9E 8D 16 D0 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8CAA</font> <font color="#8080ff">; 8CA1 4C AA 8C L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8CA4</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 8CA4 AD C4 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF0</font> <font color="#8080ff">; 8CA7 8D 16 D0 ...</font>
<font color="#00ffff">L8CAA</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8CAA E6 AB ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8CAC A5 AB ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8CAE 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8CB0 85 AB ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8CB2 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 8CB3 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8cb4</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8CB4 00 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; also adds extra life every 7500 points</font>
<font color="#00ffff">update_score_display</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8CBC A2 03 ..</font>
<font color="#00ffff">L8CBE</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF,x </font> <font color="#8080ff">; 8CBE BD FF 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8CC1 DD 02 07 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L8CFA</font> <font color="#8080ff">; 8CC4 90 34 .4</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8CCB</font> <font color="#8080ff">; 8CC6 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">show_l_equals</font> <font color="#8080ff">; 8CC8 4C CE 8C L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8CCB</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 8CCB CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8CBE</font> <font color="#8080ff">; 8CCC D0 F0 ..</font>
<font color="#8080ff">; L= (for lives display)</font>
<font color="#00ffff">show_l_equals</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8CCE A2 00 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8CD0 18 .</font>
<font color="#00ffff">L8CD1</font>: <font color="#00ff00">lda</font> <font color="#00ffff">l_equals</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8CD1 BD FD 8C ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $0703,x </font> <font color="#8080ff">; 8CD4 7D 03 07 }..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0703,x </font> <font color="#8080ff">; 8CD7 9D 03 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 8CDA E8 .</font>
<font color="#00ff00">php</font> <font color="#8080ff">; 8CDB 08 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8CDC E0 03 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">add_extra_life</font> <font color="#8080ff">; 8CDE F0 04 ..</font>
<font color="#00ff00">plp</font> <font color="#8080ff">; 8CE0 28 (</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8CD1</font> <font color="#8080ff">; 8CE1 4C D1 8C L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; plays sfx_extra_life</font>
<font color="#00ffff">add_extra_life</font>:
<font color="#00ff00">plp</font> <font color="#8080ff">; 8CE4 28 (</font>
<font color="#00ff00">inc</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 8CE5 EE 0A 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$79</font> <font color="#8080ff">; 8CE8 A9 79 .y</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8CEA 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BE</font> <font color="#8080ff">; 8CED A9 BE ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8CEF 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; 8CF2 A9 0C ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8CF4 20 06 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">show_lives_icons</font> <font color="#8080ff">; 8CF7 20 BB 86 ..</font>
<font color="#00ffff">L8CFA</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">score_mod_1m</font> <font color="#8080ff">; 8CFA 4C C0 B7 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; L= (for lives display)</font>
<font color="#00ffff">l_equals</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8CFD 4C 1D 00 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; just lost your last life</font>
<font color="#00ffff">crumble_gameboard</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; 8D00 20 1B 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$86</font> <font color="#8080ff">; 8D03 A9 86 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8D05 8D 01 D2 ...</font>
<font color="#00ffff">L8D08</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D08 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$70</font> <font color="#8080ff">; 8D0B 29 70 )p</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0801 </font> <font color="#8080ff">; 8D0D 8D 01 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">game_display_list</font> <font color="#8080ff">; 8D10 8D 81 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D13 AD 0A D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 8D16 8D 00 D2 ...</font>
<font color="#00ffff">L8D19</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D19 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$1F</font> <font color="#8080ff">; 8D1C 29 1F ).</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; 8D1E C9 0D ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L8D19</font> <font color="#8080ff">; 8D20 B0 F7 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D22 85 AA ..</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8D24 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8D25 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D26 65 AA e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D28 85 AA ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L8D60</font> <font color="#8080ff">; 8D2A 20 60 8D `.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D2D E6 AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D2F A5 AA ..</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 8D31 48 H</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L8D60</font> <font color="#8080ff">; 8D32 20 60 8D `.</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8D35 68 h</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L8D60</font> <font color="#8080ff">; 8D36 20 60 8D `.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D39 E6 AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D3B A5 AA ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L8D60</font> <font color="#8080ff">; 8D3D 20 60 8D `.</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D40 A0 00 ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 8D42 98 .</font>
<font color="#00ffff">L8D43</font>: <font color="#00ff00">ora</font> <font color="#ff40ff"> $3370,y </font> <font color="#8080ff">; 8D43 19 70 33 .p3</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $3398,y </font> <font color="#8080ff">; 8D46 19 98 33 ..3</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8D49 C8 .</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8D4A C0 28 .(</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8D43</font> <font color="#8080ff">; 8D4C D0 F5 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D4E C9 00 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8D08</font> <font color="#8080ff">; 8D50 D0 B6 ..</font>
<font color="#8080ff">; well_done_screen jumps here via work_level_sub1</font>
<font color="#00ffff">well_done_scores</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D52 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 8D54 8D 00 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8D57 8D 01 D2 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">player_scores_screen</font> <font color="#8080ff">; 8D5A 20 80 8B ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">afterlife</font> <font color="#8080ff">; 8D5D 4C 00 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8D60</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 8D60 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$70</font> <font color="#8080ff">; 8D61 69 70 ip</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AC </font> <font color="#8080ff">; 8D63 85 AC ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8D65 69 28 i(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8D67 85 AE ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3D</font> <font color="#8080ff">; 8D69 A9 3D .=</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AD </font> <font color="#8080ff">; 8D6B 85 AD ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8D6D 85 AF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$57</font> <font color="#8080ff">; 8D6F A9 57 .W</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8D71 85 AB ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D73 A0 00 ..</font>
<font color="#00ffff">L8D75</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($AC),y </font> <font color="#8080ff">; 8D75 B1 AC ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($AE),y </font> <font color="#8080ff">; 8D77 91 AE ..</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 8D79 38 8</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AC </font> <font color="#8080ff">; 8D7A A5 AC ..</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8D7C E9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AC </font> <font color="#8080ff">; 8D7E 85 AC ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L8D84</font> <font color="#8080ff">; 8D80 B0 02 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $AD </font> <font color="#8080ff">; 8D82 C6 AD ..</font>
<font color="#00ffff">L8D84</font>: <font color="#00ff00">sec</font> <font color="#8080ff">; 8D84 38 8</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8D85 A5 AE ..</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8D87 E9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AE </font> <font color="#8080ff">; 8D89 85 AE ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L8D8F</font> <font color="#8080ff">; 8D8B B0 02 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $AF </font> <font color="#8080ff">; 8D8D C6 AF ..</font>
<font color="#00ffff">L8D8F</font>: <font color="#00ff00">dec</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; 8D8F C6 AB ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8D75</font> <font color="#8080ff">; 8D91 D0 E2 ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 8D93 98 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($AE),y </font> <font color="#8080ff">; 8D94 91 AE ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8D96 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8d97</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8D97 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 8D9F 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8DA0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; 8DA0 AD F6 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 8DA3 C9 0B ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8DAA</font> <font color="#8080ff">; 8DA5 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">afterlife</font> <font color="#8080ff">; 8DA7 4C 00 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8DAA</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">well_done_screen</font> <font color="#8080ff">; 8DAA 20 00 BC ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 8DAD A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 8DAF 8D 88 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">player_scores_screen</font> <font color="#8080ff">; 8DB2 20 80 8B ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">afterlife</font> <font color="#8080ff">; 8DB5 4C 00 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; move player selected by X reg minus one off the left edge of the screen</font>
<font color="#00ffff">hide_player</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8DB8 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HPOSM3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8DBA 9D 07 D0 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067C,x </font> <font color="#8080ff">; 8DBD 9D 7C 06 .|.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8DC0 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA,x </font> <font color="#8080ff">; 8DC2 9D EA 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8DC5 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; store A to AUDCx (and its ?shadow?)</font>
<font color="#00ffff">store_audc</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 8DC6 9D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0649,x </font> <font color="#8080ff">; 8DC9 9D 49 06 .I.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8DCC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8dcd</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 8DCD 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; bonus -= 100;</font>
<font color="#00ffff">decrement_time_bonus</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; 8DCE AD 91 07 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8DD1 0D 92 07 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">work_level_offs_19</font> <font color="#8080ff">; 8DD4 0D 93 07 ...</font>
<font color="#8080ff">; don't decrement if bonus == 0</font>
<font color="#00ffff">check_bonus_0</font>:
<font color="#00ff00">beq</font> <font color="#00ffff">dec_done</font> <font color="#8080ff">; 8DD7 F0 20 . </font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; 8DD9 AD 91 07 ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 8DDC 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$64</font> <font color="#8080ff">; 8DDD E9 64 .d</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; 8DDF 8D 91 07 ...</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">bonus_lt_256</font> <font color="#8080ff">; 8DE2 B0 03 ..</font>
<font color="#00ff00">dec</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8DE4 CE 92 07 ...</font>
<font color="#00ffff">bonus_lt_256</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">L800F</font> <font color="#8080ff">; 8DE7 20 0F 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FA</font> <font color="#8080ff">; 8DEA A9 FA ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 8DEC 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8D</font> <font color="#8080ff">; 8DEF A9 8D ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8DF1 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 8DF4 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8DF6 20 03 80 ..</font>
<font color="#00ffff">dec_done</font>:
<font color="#00ff00">rts</font> <font color="#8080ff">; 8DF9 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_8dfa</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8DFA 01 A5 00 18 03 00 ......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">level_finished</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 8E00 A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 8E02 8D 24 06 .$.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067F </font> <font color="#8080ff">; 8E05 8D 7F 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$80</font> <font color="#8080ff">; 8E08 A9 80 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D5 </font> <font color="#8080ff">; 8E0A 85 D5 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L800F</font> <font color="#8080ff">; 8E0C 20 0F 80 ..</font>
<font color="#8080ff">; score += time_bonus;</font>
<font color="#00ffff">add_time_bonus</font>:
<font color="#00ff00">clc</font> <font color="#8080ff">; 8E0F 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; 8E10 AD 91 07 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">score</font> <font color="#8080ff">; 8E13 6D 00 07 m..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font> <font color="#8080ff">; 8E16 8D 00 07 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8E19 AD 92 07 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8E1C 6D 01 07 m..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8E1F 8D 01 07 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">lt_64k</font> <font color="#8080ff">; 8E22 90 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; 8E24 EE 02 07 ...</font>
<font color="#00ffff">lt_64k</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8E27 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 8E29 8D 00 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D5 </font> <font color="#8080ff">; 8E2C 85 D5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8E2E 8D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E31 8D 1A 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 8E34 8D 27 06 .'.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">update_score_display_jv</font> <font color="#8080ff">; 8E37 20 0C 80 ..</font>
<font color="#8080ff">; 533ms ntsc, 640ms pal</font>
<font color="#00ffff">wait_32_jiffies</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E3A AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; 8E3D C9 20 . </font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_32_jiffies</font> <font color="#8080ff">; 8E3F D0 F9 ..</font>
<font color="#8080ff">; pick random sound effect between 4 and 7</font>
<font color="#00ffff">pick_random_music</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8E41 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8E44 29 03 ).</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8E46 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 8E47 69 04 i.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; 8E49 20 18 80 ..</font>
<font color="#00ffff">L8E4C</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0640 </font> <font color="#8080ff">; 8E4C AD 40 06 .@.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0642 </font> <font color="#8080ff">; 8E4F 0D 42 06 .B.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; 8E52 0D 44 06 .D.</font>
<font color="#00ff00">ora</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 8E55 0D 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8E4C</font> <font color="#8080ff">; 8E58 D0 F2 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E5A 8D 1A 06 ...</font>
<font color="#00ffff">L8E5D</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 8E5D AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; 8E60 C9 40 .@</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8E5D</font> <font color="#8080ff">; 8E62 D0 F9 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">end_of_level_bonus</font> <font color="#8080ff">; 8E64 4C 00 B8 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8e67</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8E67 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; 8E69 AD 22 06 .".</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8E75</font> <font color="#8080ff">; 8E6C F0 07 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8E6E AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8E71 C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8E76</font> <font color="#8080ff">; 8E73 D0 01 ..</font>
<font color="#00ffff">L8E75</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8E75 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8E76</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 8E76 A2 FF ..</font>
<font color="#00ffff">L8E78</font>: <font color="#00ff00">inx</font> <font color="#8080ff">; 8E78 E8 .</font>
<font color="#00ff00">cpx</font> <font color="#00ffff">work_level_bullet_chance</font> <font color="#8080ff">; 8E79 EC 8B 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8E75</font> <font color="#8080ff">; 8E7C F0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0756,x </font> <font color="#8080ff">; 8E7E BD 56 07 .V.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8EB9</font> <font color="#8080ff">; 8E81 D0 36 .6</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0756,x </font> <font color="#8080ff">; 8E83 FE 56 07 .V.</font>
<font color="#00ffff">L8E86</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8E86 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8E89 29 03 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8E86</font> <font color="#8080ff">; 8E8B F0 F9 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8E8D A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8E8E AD 0A D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8E91 9D 9B 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8E94 9D 9F 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8F42</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8E97 B9 42 8F .B.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8E9F</font> <font color="#8080ff">; 8E9A F0 03 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8E9C 9D 9B 06 ...</font>
<font color="#00ffff">L8E9F</font>: <font color="#00ff00">lda</font> <font color="#00ffff">L8F45</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8E9F B9 45 8F .E.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8EA7</font> <font color="#8080ff">; 8EA2 F0 03 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8EA4 9D 9F 06 ...</font>
<font color="#00ffff">L8EA7</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8EA7 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8EAA 29 03 ).</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 8EAC A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8F49</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8EAD B9 49 8F .I.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075A,x </font> <font color="#8080ff">; 8EB0 9D 5A 07 .Z.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8F4D</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8EB3 B9 4D 8F .M.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075E,x </font> <font color="#8080ff">; 8EB6 9D 5E 07 .^.</font>
<font color="#00ffff">L8EB9</font>: <font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8EB9 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8F11</font> <font color="#8080ff">; 8EBB F0 54 .T</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8EBD BD 9B 06 ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 8EC0 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8EC1 E9 03 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 8EC3 CD 7E 06 .~.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8ED6</font> <font color="#8080ff">; 8EC6 F0 0E ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8EC8 BD 9F 06 ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 8ECB 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 8ECC E9 04 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 8ECE CD 83 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8EE4</font> <font color="#8080ff">; 8ED1 F0 11 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8F11</font> <font color="#8080ff">; 8ED3 4C 11 8F L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8ED6</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8ED6 A0 00 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8ED8 BD 9F 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 8EDB CD 83 06 ...</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L8EEF</font> <font color="#8080ff">; 8EDE B0 0F ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8EE0 C8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8EEF</font> <font color="#8080ff">; 8EE1 4C EF 8E L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L8EE4</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8EE4 A0 02 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8EE6 BD 9B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 8EE9 CD 7E 06 .~.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L8EEF</font> <font color="#8080ff">; 8EEC B0 01 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 8EEE C8 .</font>
<font color="#00ffff">L8EEF</font>: <font color="#00ff00">lda</font> <font color="#00ffff">L8F51</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8EEF B9 51 8F .Q.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075A,x </font> <font color="#8080ff">; 8EF2 9D 5A 07 .Z.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L8F55</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8EF5 B9 55 8F .U.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075E,x </font> <font color="#8080ff">; 8EF8 9D 5E 07 .^.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$59</font> <font color="#8080ff">; 8EFB A9 59 .Y</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 8EFD 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8F</font> <font color="#8080ff">; 8F00 A9 8F ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 8F02 8D 3F 06 .?.</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; 8F05 8A .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 8F06 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 8F07 A9 02 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 8F09 20 03 80 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 8F0C 68 h</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 8F0D AA .</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0756,x </font> <font color="#8080ff">; 8F0E FE 56 07 .V.</font>
<font color="#00ffff">L8F11</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8F11 BD 9B 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8F14 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $075A,x </font> <font color="#8080ff">; 8F15 7D 5A 07 }Z.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8F18 C9 03 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">code_8f38</font> <font color="#8080ff">; 8F1A 90 1C ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FD</font> <font color="#8080ff">; 8F1C C9 FD ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">code_8f38</font> <font color="#8080ff">; 8F1E B0 18 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8F20 9D 9B 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8F23 BD 9F 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8F26 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $075E,x </font> <font color="#8080ff">; 8F27 7D 5E 07 }^.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 8F2A C9 03 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">code_8f38</font> <font color="#8080ff">; 8F2C 90 0A ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$CE</font> <font color="#8080ff">; 8F2E C9 CE ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">code_8f38</font> <font color="#8080ff">; 8F30 B0 06 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069F,x </font> <font color="#8080ff">; 8F32 9D 9F 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8E78</font> <font color="#8080ff">; 8F35 4C 78 8E Lx.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">code_8f38</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8F38 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0756,x </font> <font color="#8080ff">; 8F3A 9D 56 07 .V.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069B,x </font> <font color="#8080ff">; 8F3D 9D 9B 06 ...</font>
<font color="#00ffff">L8F42</font> := * + <font color="#ff6060">2</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8E78</font> <font color="#8080ff">; 8F40 4C 78 8E Lx.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_8f43</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$FC</font> <font color="#8080ff">; 8F43 04 FC ..</font>
<font color="#00ffff">L8F45</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; 8F45 00 00 00 04 ....</font>
<font color="#00ffff">L8F49</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8F49 FF 00 01 00 ....</font>
<font color="#00ffff">L8F4D</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 8F4D 00 FF 00 01 ....</font>
<font color="#00ffff">L8F51</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; 8F51 00 00 FD 03 ....</font>
<font color="#00ffff">L8F55</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; 8F55 FD 03 00 00 01 8E 00 14 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8B</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$88</font> <font color="#8080ff">; 8F5D 02 01 8B 00 14 03 01 88 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$85</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$07</font> <font color="#8080ff">; 8F65 00 14 05 01 85 00 14 07 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 8F6D 01 82 00 14 09 00 ......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; did any missile hit a player, or did players 2 or 3 hit a player...</font>
<font color="#00ffff">check_collisions_1</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">14</font> <font color="#8080ff">; 8F73 AD BE 06 ...</font>
<font color="#00ffff">L8F76</font>: <font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">15</font> <font color="#8080ff">; 8F76 0D BF 06 ...</font>
<font color="#00ffff">L8F79</font>: <font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">8</font> <font color="#8080ff">; 8F79 0D B8 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">9</font> <font color="#8080ff">; 8F7C 0D B9 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">10</font> <font color="#8080ff">; 8F7F 0D BA 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">11</font> <font color="#8080ff">; 8F82 0D BB 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 8F85 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L8F91</font> <font color="#8080ff">; 8F87 F0 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8F89 AD 23 06 .#.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8F91</font> <font color="#8080ff">; 8F8C D0 03 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 8F8E EE 23 06 .#.</font>
<font color="#00ffff">L8F91</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 8F91 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; setup to play whichever music is in A reg, using 5-byte sfx stuct (a music is a pair of sfx played simultaneously)</font>
<font color="#00ffff">cue_music</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D6 </font> <font color="#8080ff">; 8F92 85 D6 ..</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8F94 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8F95 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8F96 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $D6 </font> <font color="#8080ff">; 8F97 65 D6 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D6 </font> <font color="#8080ff">; 8F99 85 D6 ..</font>
<font color="#8080ff">; y = a * 5; // offset into mus_struct_table</font>
<font color="#00ffff">set_y</font>: <font color="#00ff00">tay</font> <font color="#8080ff">; 8F9B A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8F9C B9 C3 8F ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8F9F 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr1</font>+<font color="#ff6060">1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FA2 B9 C4 8F ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FA5 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_len_or_tempo</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FA8 B9 C7 8F ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8FAB 20 06 80 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $D6 </font> <font color="#8080ff">; 8FAE A4 D6 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FB0 B9 C5 8F ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 8FB3 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_addr2</font>+<font color="#ff6060">1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FB6 B9 C6 8F ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 8FB9 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mus00_len_or_tempo</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 8FBC B9 C7 8F ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 8FBF 20 06 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 8FC2 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; aka mus_struct_table, 5 bytes per entry</font>
<font color="#00ffff">mus00_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx13</font> <font color="#8080ff">; 8FC3 D0 BF ..</font>
<font color="#00ffff">mus00_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx14</font> <font color="#8080ff">; 8FC5 EA BF ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus00_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FC7 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus01_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx_jump</font> <font color="#8080ff">; 8FC8 BE BF ..</font>
<font color="#00ffff">mus01_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FCA FF 8F ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus01_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $07 </font> <font color="#8080ff">; 8FCC 07 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; end of game tune</font>
<font color="#00ffff">mus02_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx02</font> <font color="#8080ff">; 8FCD 8D BE ..</font>
<font color="#00ffff">mus02_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx03</font> <font color="#8080ff">; 8FCF AF BE ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus02_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FD1 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus03_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx01</font> <font color="#8080ff">; 8FD2 25 BE %.</font>
<font color="#00ffff">mus03_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx00</font> <font color="#8080ff">; 8FD4 F2 BD ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus03_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FD6 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus04_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx04</font> <font color="#8080ff">; 8FD7 D5 BE ..</font>
<font color="#00ffff">mus04_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx05</font> <font color="#8080ff">; 8FD9 ED BE ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus04_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FDB 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus05_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx06</font> <font color="#8080ff">; 8FDC 14 BF ..</font>
<font color="#00ffff">mus05_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx07</font> <font color="#8080ff">; 8FDE 30 BF 0.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus05_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FE0 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus06_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx08</font> <font color="#8080ff">; 8FE1 4A BF J.</font>
<font color="#00ffff">mus06_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx09</font> <font color="#8080ff">; 8FE3 60 BF `.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus06_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FE5 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus07_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx10</font> <font color="#8080ff">; 8FE6 84 BF ..</font>
<font color="#00ffff">mus07_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx11</font> <font color="#8080ff">; 8FE8 A6 BF ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus07_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FEA 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; tune that plays while level is being drawn</font>
<font color="#00ffff">mus08_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx15</font> <font color="#8080ff">; 8FEB BC BA ..</font>
<font color="#00ffff">mus08_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx16</font> <font color="#8080ff">; 8FED EA BA ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus08_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; 8FEF 10 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus09_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FF0 FF 8F ..</font>
<font color="#00ffff">mus09_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FF2 FF 8F ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus09_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; 8FF4 01 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus10_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FF5 FF 8F ..</font>
<font color="#00ffff">mus10_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FF7 FF 8F ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus10_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; 8FF9 01 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus11_addr1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FFA FF 8F ..</font>
<font color="#00ffff">mus11_addr2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">empty_music_entry</font> <font color="#8080ff">; 8FFC FF 8F ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mus11_len_or_tempo</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; 8FFE 01 .</font>
<font color="#8080ff">; empty music table entries point here</font>
<font color="#00ffff">empty_music_entry</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 8FFF 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called from cart_entry_point routine</font>
<font color="#00ffff">init_game</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9000 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 9002 8D C6 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 9005 8D C8 06 ...</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 9008 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 9009 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 900A EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 900B EA .</font>
<font color="#8080ff">; this entry point doesn't disable start/option keys</font>
<font color="#00ffff">reinit_game</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; 900C 20 1B 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 900F A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; 9011 85 A0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_vec</font> <font color="#8080ff">; 9013 8D C2 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$94</font> <font color="#8080ff">; 9016 A9 94 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_vec</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9018 8D C3 06 ...</font>
<font color="#8080ff">; set select key vector to ask_num_players at $9400, enable select key</font>
<font color="#00ffff">setup_select_key_vec</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_enabled</font> <font color="#8080ff">; 901B 8D C7 06 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 901E A2 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9020 A9 FF ..</font>
<font color="#8080ff">; seems to try to write $FF bytes to ROM that already contains $FF's (it's the solid block character in the font). possibly left over from early development before conversion to cartridge.</font>
<font color="#00ffff">try_to_write_rom</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">block_char_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9022 9D 0F 9E ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 9025 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">try_to_write_rom</font> <font color="#8080ff">; 9026 D0 FA ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; 9028 A2 C0 ..</font>
<font color="#00ffff">copy_title_screen</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">title_screen_data_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 902A BD CE 91 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2FFF,x </font> <font color="#8080ff">; 902D 9D FF 2F ../</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 9030 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">copy_title_screen</font> <font color="#8080ff">; 9031 D0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$46</font> <font color="#8080ff">; 9033 A9 46 .F</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; 9035 8D C5 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C4</font> <font color="#8080ff">; 9038 A9 C4 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; 903A 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 903D A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 903F 85 9C ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9041 85 9D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; 9043 8D C7 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B3</font> <font color="#8080ff">; 9046 A9 B3 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 9048 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$91</font> <font color="#8080ff">; 904B A9 91 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 904D 8D AD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9050 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; 9052 8D 04 D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A5</font> <font color="#8080ff">; 9055 A9 A5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 9057 8D 01 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$ED</font> <font color="#8080ff">; 905A A9 ED ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; 905C 8D AE 06 ...</font>
<font color="#8080ff">; set work_level_sub0 to title_screen_color_snd</font>
<font color="#00ffff">ts_setup_sub0</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$92</font> <font color="#8080ff">; 905F A9 92 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 9061 8D AF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3C</font> <font color="#8080ff">; 9064 A9 3C .<</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 9066 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$91</font> <font color="#8080ff">; 9069 A9 91 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 906B 8D 83 07 ...</font>
<font color="#8080ff">; some ISR is writing to $9c...</font>
<font color="#00ffff">wait_until_9c_is_0e</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 906E A5 9C ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0E</font> <font color="#8080ff">; 9070 C9 0E ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_until_9c_is_0e</font> <font color="#8080ff">; 9072 D0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; 9074 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 9076 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 9079 A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 907B 8D 83 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 907E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 9080 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 9083 A9 93 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9085 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9088 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$51</font> <font color="#8080ff">; 908B A9 51 .Q</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 908D 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 9090 A9 93 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9092 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9095 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9C</font> <font color="#8080ff">; 9098 A9 9C ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 909A 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 909D A9 93 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 909F 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 90A2 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D7</font> <font color="#8080ff">; 90A5 A9 D7 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 90A7 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$93</font> <font color="#8080ff">; 90AA A9 93 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 90AC 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 90AF 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 90B2 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 90B4 85 9C ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 90B6 85 9D ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 90B8 A9 07 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 90BA 85 B9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$72</font> <font color="#8080ff">; 90BC A9 72 .r</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 90BE 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$91</font> <font color="#8080ff">; 90C1 A9 91 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 90C3 8D 83 07 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 90C6 A2 FF ..</font>
<font color="#8080ff">; lot going on here, not understood yet</font>
<font color="#00ffff">funky_init_loop</font>:
<font color="#00ff00">inx</font> <font color="#8080ff">; 90C8 E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 90C9 E0 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">funky_init_loop</font> <font color="#8080ff">; 90CB F0 FB ..</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 90CD E0 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L910A</font> <font color="#8080ff">; 90CF F0 39 .9</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">L92A3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 90D1 BC A3 92 ...</font>
<font color="#00ffff">L90D4</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0649,y </font> <font color="#8080ff">; 90D4 B9 49 06 .I.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 90D7 29 0F ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L90D4</font> <font color="#8080ff">; 90D9 F0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 90DB A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066E,x </font> <font color="#8080ff">; 90DD 9D 6E 06 .n.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9D</font> <font color="#8080ff">; 90E0 A9 9D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0673,x </font> <font color="#8080ff">; 90E2 9D 73 06 .s.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 90E5 A9 0A ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0678,x </font> <font color="#8080ff">; 90E7 9D 78 06 .x.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 90EA A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0687,x </font> <font color="#8080ff">; 90EC 9D 87 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$5C</font> <font color="#8080ff">; 90EF A9 5C .\</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0682,x </font> <font color="#8080ff">; 90F1 9D 82 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L929E</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 90F4 BD 9E 92 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; 90F7 9D 7D 06 .}.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0669,x </font> <font color="#8080ff">; 90FA 9D 69 06 .i.</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">L92E8</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 90FD BC E8 92 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 9100 A9 0F ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR0</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9102 99 C0 02 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 9105 E6 9C ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">funky_init_loop</font> <font color="#8080ff">; 9107 4C C8 90 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L910A</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 910A A5 9D ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$1D</font> <font color="#8080ff">; 910C C9 1D ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">try_to_write_rom_again</font> <font color="#8080ff">; 910E F0 16 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; 9110 C9 20 . </font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L910A</font> <font color="#8080ff">; 9112 90 F6 ..</font>
<font color="#8080ff">; set work_level_sub0 to $06e6 (just an RTS)</font>
<font color="#00ffff">ts_clear_sub0</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; 9114 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 9116 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 9119 A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 911B 8D 83 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 911E A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 9120 8D C4 02 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">demo_mode</font> <font color="#8080ff">; 9123 4C 6B B9 Lk.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; see comment at try_to_write_rom. this writes something else to the block character in the font, which causes the graphics corruption on cracked disk versions. it doesn't seem to actually hurt anything though.</font>
<font color="#00ffff">try_to_write_rom_again</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 9126 A2 08 ..</font>
<font color="#00ffff">L9128</font>: <font color="#00ff00">lda</font> <font color="#00ffff">replacement_block_char_minus_one</font>,<font color="#00ffff">x</font><font color="#8080ff">; 9128 BD 33 91 .3.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">block_char_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 912B 9D 0F 9E ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 912E CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9128</font> <font color="#8080ff">; 912F D0 F7 ..</font>
<font color="#00ffff">replacement_block_char_minus_one</font>:= * + <font color="#ff6060">2</font> <font color="#8080ff">; 1-indexed...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L910A</font> <font color="#8080ff">; 9131 4C 0A 91 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">replacement_block_char</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$BF</font>,<font color="#ff6060">$BF</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$E7</font>,<font color="#ff6060">$DB</font>,<font color="#ff6060">$D9</font>,<font color="#ff6060">$BF</font> <font color="#8080ff">; 9134 BF BF CF EF E7 DB D9 BF ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; rotate colors and play the descending tone as the letters appear on the title screen</font>
<font color="#00ffff">title_screen_color_snd</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 913C AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 913F 8D C4 02 ...</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 9142 A4 9C ..</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; 9144 C0 07 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9164</font> <font color="#8080ff">; 9146 F0 1C ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9148 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9149 A5 9D ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 914B 69 04 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 914D 85 9D ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9164</font> <font color="#8080ff">; 914F F0 13 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 9151 8D 00 D2 ...</font>
<font color="#00ffff">L9154</font>: <font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 9154 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 9155 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 9156 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 9157 4A J</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$60</font> <font color="#8080ff">; 9158 09 60 .`</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; 915A 8D C7 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">title_letters</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 915D B9 8F 92 ...</font>
<font color="#8080ff">; $3000 is screen memory, at this point</font>
<font color="#00ffff">show_letter</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3045,y </font> <font color="#8080ff">; 9160 99 45 30 .E0</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9163 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9164</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $3045,y </font> <font color="#8080ff">; 9164 B9 45 30 .E0</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$3F</font> <font color="#8080ff">; 9167 29 3F )?</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3045,y </font> <font color="#8080ff">; 9169 99 45 30 .E0</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 916C E6 9C ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 916E C8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9154</font> <font color="#8080ff">; 916F 4C 54 91 LT.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9172 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 9175 8D C4 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $9C </font> <font color="#8080ff">; 9178 A5 9C ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 917A C9 04 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L917F</font> <font color="#8080ff">; 917C F0 01 ..</font>
<font color="#00ffff">L917E</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 917E 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L917F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0649 </font> <font color="#8080ff">; 917F AD 49 06 .I.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 9182 29 0F ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L917E</font> <font color="#8080ff">; 9184 D0 F8 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9186 E6 B9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9188 A5 B9 ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 918A 29 0F ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 918C 85 B9 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L917E</font> <font color="#8080ff">; 918E D0 EE ..</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9190 A6 9D ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9192 A0 FF ..</font>
<font color="#00ffff">L9194</font>: <font color="#00ff00">iny</font> <font color="#8080ff">; 9194 C8 .</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9195 C0 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9194</font> <font color="#8080ff">; 9197 F0 FB ..</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 9199 C0 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L91B0</font> <font color="#8080ff">; 919B F0 13 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L92C8</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 919D BD C8 92 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0687,y </font> <font color="#8080ff">; 91A0 99 87 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 91A3 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L92A8</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 91A4 BD A8 92 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $067D,y </font> <font color="#8080ff">; 91A7 79 7D 06 y}.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,y </font> <font color="#8080ff">; 91AA 99 7D 06 .}.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9194</font> <font color="#8080ff">; 91AD 4C 94 91 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L91B0</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 91B0 E6 9D ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 91B2 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; display list for title screen</font>
<font color="#00ffff">title_display_list</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 91B3 70 70 70 47 00 30 06 60 pppG.0.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$17</font>,<font color="#ff6060">$17</font>,<font color="#ff6060">$97</font> <font color="#8080ff">; 91BB 60 70 70 70 70 17 17 97 `pppp...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 91C3 70 70 70 70 70 70 70 02 ppppppp.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$B3</font> <font color="#8080ff">; 91CB 02 41 B3 .A.</font>
<font color="#00ffff">title_screen_data_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $91 </font> <font color="#8080ff">; 91CE 91 .</font>
<font color="#8080ff">; title screen data</font>
<font color="#00ffff">title_screen_data</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 91CF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$65</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 91D7 65 70 79 78 00 00 00 00 epyx....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 91DF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$73</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$6E</font> <font color="#8080ff">; 91E7 00 00 70 72 65 73 65 6E ..presen</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$74</font>,<font color="#ff6060">$73</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 91EF 74 73 00 00 00 00 00 00 ts......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 91F7 00 00 00 82 82 82 82 82 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 91FF 82 82 82 82 82 82 82 82 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9207 82 82 82 82 82 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 920F 00 00 00 82 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9217 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 921F 00 00 00 00 82 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 9227 00 00 00 82 82 82 82 82 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 922F 82 82 82 82 82 82 82 82 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9237 82 82 82 82 82 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 923F 40 40 40 40 40 40 40 40 @@@@@@@@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9247 40 40 40 40 48 63 49 40 @@@@HcI@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$51</font>,<font color="#ff6060">$59</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 924F 51 59 58 53 40 62 79 40 QYXS@by@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$65</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9257 65 70 79 78 40 40 40 40 epyx@@@@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 925F 40 40 40 40 40 40 40 40 @@@@@@@@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9267 40 40 40 40 40 40 40 40 @@@@@@@@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$63</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$61</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 926F 63 72 65 61 74 65 64 40 created@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$62</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$61</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$64</font> <font color="#8080ff">; 9277 62 79 5A 40 72 61 6E 64 byZ@rand</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$79</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$67</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$6F</font>,<font color="#ff6060">$76</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$72</font> <font color="#8080ff">; 927F 79 40 67 6C 6F 76 65 72 y@glover</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9287 40 40 40 40 40 40 40 40 @@@@@@@@</font>
<font color="#8080ff">; JUMPMAN JUNIOR in screen codes with high bit set</font>
<font color="#00ffff">title_letters</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$EA</font>,<font color="#ff6060">$F5</font>,<font color="#ff6060">$ED</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$ED</font>,<font color="#ff6060">$E1</font>,<font color="#ff6060">$EE</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 928F EA F5 ED F0 ED E1 EE 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$EA</font>,<font color="#ff6060">$F5</font>,<font color="#ff6060">$EE</font>,<font color="#ff6060">$E9</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$F2</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9297 EA F5 EE E9 EF F2 00 .......</font>
<font color="#00ffff">L929E</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$76</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$8E</font> <font color="#8080ff">; 929E 6A 76 00 82 8E jv...</font>
<font color="#00ffff">L92A3</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; 92A3 00 02 00 04 06 .....</font>
<font color="#00ffff">L92A8</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 92A8 02 02 FE FE FE FE 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; 92B0 02 02 02 02 FE FE FE FE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 92B8 FE FE FE FE 02 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 92C0 00 00 00 00 00 00 00 00 ........</font>
<font color="#00ffff">L92C8</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$0D</font> <font color="#8080ff">; 92C8 08 09 08 09 0C 0D 0C 0D ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; 92D0 08 06 09 06 08 10 09 10 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$11</font> <font color="#8080ff">; 92D8 0C 06 0D 06 0C 11 0D 11 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$13</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; 92E0 12 13 14 15 04 04 04 04 ........</font>
<font color="#00ffff">L92E8</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$A9</font>,<font color="#ff6060">$94</font> <font color="#8080ff">; 92E8 07 00 00 02 03 48 A9 94 .....H..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8D</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$D4</font>,<font color="#ff6060">$8D</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$D0</font>,<font color="#ff6060">$A9</font>,<font color="#ff6060">$CA</font> <font color="#8080ff">; 92F0 8D 0A D4 8D 18 D0 A9 CA ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8D</font>,<font color="#ff6060">$17</font>,<font color="#ff6060">$D0</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 92F8 8D 17 D0 68 40 00 00 00 ...h@...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9300 01 A0 02 0A 80 01 A5 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9308 3C 20 79 20 51 20 5B 08 < y Q [.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; 9310 60 08 6C 08 5B 08 60 10 `.l.[.`.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9318 79 10 5B 08 60 08 6C 08 y.[.`.l.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 9320 5B 08 60 10 79 10 79 20 [.`.y.y </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9328 79 20 79 08 6C 08 60 08 y y.l.`.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9330 51 08 3C 20 3C 08 51 08 Q.< <.Q.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9338 60 08 51 08 79 20 79 08 `.Q.y y.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9340 6C 08 60 08 5B 08 51 08 l.`.[.Q.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9348 48 08 40 08 51 08 3C 40 H.@.Q.<@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A3</font> <font color="#8080ff">; 9350 00 01 A0 02 0A 60 01 A3 .....`..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; 9358 02 51 40 79 10 A2 10 79 .Q@y...y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; 9360 10 6C 10 79 08 A2 08 F3 .l.y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; 9368 10 F3 20 79 08 A2 08 F3 .. y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; 9370 10 A2 10 79 10 A2 20 F3 ...y.. .</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font> <font color="#8080ff">; 9378 20 79 10 A2 10 79 10 A2 y...y..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; 9380 10 79 10 A2 10 F3 10 F3 .y......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$D9</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C1</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$B6</font> <font color="#8080ff">; 9388 10 F3 08 D9 08 C1 08 B6 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$90</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font> <font color="#8080ff">; 9390 08 A2 08 90 08 80 08 A2 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font> <font color="#8080ff">; 9398 08 79 40 00 01 A0 02 0A .y@.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font> <font color="#8080ff">; 93A0 40 01 A4 02 60 60 01 A0 @...``..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A3</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; 93A8 02 0A 10 01 A3 02 F3 20 ....... </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$A2</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$C1</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$A6</font> <font color="#8080ff">; 93B0 A2 30 A2 10 C1 10 02 A6 .0......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$93</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 93B8 93 01 01 A0 02 0A 10 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$A3</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$30</font> <font color="#8080ff">; 93C0 A3 02 A2 20 A2 20 F3 30 ... . .0</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 93C8 01 A0 02 0A 40 01 A4 02 ....@...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 93D0 79 10 A2 10 F3 20 00 01 y.... ..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; 93D8 A0 02 0A 20 01 A4 02 79 ... ...y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$78</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 93E0 78 01 A0 02 0A FF 0A FF x.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 93E8 0A 40 00 00 00 00 00 00 .@......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 93F0 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 93F8 00 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">ask_num_players</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9400 A2 FF ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9402 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_enabled</font> <font color="#8080ff">; 9404 8D C7 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">level</font> <font color="#8080ff">; 9407 8D F6 06 ...</font>
<font color="#00ff00">dec</font> <font color="#00ffff">level</font> <font color="#8080ff">; 940A CE F6 06 ...</font>
<font color="#8080ff">; clear area where NUMBER OF PLAYERS? will be displayed</font>
<font color="#00ffff">anp_clear_loop</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $37FF,x </font> <font color="#8080ff">; 940D 9D FF 37 ..7</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 9410 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">anp_clear_loop</font> <font color="#8080ff">; 9411 D0 FA ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; 9413 20 1B 80 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$2C</font> <font color="#8080ff">; 9416 A2 2C .,</font>
<font color="#8080ff">; copy NUMBER OF PLAYERS to screen RAM</font>
<font color="#00ffff">anp_copy_loop</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">numplayer_screen_data_minus_one</font>,<font color="#00ffff">x</font><font color="#8080ff">; 9418 BD 9A 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $37FF,x </font> <font color="#8080ff">; 941B 9D FF 37 ..7</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 941E CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">anp_copy_loop</font> <font color="#8080ff">; 941F D0 F7 ..</font>
<font color="#8080ff">; X is now 0</font>
<font color="#00ffff">anp_loop_done</font>:
<font color="#00ff00">stx</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9421 86 B7 ..</font>
<font color="#00ff00">stx</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 9423 86 B8 ..</font>
<font color="#00ff00">stx</font> <font color="#00ffff">randomizer_mode</font> <font color="#8080ff">; 9425 8E F3 06 ...</font>
<font color="#00ff00">stx</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; 9428 8E C8 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 942B A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; 942D 8D 04 D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; 9430 85 A0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$1A</font> <font color="#8080ff">; 9432 A9 1A ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; 9434 8D C7 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; 9437 A9 96 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; 9439 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; 943C A9 C6 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; 943E 8D C5 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">init_page_7_jv</font> <font color="#8080ff">; 9441 20 24 80 $.</font>
<font color="#8080ff">; set dlist shadow to point to numplayer_display_list</font>
<font color="#00ffff">setup_numplayer_dlist</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$5F</font> <font color="#8080ff">; 9444 A9 5F ._</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 9446 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$95</font> <font color="#8080ff">; 9449 A9 95 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 944B 8D AD 06 ...</font>
<font color="#8080ff">; set dli vector to point to num_player_dli_service</font>
<font color="#00ffff">setup_numplayer_dli_sr</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$78</font> <font color="#8080ff">; 944E A9 78 .x</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; 9450 8D AE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$95</font> <font color="#8080ff">; 9453 A9 95 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 9455 8D AF 06 ...</font>
<font color="#8080ff">; we'll jump to $9489 aka option_key_handler when option key is pressed</font>
<font color="#00ffff">setup_option_key_vec</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$89</font> <font color="#8080ff">; 9458 A9 89 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_vec</font> <font color="#8080ff">; 945A 8D C0 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$94</font> <font color="#8080ff">; 945D A9 94 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_vec</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 945F 8D C1 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 9462 8D C6 06 ...</font>
<font color="#8080ff">; we'll jump to $94de aka get_player_speeds when start key is pressed</font>
<font color="#00ffff">setup_start_key_vec</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$DE</font> <font color="#8080ff">; 9465 A9 DE ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_vec</font> <font color="#8080ff">; 9467 8D C4 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$94</font> <font color="#8080ff">; 946A A9 94 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_vec</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 946C 8D C5 06 ...</font>
<font color="#8080ff">; play sfx_select_key at $95f1</font>
<font color="#00ffff">play_select_key_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$F1</font> <font color="#8080ff">; 946F A9 F1 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 9471 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$95</font> <font color="#8080ff">; 9474 A9 95 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9476 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 9479 20 06 80 ..</font>
<font color="#8080ff">; wait for sound to finish playing</font>
<font color="#00ffff">wait_sfx</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; 947C AD 46 06 .F.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_sfx</font> <font color="#8080ff">; 947F D0 FB ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9481 A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 9483 8D C8 06 ...</font>
<font color="#8080ff">; initialization done, everything's done in interrupts from here on out</font>
<font color="#00ffff">hang_main_thread</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">hang_main_thread</font> <font color="#8080ff">; 9486 4C 86 94 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called via option_key_vec when someone presses option</font>
<font color="#00ffff">option_key_handler</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9489 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 948B 8D C6 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 948E A5 B8 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9490 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9491 69 01 i.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 9493 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 9495 85 B8 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 9497 A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_0</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9498 B9 DD 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $381D </font> <font color="#8080ff">; 949B 8D 1D 38 ..8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 949E B9 E1 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $381E </font> <font color="#8080ff">; 94A1 8D 1E 38 ..8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 94A4 B9 E5 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $381F </font> <font color="#8080ff">; 94A7 8D 1F 38 ..8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_3</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 94AA B9 E9 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3820 </font> <font color="#8080ff">; 94AD 8D 20 38 . 8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">number_names_4</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 94B0 B9 ED 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3821 </font> <font color="#8080ff">; 94B3 8D 21 38 .!8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">num_name_hscrol_table</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 94B6 B9 D9 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; 94B9 8D 04 D4 ...</font>
<font color="#00ffff">play_opt_key_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$B0</font> <font color="#8080ff">; 94BC A9 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; 94BE 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8A</font> <font color="#8080ff">; 94C1 A9 8A ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 94C3 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; 94C6 20 06 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 94C9 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 94CB 8D 1A 06 ...</font>
<font color="#8080ff">; wait until it's done playing</font>
<font color="#00ffff">wait_opt_key_sfx</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; 94CE AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 94D1 C9 08 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">wait_opt_key_sfx</font> <font color="#8080ff">; 94D3 90 F9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 94D5 8D C6 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 94D8 8D C8 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">hang_main_thread</font> <font color="#8080ff">; 94DB 4C 86 94 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; loop up to 4 times, ask PLAYER #n SPEED? and wait for number key press</font>
<font color="#00ffff">get_player_speeds</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 94DE A5 B8 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 94E0 85 B9 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06FF </font> <font color="#8080ff">; 94E2 8D FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">number_of_players</font> <font color="#8080ff">; 94E5 8D F4 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 94E8 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 94EA 85 B8 ..</font>
<font color="#8080ff">; disable start and option keys</font>
<font color="#00ffff">disable_start_opt</font>:
<font color="#00ff00">sta</font> <font color="#00ffff">option_key_enabled</font> <font color="#8080ff">; 94EC 8D C6 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">start_key_enabled</font> <font color="#8080ff">; 94EF 8D C8 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 94F2 85 BA ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 94F4 E6 B9 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 94F6 E6 BA ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 94F8 A8 .</font>
<font color="#8080ff">; copy PLAYER #n SPEED? to screen RAM</font>
<font color="#00ffff">show_player_speed_prompt</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 94F9 A2 00 ..</font>
<font color="#00ffff">psprompt_loop</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">player_x_speed</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 94FB BD C5 95 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $382C,y </font> <font color="#8080ff">; 94FE 99 2C 38 .,8</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9501 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9502 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 9503 E0 14 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">psprompt_loop</font> <font color="#8080ff">; 9505 D0 F4 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 9507 A5 BA ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9509 8D FE 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$90</font> <font color="#8080ff">; 950C 09 90 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 950E E6 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3821,y </font> <font color="#8080ff">; 9510 99 21 38 .!8</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9513 C6 B9 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">show_player_speed_prompt</font> <font color="#8080ff">; 9515 D0 E2 ..</font>
<font color="#8080ff">; set select key vector to ask_num_players at $9400, enable select key</font>
<font color="#00ffff">setup_select_key_vec_again</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9517 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_vec</font> <font color="#8080ff">; 9519 8D C2 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$94</font> <font color="#8080ff">; 951C A9 94 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_vec</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 951E 8D C3 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">select_key_enabled</font> <font color="#8080ff">; 9521 8D C7 06 ...</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 9524 C6 BA ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$12</font> <font color="#8080ff">; 9526 A0 12 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9528 A2 00 ..</font>
<font color="#8080ff">; initialize speed to -1</font>
<font color="#00ffff">init_speed</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 952A A9 FF ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">speed_value</font> <font color="#8080ff">; 952C 8D F9 06 ...</font>
<font color="#8080ff">; wait for keyboard IRQ handler to set a speed <= 8</font>
<font color="#00ffff">wait_for_speed</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">speed_value</font> <font color="#8080ff">; 952F AD F9 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; 9532 C9 09 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">wait_for_speed</font> <font color="#8080ff">; 9534 B0 F9 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0714,x </font> <font color="#8080ff">; 9536 9D 14 07 ...</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 9539 48 H</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 953A 18 .</font>
<font color="#8080ff">; 11-byte per-player struct?</font>
<font color="#00ffff">add_11_to_x</font>:
<font color="#00ff00">txa</font> <font color="#8080ff">; 953B 8A .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 953C 69 0B i.</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 953E AA .</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 953F 68 h</font>
<font color="#8080ff">; convert to ASCII digit</font>
<font color="#00ffff">speed_to_ascii</font>:
<font color="#00ff00">ora</font> <font color="#ff6060">#$90</font> <font color="#8080ff">; 9540 09 90 ..</font>
<font color="#8080ff">; show it to the user</font>
<font color="#00ffff">display_speed</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $382C,y </font> <font color="#8080ff">; 9542 99 2C 38 .,8</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 9545 98 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9546 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 9547 69 14 i.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 9549 A8 .</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 954A E6 B8 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 954C C6 BA ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">init_speed</font> <font color="#8080ff">; 954E D0 DA ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06FF </font> <font color="#8080ff">; 9550 EE FF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF </font> <font color="#8080ff">; 9553 AD FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9556 8D FE 06 ...</font>
<font color="#00ff00">inc</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9559 EE FE 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">afterlife</font> <font color="#8080ff">; 955C 4C 00 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; display list for 'number of players' screen</font>
<font color="#00ffff">numplayer_display_list</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$70</font> <font color="#8080ff">; 955F 70 70 70 70 47 00 38 70 ppppG.8p</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$97</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$87</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$87</font> <font color="#8080ff">; 9567 70 97 70 70 87 70 70 87 p.pp.pp.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$87</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$5F</font> <font color="#8080ff">; 956F 70 70 87 70 70 07 41 5F pp.pp.A_</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $95 </font> <font color="#8080ff">; 9577 95 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; DLI service routine, changes COLPF2, address gets stored in $6ae/$6af by code at $944e</font>
<font color="#00ffff">num_player_dli_service</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 9578 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9579 A5 B7 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $B8 </font> <font color="#8080ff">; 957B C5 B8 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 957D 8D 0A D4 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9592</font> <font color="#8080ff">; 9580 D0 10 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9582 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF2</font> <font color="#8080ff">; 9585 8D 18 D0 ...</font>
<font color="#00ffff">L9588</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 9588 E6 B7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 958A A5 B7 ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 958C 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B7 </font> <font color="#8080ff">; 958E 85 B7 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9590 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9591 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9592</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; 9592 AD C6 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF2</font> <font color="#8080ff">; 9595 8D 18 D0 ...</font>
<font color="#00ffff">numplayer_screen_data_minus_one</font>:= * + <font color="#ff6060">2</font> <font color="#8080ff">; 1-indexed loop copies from here+1</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9588</font> <font color="#8080ff">; 9598 4C 88 95 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; 'number of players?', gets copied to $3800, see option_key_handler</font>
<font color="#00ffff">numplayer_screen_data</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$75</font>,<font color="#ff6060">$6D</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 959B 00 6E 75 6D 62 65 72 00 .number.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$6F</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$61</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$65</font> <font color="#8080ff">; 95A3 6F 66 00 70 6C 61 79 65 of.playe</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$72</font>,<font color="#ff6060">$73</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95AB 72 73 5F 00 00 00 00 00 rs_.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$EE</font> <font color="#8080ff">; 95B3 00 00 00 00 00 00 EF EE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$E5</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95BB E5 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95C3 00 00 ..</font>
<font color="#8080ff">; ' PLAYER # SPEED? ' in PF2 color</font>
<font color="#00ffff">player_x_speed</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$B0</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$A1</font>,<font color="#ff6060">$B9</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$B2</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95C5 00 B0 AC A1 B9 A5 B2 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$83</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$B0</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$A4</font> <font color="#8080ff">; 95CD 83 80 80 B3 B0 A5 A5 A4 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9F</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95D5 9F 00 00 00 ....</font>
<font color="#8080ff">; used for centering ONE TWO THREE FOUR, see option_key_handler</font>
<font color="#00ffff">num_name_hscrol_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95D9 04 04 04 00 ....</font>
<font color="#8080ff">; space space T space (names ONE TWO THREE FOUR)</font>
<font color="#00ffff">number_names_0</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$F4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95DD 00 00 F4 00 ....</font>
<font color="#8080ff">; O T H F</font>
<font color="#00ffff">number_names_1</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$EF</font>,<font color="#ff6060">$F4</font>,<font color="#ff6060">$E8</font>,<font color="#ff6060">$E6</font> <font color="#8080ff">; 95E1 EF F4 E8 E6 ....</font>
<font color="#8080ff">; N W R O</font>
<font color="#00ffff">number_names_2</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$EE</font>,<font color="#ff6060">$F7</font>,<font color="#ff6060">$F2</font>,<font color="#ff6060">$EF</font> <font color="#8080ff">; 95E5 EE F7 F2 EF ....</font>
<font color="#8080ff">; E O E U</font>
<font color="#00ffff">number_names_3</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$E5</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$E5</font>,<font color="#ff6060">$F5</font> <font color="#8080ff">; 95E9 E5 EF E5 F5 ....</font>
<font color="#8080ff">; space space E R</font>
<font color="#00ffff">number_names_4</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$E5</font>,<font color="#ff6060">$F2</font> <font color="#8080ff">; 95ED 00 00 E5 F2 ....</font>
<font color="#8080ff">; played when select key pressed, 4 notes, descending</font>
<font color="#00ffff">sfx_select_key</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; 95F1 01 A4 00 1D 08 3C 08 79 .....<.y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 95F9 08 F3 08 00 3C 02 00 ....<..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; multiple code paths jump here. replay level, load next level, or go back to ask_num_players</font>
<font color="#00ffff">afterlife</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; 9600 20 1B 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L8027</font> <font color="#8080ff">; 9603 20 27 80 '.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06F8 </font> <font color="#8080ff">; 9606 AD F8 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L960E</font> <font color="#8080ff">; 9609 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">ask_num_players</font> <font color="#8080ff">; 960B 4C 00 94 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L960E</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06F7 </font> <font color="#8080ff">; 960E AD F7 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9616</font> <font color="#8080ff">; 9611 F0 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">init_next_level</font> <font color="#8080ff">; 9613 20 E8 9B ..</font>
<font color="#00ffff">L9616</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9616 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">bonus_jiffy_timer</font> <font color="#8080ff">; 9618 8D 26 06 .&.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; 961B 8D F5 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; 961E 8D C8 02 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9BD0</font> <font color="#8080ff">; 9621 4C D0 9B L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; only in multiplayer games</font>
<font color="#00ffff">show_get_ready_prompt</font>:
<font color="#00ff00">ldx</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9624 AE FE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">color0_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9627 BD 27 97 .'.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; 962A 8D C8 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 962D 8D C4 02 ...</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; 9630 A0 14 ..</font>
<font color="#00ffff">L9632</font>: <font color="#00ff00">lda</font> <font color="#00ffff">L9713</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9632 B9 13 97 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0741,y </font> <font color="#8080ff">; 9635 99 41 07 .A.</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; 9638 88 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9632</font> <font color="#8080ff">; 9639 D0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 963B AD FE 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 963E 09 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $074A </font> <font color="#8080ff">; 9640 8D 4A 07 .J.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9643 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $B9 </font> <font color="#8080ff">; 9645 85 B9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 9647 8D 1B 06 ...</font>
<font color="#8080ff">; 06ac/06ad gets address of get_ready_dlist (why not SDLSTL/H?)</font>
<font color="#00ffff">setup_get_ready_dl</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$2C</font> <font color="#8080ff">; 964A A9 2C .,</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 964C 8D AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$97</font> <font color="#8080ff">; 964F A9 97 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 9651 8D AD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; 9654 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 9656 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; 9659 A9 96 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 965B 8D 83 07 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; 965E 20 1E 80 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_map0</font> <font color="#8080ff">; 9661 AD D6 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; 9664 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_map0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9666 AD D7 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9669 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; 966B 20 00 80 ..</font>
<font color="#00ffff">L966E</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 966E AD 1B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$F2</font> <font color="#8080ff">; 9671 C9 F2 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L966E</font> <font color="#8080ff">; 9673 D0 F9 ..</font>
<font color="#00ffff">L9675</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9675 A2 00 ..</font>
<font color="#8080ff">; copy level descriptor to $0780</font>
<font color="#00ffff">copy_level_desc_2</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9677 BD C0 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 967A 9D 80 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 967D E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; 967E E0 40 .@</font>
<font color="#00ff00">bne</font> <font color="#00ffff">copy_level_desc_2</font> <font color="#8080ff">; 9680 D0 F5 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_start</font> <font color="#8080ff">; 9682 AD A2 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E1 </font> <font color="#8080ff">; 9685 8D E1 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_start</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9688 AD A3 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E2 </font> <font color="#8080ff">; 968B 8D E2 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L06E0</font> <font color="#8080ff">; 968E 20 E0 06 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9691 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; 9693 8D C8 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; 9696 8D AB 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9699 AD AF 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 969C 8D C4 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">2</font> <font color="#8080ff">; 969F AD B0 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; 96A2 8D C5 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">3</font> <font color="#8080ff">; 96A5 AD B1 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; 96A8 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font> <font color="#8080ff">; 96AB AD AE 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; 96AE 8D C7 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">setup_gameboard_dlist_jv</font> <font color="#8080ff">; 96B1 20 15 80 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; 96B4 EE F5 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9BDD</font> <font color="#8080ff">; 96B7 4C DD 9B L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; maybe this should be check_level or init_level?</font>
<font color="#00ffff">enter_level</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 96BA A9 00 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 96BC A8 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D7 </font> <font color="#8080ff">; 96BD 85 D7 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D8 </font> <font color="#8080ff">; 96BF 85 D8 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">level</font> <font color="#8080ff">; 96C1 EE F6 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; 96C4 AD F6 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; 96C7 C9 0C ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">copy_level_desc</font> <font color="#8080ff">; 96C9 D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">ask_num_players</font> <font color="#8080ff">; 96CB 4C 00 94 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; copy level descriptor from levelXX_desc at $A000+(level*$40) to $07c0-$07ff</font>
<font color="#00ffff">copy_level_desc</font>:
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 96CE 4A J</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $D7 </font> <font color="#8080ff">; 96CF 66 D7 f.</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 96D1 4A J</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $D7 </font> <font color="#8080ff">; 96D2 66 D7 f.</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$A0</font> <font color="#8080ff">; 96D4 09 A0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D8 </font> <font color="#8080ff">; 96D6 85 D8 ..</font>
<font color="#00ffff">sl_loop</font>:<font color="#00ff00">lda</font> <font color="#ff40ff"> ($D7),y </font> <font color="#8080ff">; 96D8 B1 D7 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">cur_level_desc</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 96DA 99 C0 07 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 96DD C8 .</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; 96DE C0 40 .@</font>
<font color="#00ff00">bne</font> <font color="#00ffff">sl_loop</font> <font color="#8080ff">; 96E0 D0 F6 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L802A</font> <font color="#8080ff">; 96E2 20 2A 80 *.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 96E5 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; 96E6 AD 1B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$F0</font> <font color="#8080ff">; 96E9 C9 F0 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L9709</font> <font color="#8080ff">; 96EB B0 1C ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$1F</font> <font color="#8080ff">; 96ED 29 1F ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L96F2</font> <font color="#8080ff">; 96EF F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 96F1 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L96F2</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 96F2 AD C4 02 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 96F5 C9 0F ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L96FF</font> <font color="#8080ff">; 96F7 F0 06 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 96F9 A9 0F ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 96FB 8D C4 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 96FE 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L96FF</font>: <font color="#00ff00">ldx</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 96FF AE FE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">color0_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9702 BD 27 97 .'.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; 9705 8D C4 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9708 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9709</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; 9709 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; 970B 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 970E A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9710 8D 83 07 ...</font>
<font color="#00ffff">L9713</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 9713 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; PLAYER GET READY</font>
<font color="#00ffff">get_ready_msg</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9714 00 30 2C 21 39 25 32 00 .0,!9%2.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$27</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; 971C 00 00 27 25 34 00 32 25 ..'%4.2%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$21</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$39</font> <font color="#8080ff">; 9724 21 24 39 !$9</font>
<font color="#00ffff">color0_table_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 9727 00 .</font>
<font color="#00ffff">color0_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$96</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$54</font> <font color="#8080ff">; 9728 96 24 C6 54 .$.T</font>
<font color="#8080ff">; 112 blank scanlines, then one GR.2 line, loaded from $0742</font>
<font color="#00ffff">get_ready_dlist</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font> <font color="#8080ff">; 972C 70 70 70 70 70 70 70 70 pppppppp</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; 9734 70 70 70 70 70 70 47 42 ppppppGB</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$97</font> <font color="#8080ff">; 973C 07 41 2C 97 .A,.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">game_main_loop</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">materialize_jumpman</font> <font color="#8080ff">; 9740 20 7B 97 {.</font>
<font color="#00ffff">L9743</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">check_bomb_coll_jv</font> <font color="#8080ff">; 9743 20 33 80 3.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_num_bombs</font> <font color="#8080ff">; 9746 AD 8A 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">got_all_bombs</font> <font color="#8080ff">; 9749 F0 1B ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 974B AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 974E C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9743</font> <font color="#8080ff">; 9750 D0 F1 ..</font>
<font color="#00ffff">L9752</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 9752 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9755 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9752</font> <font color="#8080ff">; 9757 F0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 9759 AD 0A 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 975C C9 FF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; 975E D0 E0 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">call_eol_sub</font> <font color="#8080ff">; 9760 20 6C 97 l.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">crumble_gameboard_jv</font> <font color="#8080ff">; 9763 4C 30 80 L0.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">got_all_bombs</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">call_eol_sub</font> <font color="#8080ff">; 9766 20 6C 97 l.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">level_finished_jv</font> <font color="#8080ff">; 9769 4C 2D 80 L-.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">call_eol_sub</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_eol</font> <font color="#8080ff">; 976C AD A6 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E4 </font> <font color="#8080ff">; 976F 8D E4 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub_eol</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9772 AD A7 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06E5 </font> <font color="#8080ff">; 9775 8D E5 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L06E3</font> <font color="#8080ff">; 9778 4C E3 06 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">materialize_jumpman</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">update_status_window_jv</font> <font color="#8080ff">; 977B 20 12 80 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 977E A2 04 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9780 A9 00 ..</font>
<font color="#00ffff">mj_clear_loop</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0755,x </font> <font color="#8080ff">; 9782 9D 55 07 .U.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; 9785 9D 9A 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06EA,x </font> <font color="#8080ff">; 9788 9D EA 06 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jump_frame</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 978B 9D EB 06 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 978E CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">mj_clear_loop</font> <font color="#8080ff">; 978F D0 F1 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0697 </font> <font color="#8080ff">; 9791 8D 97 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0698 </font> <font color="#8080ff">; 9794 8D 98 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR0</font> <font color="#8080ff">; 9797 8D C0 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 979A 85 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 979C 8D 06 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_y_start</font> <font color="#8080ff">; 979F AD 8C 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 97A2 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_x_start</font> <font color="#8080ff">; 97A5 AD 8D 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 97A8 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 97AB A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 97AD 8D 88 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A5</font> <font color="#8080ff">; 97B0 A9 A5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC4</font> <font color="#8080ff">; 97B2 8D 07 D2 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066A </font> <font color="#8080ff">; 97B5 EE 6A 06 .j.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066B </font> <font color="#8080ff">; 97B8 EE 6B 06 .k.</font>
<font color="#00ffff">mj_set_freq_and_color</font>:
<font color="#00ff00">inc</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 97BB E6 BA ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">mj_done</font> <font color="#8080ff">; 97BD F0 1C ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $BA </font> <font color="#8080ff">; 97BF A5 BA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 97C1 8D 06 D2 ...</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C4 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C5 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C6 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 97C7 4A J</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR0</font> <font color="#8080ff">; 97C8 8D C0 02 ...</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 97CB A2 FF ..</font>
<font color="#00ffff">mj_delay</font>:
<font color="#00ff00">dex</font> <font color="#8080ff">; 97CD CA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97CE EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97CF EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D0 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D1 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D2 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D3 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D4 EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; 97D5 EA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">mj_delay</font> <font color="#8080ff">; 97D6 D0 F5 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">mj_set_freq_and_color</font> <font color="#8080ff">; 97D8 4C BB 97 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">mj_done</font>:<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 97DB A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF4</font> <font color="#8080ff">; 97DD 8D 06 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC4</font> <font color="#8080ff">; 97E0 8D 07 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 97E3 8D 23 06 .#.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">initial_speed</font> <font color="#8080ff">; 97E6 AD 25 06 .%.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; 97E9 8D 24 06 .$.</font>
<font color="#00ff00">inc</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; 97EC EE 27 06 .'.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 97EF 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_97f0</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 97F0 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 97F8 00 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; 9800 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9806</font> <font color="#8080ff">; 9803 D0 01 ..</font>
<font color="#00ffff">L9805</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 9805 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9806</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 9806 AD 23 06 .#.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9805</font> <font color="#8080ff">; 9809 D0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 980B AD 83 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; 980E C9 C6 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L982E</font> <font color="#8080ff">; 9810 B0 1C ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 9812 AD EB 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">check_collisions_2</font> <font color="#8080ff">; 9815 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">mid_jump</font> <font color="#8080ff">; 9817 4C A8 99 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; did player 0 or 1 hit the playfield...</font>
<font color="#00ffff">check_collisions_2</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 981A A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 981C 8D 88 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06ED </font> <font color="#8080ff">; 981F AD ED 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">check_collisions_3</font> <font color="#8080ff">; 9822 F0 0E ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 9824 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 9827 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 982A 29 03 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_collisions_3</font> <font color="#8080ff">; 982C D0 04 ..</font>
<font color="#00ffff">L982E</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; 982E EE 23 06 .#.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9831 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; movement/jumping only allowed if player's touching the playfield</font>
<font color="#00ffff">check_collisions_3</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9832 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06ED </font> <font color="#8080ff">; 9834 8D ED 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 9837 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 983A 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 983D 29 03 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_trigger_state</font> <font color="#8080ff">; 983F D0 0C ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06ED </font> <font color="#8080ff">; 9841 EE ED 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9844 EE 83 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9847 EE 83 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L989F</font> <font color="#8080ff">; 984A 4C 9F 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; did user press the trigger?</font>
<font color="#00ffff">check_trigger_state</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">trigger_state</font> <font color="#8080ff">; 984D AD 35 06 .5.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_up_down</font> <font color="#8080ff">; 9850 D0 03 ..</font>
<font color="#8080ff">; yes, jump to handler</font>
<font color="#00ffff">trig_jmp</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">trigger_handler</font> <font color="#8080ff">; 9852 4C 85 99 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; did user move joystick up/down?</font>
<font color="#00ffff">check_up_down</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">joystick_state</font> <font color="#8080ff">; 9855 AD 33 06 .3.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0E</font> <font color="#8080ff">; 9858 C9 0E ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9863</font> <font color="#8080ff">; 985A F0 07 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; 985C C9 0D ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9863</font> <font color="#8080ff">; 985E F0 03 ..</font>
<font color="#8080ff">; no, jump over handler</font>
<font color="#00ffff">cud_jmp</font>:<font color="#00ff00">jmp</font> <font color="#00ffff">L9892</font> <font color="#8080ff">; 9860 4C 92 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9863</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 9863 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 9866 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9869 29 02 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9870</font> <font color="#8080ff">; 986B D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L98D0</font> <font color="#8080ff">; 986D 4C D0 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9870</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">check_up_down_2</font> <font color="#8080ff">; 9870 20 3B 99 ;.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L9878</font> <font color="#8080ff">; 9873 B0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L98D0</font> <font color="#8080ff">; 9875 4C D0 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9878</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 9878 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">player_delta_y</font> <font color="#8080ff">; 987B AD 31 06 .1.</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 987E 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 987F 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9880 6D 83 06 m..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9883 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 9886 AD 20 06 . .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9889 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 988A 69 04 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 988C 8D 88 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">play_sfx_bounce_2</font> <font color="#8080ff">; 988F 4C 80 8A L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9892</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 9892 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 9895 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9898 29 01 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L989F</font> <font color="#8080ff">; 989A D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L98D0</font> <font color="#8080ff">; 989C 4C D0 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L989F</font>: <font color="#00ff00">lda</font> <font color="#00ffff">player_delta_x</font> <font color="#8080ff">; 989F AD 30 06 .0.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L98D0</font> <font color="#8080ff">; 98A2 F0 2C .,</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 98A4 0A .</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 98A5 A2 08 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 98A7 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L98AD</font> <font color="#8080ff">; 98A9 F0 02 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; 98AB A2 0C ..</font>
<font color="#00ffff">L98AD</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 98AD 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 98AE 6D 7E 06 m~.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 98B1 8D 7E 06 .~.</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; 98B4 8A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 98B5 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $0620 </font> <font color="#8080ff">; 98B6 6D 20 06 m .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 98B9 8D 88 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 98BC AD 1F 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L98D0</font> <font color="#8080ff">; 98BF D0 0F ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$73</font> <font color="#8080ff">; 98C1 A9 73 .s</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; 98C3 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BE</font> <font color="#8080ff">; 98C6 A9 BE ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; 98C8 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 98CB A9 01 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; 98CD 20 03 80 ..</font>
<font color="#00ffff">L98D0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 98D0 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 98D3 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 98D6 29 02 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L98F0</font> <font color="#8080ff">; 98D8 F0 16 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L9971</font> <font color="#8080ff">; 98DA 20 71 99 q.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L990F</font> <font color="#8080ff">; 98DD 90 30 .0</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 98DF EE 83 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 98E2 EE 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 98E5 AD 1F 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 98E8 09 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 98EA 8D 88 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 98ED 4C 25 99 L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L98F0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 98F0 AD B4 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 98F3 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L990F</font> <font color="#8080ff">; 98F5 F0 18 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 98F7 CE 83 06 ...</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 98FA CE 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 98FD AD 88 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9900 C9 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L990F</font> <font color="#8080ff">; 9902 D0 0B ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $061F </font> <font color="#8080ff">; 9904 AD 1F 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9907 09 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 9909 8D 88 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 990C 4C 25 99 L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L990F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 990F AD 88 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9912 C9 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 9914 D0 0F ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 9916 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 9919 0D B5 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 991C 29 02 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 991E F0 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 9920 A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 9922 8D 88 06 ...</font>
<font color="#00ffff">L9925</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 9925 AD 88 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0689 </font> <font color="#8080ff">; 9928 8D 89 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 992B AD 7E 06 .~.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067F </font> <font color="#8080ff">; 992E 8D 7F 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9931 AD 83 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9934 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; 9935 69 0A i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0684 </font> <font color="#8080ff">; 9937 8D 84 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 993A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; did user move joystick up/down?</font>
<font color="#00ffff">check_up_down_2</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">joystick_state</font> <font color="#8080ff">; 993B AD 33 06 .3.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; 993E C9 0D ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9949</font> <font color="#8080ff">; 9940 D0 07 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 9942 AD 83 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; 9945 C9 C0 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L9967</font> <font color="#8080ff">; 9947 B0 1E ..</font>
<font color="#00ffff">L9949</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 9949 AD 7E 06 .~.</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 994C 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 994D E9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 994F 85 CB ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 9951 A2 08 ..</font>
<font color="#00ffff">L9953</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9953 BD B1 07 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9956 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; 9957 69 02 i.</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 9959 C5 CB ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L9964</font> <font color="#8080ff">; 995B 90 07 ..</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 995D 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; 995E E9 05 ..</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">zp_temp1</font> <font color="#8080ff">; 9960 C5 CB ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L9969</font> <font color="#8080ff">; 9962 90 05 ..</font>
<font color="#00ffff">L9964</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 9964 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9953</font> <font color="#8080ff">; 9965 D0 EC ..</font>
<font color="#00ffff">L9967</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 9967 18 .</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9968 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9969</font>: <font color="#00ff00">lda</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9969 BD B1 07 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 996C 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 996D 69 30 i0</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 996F 38 8</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9970 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9971</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 9971 AD 7E 06 .~.</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 9974 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; 9975 E9 30 .0</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 9977 A2 06 ..</font>
<font color="#00ffff">L9979</font>: <font color="#00ff00">cmp</font> <font color="#00ffff">work_level_offs_55</font>+<font color="#ff6060">2</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9979 DD B9 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9983</font> <font color="#8080ff">; 997C F0 05 ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 997E CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9979</font> <font color="#8080ff">; 997F D0 F8 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9981 18 .</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9982 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9983</font>: <font color="#00ff00">sec</font> <font color="#8080ff">; 9983 38 8</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9984 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; handle trigger presses, maybe start a jump, if player is moving up, left, or right</font>
<font color="#00ffff">trigger_handler</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 9985 A2 04 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">joystick_state</font> <font color="#8080ff">; 9987 AD 33 06 .3.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0E</font> <font color="#8080ff">; 998A C9 0E ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">start_jump</font> <font color="#8080ff">; 998C F0 12 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 998E A2 10 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">player_delta_x</font> <font color="#8080ff">; 9990 AD 30 06 .0.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9993 C9 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">start_jump</font> <font color="#8080ff">; 9995 F0 09 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$11</font> <font color="#8080ff">; 9997 A2 11 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9999 C9 FF ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">start_jump</font> <font color="#8080ff">; 999B F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">check_up_down</font> <font color="#8080ff">; 999D 4C 55 98 LU.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; start jumping, play sfx_jump</font>
<font color="#00ffff">start_jump</font>:
<font color="#00ff00">stx</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 99A0 8E 88 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 99A3 A9 01 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; 99A5 20 18 80 ..</font>
<font color="#8080ff">; check & see if we're done jumping</font>
<font color="#00ffff">mid_jump</font>:
<font color="#00ff00">inc</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 99A8 EE EB 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 99AB AD EB 06 ...</font>
<font color="#8080ff">; $15 aka 21 frames?</font>
<font color="#00ffff">is_jump_done</font>:
<font color="#00ff00">cmp</font> <font color="#ff6060">#$16</font> <font color="#8080ff">; 99AE C9 16 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">continue_jump</font> <font color="#8080ff">; 99B0 D0 0B ..</font>
<font color="#8080ff">; we hit a girder/rope/ladder in mid-jump, or else the jump finished without hitting anything(?). this does not (?) include the bottom of the level</font>
<font color="#00ffff">end_jump</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 99B2 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 99B4 8D EB 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06ED </font> <font color="#8080ff">; 99B7 8D ED 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">check_collisions_2</font> <font color="#8080ff">; 99BA 4C 1A 98 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; we're in mid-jump and didn't hit anything, keep going</font>
<font color="#00ffff">continue_jump</font>:
<font color="#00ff00">ldx</font> <font color="#00ffff">jump_frame</font> <font color="#8080ff">; 99BD AE EB 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jump_delta_x_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 99C0 BD 1B 9A ...</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 99C3 A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 99C4 AD 88 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; 99C7 C9 10 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L99DD</font> <font color="#8080ff">; 99C9 F0 12 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$11</font> <font color="#8080ff">; 99CB C9 11 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L99DB</font> <font color="#8080ff">; 99CD D0 0C ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 99CF 98 .</font>
<font color="#00ff00">sta</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 99D0 85 CC ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 99D2 A9 00 ..</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 99D4 38 8</font>
<font color="#00ff00">sbc</font> <font color="#00ffff">zp_temp1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 99D5 E5 CC ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 99D7 A8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L99DD</font> <font color="#8080ff">; 99D8 4C DD 99 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L99DB</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 99DB A0 00 ..</font>
<font color="#00ffff">L99DD</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; 99DD 18 .</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 99DE 98 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 99DF 6D 7E 06 m~.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 99E2 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jump_delta_y_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 99E5 BD 31 9A .1.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 99E8 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 99E9 6D 83 06 m..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; 99EC 8D 83 06 ...</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; 99EF 8A .</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 99F0 C9 08 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">code_99f7</font> <font color="#8080ff">; 99F2 B0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 99F4 4C 25 99 L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">code_99f7</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; 99F7 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; 99FA 0D B5 06 ...</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 99FD 4A J</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">end_jump</font> <font color="#8080ff">; 99FE B0 B2 ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 9A00 4A J</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L9A19</font> <font color="#8080ff">; 9A01 90 16 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; 9A03 AD 88 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; 9A06 C9 04 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9A19</font> <font color="#8080ff">; 9A08 F0 0F ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L9971</font> <font color="#8080ff">; 9A0A 20 71 99 q.</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">end_jump</font> <font color="#8080ff">; 9A0D B0 A3 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">check_up_down_2</font> <font color="#8080ff">; 9A0F 20 3B 99 ;.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">L9A19</font> <font color="#8080ff">; 9A12 90 05 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; 9A14 CD 7E 06 .~.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">end_jump</font> <font color="#8080ff">; 9A17 F0 99 ..</font>
<font color="#00ffff">L9A19</font>:
<font color="#00ffff">jump_delta_x_table_minus_one</font>:= * + <font color="#ff6060">2</font> <font color="#8080ff">; 1-indexed...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9925</font> <font color="#8080ff">; 9A19 4C 25 99 L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used by continue_jump, the amount of X movement per frame of jumping (for either direction, left or right)</font>
<font color="#00ffff">jump_delta_x_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9A1C 02 00 02 00 02 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A24 02 02 02 00 02 00 02 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A2C 00 02 00 00 00 .....</font>
<font color="#8080ff">; 1-indexed...</font>
<font color="#00ffff">jump_delta_y_table_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; 9A31 02 .</font>
<font color="#8080ff">; used by continue_jump, amount of Y movement per frame ($FE is -2, or 2 scanlines up, $02 is 2 scanlines down)</font>
<font color="#00ffff">jump_delta_y_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A32 FE FE FE FE FE FE 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9A3A 00 02 02 02 02 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A42 02 02 02 02 02 00 ......</font>
<font color="#00ffff">zero_filler_9a48</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A48 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A50 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A58 00 00 00 00 ....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">init_page_7</font>:
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9A5C A0 00 ..</font>
<font color="#00ffff">L9A5E</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9A5E A2 00 ..</font>
<font color="#00ffff">L9A60</font>: <font color="#00ff00">lda</font> <font color="#00ffff">data_9a71</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9A60 BD 71 9A .q.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9A63 99 00 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9A66 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9A67 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 9A68 E0 0B ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9A60</font> <font color="#8080ff">; 9A6A D0 F4 ..</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$37</font> <font color="#8080ff">; 9A6C C0 37 .7</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9A5E</font> <font color="#8080ff">; 9A6E D0 EE ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9A70 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used by code above</font>
<font color="#00ffff">data_9a71</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9A71 00 00 00 4C 1D 00 00 00 ...L....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; 9A79 00 06 03 ...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9A7C</font>: <font color="#00ff00">ldx</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9A7C AE FE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9A7F A9 00 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 9A81 18 .</font>
<font color="#00ffff">L9A82</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; 9A82 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9A8A</font> <font color="#8080ff">; 9A83 F0 05 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 9A85 69 0B i.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9A82</font> <font color="#8080ff">; 9A87 4C 82 9A L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9A8A</font>: <font color="#00ff00">tay</font> <font color="#8080ff">; 9A8A A8 .</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9A8B 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9A8C</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9A8C A2 00 ..</font>
<font color="#00ffff">L9A8E</font>: <font color="#00ff00">lda</font> <font color="#00ffff">score</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9A8E BD 00 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $070B,y </font> <font color="#8080ff">; 9A91 99 0B 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9A94 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9A95 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 9A96 E0 0B ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9A8E</font> <font color="#8080ff">; 9A98 D0 F4 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9A9A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9A9B</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9A9B A2 00 ..</font>
<font color="#00ffff">L9A9D</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $070B,y </font> <font color="#8080ff">; 9A9D B9 0B 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9AA0 9D 00 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9AA3 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9AA4 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 9AA5 E0 0B ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9A9D</font> <font color="#8080ff">; 9AA7 D0 F4 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9AA9 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9AAA</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">L9A7C</font> <font color="#8080ff">; 9AAA 20 7C 9A |.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L9A8C</font> <font color="#8080ff">; 9AAD 20 8C 9A ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9AB0 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06F7 </font> <font color="#8080ff">; 9AB2 8D F7 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06F8 </font> <font color="#8080ff">; 9AB5 8D F8 06 ...</font>
<font color="#00ffff">L9AB8</font>: <font color="#00ff00">inc</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9AB8 EE FE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF </font> <font color="#8080ff">; 9ABB AD FF 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9ABE CD FE 06 ...</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">L9ACB</font> <font color="#8080ff">; 9AC1 B0 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; 9AC3 A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">current_player</font> <font color="#8080ff">; 9AC5 8D FE 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06F7 </font> <font color="#8080ff">; 9AC8 8D F7 06 ...</font>
<font color="#00ffff">L9ACB</font>: <font color="#00ff00">ldx</font> <font color="#00ffff">number_of_players</font> <font color="#8080ff">; 9ACB AE F4 06 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9ACE E8 .</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">L9AFB</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9ACF BC FB 9A ...</font>
<font color="#00ffff">L9AD2</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0715,y </font> <font color="#8080ff">; 9AD2 B9 15 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9AD5 C9 FF ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9AE5</font> <font color="#8080ff">; 9AD7 D0 0C ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; 9AD9 98 .</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; 9ADA 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; 9ADB E9 0B ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; 9ADD A8 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 9ADE CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9AD2</font> <font color="#8080ff">; 9ADF D0 F1 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06F8 </font> <font color="#8080ff">; 9AE1 EE F8 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9AE4 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9AE5</font>: <font color="#00ff00">stx</font> <font color="#ff40ff"> $06FF </font> <font color="#8080ff">; 9AE5 8E FF 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L9A7C</font> <font color="#8080ff">; 9AE8 20 7C 9A |.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L9A9B</font> <font color="#8080ff">; 9AEB 20 9B 9A ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">lives</font> <font color="#8080ff">; 9AEE AD 0A 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; 9AF1 C9 FF ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9AB8</font> <font color="#8080ff">; 9AF3 F0 C3 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0709 </font> <font color="#8080ff">; 9AF5 AD 09 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">initial_speed</font> <font color="#8080ff">; 9AF8 8D 25 06 .%.</font>
<font color="#00ffff">L9AFB</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; 9AFB 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">data_9afc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$0B</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$21</font> <font color="#8080ff">; 9AFC 00 0B 16 21 ...!</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; for some reason there are 2 copies of the display list, at $0800 and $0881</font>
<font color="#00ffff">setup_gameboard_dlist</font>:
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9B00 A2 00 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 9B02 AD AC 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9B09</font> <font color="#8080ff">; 9B05 D0 02 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$81</font> <font color="#8080ff">; 9B07 A2 81 ..</font>
<font color="#00ffff">L9B09</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$70</font> <font color="#8080ff">; 9B09 A9 70 .p</font>
<font color="#00ff00">stx</font> <font color="#ff40ff"> $9F </font> <font color="#8080ff">; 9B0B 86 9F ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; 9B0D A0 03 ..</font>
<font color="#00ff00">sty</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9B0F 84 9D ..</font>
<font color="#00ffff">L9B11</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B11 9D 00 08 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9B14 E8 .</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; 9B15 88 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9B11</font> <font color="#8080ff">; 9B16 D0 F9 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; 9B18 AC AB 06 ...</font>
<font color="#00ffff">L9B1B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">gameboard_dlist_data</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9B1B B9 62 9B .b.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B1E 9D 00 08 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9B21 C8 .</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9B22 E8 .</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9B23 C6 9D ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9B1B</font> <font color="#8080ff">; 9B25 D0 F4 ..</font>
<font color="#00ffff">L9B27</font>: <font color="#00ff00">lda</font> <font color="#00ffff">gameboard_dlist_data</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9B27 B9 62 9B .b.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9B3E</font> <font color="#8080ff">; 9B2A F0 12 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9B2C 85 9D ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9B2E C8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">gameboard_dlist_data</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9B2F B9 62 9B .b.</font>
<font color="#00ffff">L9B32</font>: <font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B32 9D 00 08 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9B35 E8 .</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $9D </font> <font color="#8080ff">; 9B36 C6 9D ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L9B32</font> <font color="#8080ff">; 9B38 D0 F8 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; 9B3A C8 .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L9B27</font> <font color="#8080ff">; 9B3B 4C 27 9B L'.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9B3E</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$41</font> <font color="#8080ff">; 9B3E A9 41 .A</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B40 9D 00 08 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9B43 E8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $9F </font> <font color="#8080ff">; 9B44 A5 9F ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B46 9D 00 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; 9B49 8D AC 06 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 9B4C E8 .</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 9B4D A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0800,x </font> <font color="#8080ff">; 9B4F 9D 00 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dlist_shadow_hi</font> <font color="#8080ff">; 9B52 8D AD 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L9B63</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9B55 B9 63 9B .c.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; 9B58 8D AE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">L9B64</font>,<font color="#00ffff">y</font> <font color="#8080ff">; 9B5B B9 64 9B .d.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; 9B5E 8D AF 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; 9B61 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; this isn't used as-is for a display list, see setup_gameboard_dlist</font>
<font color="#00ffff">gameboard_dlist_data</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $4D </font> <font color="#8080ff">; 9B62 4D M</font>
<font color="#00ffff">L9B63</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 9B63 00 .</font>
<font color="#00ffff">L9B64</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$56</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8D</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8D</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 9B64 30 56 0D 01 8D 01 8D 01 0V......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$9B</font> <font color="#8080ff">; 9B6C 06 01 86 00 72 9B ....r.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; changes DLI vector to point to dli_chained_2</font>
<font color="#00ffff">dli_chained_1</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 9B72 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$54</font> <font color="#8080ff">; 9B73 A9 54 .T</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 9B75 8D 0A D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLBK</font> <font color="#8080ff">; 9B78 8D 1A D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$87</font> <font color="#8080ff">; 9B7B A9 87 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font> <font color="#8080ff">; 9B7D 8D 00 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9B</font> <font color="#8080ff">; 9B80 A9 9B ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9B82 8D 01 02 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9B85 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9B86 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; changes DLI vector to point to dli_chained_3</font>
<font color="#00ffff">dli_chained_2</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 9B87 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9B88 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 9B8A 8D 0A D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLBK</font> <font color="#8080ff">; 9B8D 8D 1A D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; 9B90 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF0</font> <font color="#8080ff">; 9B93 8D 16 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 9B96 A9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF1</font> <font color="#8080ff">; 9B98 8D 17 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$AA</font> <font color="#8080ff">; 9B9B A9 AA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF2</font> <font color="#8080ff">; 9B9D 8D 18 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 9BA0 A9 0F ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPF3</font> <font color="#8080ff">; 9BA2 8D 19 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B1</font> <font color="#8080ff">; 9BA5 A9 B1 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font> <font color="#8080ff">; 9BA7 8D 00 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9B</font> <font color="#8080ff">; 9BAA A9 9B ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9BAC 8D 01 02 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9BAF 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9BB0 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; changes DLI vector to point to dli_chained_1</font>
<font color="#00ffff">dli_chained_3</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; 9BB1 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$54</font> <font color="#8080ff">; 9BB2 A9 54 .T</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; 9BB4 8D 0A D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLBK</font> <font color="#8080ff">; 9BB7 8D 1A D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$72</font> <font color="#8080ff">; 9BBA A9 72 .r</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font> <font color="#8080ff">; 9BBC 8D 00 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$9B</font> <font color="#8080ff">; 9BBF A9 9B ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9BC1 8D 01 02 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9BC4 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9BC5 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; filler, or leftover after a binary patch?</font>
<font color="#00ffff">random_9b</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $9B </font> <font color="#8080ff">; 9BC6 9B .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">VDSLST</font>+<font color="#ff6060">1</font> <font color="#8080ff">; 9BC7 8D 01 02 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9BCA 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9BCB 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_9bcc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9BCC 00 00 00 00 ....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9BD0</font>: <font color="#00ff00">lda</font> <font color="#00ffff">number_of_players</font> <font color="#8080ff">; 9BD0 AD F4 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9BD3 C9 00 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9BDA</font> <font color="#8080ff">; 9BD5 F0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">show_get_ready_prompt</font> <font color="#8080ff">; 9BD7 4C 24 96 L$.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9BDA</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">L9675</font> <font color="#8080ff">; 9BDA 4C 75 96 Lu.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">L9BDD</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; 9BDD A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $085E </font> <font color="#8080ff">; 9BDF 8D 5E 08 .^.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $08DF </font> <font color="#8080ff">; 9BE2 8D DF 08 ...</font>
<font color="#00ff00">jmp</font> (<font color="#00ffff">work_level_sub6</font>) <font color="#8080ff">; 9BE5 6C A4 07 l..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; ...</font>
<font color="#00ffff">init_next_level</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">randomizer_mode</font> <font color="#8080ff">; 9BE8 AD F3 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">L9BFC</font> <font color="#8080ff">; 9BEB F0 0F ..</font>
<font color="#8080ff">; only after beating levels 1-12 in order</font>
<font color="#00ffff">randomize_level</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 9BED AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; 9BF0 29 0F ).</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; 9BF2 C9 0C ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">randomize_level</font> <font color="#8080ff">; 9BF4 B0 F7 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">level</font> <font color="#8080ff">; 9BF6 8D F6 06 ...</font>
<font color="#00ff00">dec</font> <font color="#00ffff">level</font> <font color="#8080ff">; 9BF9 CE F6 06 ...</font>
<font color="#00ffff">L9BFC</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">enter_level</font> <font color="#8080ff">; 9BFC 4C BA 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_9bff</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 9BFF 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; only use of keyboard is to enter player speed before starting game</font>
<font color="#00ffff">keyboard_isr</font>:
<font color="#00ff00">txa</font> <font color="#8080ff">; 9C00 8A .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; 9C01 48 H</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; 9C02 A2 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">KBCODE</font> <font color="#8080ff">; 9C04 AD 09 D2 ...</font>
<font color="#00ffff">check_keycode</font>:
<font color="#00ff00">cmp</font> <font color="#00ffff">keycode_table_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9C07 DD 18 9C ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">store_speed_value</font> <font color="#8080ff">; 9C0A F0 07 ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; 9C0C CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">check_keycode</font> <font color="#8080ff">; 9C0D D0 F8 ..</font>
<font color="#00ffff">keyboard_isr_exit</font>:
<font color="#00ff00">pla</font> <font color="#8080ff">; 9C0F 68 h</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; 9C10 AA .</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; 9C11 68 h</font>
<font color="#00ff00">rti</font> <font color="#8080ff">; 9C12 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">store_speed_value</font>:
<font color="#00ff00">stx</font> <font color="#00ffff">speed_value</font> <font color="#8080ff">; 9C13 8E F9 06 ...</font>
<font color="#00ffff">keycode_table_minus_one</font>:= * + <font color="#ff6060">2</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">keyboard_isr_exit</font> <font color="#8080ff">; 9C16 4C 0F 9C L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">keycode_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1F</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$1B</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$35</font> <font color="#8080ff">; 9C19 1F 1E 1A 18 1D 1B 33 35 ......35</font>
<font color="#8080ff">; definitions for level graphics objects aka shapes. (girder segment, ladder, rope, etc)</font>
<font color="#00ffff">level_gfx</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C21 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C29 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C31 00 00 ..</font>
<font color="#8080ff">; 3 rows of pixels. 1st: 04 = 4 pixels wide, 00 00 = no X/Y offset, 01 01 01 01 = actual pixel data (4 color0 pixels). see level_maps.txt</font>
<font color="#00ffff">sh_girder</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; 9C33 04 00 00 01 01 01 01 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C3B 00 01 01 00 01 00 04 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9C43 02 01 01 01 01 FF ......</font>
<font color="#00ffff">sh_blank_4x4</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; 9C49 04 00 00 00 00 00 00 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C51 00 01 00 00 00 00 04 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9C59 02 00 00 00 00 FF ......</font>
<font color="#00ffff">sh_ladder</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C5F 02 00 00 02 02 02 06 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9C67 02 02 02 00 01 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9C6F 06 01 02 02 08 00 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9C77 02 02 02 02 02 02 02 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9C7F 00 03 02 02 02 06 03 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9C87 02 FF ..</font>
<font color="#8080ff">; dunno what this is yet</font>
<font color="#00ffff">sh_9c89</font>:.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C89 02 00 00 00 00 02 06 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9C91 00 00 02 00 01 00 00 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9C99 06 01 00 00 08 00 02 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9CA1 00 00 00 00 00 00 00 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9CA9 00 03 00 00 02 06 03 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9CB1 00 FF ..</font>
<font color="#00ffff">sh_bomb</font>:.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; 9CB3 04 00 00 00 03 03 00 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9CBB 00 01 03 00 00 03 04 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9CC3 02 00 03 03 00 FF ......</font>
<font color="#00ffff">sh_up_rope</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 9CC9 01 00 00 01 01 01 01 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 9CD1 01 00 02 01 01 01 03 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; 9CD9 FF .</font>
<font color="#00ffff">sh_down_rope</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9CDA 01 00 00 02 01 00 01 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9CE2 01 01 02 02 01 01 03 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; 9CEA FF .</font>
<font color="#8080ff">; dunno what this is yet</font>
<font color="#00ffff">sh_9ceb</font>:.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; 9CEB 02 00 00 00 00 02 00 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; 9CF3 00 00 02 00 02 00 00 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9CFB 00 03 00 00 FF .....</font>
<font color="#8080ff">; jumpman's animation frames and other sprites, seem to be 10 bytes per sprite</font>
<font color="#00ffff">sprite_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9D00 18 18 3C 5A 3C 18 18 18 ..<Z<...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9D08 18 3C 1C 1A 3C 58 38 18 .<..<X8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$1A</font> <font color="#8080ff">; 9D10 3C 24 14 14 38 58 3C 1A <$..8X<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$5A</font> <font color="#8080ff">; 9D18 1C 18 3C 24 28 28 99 5A ..<$((.Z</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; 9D20 3C 18 18 18 3C 24 42 C3 <...<$B.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$19</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$C4</font> <font color="#8080ff">; 9D28 19 12 3C 58 98 18 7C C4 ..<X..|.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9D30 04 06 00 18 3C 5A 99 18 ....<Z..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$1A</font> <font color="#8080ff">; 9D38 3C 24 42 C3 98 48 3C 1A <$B..H<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$19</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$23</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; 9D40 19 18 3E 23 20 60 18 10 ..># `..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3D</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$33</font> <font color="#8080ff">; 9D48 3D 5A 98 18 3C 24 22 33 =Z..<$"3</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; 9D50 18 10 38 5C 38 18 3C 24 ..8\8.<$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$44</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3D</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9D58 44 66 18 10 3D 5A 98 18 Df..=Z..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$5C</font> <font color="#8080ff">; 9D60 3C 24 22 33 18 10 38 5C <$"3..8\</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$38</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; 9D68 38 18 3C 24 44 66 18 08 8.<$Df..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$BC</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$CC</font> <font color="#8080ff">; 9D70 BC 5A 19 18 3C 24 44 CC .Z..<$D.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$3A</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; 9D78 18 08 1C 3A 1C 18 3C 24 ...:..<$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$BC</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9D80 22 66 18 08 BC 5A 19 18 "f...Z..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$3A</font> <font color="#8080ff">; 9D88 3C 24 44 CC 18 08 1C 3A <$D....:</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$19</font> <font color="#8080ff">; 9D90 1C 18 3C 24 22 66 0C 19 ..<$"f..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3E</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$83</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9D98 3E 58 58 18 3E 42 83 00 >XX.>B..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; 9DA0 30 98 7C 1A 1A 18 7C 42 0.|...|B</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C1</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$99</font> <font color="#8080ff">; 9DA8 C1 00 99 5A 3C 18 18 99 ...Z<...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; 9DB0 FF 00 00 00 86 42 22 FE .....B".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$99</font> <font color="#8080ff">; 9DB8 FE 22 42 86 00 00 FF 99 ."B.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9DC0 18 18 3C 5A 99 00 00 00 ..<Z....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$61</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$7F</font>,<font color="#ff6060">$7F</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$61</font> <font color="#8080ff">; 9DC8 61 42 44 7F 7F 44 42 61 aBD..DBa</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9DD0 00 00 08 22 80 01 58 18 ..."..X.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; 9DD8 3C 5A 99 FF 10 44 01 80 <Z...D..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9DE0 1A 18 3C 5A 99 FF 00 00 ..<Z....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$E7</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$E3</font> <font color="#8080ff">; 9DE8 3C 3C 3C E7 06 C3 60 E3 <<<...`.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$76</font>,<font color="#ff6060">$E3</font>,<font color="#ff6060">$76</font>,<font color="#ff6060">$CE</font>,<font color="#ff6060">$67</font>,<font color="#ff6060">$CE</font>,<font color="#ff6060">$67</font>,<font color="#ff6060">$83</font> <font color="#8080ff">; 9DF0 76 E3 76 CE 67 CE 67 83 v.v.g.g.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C1</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9DF8 C1 00 00 00 00 00 00 00 ........</font>
<font color="#8080ff">; GR.1/2 font, 512 bytes</font>
<font color="#00ffff">charset</font>:.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9E00 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$22</font> <font color="#8080ff">; 9E08 00 0C 19 3E 58 1E 22 ...>X."</font>
<font color="#8080ff">; couple of places in the code try to write here</font>
<font color="#00ffff">block_char_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$43</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; 9E0F 43 FF FF FF FF FF FF FF C.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9E17 FF 00 66 FF 66 66 FF 66 ..f.ff.f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9E1F 00 18 3E 60 3C 06 7C 18 ..>`<.|.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$BA</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$BA</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; 9E27 00 00 7C 82 BA A2 BA 82 ..|.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$36</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$6F</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3B</font> <font color="#8080ff">; 9E2F 7C 1C 36 1C 38 6F 66 3B |.6.8of;</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$44</font> <font color="#8080ff">; 9E37 00 00 30 98 7C 1A 78 44 ..0.|.xD</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$1C</font> <font color="#8080ff">; 9E3F C2 00 0E 1C 18 18 18 1C ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; 9E47 0E 00 70 38 18 18 18 38 ..p8...8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$70</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9E4F 70 00 00 00 00 00 00 00 p.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9E57 7E 00 18 18 18 7E 18 18 ~....~..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9E5F 18 00 00 00 00 00 18 18 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9E67 30 00 00 00 00 7E 00 00 0....~..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9E6F 00 00 00 00 00 00 00 18 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; 9E77 18 00 06 0C 18 30 60 40 .....0`@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9E7F 00 00 3C 66 66 66 66 66 ..<fffff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9E87 3C 00 18 38 18 18 18 18 <..8....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$30</font> <font color="#8080ff">; 9E8F 7E 00 3C 66 06 0C 18 30 ~.<f...0</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9E97 7E 00 3C 66 06 1C 06 66 ~.<f...f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; 9E9F 3C 00 0C 1C 3C 6C 7E 0C <...<l~.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; 9EA7 0C 00 7E 60 60 7C 06 06 ..~``|..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9EAF 7C 00 3C 66 60 7C 66 66 |.<f`|ff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$30</font> <font color="#8080ff">; 9EB7 3C 00 7E 06 0C 18 30 30 <.~...00</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9EBF 30 00 3C 66 66 3C 66 66 0.<ff<ff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9EC7 3C 00 3C 66 66 3E 06 66 <.<ff>.f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9ECF 3C 00 00 18 18 00 18 18 <.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9ED7 00 00 00 18 18 00 18 18 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; 9EDF 30 06 0C 18 30 18 0C 06 0...0...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9EE7 00 00 00 00 7E 00 7E 00 ....~.~.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; 9EEF 00 00 10 7C 10 10 10 38 ...|...8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9EF7 7C 00 3C 66 66 0C 18 00 |.<ff...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$3E</font> <font color="#8080ff">; 9EFF 18 00 3C 66 6E 6E 60 3E ..<fnn`></font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F07 00 00 18 3C 66 66 7E 66 ...<ff~f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F0F 66 00 7C 66 66 7C 66 66 f.|ff|ff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F17 7C 00 3C 66 60 60 60 66 |.<f```f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F1F 3C 00 7C 66 66 66 66 66 <.|fffff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 9F27 7C 00 7E 60 60 78 60 60 |.~``x``</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 9F2F 7E 00 7E 60 60 78 60 60 ~.~``x``</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F37 60 00 3C 66 60 60 6E 66 `.<f``nf</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F3F 3C 00 66 66 66 7E 66 66 <.fff~ff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9F47 66 00 3C 18 18 18 18 18 f.<.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F4F 3C 00 06 06 06 06 66 66 <.....ff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$6C</font> <font color="#8080ff">; 9F57 3C 00 66 6C 78 70 78 6C <.flxpxl</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 9F5F 66 00 60 60 60 60 60 60 f.``````</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$77</font>,<font color="#ff6060">$7F</font>,<font color="#ff6060">$6B</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$63</font> <font color="#8080ff">; 9F67 7E 00 63 77 7F 6B 63 63 ~.cw.kcc</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$63</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$76</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$6E</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F6F 63 00 66 66 76 7E 6E 66 c.ffv~nf</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F77 66 00 3C 66 66 66 66 66 f.<fffff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 9F7F 3C 00 7C 66 66 7C 60 60 <.|ff|``</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$6C</font> <font color="#8080ff">; 9F87 60 00 3C 66 66 66 66 6C `.<ffffl</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$36</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F8F 36 00 7C 66 66 7C 6C 66 6.|ff|lf</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9F97 66 00 3C 66 60 3C 06 66 f.<f`<.f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9F9F 3C 00 7E 18 18 18 18 18 <.~.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9FA7 18 00 66 66 66 66 66 66 ..ffffff</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; 9FAF 3C 00 66 66 66 66 66 3C <.fffff<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$63</font>,<font color="#ff6060">$6B</font>,<font color="#ff6060">$7F</font>,<font color="#ff6060">$77</font> <font color="#8080ff">; 9FB7 18 00 63 63 63 6B 7F 77 ..ccck.w</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$63</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; 9FBF 63 00 66 66 3C 3C 3C 66 c.ff<<<f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; 9FC7 66 00 66 66 66 3C 18 18 f.fff<..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; 9FCF 18 00 7E 06 0C 18 30 60 ..~...0`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9FD7 7E 00 00 00 00 00 00 00 ~.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9FDF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9FE7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9FEF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9FF7 00 00 00 ...</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; main entry point, note cartstart_left and cartstart_right point to the same address</font>
<font color="#00ffff">cartstart_right</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">cart_entry_point</font> <font color="#8080ff">; 9FFA C0 8A ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; 0 here means 'cartridge present'</font>
<font color="#00ffff">cartpresent_right</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 9FFC 00 .</font>
<font color="#8080ff">; 4 here means init & start the cart, no disk boot, non-diagnostic</font>
<font color="#00ffff">cartoptions_right</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $04 </font> <font color="#8080ff">; 9FFD 04 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; points to a CLC/RTS do-nothing routine (same as cartinit_left)</font>
<font color="#00ffff">cartinit_right</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">cart_start_stub</font> <font color="#8080ff">; 9FFE FE 8A ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; 64-byte level descriptors, 12 of them (1 per level). first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level00_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$11</font> <font color="#8080ff">; A000 10 11 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level00_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A002 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level00_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A004 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level00_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A006 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level00_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A008 73 8F s.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level00_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0C </font> <font color="#8080ff">; A00A 0C .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level00_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; A00B 01 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level00_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; A00C A0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level00_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A00D 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level00_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A00E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level00_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A010 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level00_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $03E8 </font> <font color="#8080ff">; A011 E8 03 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level00_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A013 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level00_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A014 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level00_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">level00_map</font> <font color="#8080ff">; A016 00 A3 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level00_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA366</font> <font color="#8080ff">; A018 66 A3 f.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level00_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA38B</font> <font color="#8080ff">; A01A 8B A3 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level00_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA3A4</font> <font color="#8080ff">; A01C A4 A3 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level00_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A01E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level00_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A020 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level00_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A022 E6 06 ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level00_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A024 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level00_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A026 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level00_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A028 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level00_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$CA</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$74</font> <font color="#8080ff">; A02E CA 96 18 5A 0C 24 4C 74 ...Z.$Lt</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $8C </font> <font color="#8080ff">; A036 8C .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level00_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A037 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level00_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; A03A 1A 7E .~</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level00_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A03C 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level01_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$12</font> <font color="#8080ff">; A040 10 12 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level01_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">electrocution_done</font> <font color="#8080ff">; A042 DD A4 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level01_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">electrocute</font> <font color="#8080ff">; A044 09 A5 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level01_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A046 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level01_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">level02_collisions</font> <font color="#8080ff">; A048 3D A5 =.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level01_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; A04A 10 .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level01_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; A04B 02 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level01_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $20 </font> <font color="#8080ff">; A04C 20 </font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level01_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A04D 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level01_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A04E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level01_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A050 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level01_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $07D0 </font> <font color="#8080ff">; A051 D0 07 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level01_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A053 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level01_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA5C2</font> <font color="#8080ff">; A054 C2 A5 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level01_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA3E0</font> <font color="#8080ff">; A056 E0 A3 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level01_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA446</font> <font color="#8080ff">; A058 46 A4 F.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level01_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA477</font> <font color="#8080ff">; A05A 77 A4 w.</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level01_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A05C 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level01_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A05E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level01_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">electrocution_bomb_pickup</font> <font color="#8080ff">; A060 98 A4 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level01_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A062 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level01_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A064 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level01_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A066 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level01_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A068 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level01_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A06E 6A 08 C6 1A 18 4C 80 00 j....L..</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A076 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level01_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A077 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level01_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$94</font> <font color="#8080ff">; A07A 02 94 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level01_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A07C 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level02_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$13</font> <font color="#8080ff">; A080 10 13 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level02_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">dumbwaiter_sub0</font> <font color="#8080ff">; A082 BD A6 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level02_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A084 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level02_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A086 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level02_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">dumbwaiter_sub3</font> <font color="#8080ff">; A088 24 A7 $.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level02_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0C </font> <font color="#8080ff">; A08A 0C .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level02_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A08B 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level02_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $40 </font> <font color="#8080ff">; A08C 40 @</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level02_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $B4 </font> <font color="#8080ff">; A08D B4 .</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level02_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A08E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level02_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A090 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level02_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $09C4 </font> <font color="#8080ff">; A091 C4 09 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level02_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A093 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level02_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA66D</font> <font color="#8080ff">; A094 6D A6 m.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level02_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA5F0</font> <font color="#8080ff">; A096 F0 A5 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level02_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA62F</font> <font color="#8080ff">; A098 2F A6 /.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level02_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA654</font> <font color="#8080ff">; A09A 54 A6 T.</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level02_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A09C 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level02_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A09E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level02_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A0A0 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level02_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">dumbwaiter_setup</font> <font color="#8080ff">; A0A2 8C A6 ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level02_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A0A4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level02_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A0A6 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level02_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0A8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level02_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0AE 1A C6 96 1A 0C 8C 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A0B6 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level02_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0B7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level02_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0BA 00 00 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level02_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0BC 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level03_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; A0C0 10 14 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level03_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">hellstones_sub0</font> <font color="#8080ff">; A0C2 36 A8 6.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level03_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A0C4 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level03_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A0C6 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level03_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">hellstones_sub3</font> <font color="#8080ff">; A0C8 27 A8 '.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level03_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; A0CA 10 .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level03_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A0CB 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level03_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A0CC C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level03_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A0CD 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level03_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A0CE 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level03_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A0D0 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level03_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $07D0 </font> <font color="#8080ff">; A0D1 D0 07 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level03_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A0D3 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level03_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A0D4 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level03_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA790</font> <font color="#8080ff">; A0D6 90 A7 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level03_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA7D5</font> <font color="#8080ff">; A0D8 D5 A7 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level03_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA806</font> <font color="#8080ff">; A0DA 06 A8 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level03_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A0DC 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level03_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0DE 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level03_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A0E0 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level03_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A0E2 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level03_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A0E4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level03_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A0E6 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level03_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0E8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level03_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$CA</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; A0EE CA 96 18 5A 4C 18 2C 80 ...ZL.,.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $6C </font> <font color="#8080ff">; A0F6 6C l</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level03_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0F7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level03_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0FA 00 00 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level03_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A0FC 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level04_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$15</font> <font color="#8080ff">; A100 10 15 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level04_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A102 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level04_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A104 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level04_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A106 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level04_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A108 73 8F s.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level04_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0E </font> <font color="#8080ff">; A10A 0E .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level04_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; A10B 02 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level04_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A10C C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level04_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $34 </font> <font color="#8080ff">; A10D 34 4</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level04_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A10E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level04_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A110 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level04_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $07D0 </font> <font color="#8080ff">; A111 D0 07 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level04_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A113 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level04_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A114 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level04_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAAD0</font> <font color="#8080ff">; A116 D0 AA ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level04_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAB42</font> <font color="#8080ff">; A118 42 AB B.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level04_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAB6D</font> <font color="#8080ff">; A11A 6D AB m.</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level04_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAB8A</font> <font color="#8080ff">; A11C 8A AB ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level04_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A11E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level04_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A120 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level04_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A122 E6 06 ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level04_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A124 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level04_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A126 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level04_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A128 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level04_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$8E</font> <font color="#8080ff">; A12E 6A 08 C6 1A 0C 22 84 8E j...."..</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A136 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level04_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A137 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level04_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$96</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A13A 96 00 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level04_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A13C 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level05_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$16</font> <font color="#8080ff">; A140 10 16 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level05_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAA3A</font> <font color="#8080ff">; A142 3A AA :.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level05_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAA35</font> <font color="#8080ff">; A144 35 AA 5.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level05_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAA55</font> <font color="#8080ff">; A146 55 AA U.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level05_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAABC</font> <font color="#8080ff">; A148 BC AA ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level05_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $10 </font> <font color="#8080ff">; A14A 10 .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level05_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A14B 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level05_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $80 </font> <font color="#8080ff">; A14C 80 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level05_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $34 </font> <font color="#8080ff">; A14D 34 4</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level05_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A14E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level05_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A150 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level05_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $05DC </font> <font color="#8080ff">; A151 DC 05 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level05_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A153 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level05_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A154 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level05_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA920</font> <font color="#8080ff">; A156 20 A9 .</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level05_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA974</font> <font color="#8080ff">; A158 74 A9 t.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level05_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA9A5</font> <font color="#8080ff">; A15A A5 A9 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level05_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A15C 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level05_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A15E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level05_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAA73</font> <font color="#8080ff">; A160 73 AA s.</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level05_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LA9C6</font> <font color="#8080ff">; A162 C6 A9 ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level05_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A164 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level05_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A166 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level05_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A168 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level05_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$56</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$94</font> <font color="#8080ff">; A16E 56 C6 96 28 04 30 68 94 V..(.0h.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A176 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level05_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A177 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level05_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A17A 4C FF L.</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level05_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A17C FF FF FF FF ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level06_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$17</font> <font color="#8080ff">; A180 10 17 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level06_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAD68</font> <font color="#8080ff">; A182 68 AD h.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level06_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A184 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level06_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A186 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level06_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A188 73 8F s.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level06_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0E </font> <font color="#8080ff">; A18A 0E .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level06_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $03 </font> <font color="#8080ff">; A18B 03 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level06_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A18C C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level06_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A18D 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level06_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A18E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level06_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A190 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level06_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $05DC </font> <font color="#8080ff">; A191 DC 05 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level06_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A193 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level06_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A194 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level06_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAC60</font> <font color="#8080ff">; A196 60 AC `.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level06_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LACBA</font> <font color="#8080ff">; A198 BA AC ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level06_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LACE5</font> <font color="#8080ff">; A19A E5 AC ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level06_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAD02</font> <font color="#8080ff">; A19C 02 AD ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level06_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A19E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level06_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A1A0 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level06_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A1A2 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level06_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A1A4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level06_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A1A6 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level06_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1A8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level06_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$CA</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1AE CA 96 18 5A 0C 4C 8C 00 ...Z.L..</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A1B6 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level06_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1B7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level06_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; A1BA 1C 7E .~</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level06_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1BC 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level07_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; A1C0 10 18 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level07_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAF1C</font> <font color="#8080ff">; A1C2 1C AF ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level07_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A1C4 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level07_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A1C6 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level07_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A1C8 73 8F s.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level07_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0C </font> <font color="#8080ff">; A1CA 0C .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level07_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; A1CB 02 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level07_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $20 </font> <font color="#8080ff">; A1CC 20 </font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level07_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A1CD 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level07_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A1CE 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level07_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A1D0 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level07_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $05DC </font> <font color="#8080ff">; A1D1 DC 05 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level07_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A1D3 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level07_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAE8A</font> <font color="#8080ff">; A1D4 8A AE ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level07_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LADE0</font> <font color="#8080ff">; A1D6 E0 AD ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level07_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAE4C</font> <font color="#8080ff">; A1D8 4C AE L.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level07_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAE71</font> <font color="#8080ff">; A1DA 71 AE q.</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level07_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A1DC 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level07_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1DE 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level07_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAF23</font> <font color="#8080ff">; A1E0 23 AF #.</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level07_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LAE9B</font> <font color="#8080ff">; A1E2 9B AE ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level07_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A1E4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level07_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">level07_letters</font> <font color="#8080ff">; A1E6 58 AF X.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level07_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1E8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level07_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$8C</font> <font color="#8080ff">; A1EE 6A 08 C6 1A 0C 30 68 8C j....0h.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A1F6 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level07_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1F7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level07_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$56</font> <font color="#8080ff">; A1FA 40 56 @V</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level07_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A1FC 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level08_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$19</font> <font color="#8080ff">; A200 10 19 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level08_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB140</font> <font color="#8080ff">; A202 40 B1 @.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level08_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A204 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level08_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A206 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level08_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A208 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level08_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $08 </font> <font color="#8080ff">; A20A 08 .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level08_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A20B 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level08_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A20C C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level08_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $9E </font> <font color="#8080ff">; A20D 9E .</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level08_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A20E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level08_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A210 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level08_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $07D0 </font> <font color="#8080ff">; A211 D0 07 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level08_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A213 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level08_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06DF</font> <font color="#8080ff">; A214 DF 06 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level08_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB0A2</font> <font color="#8080ff">; A216 A2 B0 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level08_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB072</font> <font color="#8080ff">; A218 72 B0 r.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level08_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB0A3</font> <font color="#8080ff">; A21A A3 B0 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level08_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A21C 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level08_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A21E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level08_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB121</font> <font color="#8080ff">; A220 21 B1 !.</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level08_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB0C4</font> <font color="#8080ff">; A222 C4 B0 ..</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level08_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A224 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level08_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A226 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level08_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A228 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level08_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A22E 1A C6 96 28 0C 3C 00 00 ...(.<..</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $8C </font> <font color="#8080ff">; A236 8C .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level08_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A237 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level08_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$80</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A23A 80 00 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level08_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A23C 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level09_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$11</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; A240 11 10 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level09_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB27E</font> <font color="#8080ff">; A242 7E B2 ~.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level09_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A244 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level09_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A246 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level09_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB2E0</font> <font color="#8080ff">; A248 E0 B2 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level09_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0C </font> <font color="#8080ff">; A24A 0C .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level09_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $02 </font> <font color="#8080ff">; A24B 02 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level09_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A24C C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level09_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $3C </font> <font color="#8080ff">; A24D 3C <</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level09_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A24E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level09_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A250 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level09_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $05DC </font> <font color="#8080ff">; A251 DC 05 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level09_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A253 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level09_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB275</font> <font color="#8080ff">; A254 75 B2 u.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level09_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB1E0</font> <font color="#8080ff">; A256 E0 B1 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level09_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB237</font> <font color="#8080ff">; A258 37 B2 7.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level09_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB25C</font> <font color="#8080ff">; A25A 5C B2 \.</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level09_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A25C 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level09_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A25E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level09_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB2FD</font> <font color="#8080ff">; A260 FD B2 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level09_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A262 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level09_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A264 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level09_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A266 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level09_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A268 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level09_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$CA</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A26E CA 96 18 5A 0C 40 8C 00 ...Z.@..</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A276 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level09_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A277 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level09_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$62</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A27A 62 00 b.</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level09_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A27C 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level10_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$11</font>,<font color="#ff6060">$11</font> <font color="#8080ff">; A280 11 11 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level10_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB457</font> <font color="#8080ff">; A282 57 B4 W.</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level10_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB581</font> <font color="#8080ff">; A284 81 B5 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level10_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L0000</font> <font color="#8080ff">; A286 00 00 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level10_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB57C</font> <font color="#8080ff">; A288 7C B5 |.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level10_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0F </font> <font color="#8080ff">; A28A 0F .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level10_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A28B 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level10_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $B6 </font> <font color="#8080ff">; A28C B6 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level10_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C4 </font> <font color="#8080ff">; A28D C4 .</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level10_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A28E 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level10_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A290 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level10_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $03E8 </font> <font color="#8080ff">; A291 E8 03 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level10_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A293 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level10_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">data_table_b50b</font> <font color="#8080ff">; A294 0B B5 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level10_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB320</font> <font color="#8080ff">; A296 20 B3 .</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level10_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB38F</font> <font color="#8080ff">; A298 8F B3 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level10_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB3BD</font> <font color="#8080ff">; A29A BD B3 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level10_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB3DC</font> <font color="#8080ff">; A29C DC B3 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level10_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A29E 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level10_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB44C</font> <font color="#8080ff">; A2A0 4C B4 L.</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level10_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A2A2 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level10_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A2A4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level10_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A2A6 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level10_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2A8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level10_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$8C</font> <font color="#8080ff">; A2AE 6A 08 C6 1A 0C 30 54 8C j....0T.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A2B6 00 .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level10_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2B7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level10_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; A2BA 00 66 .f</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level10_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2BC 00 00 00 00 ....</font>
<font color="#8080ff">; first 2 bytes are level number in screencodes</font>
<font color="#00ffff">level11_desc</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$11</font>,<font color="#ff6060">$12</font> <font color="#8080ff">; A2C0 11 12 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level11_sub0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB691</font> <font color="#8080ff">; A2C2 91 B6 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level11_sub1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB69B</font> <font color="#8080ff">; A2C4 9B B6 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level11_sub2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB709</font> <font color="#8080ff">; A2C6 09 B7 ..</font>
<font color="#8080ff">; a subroutine</font>
<font color="#00ffff">level11_sub3</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A2C8 73 8F s.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; number of bombs to pick up on this level</font>
<font color="#00ffff">level11_num_bombs</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0E </font> <font color="#8080ff">; A2CA 0E .</font>
<font color="#8080ff">; 0 = no bullets</font>
<font color="#00ffff">level11_bullet_chance</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A2CB 00 .</font>
<font color="#8080ff">; jumpman starting Y position</font>
<font color="#00ffff">level11_y_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $C0 </font> <font color="#8080ff">; A2CC C0 .</font>
<font color="#8080ff">; jumpman starting X position</font>
<font color="#00ffff">level11_x_start</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $7C </font> <font color="#8080ff">; A2CD 7C |</font>
<font color="#8080ff">; points to $0600</font>
<font color="#00ffff">level11_offs_14</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A2CE 00 06 ..</font>
<font color="#8080ff">; points awarded per bomb pickup (always $64 aka 100)</font>
<font color="#00ffff">level11_points_per_bomb</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $64 </font> <font color="#8080ff">; A2D0 64 d</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; amount of time bonus at start of level</font>
<font color="#00ffff">level11_time_bonus</font>:
.<font color="#ffff00">word</font> <font color="#ff40ff"> $09C4 </font> <font color="#8080ff">; A2D1 C4 09 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $00</font>
<font color="#00ffff">level11_offs_19</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; A2D3 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; pointer to ROM table or $06xx</font>
<font color="#00ffff">level11_unkn_table0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB658</font> <font color="#8080ff">; A2D4 58 B6 X.</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level11_map0</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB590</font> <font color="#8080ff">; A2D6 90 B5 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level11_map1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB5D2</font> <font color="#8080ff">; A2D8 D2 B5 ..</font>
<font color="#8080ff">; map data</font>
<font color="#00ffff">level11_map2</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB5FD</font> <font color="#8080ff">; A2DA FD B5 ..</font>
<font color="#8080ff">; unknown, pointer to a ROM table or $0000</font>
<font color="#00ffff">level11_unkn_table1</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">LB61A</font> <font color="#8080ff">; A2DC 1A B6 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; always $0000</font>
<font color="#00ffff">level11_offs_30</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2DE 00 00 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called when a bomb is picked up. $06E6 for most levels (just an RTS), or else a ROM subroutine</font>
<font color="#00ffff">level11_sub_bomb</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A2E0 E6 06 ..</font>
<font color="#8080ff">; called at start of level, $06E6 for some levels, or else a ROM subroutine</font>
<font color="#00ffff">level11_sub_start</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A2E2 36 80 6.</font>
<font color="#8080ff">; always $9740 aka game_main_loop</font>
<font color="#00ffff">level11_sub6</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">game_main_loop</font> <font color="#8080ff">; A2E4 40 97 @.</font>
<font color="#8080ff">; called at end of level (all bombs picked up). $06E6 for all but level07</font>
<font color="#00ffff">level11_sub_eol</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">L06E6</font> <font color="#8080ff">; A2E6 E6 06 ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; all zeroes</font>
<font color="#00ffff">level11_offs_40</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2E8 00 00 00 00 00 00 ......</font>
<font color="#8080ff">; unknown</font>
<font color="#00ffff">level11_offs_46</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$96</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$2A</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$6A</font> <font color="#8080ff">; A2EE 08 C6 96 28 0C 2A 4C 6A ...(.*Lj</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $8C </font> <font color="#8080ff">; A2F6 8C .</font>
<font color="#8080ff">; unknown, always $00 $00 $00</font>
<font color="#00ffff">level11_offs_55</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2F7 00 00 00 ...</font>
<font color="#8080ff">; unknown, not a ROM address</font>
<font color="#00ffff">level11_offs_58</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2FA 00 00 ..</font>
<font color="#8080ff">; unknown, level05 (walls) has $ff $ff $ff $ff, all others $00 $00 $00 $00</font>
<font color="#00ffff">level11_offs_60</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A2FC 00 00 00 00 ....</font>
<font color="#8080ff">; level map data starts here</font>
<font color="#00ffff">level00_map</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A300 FE 33 9C FD 04 00 44 05 .3....D.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; A308 06 04 15 0A 74 15 0A 24 ....t..$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$16</font> <font color="#8080ff">; A310 22 02 74 22 02 24 25 16 ".t".$%.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; A318 04 45 04 44 45 06 8C 45 .E.DE..E</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$7C</font> <font color="#8080ff">; A320 04 04 55 08 34 55 0E 7C ..U.4U.|</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A328 55 08 FD 04 FF 34 09 04 U....4..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$5C</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A330 5C 44 0A FD 04 01 5C 06 \D....\.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; A338 04 1C 3B 0A FE 5F 9C FD ..;.._..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A340 00 04 0C 41 05 8C 41 05 ...A..A.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A348 24 01 05 74 01 05 4C 01 $..t..L.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$99</font> <font color="#8080ff">; A350 15 FE C9 9C 06 18 0A 99 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A358 18 0A FE DA 9C 1D 38 06 ......8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$81</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; A360 81 38 06 FE B3 9C .8....</font>
<font color="#00ffff">LA366</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A366 04 12 01 38 02 01 64 02 ...8..d.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$58</font> <font color="#8080ff">; A36E 01 98 12 01 44 22 01 58 ....D".X</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A376 22 01 04 42 01 98 42 01 "..B..B.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; A37E 04 52 01 38 52 01 64 52 .R.8R.dR</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A386 01 98 52 01 FF ..R..</font>
<font color="#00ffff">LA38B</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$C4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A38B 24 00 62 10 82 20 C4 00 $.b.. ..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$2A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CA</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A393 66 30 86 40 2A 00 CA 00 f0.@*...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A39B 2C 00 6C 00 8C 00 CC 00 ,.l.....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A3A3 FF .</font>
<font color="#00ffff">LA3A4</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$AE</font>,<font color="#ff6060">$A3</font>,<font color="#ff6060">$B8</font>,<font color="#ff6060">$A3</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$A3</font> <font color="#8080ff">; A3A4 00 00 AE A3 B8 A3 C2 A3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$CC</font>,<font color="#ff6060">$A3</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A3AC CC A3 FE 49 9C FD 04 01 ...I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$64</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; A3B4 64 08 02 FF FE 49 9C FD d....I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; A3BC 04 FF 34 09 02 FF FE 49 ..4....I</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A3C4 9C FD 04 00 2C 25 05 FF ....,%..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; A3CC FE 49 9C FD 04 00 60 25 .I....`%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A3D4 05 FF 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A3DC 00 00 00 00 ....</font>
<font color="#00ffff">LA3E0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A3E0 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; A3E8 08 34 05 0E 7C 05 08 14 .4..|...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A3F0 15 04 34 15 04 5C 15 04 ..4..\..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; A3F8 7C 15 04 04 25 10 5C 25 |...%.\%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A400 10 20 3C 07 64 3C 07 04 . <.d<..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$09</font> <font color="#8080ff">; A408 55 09 38 55 0C 78 55 09 U.8U.xU.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$3B</font> <font color="#8080ff">; A410 FD 04 FF 04 19 04 80 3B .......;</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A418 07 FD 04 01 8C 16 04 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$35</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A420 35 07 FE 5F 9C FD 00 04 5.._....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A428 18 01 05 4C 01 15 80 01 ...L....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$85</font> <font color="#8080ff">; A430 05 FE C9 9C 19 3C 05 85 .....<..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; A438 3C 05 FE DA 9C 05 30 08 <.....0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$99</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; A440 99 30 08 FE B3 9C .0....</font>
<font color="#00ffff">LA446</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A446 04 02 01 38 02 01 64 02 ...8..d.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; A44E 01 98 02 01 04 12 01 38 .......8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A456 12 01 64 12 01 98 12 01 ..d.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$32</font> <font color="#8080ff">; A45E 20 22 01 7C 22 01 38 32 ".|".82</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; A466 01 64 32 01 04 52 01 38 .d2..R.8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A46E 52 01 64 52 01 98 52 01 R.dR..R.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A476 FF .</font>
<font color="#00ffff">LA477</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A477 22 00 62 00 82 00 C2 00 ".b.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A47F 24 00 64 00 84 00 C4 00 $.d.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$46</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A487 46 00 A6 00 68 00 88 00 F...h...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A48F 2C 00 6C 00 8C 00 CC 00 ,.l.....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A497 FF .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; not sure what this actually does</font>
<font color="#00ffff">electrocution_bomb_pickup</font>:
<font color="#00ff00">ldy</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; A498 A4 B2 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_a542</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A49A B9 42 A5 .B.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A49D 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; A49E 69 30 i0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; A4A0 8D 80 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA543</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4A3 B9 43 A5 .C.</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A4A6 0A .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; A4A7 69 20 i </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; A4A9 8D 85 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA582</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4AC B9 82 A5 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; A4AF 8D 8A 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA583</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4B2 B9 83 A5 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR2</font> <font color="#8080ff">; A4B5 8D C2 02 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA562</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4B8 B9 62 A5 .b.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A4BB 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; A4BC 69 30 i0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; A4BE 8D 81 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA563</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4C1 B9 63 A5 .c.</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A4C4 0A .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; A4C5 69 20 i </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; A4C7 8D 86 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA5A2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4CA B9 A2 A5 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; A4CD 8D 8B 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LA5A3</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A4D0 B9 A3 A5 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR3</font> <font color="#8080ff">; A4D3 8D C3 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; A4D6 8D 6C 06 .l.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; A4D9 8D 6D 06 .m.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A4DC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; turn off electrocution effect (?)</font>
<font color="#00ffff">electrocution_done</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A4DD AD 23 06 .#.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA4FF</font> <font color="#8080ff">; A4E0 D0 1D ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; A4E2 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA4E8</font> <font color="#8080ff">; A4E5 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A4E7 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA4E8</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A4E8 A2 01 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">14</font> <font color="#8080ff">; A4EA AD BE 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A4ED 29 03 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA505</font> <font color="#8080ff">; A4EF D0 14 ..</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; A4F1 E8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">15</font> <font color="#8080ff">; A4F2 AD BF 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A4F5 29 03 ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA505</font> <font color="#8080ff">; A4F7 D0 0C ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">initial_speed</font> <font color="#8080ff">; A4F9 AD 25 06 .%.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; A4FC 8D 24 06 .$.</font>
<font color="#00ffff">LA4FF</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A4FF A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A501 8D 70 07 .p.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A504 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA505</font>: <font color="#00ff00">stx</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A505 8E 70 07 .p.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A508 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; electrocution effect</font>
<font color="#00ffff">electrocute</font>:
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A509 AE 70 07 .p.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA50F</font> <font color="#8080ff">; A50C D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A50E 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA50F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; A50F AD 0A D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPM1</font>,<font color="#00ffff">x</font> <font color="#8080ff">; A512 9D 13 D0 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLPM0</font> <font color="#8080ff">; A515 8D 12 D0 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; A518 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; A51A 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$2D</font> <font color="#8080ff">; A51D A9 2D .-</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; A51F 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A5</font> <font color="#8080ff">; A522 A9 A5 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; A524 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A527 A9 01 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; A529 20 03 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A52C 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">sfx_electrocution</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A52D 01 81 00 0A 02 01 81 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$32</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A535 32 02 01 81 00 1E 02 00 2.......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; skip a couple of the collision regs, so we don't register a collision when Jumpman is being electrocuted</font>
<font color="#00ffff">level02_collisions</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A53D A9 00 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8F79</font> <font color="#8080ff">; A53F 4C 79 8F Ly.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno, referenced by electrocution_bomb_pickup</font>
<font color="#00ffff">data_a542</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $0C </font> <font color="#8080ff">; A542 0C .</font>
<font color="#00ffff">LA543</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; A543 05 18 09 58 05 80 15 18 ...X....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; A54B 09 28 25 4C 1D 80 09 18 .(%L....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; A553 15 70 25 2C 3C 4C 45 0C .p%,<LE.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4D</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; A55B 55 20 55 4C 4D 8C 55 U ULM.U</font>
<font color="#00ffff">LA562</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $18 </font> <font color="#8080ff">; A562 18 .</font>
<font color="#00ffff">LA563</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; A563 15 40 05 80 09 8C 05 18 .@......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$28</font> <font color="#8080ff">; A56B 09 4C 0D 70 25 80 09 28 .L.p%..(</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$25</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; A573 25 80 15 4C 35 6C 3C 0C %..L5l<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4D</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; A57B 55 4C 4D 78 55 8C 55 ULMxU.U</font>
<font color="#00ffff">LA582</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; A582 01 .</font>
<font color="#00ffff">LA583</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A583 08 02 C6 01 08 01 08 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A58B C6 01 08 02 C6 02 C6 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A593 08 01 08 01 08 02 C6 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; A59B 08 01 08 02 C6 01 08 .......</font>
<font color="#00ffff">LA5A2</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $01 </font> <font color="#8080ff">; A5A2 01 .</font>
<font color="#00ffff">LA5A3</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A5A3 08 01 08 02 C6 01 08 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A5AB C6 02 C6 01 08 02 C6 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A5B3 08 01 08 02 C6 01 08 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; A5BB 08 02 C6 01 08 01 08 .......</font>
<font color="#00ffff">LA5C2</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$D3</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A5C2 03 D3 A5 08 00 00 01 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$D3</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A5CA 04 D3 A5 08 00 00 01 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$AA</font>,<font color="#ff6060">$AA</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A5D2 FF FF FF AA AA FF FF 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; A5DA 00 C3 C3 C3 C3 FF FF C3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A5E2 C3 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A5EA 00 00 00 00 00 00 ......</font>
<font color="#00ffff">LA5F0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A5F0 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$84</font> <font color="#8080ff">; A5F8 06 84 05 06 04 15 06 84 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; A600 15 06 04 25 0C 6C 25 0C ...%.l%.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; A608 04 35 0C 6C 35 0C 04 45 .5.l5..E</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$8C</font> <font color="#8080ff">; A610 04 24 45 04 6C 45 04 8C .$E.lE..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$45</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; A618 45 04 04 55 06 84 55 06 E..U..U.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A620 FE 5F 9C FD 00 04 0C 01 ._......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; A628 05 8C 01 05 FE B3 9C .......</font>
<font color="#00ffff">LA62F</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font> <font color="#8080ff">; A62F 04 02 01 04 12 01 04 22 ......."</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A637 01 04 32 01 04 42 01 04 ..2..B..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A63F 52 01 98 02 01 98 12 01 R.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$98</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; A647 98 22 01 98 32 01 98 42 ."..2..B</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A64F 01 98 52 01 FF ..R..</font>
<font color="#00ffff">LA654</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A654 22 00 24 00 26 00 28 00 ".$.&.(.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A65C 2A 00 2C 00 C2 00 C4 00 *.,.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CA</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A664 C6 00 C8 00 CA 00 CC 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A66C FF .</font>
<font color="#00ffff">LA66D</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7A</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; A66D 00 00 00 01 7A 01 01 66 ....z..f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; A675 03 86 A6 06 4C 4A 01 66 ....LJ.f</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$CA</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$66</font> <font color="#8080ff">; A67D 04 86 A6 06 A4 CA 01 66 .......f</font>
<font color="#8080ff">; horizontally moving platforms from level02</font>
<font color="#00ffff">dw_platform_player</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$AA</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A685 FF FF FF AA 55 FF FF ....U..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called at start of level</font>
<font color="#00ffff">dumbwaiter_setup</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; A68C 20 36 80 6.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; A68F A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0760 </font> <font color="#8080ff">; A691 8D 60 07 .`.</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$2A</font> <font color="#8080ff">; A694 A0 2A .*</font>
<font color="#00ffff">LA696</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; A696 A2 06 ..</font>
<font color="#00ffff">LA698</font>: <font color="#00ff00">lda</font> <font color="#00ffff">LA781</font>,<font color="#00ffff">x</font> <font color="#8080ff">; A698 BD 81 A7 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; A69B 99 00 2B ..+</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; A69E C8 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; A69F CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA698</font> <font color="#8080ff">; A6A0 D0 F6 ..</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; A6A2 98 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A6A3 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$1A</font> <font color="#8080ff">; A6A4 69 1A i.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; A6A6 A8 .</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $0760 </font> <font color="#8080ff">; A6A7 CE 60 07 .`.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA696</font> <font color="#8080ff">; A6AA D0 EA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; A6AC A9 FF ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SIZEM</font> <font color="#8080ff">; A6AE 8D 0C D0 ...</font>
<font color="#00ff00">stx</font> <font color="#ff40ff"> $068C </font> <font color="#8080ff">; A6B1 8E 8C 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A6B4 A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SIZEP2</font> <font color="#8080ff">; A6B6 8D 0A D0 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SIZEP3</font> <font color="#8080ff">; A6B9 8D 0B D0 ...</font>
<font color="#00ffff">LA6BC</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; A6BC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called every frame</font>
<font color="#00ffff">dumbwaiter_sub0</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; A6BD AD F5 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA6BC</font> <font color="#8080ff">; A6C0 F0 FA ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A6C2 C9 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA6DC</font> <font color="#8080ff">; A6C4 D0 16 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; A6C6 EE F5 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0669 </font> <font color="#8080ff">; A6C9 EE 69 06 .i.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; A6CC EE 6C 06 .l.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; A6CF EE 6D 06 .m.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A6D2 A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A6D4 8D 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; A6D7 A9 FF ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; A6D9 8D 71 07 .q.</font>
<font color="#00ffff">LA6DC</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A6DC AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A6DF C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA6BC</font> <font color="#8080ff">; A6E1 F0 D9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A6E3 AD 22 06 .".</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA6BC</font> <font color="#8080ff">; A6E6 F0 D4 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A6E8 A2 02 ..</font>
<font color="#00ffff">LA6EA</font>: <font color="#00ff00">inx</font> <font color="#8080ff">; A6EA E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; A6EB E0 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA70F</font> <font color="#8080ff">; A6ED F0 20 . </font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A6EF 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; A6F0 BD 7D 06 .}.</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $076D,x </font> <font color="#8080ff">; A6F3 7D 6D 07 }m.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; A6F6 9D 7D 06 .}.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$4B</font> <font color="#8080ff">; A6F9 C9 4B .K</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA701</font> <font color="#8080ff">; A6FB F0 04 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$A4</font> <font color="#8080ff">; A6FD C9 A4 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA6EA</font> <font color="#8080ff">; A6FF D0 E9 ..</font>
<font color="#00ffff">LA701</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $076D,x </font> <font color="#8080ff">; A701 BD 6D 07 .m.</font>
<font color="#00ff00">eor</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; A704 49 FF I.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076D,x </font> <font color="#8080ff">; A706 9D 6D 07 .m.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $076D,x </font> <font color="#8080ff">; A709 FE 6D 07 .m.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LA6EA</font> <font color="#8080ff">; A70C 4C EA A6 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA70F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $2BCF </font> <font color="#8080ff">; A70F AD CF 2B ..+</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B0E </font> <font color="#8080ff">; A712 8D 0E 2B ..+</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$CF</font> <font color="#8080ff">; A715 A0 CF ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$CE</font> <font color="#8080ff">; A717 A2 CE ..</font>
<font color="#00ffff">LA719</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $2B00,x </font> <font color="#8080ff">; A719 BD 00 2B ..+</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; A71C 99 00 2B ..+</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; A71F CA .</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; A720 88 .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA719</font> <font color="#8080ff">; A721 D0 F6 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; A723 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; gets called every frame</font>
<font color="#00ffff">dumbwaiter_sub3</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A724 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A727 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA778</font> <font color="#8080ff">; A729 F0 4D .M</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A72B AD 22 06 .".</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA778</font> <font color="#8080ff">; A72E F0 48 .H</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0778 </font> <font color="#8080ff">; A730 AD 78 07 .x.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA73D</font> <font color="#8080ff">; A733 F0 08 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A735 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06ED </font> <font color="#8080ff">; A737 8D ED 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0778 </font> <font color="#8080ff">; A73A 8D 78 07 .x.</font>
<font color="#00ffff">LA73D</font>: <font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">8</font> <font color="#8080ff">; A73D AD B8 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">9</font> <font color="#8080ff">; A740 0D B9 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">10</font> <font color="#8080ff">; A743 0D BA 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">11</font> <font color="#8080ff">; A746 0D BB 06 ...</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; A749 AA .</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">14</font> <font color="#8080ff">; A74A 0D BE 06 ...</font>
<font color="#00ff00">ora</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">15</font> <font color="#8080ff">; A74D 0D BF 06 ...</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; A750 A8 .</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A751 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA760</font> <font color="#8080ff">; A753 F0 0B ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; A755 AD B4 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A758 09 01 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; A75A 8D B4 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; A75D EE 83 06 ...</font>
<font color="#00ffff">LA760</font>: <font color="#00ff00">tya</font> <font color="#8080ff">; A760 98 .</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A761 29 02 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA779</font> <font color="#8080ff">; A763 F0 14 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; A765 AD B5 06 ...</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A768 09 01 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">5</font> <font color="#8080ff">; A76A 8D B5 06 ...</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; A76D 8A .</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A76E 29 02 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA778</font> <font color="#8080ff">; A770 F0 06 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; A772 EE 83 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0778 </font> <font color="#8080ff">; A775 8D 78 07 .x.</font>
<font color="#00ffff">LA778</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; A778 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA779</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; A779 AD 83 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$FE</font> <font color="#8080ff">; A77C 29 FE ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; A77E 8D 83 06 ...</font>
<font color="#00ffff">LA781</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; A781 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; the dumbwaiters from level02. stored upside-down.</font>
<font color="#00ffff">dumbwaiter_player</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A782 18 3C 7E FF FF FF 00 00 .<~.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A78A 00 00 00 00 00 00 ......</font>
<font color="#00ffff">LA790</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A790 FE 33 9C FD 04 00 40 05 .3....@.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; A798 08 18 15 0A 04 25 14 18 .....%..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$35</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0F</font> <font color="#8080ff">; A7A0 35 0A 2C 45 0A 04 55 0F 5.,E..U.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; A7A8 60 55 0F 4C 15 0F 60 25 `U.L..`%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0F</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; A7B0 0F 4C 35 0F 60 45 05 FE .L5.`E..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A7B8 5F 9C FD 00 04 4C 01 05 _....L..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$11</font> <font color="#8080ff">; A7C0 4C 21 05 4C 41 05 18 11 L!.LA...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$31</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$6C</font> <font color="#8080ff">; A7C8 05 80 11 05 2C 31 05 6C ....,1.l</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$31</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; A7D0 31 05 FE B3 9C 1....</font>
<font color="#00ffff">LA7D5</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$12</font> <font color="#8080ff">; A7D5 40 02 01 5C 02 01 24 12 @..\..$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font> <font color="#8080ff">; A7DD 01 3C 12 01 60 12 01 78 .<..`..x</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A7E5 12 01 04 22 01 3C 22 01 ...".<".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$32</font> <font color="#8080ff">; A7ED 60 22 01 98 22 01 18 32 `".."..2</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; A7F5 01 84 32 01 3C 42 01 60 ..2.<B.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A7FD 42 01 04 52 01 98 52 01 B..R..R.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A805 FF .</font>
<font color="#00ffff">LA806</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A806 62 00 82 00 44 00 64 00 b...D.d.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A80E 84 00 A4 00 26 00 66 00 ....&.f.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$86</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A816 86 00 C6 00 48 00 A8 00 ....H...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$6A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A81E 6A 00 8A 00 2C 00 CC 00 j...,...</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A826 FF .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hellstones_sub3</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0619 </font> <font color="#8080ff">; A827 AD 19 06 ...</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A82A 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A82B 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A82C 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; A82D 0A .</font>
<font color="#00ff00">ora</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; A82E 09 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; A830 8D C7 02 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">check_collisions_1</font> <font color="#8080ff">; A833 4C 73 8F Ls.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">hellstones_sub0</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; A836 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A839 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA842</font> <font color="#8080ff">; A83B F0 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; A83D AD 22 06 .".</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA843</font> <font color="#8080ff">; A840 D0 01 ..</font>
<font color="#00ffff">LA842</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; A842 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA843</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; A843 A2 05 ..</font>
<font color="#00ffff">LA845</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; A845 CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA842</font> <font color="#8080ff">; A846 F0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $075F,x </font> <font color="#8080ff">; A848 BD 5F 07 ._.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA865</font> <font color="#8080ff">; A84B D0 18 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; A84D AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$1F</font> <font color="#8080ff">; A850 29 1F ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA845</font> <font color="#8080ff">; A852 D0 F1 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $075F,x </font> <font color="#8080ff">; A854 FE 5F 07 ._.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A857 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; A859 9D 9E 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; A85C AD 7E 06 .~.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A85F 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A860 69 03 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; A862 9D 9A 06 ...</font>
<font color="#00ffff">LA865</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A865 BD 63 07 .c.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA89E</font> <font color="#8080ff">; A868 D0 34 .4</font>
<font color="#00ff00">lda</font> <font color="#00ffff">dli_vec_shadow_hi</font>,<font color="#00ffff">x</font> <font color="#8080ff">; A86A BD AF 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A86D 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA89E</font> <font color="#8080ff">; A86F F0 2D .-</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; A871 AD 7E 06 .~.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A874 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A875 69 03 i.</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; A877 A0 01 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; A879 DD 9A 06 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA882</font> <font color="#8080ff">; A87C F0 04 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; A87E C8 .</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LA882</font> <font color="#8080ff">; A87F 90 01 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; A881 C8 .</font>
<font color="#00ffff">LA882</font>: <font color="#00ff00">tya</font> <font color="#8080ff">; A882 98 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A883 9D 63 07 .c.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A886 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0767,x </font> <font color="#8080ff">; A888 9D 67 07 .g.</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; A88B 8A .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; A88C 48 H</font>
<font color="#00ffff">play_hellstone_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; A88D A9 0D ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; A88F 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A9</font> <font color="#8080ff">; A892 A9 A9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; A894 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A897 A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; A899 20 03 80 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; A89C 68 h</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; A89D AA .</font>
<font color="#00ffff">LA89E</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A89E BD 63 07 .c.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA8C1</font> <font color="#8080ff">; A8A1 D0 1E ..</font>
<font color="#00ffff">LA8A3</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; A8A3 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; A8A4 BD 9E 06 ...</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A8A7 69 02 i.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$CE</font> <font color="#8080ff">; A8A9 C9 CE ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LA8B3</font> <font color="#8080ff">; A8AB B0 06 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; A8AD 9D 9E 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LA845</font> <font color="#8080ff">; A8B0 4C 45 A8 LE.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA8B3</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A8B3 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; A8B5 9D 9A 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075F,x </font> <font color="#8080ff">; A8B8 9D 5F 07 ._.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A8BB 9D 63 07 .c.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LA845</font> <font color="#8080ff">; A8BE 4C 45 A8 LE.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA8C1</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0767,x </font> <font color="#8080ff">; A8C1 BD 67 07 .g.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; A8C4 C9 08 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA8D4</font> <font color="#8080ff">; A8C6 D0 0C ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A8C8 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A8CA 9D 63 07 .c.</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A8CD E0 03 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LA8A3</font> <font color="#8080ff">; A8CF 90 D2 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LA865</font> <font color="#8080ff">; A8D1 4C 65 A8 Le.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LA8D4</font>: <font color="#00ff00">tay</font> <font color="#8080ff">; A8D4 A8 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A8D5 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; A8D6 BD 9E 06 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">LA905</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A8D9 79 05 A9 y..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069E,x </font> <font color="#8080ff">; A8DC 9D 9E 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_table_a8fd</font>,<font color="#00ffff">y</font> <font color="#8080ff">; A8DF B9 FD A8 ...</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; A8E2 A8 .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA8EF</font> <font color="#8080ff">; A8E3 F0 0A ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; A8E5 A8 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0763,x </font> <font color="#8080ff">; A8E6 BD 63 07 .c.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; A8E9 C9 03 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LA8EF</font> <font color="#8080ff">; A8EB F0 02 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FE</font> <font color="#8080ff">; A8ED A0 FE ..</font>
<font color="#00ffff">LA8EF</font>: <font color="#00ff00">tya</font> <font color="#8080ff">; A8EF 98 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; A8F0 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; A8F1 7D 9A 06 }..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $069A,x </font> <font color="#8080ff">; A8F4 9D 9A 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0767,x </font> <font color="#8080ff">; A8F7 FE 67 07 .g.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LA845</font> <font color="#8080ff">; A8FA 4C 45 A8 LE.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno, referenced by routine at $A8D4</font>
<font color="#00ffff">data_table_a8fd</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A8FD 00 02 02 02 02 02 02 00 ........</font>
<font color="#00ffff">LA905</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A905 FE FE FE 00 00 02 02 02 ........</font>
<font color="#00ffff">sfx_hellstone</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$83</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A90D 01 83 00 0A 03 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A915 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A91D 00 00 00 ...</font>
<font color="#00ffff">LA920</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; A920 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$6C</font> <font color="#8080ff">; A928 04 24 05 04 44 05 06 6C .$..D..l</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; A930 05 04 8C 05 04 30 16 04 .....0..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$60</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; A938 60 16 04 04 25 09 78 25 `...%.x%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$78</font> <font color="#8080ff">; A940 09 04 35 09 40 35 08 78 ..5.@5.x</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$35</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A948 35 09 40 45 02 58 45 02 5.@E.XE.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; A950 04 55 05 28 55 06 4C 55 .U.(U.LU</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; A958 02 60 55 06 88 55 05 FE .`U..U..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font> <font color="#8080ff">; A960 5F 9C FD 00 04 04 01 09 _.......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$94</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$19</font> <font color="#8080ff">; A968 94 01 09 30 19 0F 68 19 ...0..h.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0F</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; A970 0F FE B3 9C ....</font>
<font color="#00ffff">LA974</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; A974 24 02 01 44 02 01 58 02 $..D..X.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$58</font> <font color="#8080ff">; A97C 01 78 02 01 44 12 01 58 .x..D..X</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A984 12 01 24 22 01 78 22 01 ..$".x".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; A98C 40 32 01 5C 32 01 40 42 @2.\2.@B</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; A994 01 5C 42 01 04 52 01 3C .\B..R.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; A99C 52 01 60 52 01 98 52 01 R.`R..R.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A9A4 FF .</font>
<font color="#00ffff">LA9A5</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$42</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A9A5 42 00 62 00 82 00 A2 00 B.b.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$64</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$46</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A9AD 64 00 84 00 46 00 A6 00 d...F...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$68</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8A</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A9B5 68 00 88 00 6A 00 8A 00 h...j...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A9BD 2C 00 6C 00 8C 00 CC 00 ,.l.....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; A9C5 FF .</font>
<font color="#00ffff">LA9C6</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $20 </font> <font color="#8080ff">; A9C6 20 </font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">rol</font> <font color="#ff40ff"> $80,x </font> <font color="#8080ff">; A9C7 36 80 6.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; A9C9 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; A9CB 8D 70 07 .p.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0772 </font> <font color="#8080ff">; A9CE 8D 72 07 .r.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$FE</font> <font color="#8080ff">; A9D1 A9 FE ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; A9D3 8D 71 07 .q.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0773 </font> <font color="#8080ff">; A9D6 8D 73 07 .s.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; A9D9 A2 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; A9DB A9 00 ..</font>
<font color="#00ffff">LA9DD</font>: <font color="#00ff00">sta</font> <font color="#ff40ff">HPOSP3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; A9DD 9D 03 D0 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; A9E0 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LA9DD</font> <font color="#8080ff">; A9E1 D0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; A9E3 A9 C0 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9E5 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; A9E8 A9 C0 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9EA 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; A9ED A9 30 .0</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9EF 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; A9F2 A9 30 .0</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9F4 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; A9F7 A9 0C ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9F9 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; A9FC A9 0C ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; A9FE 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; AA01 A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; AA03 20 0C AA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; AA06 A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LAA0C</font> <font color="#8080ff">; AA08 20 0C AA ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AA0B 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA0C</font>: <font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; AA0C 85 C0 ..</font>
<font color="#00ffff">LAA0E</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; AA0E AD 0A D2 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$AC</font> <font color="#8080ff">; AA11 C9 AC ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LAA0E</font> <font color="#8080ff">; AA13 B0 F9 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; AA15 A8 .</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$1E</font> <font color="#8080ff">; AA16 A2 1E ..</font>
<font color="#00ffff">LAA18</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; AA18 B9 00 2B ..+</font>
<font color="#00ff00">ora</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; AA1B 05 C0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2B00,y </font> <font color="#8080ff">; AA1D 99 00 2B ..+</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; AA20 C8 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; AA21 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAA18</font> <font color="#8080ff">; AA22 D0 F4 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AA24 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA25</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $076F </font> <font color="#8080ff">; AA25 AD 6F 07 .o.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; AA28 C9 04 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAA2D</font> <font color="#8080ff">; AA2A D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AA2C 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA2D</font>: <font color="#00ff00">tax</font> <font color="#8080ff">; AA2D AA .</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0774,x </font> <font color="#8080ff">; AA2E FE 74 07 .t.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $076F </font> <font color="#8080ff">; AA31 EE 6F 07 .o.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AA34 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA35</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; AA35 AD 22 06 .".</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAA3B</font> <font color="#8080ff">; AA38 D0 01 ..</font>
<font color="#00ffff">LAA3A</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; AA3A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA3B</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; AA3B A2 05 ..</font>
<font color="#00ffff">LAA3D</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; AA3D CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA3A</font> <font color="#8080ff">; AA3E F0 FA ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0773,x </font> <font color="#8080ff">; AA40 BD 73 07 .s.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA3D</font> <font color="#8080ff">; AA43 F0 F8 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0777,x </font> <font color="#8080ff">; AA45 BD 77 07 .w.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; AA48 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $076F,x </font> <font color="#8080ff">; AA49 7D 6F 07 }o.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0777,x </font> <font color="#8080ff">; AA4C 9D 77 07 .w.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HPOSP3</font>,<font color="#00ffff">x</font> <font color="#8080ff">; AA4F 9D 03 D0 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAA3D</font> <font color="#8080ff">; AA52 4C 3D AA L=.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA55</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; AA55 AD 22 06 .".</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA3A</font> <font color="#8080ff">; AA58 F0 E0 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; AA5A A2 05 ..</font>
<font color="#00ffff">LAA5C</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; AA5C CA .</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA3A</font> <font color="#8080ff">; AA5D F0 DB ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">7</font>,<font color="#00ffff">x</font> <font color="#8080ff">; AA5F BD B7 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; AA62 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA5C</font> <font color="#8080ff">; AA64 F0 F6 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; AA66 AD 7E 06 .~.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; AA69 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $076F,x </font> <font color="#8080ff">; AA6A 7D 6F 07 }o.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; AA6D 8D 7E 06 .~.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAA5C</font> <font color="#8080ff">; AA70 4C 5C AA L\.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA73</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0764 </font> <font color="#8080ff">; AA73 EE 64 07 .d.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0764 </font> <font color="#8080ff">; AA76 AD 64 07 .d.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; AA79 29 01 ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAA82</font> <font color="#8080ff">; AA7B F0 05 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$90</font> <font color="#8080ff">; AA7D A9 90 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAA84</font> <font color="#8080ff">; AA7F 4C 84 AA L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAA82</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$A6</font> <font color="#8080ff">; AA82 A9 A6 ..</font>
<font color="#00ffff">LAA84</font>: <font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; AA84 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$AA</font> <font color="#8080ff">; AA86 A9 AA ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; AA88 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; AA8A 20 00 80 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAA25</font> <font color="#8080ff">; AA8D 4C 25 AA L%.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet</font>
<font color="#00ffff">map_aa90</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$EB</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AA90 FE EB 9C FD 00 04 50 00 ......P.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0C</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AA98 0C FE 33 9C 4E 05 01 FE ..3.N...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AAA0 DA 9C 50 00 0C FF ..P...</font>
<font color="#8080ff">; referenced by routine at $AA82</font>
<font color="#00ffff">map_aaa6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$EB</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AAA6 FE EB 9C FD 00 04 50 00 ......P.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0C</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AAAE 0C FE 33 9C 4E 05 01 FE ..3.N...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AAB6 C9 9C 50 08 0A FF ..P...</font>
<font color="#00ffff">LAABC</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$AD</font>,<font color="#ff6060">$2A</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$8D</font>,<font color="#ff6060">$C7</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AABC AD 2A 06 8D C7 02 60 00 .*....`.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8D</font>,<font color="#ff6060">$C7</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; AAC4 8D C7 02 60 00 09 40 45 ...`..@E</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; AACC 02 58 45 02 .XE.</font>
<font color="#00ffff">LAAD0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; AAD0 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$0B</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AAD8 02 1A 05 0B 50 05 07 04 ....P...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$25</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; AAE0 25 26 7C 33 08 20 3B 03 %&|3. ;.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$47</font> <font color="#8080ff">; AAE8 40 3B 03 60 3B 06 04 47 @;.`;..G</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; AAF0 04 20 4B 03 40 4B 03 60 . K.@K.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$26</font> <font color="#8080ff">; AAF8 4B 03 80 4A 03 04 55 26 K..J..U&</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4A</font> <font color="#8080ff">; AB00 FD 04 FF 2C 4A 03 4C 4A ...,J.LJ</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; AB08 03 6C 4A 03 FD 04 01 14 .lJ.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; AB10 48 03 38 49 02 58 49 02 H.8I.XI.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$78</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AB18 78 49 02 FE 5F 9C FD 00 xI.._...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$84</font> <font color="#8080ff">; AB20 04 0C 21 0D 84 01 09 84 ..!.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2F</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; AB28 2F 06 22 01 05 FE C9 9C /.".....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$28</font> <font color="#8080ff">; AB30 3C 08 06 35 28 04 55 28 <..5(.U(</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$9A</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AB38 04 FE DA 9C 9A 30 08 FE .....0..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; AB40 B3 9C ..</font>
<font color="#00ffff">LAB42</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$16</font> <font color="#8080ff">; AB42 04 02 01 44 02 01 24 16 ...D..$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; AB4A 01 44 22 01 64 22 01 98 .D".d"..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; AB52 22 01 24 32 01 44 32 01 ".$2.D2.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$64</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; AB5A 64 32 01 24 52 01 44 52 d2.$R.DR</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; AB62 01 64 52 01 84 52 01 98 .dR..R..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AB6A 52 01 FF R..</font>
<font color="#00ffff">LAB6D</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; AB6D 22 10 62 20 44 30 66 40 ".b D0f@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$86</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; AB75 86 50 C6 60 48 70 68 80 .P.`Hph.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$88</font>,<font color="#ff6060">$90</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$B0</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$C0</font> <font color="#8080ff">; AB7D 88 90 4C A0 6C B0 8C C0 ..L.l...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$AC</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$D0</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AB85 AC 00 CC D0 FF .....</font>
<font color="#00ffff">LAB8A</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$AB</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$AB</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$AB</font> <font color="#8080ff">; AB8A 00 00 A6 AB B6 AB C0 AB ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$D3</font>,<font color="#ff6060">$AB</font>,<font color="#ff6060">$DD</font>,<font color="#ff6060">$AB</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$AB</font>,<font color="#ff6060">$FA</font>,<font color="#ff6060">$AB</font> <font color="#8080ff">; AB92 D3 AB DD AB F0 AB FA AB ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$AC</font> <font color="#8080ff">; AB9A 04 AC 0E AC 18 AC 22 AC ......".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$36</font>,<font color="#ff6060">$AC</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; ABA2 2C AC 36 AC FE 49 9C FD ,.6..I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; ABAA 04 00 04 05 02 FE 33 9C ......3.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; ABB2 20 22 03 FF FE 49 9C FD "...I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font> <font color="#8080ff">; ABBA 04 00 3E 05 02 FF FE 89 ..>.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; ABC2 9C FD 00 04 22 11 01 FE ...."...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; ABCA 49 9C FD 04 FF 2C 4A 03 I....,J.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$44</font> <font color="#8080ff">; ABD2 FF FE 49 9C FD 04 00 44 ..I....D</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$25</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; ABDA 25 03 FF FE 33 9C FD 04 %...3...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; ABE2 00 6C 05 04 FE 89 9C FD .l......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; ABEA 00 04 84 11 02 FF FE 49 .......I</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; ABF2 9C FD 04 00 6C 05 04 FF ....l...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$4B</font> <font color="#8080ff">; ABFA FE 49 9C FD 04 00 60 4B .I....`K</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC02 03 FF FE 49 9C FD 04 00 ...I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; AC0A 40 4B 03 FF FE 49 9C FD @K...I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font> <font color="#8080ff">; AC12 04 00 20 4B 03 FF FE 33 .. K...3</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AC1A 9C FD 04 00 28 52 01 FF ....(R..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; AC22 FE 33 9C FD 04 00 48 52 .3....HR</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC2A 01 FF FE 49 9C FD 04 00 ...I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$54</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; AC32 54 55 09 FF FE 33 9C FD TU...3..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; AC3A 04 00 04 08 02 FE 5F 9C ......_.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$8E</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC42 FD 00 04 8E 01 09 FF 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC4A 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC52 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AC5A 00 00 00 00 00 00 ......</font>
<font color="#00ffff">LAC60</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; AC60 FE 33 9C FD 04 00 3C 05 .3....<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AC68 0A 04 0C 08 7C 0C 08 04 ....|...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; AC70 15 08 7C 15 08 38 16 01 ..|..8..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$64</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$2C</font> <font color="#8080ff">; AC78 64 16 01 2C 2C 04 64 2C d..,,.d,</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AC80 04 2C 3C 04 64 3C 04 04 .,<.d<..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$0B</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; AC88 55 26 FD 04 FF 24 0B 06 U&...$..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font> <font color="#8080ff">; AC90 FD 04 01 64 06 06 FE 5F ...d..._</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$4C</font> <font color="#8080ff">; AC98 9C FD 00 04 0C 01 15 4C .......L</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; ACA0 01 15 8C 01 15 FE C9 9C ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$39</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font> <font color="#8080ff">; ACA8 39 19 03 65 19 03 FE DA 9..e....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$1F</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; ACB0 9C 1F 12 0F 80 12 0F FE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; ACB8 B3 9C ..</font>
<font color="#00ffff">LACBA</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; ACBA 04 02 01 3C 02 01 60 02 ...<..`.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font> <font color="#8080ff">; ACC2 01 98 02 01 24 22 01 78 ....$".x</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; ACCA 22 01 24 32 01 78 32 01 ".$2.x2.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; ACD2 24 42 01 78 42 01 04 52 $B.xB..R</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; ACDA 01 3C 52 01 60 52 01 98 .<R.`R..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; ACE2 52 01 FF R..</font>
<font color="#00ffff">LACE5</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; ACE5 22 10 62 20 82 30 C2 40 ".b .0.@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$46</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; ACED 46 50 A6 50 48 60 A8 60 FP.PH`.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4A</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$AA</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; ACF5 4A 70 AA 70 2C 80 6C 00 Jp.p,.l.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$90</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; ACFD 8C 00 CC 90 FF .....</font>
<font color="#00ffff">LAD02</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$AD</font> <font color="#8080ff">; AD02 00 00 16 AD 16 AD 20 AD ...... .</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$2A</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$AD</font> <font color="#8080ff">; AD0A 20 AD 2A AD 34 AD 3E AD .*.4.>.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$AD</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; AD12 48 AD 58 AD FE 49 9C FD H.X..I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$0B</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; AD1A 04 FF 24 0B 06 FF FE 49 ..$....I</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AD22 9C FD 04 01 64 06 06 FF ....d...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$21</font> <font color="#8080ff">; AD2A FE 89 9C FD 00 04 4C 21 ......L!</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AD32 02 FF FE 89 9C FD 00 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$29</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; AD3A 4C 29 02 FF FE 89 9C FD L)......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$31</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font> <font color="#8080ff">; AD42 00 04 4C 31 02 FF FE C9 ..L1....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$9A</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AD4A 9C FD 00 04 9A 18 0E FE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$31</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font> <font color="#8080ff">; AD52 89 9C 0C 31 02 FF FE C9 ...1....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AD5A 9C FD 00 04 04 18 0E FE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$31</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AD62 89 9C 8C 31 02 FF ...1..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAD68</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; AD68 AD 22 06 .".</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAD6E</font> <font color="#8080ff">; AD6B D0 01 ..</font>
<font color="#00ffff">LAD6D</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; AD6D 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAD6E</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; AD6E A2 FF ..</font>
<font color="#00ffff">LAD70</font>: <font color="#00ff00">inx</font> <font color="#8080ff">; AD70 E8 .</font>
<font color="#00ff00">cpx</font> <font color="#00ffff">work_level_bullet_chance</font> <font color="#8080ff">; AD71 EC 8B 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAD6D</font> <font color="#8080ff">; AD74 F0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0756,x </font> <font color="#8080ff">; AD76 BD 56 07 .V.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; AD79 C9 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAD8B</font> <font color="#8080ff">; AD7B F0 0E ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076C,x </font> <font color="#8080ff">; AD7D 9D 6C 07 .l.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; AD80 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0764,x </font> <font color="#8080ff">; AD82 9D 64 07 .d.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0768,x </font> <font color="#8080ff">; AD85 9D 68 07 .h.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAD70</font> <font color="#8080ff">; AD88 4C 70 AD Lp.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAD8B</font>: <font color="#00ff00">cmp</font> <font color="#ff40ff"> $076C,x </font> <font color="#8080ff">; AD8B DD 6C 07 .l.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LADA1</font> <font color="#8080ff">; AD8E F0 11 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076C,x </font> <font color="#8080ff">; AD90 9D 6C 07 .l.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $075A,x </font> <font color="#8080ff">; AD93 BD 5A 07 .Z.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LAD9E</font> <font color="#8080ff">; AD96 F0 06 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0768,x </font> <font color="#8080ff">; AD98 FE 68 07 .h.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LADA1</font> <font color="#8080ff">; AD9B 4C A1 AD L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAD9E</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0764,x </font> <font color="#8080ff">; AD9E FE 64 07 .d.</font>
<font color="#00ffff">LADA1</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0764,x </font> <font color="#8080ff">; ADA1 BD 64 07 .d.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">code_adb5</font> <font color="#8080ff">; ADA4 F0 0F ..</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; ADA6 29 0F ).</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; ADA8 A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_table_adc7</font>,<font color="#00ffff">y</font> <font color="#8080ff">; ADA9 B9 C7 AD ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075A,x </font> <font color="#8080ff">; ADAC 9D 5A 07 .Z.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0764,x </font> <font color="#8080ff">; ADAF FE 64 07 .d.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAD70</font> <font color="#8080ff">; ADB2 4C 70 AD Lp.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">code_adb5</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0768,x </font> <font color="#8080ff">; ADB5 BD 68 07 .h.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; ADB8 29 0F ).</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; ADBA A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">data_table_adc7</font>,<font color="#00ffff">y</font> <font color="#8080ff">; ADBB B9 C7 AD ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $075E,x </font> <font color="#8080ff">; ADBE 9D 5E 07 .^.</font>
<font color="#00ffff">code_adc1</font>:
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0768,x </font> <font color="#8080ff">; ADC1 FE 68 07 .h.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAD70</font> <font color="#8080ff">; ADC4 4C 70 AD Lp.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno, referenced by routines at $AD9E and $ADB5</font>
<font color="#00ffff">data_table_adc7</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; ADC7 00 01 02 03 04 03 02 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$FC</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; ADCF 00 FF FE FD FC FD FE FF ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; ADD7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; ADDF 00 .</font>
<font color="#00ffff">LADE0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; ADE0 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$94</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$30</font> <font color="#8080ff">; ADE8 02 44 05 06 94 05 02 30 .D.....0</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; ADF0 0A 02 68 0A 02 28 21 04 ..h..(!.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$68</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; ADF8 68 21 04 04 25 06 84 25 h!..%..%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AE00 06 04 45 10 5C 45 10 04 ..E.\E..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AE08 55 06 2C 55 04 64 55 04 U.,U.dU.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$84</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$09</font> <font color="#8080ff">; AE10 84 55 06 FD 04 FF 84 09 .U......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; AE18 04 1C 24 03 FD 04 01 0C ..$.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; AE20 06 04 78 22 03 FE 5F 9C ..x".._.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$21</font> <font color="#8080ff">; AE28 FD 00 04 0C 21 09 8C 21 ....!..!</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; AE30 09 30 41 05 68 41 05 FE .0A.hA..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$6B</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AE38 C9 9C 34 0C 04 6B 0C 04 ..4..k..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; AE40 FE DA 9C 44 02 10 5A 02 ...D..Z.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; AE48 10 FE B3 9C ....</font>
<font color="#00ffff">LAE4C</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font> <font color="#8080ff">; AE4C 04 02 01 98 02 01 04 22 ......."</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$84</font> <font color="#8080ff">; AE54 01 98 22 01 18 34 01 84 .."..4..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$34</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; AE5C 34 01 04 42 01 98 42 01 4..B..B.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; AE64 04 52 01 38 52 01 64 52 .R.8R.dR</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AE6C 01 98 52 01 FF ..R..</font>
<font color="#00ffff">LAE71</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AE71 22 00 C2 00 26 00 C6 00 "...&...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CA</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AE79 48 00 A8 00 2A 00 CA 00 H...*...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AE81 2C 00 6C 00 8C 00 CC 00 ,.l.....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; AE89 FF .</font>
<font color="#00ffff">LAE8A</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AE8A 03 00 00 01 7C 01 01 00 ....|...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$AF</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$0F</font> <font color="#8080ff">; AE92 04 0C AF 10 86 00 01 0F ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; AE9A FF .</font>
<font color="#00ffff">LAE9B</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$36</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$A9</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$8D</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$07</font> <font color="#8080ff">; AE9B 20 36 80 A9 C0 8D 70 07 6....p.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $60 </font> <font color="#8080ff">; AEA3 60 `</font>
<font color="#00ffff">LAEA4</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; AEA4 18 08 38 20 00 48 30 18 ..8 .H0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$28</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; AEAC 28 10 10 (..</font>
<font color="#8080ff">; letters for level07, spellbound (not ASCII or screencodes though)</font>
<font color="#00ffff">epyx_jumpman</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$29</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$11</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; AEAF 40 29 21 11 19 11 09 01 @)!.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$49</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$31</font> <font color="#8080ff">; AEB7 49 41 39 19 31 IA9.1</font>
<font color="#00ffff">LAEBC</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; AEBC 03 03 03 03 03 C3 C3 7E .......~</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$7E</font> <font color="#8080ff">; AEC4 C3 C3 C3 C3 C3 C3 C3 7E .......~</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$E7</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$DB</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AECC C3 C3 E7 FF DB C3 C3 C3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font> <font color="#8080ff">; AED4 FE C3 C3 C3 FE C0 C0 C0 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AEDC 18 3C 66 C3 FF C3 C3 C3 .<f.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$E3</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$DB</font>,<font color="#ff6060">$CF</font>,<font color="#ff6060">$C7</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AEE4 C3 C3 E3 F3 DB CF C7 C3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$F8</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; AEEC FF C0 C0 C0 F8 C0 C0 FF ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; AEF4 C3 66 3C 18 18 18 18 18 .f<.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$C3</font>,<font color="#ff6060">$C3</font> <font color="#8080ff">; AEFC C3 C3 66 3C 3C 66 C3 C3 ..f<<f..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AF04 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $40 </font> <font color="#8080ff">; AF0C 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; AF0D A0 20 . </font>
<font color="#00ff00">rti</font> <font color="#8080ff">; AF0F 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; looks almost like code but it's bogus</font>
<font color="#00ffff">data_af10</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$E0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AF10 E0 00 38 20 30 08 30 04 ..8 0.0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; AF18 0A 0A 0A 04 ....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAF1C</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; AF1C AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR2</font> <font color="#8080ff">; AF1F 8D C2 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AF22 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAF23</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $B2 </font> <font color="#8080ff">; AF23 A5 B2 ..</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; AF25 4A J</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; AF26 AA .</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">LAEA4</font>,<font color="#00ffff">x</font> <font color="#8080ff">; AF27 BC A4 AE ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; AF2A C8 .</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; AF2B AE 71 07 .q.</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; AF2E 98 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0773,x </font> <font color="#8080ff">; AF2F 9D 73 07 .s.</font>
<font color="#00ff00">dey</font> <font color="#8080ff">; AF32 88 .</font>
<font color="#00ff00">ldx</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF33 AE 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; AF36 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0772 </font> <font color="#8080ff">; AF38 8D 72 07 .r.</font>
<font color="#00ffff">LAF3B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">LAEBC</font>,<font color="#00ffff">y</font> <font color="#8080ff">; AF3B B9 BC AE ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $2E00,x </font> <font color="#8080ff">; AF3E 9D 00 2E ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; AF41 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; AF42 C8 .</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $0772 </font> <font color="#8080ff">; AF43 CE 72 07 .r.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAF3B</font> <font color="#8080ff">; AF46 D0 F3 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; AF48 EE 71 07 .q.</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; AF4B 38 8</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF4C AD 70 07 .p.</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; AF4F E9 0A ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF51 8D 70 07 .p.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; AF54 EE 6C 06 .l.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AF57 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; called at end of Spellbound, adds up letter bonus</font>
<font color="#00ffff">level07_letters</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_num_bombs</font> <font color="#8080ff">; AF58 AD 8A 07 ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">l07_got_all</font> <font color="#8080ff">; AF5B F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AF5D 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; got all the bombs</font>
<font color="#00ffff">l07_got_all</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; AF5E A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; AF60 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; AF63 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">playing_level</font> <font color="#8080ff">; AF65 8D 27 06 .'.</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0C</font> <font color="#8080ff">; AF68 A2 0C ..</font>
<font color="#00ff00">stx</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; AF6A 8E 6D 06 .m.</font>
<font color="#00ffff">LAF6D</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF6D AD 70 07 .p.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; AF70 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$0A</font> <font color="#8080ff">; AF71 69 0A i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF73 8D 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0772,x </font> <font color="#8080ff">; AF76 BD 72 07 .r.</font>
<font color="#00ff00">cmp</font> <font color="#00ffff">epyx_jumpman</font>,<font color="#00ffff">x</font> <font color="#8080ff">; AF79 DD AF AE ...</font>
<font color="#00ff00">beq</font> <font color="#00ffff">bonus_250_pts</font> <font color="#8080ff">; AF7C F0 18 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; AF7E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; AF80 8D 81 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAF92</font> <font color="#8080ff">; AF83 4C 92 AF L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LAF86</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; AF86 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; AF88 8D 1A 06 ...</font>
<font color="#00ffff">LAF8B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; AF8B AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; AF8E C9 20 . </font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAF8B</font> <font color="#8080ff">; AF90 D0 F9 ..</font>
<font color="#00ffff">LAF92</font>: <font color="#00ff00">dex</font> <font color="#8080ff">; AF92 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAF6D</font> <font color="#8080ff">; AF93 D0 D8 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; AF95 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; per letter</font>
<font color="#00ffff">bonus_250_pts</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; AF96 AD 70 07 .p.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; AF99 8D 86 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$86</font> <font color="#8080ff">; AF9C A9 86 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; AF9E 8D 81 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; AFA1 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font> <font color="#8080ff">; AFA2 AD 00 07 ...</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$FA</font> <font color="#8080ff">; AFA5 69 FA i.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font> <font color="#8080ff">; AFA7 8D 00 07 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LAFB4</font> <font color="#8080ff">; AFAA 90 08 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; AFAC EE 01 07 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LAFB4</font> <font color="#8080ff">; AFAF D0 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; AFB1 EE 02 07 ...</font>
<font color="#00ffff">LAFB4</font>: <font color="#00ff00">txa</font> <font color="#8080ff">; AFB4 8A .</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; AFB5 48 H</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">update_score_display_jv</font> <font color="#8080ff">; AFB6 20 0C 80 ..</font>
<font color="#8080ff">; play sfx_letter_bonus</font>
<font color="#00ffff">cue_letter_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$CB</font> <font color="#8080ff">; AFB9 A9 CB ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; AFBB 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$AF</font> <font color="#8080ff">; AFBE A9 AF ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; AFC0 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; AFC3 20 06 80 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; AFC6 68 h</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; AFC7 AA .</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LAF86</font> <font color="#8080ff">; AFC8 4C 86 AF L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; played once per correct letter at end of level07 (spellbound)</font>
<font color="#00ffff">sfx_letter_bonus</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFCB 01 A5 00 18 04 F3 04 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFD3 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFDB 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFE3 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFEB 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFF3 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; AFFB 00 00 00 00 00 .....</font>
<font color="#8080ff">; referenced by routine at $B0C4</font>
<font color="#00ffff">map_b000</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$07</font> <font color="#8080ff">; B000 FE 33 9C FD 04 00 04 07 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$8C</font> <font color="#8080ff">; B008 06 24 07 02 6C 05 04 8C .$..l...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; B010 05 04 28 18 04 48 15 06 ..(..H..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; B018 7C 15 04 20 25 07 68 25 |.. %.h%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$3B</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$34</font> <font color="#8080ff">; B020 04 04 3B 05 28 3B 01 34 ..;.(;.4</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3B</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B028 3B 04 5C 45 08 8C 4B 02 ;.\E..K.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$4D</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; B030 04 55 06 38 4D 04 04 55 .U.8M..U</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$58</font> <font color="#8080ff">; B038 06 54 55 12 FD 04 FF 58 .TU....X</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B040 0A 05 1C 54 07 FD 04 01 ...T....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font> <font color="#8080ff">; B048 2C 08 06 3C 26 04 FE 5F ,..<&.._</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; B050 9C FD 00 04 0C 03 0E 3C .......<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$37</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; B058 37 05 8C 35 05 FE C9 9C 7..5....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1A</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$5E</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$9A</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; B060 1A 0A 06 5E 18 09 9A 08 ...^....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0B</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$83</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$13</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; B068 0B FE DA 9C 83 04 13 FE ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; B070 49 9C I.</font>
<font color="#00ffff">LB072</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $04 </font> <font color="#8080ff">; B072 04 .</font>
<font color="#00ffff">LB073</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B073 02 01 24 02 01 44 02 01 ..$..D..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$78</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$12</font> <font color="#8080ff">; B07B 78 02 01 98 02 01 3C 12 x.....<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; B083 01 5C 12 01 7C 12 01 24 .\..|..$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B08B 22 01 78 22 01 04 38 01 ".x"..8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$46</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; B093 1C 46 01 78 42 01 04 52 .F.xB..R</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B09B 01 58 52 01 98 52 01 .XR..R.</font>
<font color="#00ffff">LB0A2</font>: .<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; B0A2 FF .</font>
<font color="#00ffff">LB0A3</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B0A3 22 00 42 00 62 00 A2 00 ".B.b...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B0AB C2 00 64 00 84 00 A4 00 ..d.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$46</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$4A</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B0B3 46 00 A6 00 28 00 4A 00 F...(.J.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$AA</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B0BB AA 00 2C 00 8C 00 CC 00 ..,.....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; B0C3 FF .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB0C4</font>: <font color="#00ff00">jsr</font> <font color="#00ffff">L8036</font> <font color="#8080ff">; B0C4 20 36 80 6.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; B0C7 A9 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B0C9 85 59 .Y</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; B0CB 20 1E 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B0CE A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B0D0 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B0</font> <font color="#8080ff">; B0D2 A9 B0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B0D4 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; B0D6 20 00 80 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B0D9 A2 07 ..</font>
<font color="#00ffff">LB0DB</font>: <font color="#00ff00">lda</font> <font color="#00ffff">LB119</font>,<font color="#00ffff">x</font> <font color="#8080ff">; B0DB BD 19 B1 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $08FF,x </font> <font color="#8080ff">; B0DE 9D FF 08 ...</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; B0E1 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB0DB</font> <font color="#8080ff">; B0E2 D0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; B0E4 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; B0E6 85 AA ..</font>
<font color="#00ffff">LB0E8</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; B0E8 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; B0EB 29 0F ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; B0ED 85 AB ..</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; B0EF AA .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0770,x </font> <font color="#8080ff">; B0F0 BD 70 07 .p.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB0E8</font> <font color="#8080ff">; B0F3 D0 F3 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0770,x </font> <font color="#8080ff">; B0F5 FE 70 07 .p.</font>
<font color="#00ff00">txa</font> <font color="#8080ff">; B0F8 8A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; B0F9 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B0FA 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $AB </font> <font color="#8080ff">; B0FB 65 AB e.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; B0FD A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LB072</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B0FE B9 72 B0 .r.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0903 </font> <font color="#8080ff">; B101 8D 03 09 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LB073</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B104 B9 73 B0 .s.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0904 </font> <font color="#8080ff">; B107 8D 04 09 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B10A A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B10C 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; B10E A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B110 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; B112 20 00 80 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; B115 C6 AA ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB0E8</font> <font color="#8080ff">; B117 D0 CF ..</font>
<font color="#00ffff">LB119</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B119 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet</font>
<font color="#00ffff">map_b11a</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B11A FE B3 9C 00 00 01 FF .......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB121</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; B121 A9 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B123 85 59 .Y</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D9</font> <font color="#8080ff">; B125 A9 D9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B127 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; B129 A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B12B 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; B12D 20 00 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; B130 A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B132 85 59 .Y</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D9</font> <font color="#8080ff">; B134 A9 D9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B136 85 C0 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; B138 20 00 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D9</font> <font color="#8080ff">; B13B A9 D9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B13D 85 C0 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B13F 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB140</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; B140 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB146</font> <font color="#8080ff">; B143 D0 01 ..</font>
<font color="#00ffff">LB145</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B145 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB146</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B146 AD 7E 06 .~.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$34</font> <font color="#8080ff">; B149 C9 34 .4</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB145</font> <font color="#8080ff">; B14B 90 F8 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C9</font> <font color="#8080ff">; B14D C9 C9 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB145</font> <font color="#8080ff">; B14F B0 F4 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; B151 A9 0B ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $97 </font> <font color="#8080ff">; B153 85 97 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B155 AD 7E 06 .~.</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; B158 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$33</font> <font color="#8080ff">; B159 E9 33 .3</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; B15B 4A J</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; B15C 4A J</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $91 </font> <font color="#8080ff">; B15D 85 91 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; B15F AD 83 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C3</font> <font color="#8080ff">; B162 C9 C3 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB145</font> <font color="#8080ff">; B164 B0 DF ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LB1D2</font> <font color="#8080ff">; B166 20 D2 B1 ..</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; B169 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$26</font> <font color="#8080ff">; B16A E9 26 .&</font>
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; B16C 4A J</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $92 </font> <font color="#8080ff">; B16D 85 92 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; B16F A9 28 .(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $90 </font> <font color="#8080ff">; B171 85 90 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B173 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B175 85 93 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; B177 A2 08 ..</font>
<font color="#00ffff">LB179</font>: <font color="#00ff00">lsr</font> <font color="#ff40ff"> $90 </font> <font color="#8080ff">; B179 46 90 F.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB180</font> <font color="#8080ff">; B17B 90 03 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B17D 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $92 </font> <font color="#8080ff">; B17E 65 92 e.</font>
<font color="#00ffff">LB180</font>: <font color="#00ff00">ror</font> <font color="#00ffff">a</font> <font color="#8080ff">; B180 6A j</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B181 66 93 f.</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; B183 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB179</font> <font color="#8080ff">; B184 D0 F3 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B186 85 94 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B188 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B189 A5 93 ..</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $91 </font> <font color="#8080ff">; B18B 65 91 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B18D 85 93 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $95 </font> <font color="#8080ff">; B18F 85 95 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B191 A5 94 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; B193 69 10 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B195 85 94 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B197 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B198 A5 94 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; B19A 69 20 i </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $96 </font> <font color="#8080ff">; B19C 85 96 ..</font>
<font color="#00ffff">LB19E</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B19E A2 04 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B1A0 A0 00 ..</font>
<font color="#00ffff">LB1A2</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> ($93),y </font> <font color="#8080ff">; B1A2 B1 93 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> ($95),y </font> <font color="#8080ff">; B1A4 91 95 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; B1A6 C8 .</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; B1A7 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB1A2</font> <font color="#8080ff">; B1A8 D0 F8 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B1AA 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B1AB A5 93 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; B1AD 69 28 i(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B1AF 85 93 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB1B5</font> <font color="#8080ff">; B1B1 90 02 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B1B3 E6 94 ..</font>
<font color="#00ffff">LB1B5</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; B1B5 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $95 </font> <font color="#8080ff">; B1B6 A5 95 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; B1B8 69 28 i(</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $95 </font> <font color="#8080ff">; B1BA 85 95 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB1C0</font> <font color="#8080ff">; B1BC 90 02 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $96 </font> <font color="#8080ff">; B1BE E6 96 ..</font>
<font color="#00ffff">LB1C0</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $93 </font> <font color="#8080ff">; B1C0 A5 93 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C0</font> <font color="#8080ff">; B1C2 C9 C0 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB1CD</font> <font color="#8080ff">; B1C4 D0 07 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $94 </font> <font color="#8080ff">; B1C6 A5 94 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$1D</font> <font color="#8080ff">; B1C8 C9 1D ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB1CD</font> <font color="#8080ff">; B1CA D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B1CC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB1CD</font>: <font color="#00ff00">dec</font> <font color="#ff40ff"> $97 </font> <font color="#8080ff">; B1CD C6 97 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB19E</font> <font color="#8080ff">; B1CF D0 CD ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B1D1 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB1D2</font>: <font color="#00ff00">cmp</font> <font color="#ff6060">#$26</font> <font color="#8080ff">; B1D2 C9 26 .&</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB1DE</font> <font color="#8080ff">; B1D4 B0 08 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B1D6 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B1D7 69 02 i.</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $97 </font> <font color="#8080ff">; B1D9 C6 97 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LB1D2</font> <font color="#8080ff">; B1DB 4C D2 B1 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB1DE</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B1DE 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet</font>
<font color="#00ffff">data_table_b1df</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; B1DF 00 .</font>
<font color="#00ffff">LB1E0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; B1E0 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; B1E8 06 38 05 08 7C 05 06 24 .8..|..$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; B1F0 15 06 64 15 0E 04 2D 06 ..d...-.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$38</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; B1F8 38 35 0C 04 45 06 30 45 85..E.0E</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; B200 08 88 3C 05 04 55 08 38 ..<..U.8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B208 55 06 68 55 0D FD 04 01 U.hU....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$2E</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; B210 1C 2E 07 FD 04 FF 64 45 ......dE</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; B218 09 FE 5F 9C FD 00 04 0C .._.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$0B</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; B220 01 0B 0C 41 05 40 01 05 ...A.@..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$31</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font> <font color="#8080ff">; B228 40 31 05 8C 01 15 FE DA @1......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; B230 9C 66 30 04 FE B3 9C .f0....</font>
<font color="#00ffff">LB237</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B237 04 02 01 38 02 01 7C 02 ...8..|.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; B23F 01 38 12 01 64 12 01 98 .8..d...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B247 12 01 04 22 01 98 39 01 ..."..9.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$58</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; B24F 58 47 01 04 52 01 38 52 XG..R.8R</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B257 01 98 52 01 FF ..R..</font>
<font color="#00ffff">LB25C</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$64</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B25C 22 00 62 00 A2 00 64 00 ".b...d.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$84</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B264 84 00 C4 00 26 00 C8 00 ....&...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8A</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B26C 8A 00 2C 00 6C 00 CC 00 ..,.l...</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; B274 FF .</font>
<font color="#00ffff">LB275</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$B2</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$56</font> <font color="#8080ff">; B275 03 A8 B2 0A A4 20 01 56 ..... .V</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; B27D FF .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB27E</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; B27E AD F5 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; B281 8D 6C 06 .l.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB287</font> <font color="#8080ff">; B284 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B286 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB287</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0760 </font> <font color="#8080ff">; B287 EE 60 07 .`.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0760 </font> <font color="#8080ff">; B28A AD 60 07 .`.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$7F</font> <font color="#8080ff">; B28D 29 7F ).</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB292</font> <font color="#8080ff">; B28F F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B291 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB292</font>: <font color="#00ff00">inc</font> <font color="#ff40ff"> $0761 </font> <font color="#8080ff">; B292 EE 61 07 .a.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0761 </font> <font color="#8080ff">; B295 AD 61 07 .a.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B298 29 07 ).</font>
<font color="#00ff00">tax</font> <font color="#8080ff">; B29A AA .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LB2D0</font>,<font color="#00ffff">x</font> <font color="#8080ff">; B29B BD D0 B2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B29E 8D 80 06 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">LB2D8</font>,<font color="#00ffff">x</font> <font color="#8080ff">; B2A1 BD D8 B2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B2A4 8D 85 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B2A7 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet</font>
<font color="#00ffff">data_table_b2a8</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B2A8 00 00 00 18 18 18 18 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; B2B0 00 00 00 00 3C 24 24 24 ....<$$$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$24</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; B2B8 24 3C 00 00 00 7E 42 42 $<...~BB</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$42</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$7E</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$81</font> <font color="#8080ff">; B2C0 42 42 42 42 7E 00 FF 81 BBBB~...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B2C8 81 81 81 81 81 81 81 FF ........</font>
<font color="#00ffff">LB2D0</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$A4</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$82</font> <font color="#8080ff">; B2D0 A4 4C 52 70 86 86 A4 82 .LRp....</font>
<font color="#00ffff">LB2D8</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$C0</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$68</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; B2D8 20 20 98 C0 B4 80 68 40 ....h@</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB2E0</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0619 </font> <font color="#8080ff">; B2E0 AD 19 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; B2E3 29 0F ).</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB2F2</font> <font color="#8080ff">; B2E5 D0 0B ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B2E7 AD 8A 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B2EA 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B2EC 8D 8A 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B2EF EE 8A 06 ...</font>
<font color="#00ffff">LB2F2</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; B2F2 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR2</font> <font color="#8080ff">; B2F5 8D C2 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B2F8 A9 00 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8F79</font> <font color="#8080ff">; B2FA 4C 79 8F Ly.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB2FD</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B2FD AD 80 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B300 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B303 AD 85 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; B306 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$19</font> <font color="#8080ff">; B309 A9 19 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; B30B 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B3</font> <font color="#8080ff">; B30E A9 B3 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B310 8D 3D 06 .=.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B313 A9 07 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; B315 20 06 80 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B318 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; referenced by routine at $B2FD</font>
<font color="#00ffff">sxf_b319</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$86</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B319 01 86 00 0A 20 00 00 .... ..</font>
<font color="#00ffff">LB320</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; B320 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$1C</font> <font color="#8080ff">; B328 08 2C 07 15 84 05 06 1C .,......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$15</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$15</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$07</font> <font color="#8080ff">; B330 15 03 48 15 0D 04 25 07 ..H...%.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$35</font> <font color="#8080ff">; B338 30 2F 0D 04 35 06 74 35 0/..5.t5</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$28</font> <font color="#8080ff">; B340 0A 04 45 06 04 55 06 28 ..E..U.(</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; B348 55 06 4C 55 06 84 50 06 U.LU..P.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; B350 FD 04 FF 1C 34 05 70 55 ....4.pU</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$24</font> <font color="#8080ff">; B358 05 80 06 02 FD 04 01 24 .......$</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; B360 06 02 FE 5F 9C FD 00 04 ..._....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; B368 0C 01 09 0C 41 05 30 03 ....A.0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0B</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$2B</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; B370 0B 54 2B 0A 8C 01 0D FE .T+.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C9</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B378 C9 9C 04 38 02 1A 38 02 ...8..8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$33</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$DA</font> <font color="#8080ff">; B380 33 32 07 74 38 05 FE DA 32.t8...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$6A</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; B388 9C 6A 12 0F FE B3 9C .j.....</font>
<font color="#00ffff">LB38F</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B38F 04 02 01 3A 02 01 5A 02 ...:..Z.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$7A</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; B397 01 7A 02 01 98 02 01 20 .z..... </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B39F 12 01 5A 12 01 04 22 01 ..Z...".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3A</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$32</font> <font color="#8080ff">; B3A7 3A 22 01 04 32 01 78 32 :"..2.x2</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; B3AF 01 98 32 01 04 52 01 38 ..2..R.8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B3B7 52 01 60 52 01 FF R.`R..</font>
<font color="#00ffff">LB3BD</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; B3BD 22 10 62 20 82 30 A2 40 ".b .0.@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$C2</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$80</font> <font color="#8080ff">; B3C5 C2 50 44 60 84 70 26 80 .PD`.p&.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$66</font>,<font color="#ff6060">$90</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$B0</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$C0</font> <font color="#8080ff">; B3CD 66 90 28 A0 A8 B0 C8 C0 f.(.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2C</font>,<font color="#ff6060">$D0</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$E0</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B3D5 2C D0 6C E0 8C F0 FF ,.l....</font>
<font color="#00ffff">LB3DC</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FC</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$B4</font> <font color="#8080ff">; B3DC 00 00 FC B3 06 B4 10 B4 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$B4</font> <font color="#8080ff">; B3E4 06 B4 10 B4 1A B4 24 B4 ......$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2E</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$2E</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$B4</font> <font color="#8080ff">; B3EC 2E B4 38 B4 2E B4 38 B4 ..8...8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FC</font>,<font color="#ff6060">$B3</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$B4</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$B4</font> <font color="#8080ff">; B3F4 FC B3 24 B4 1A B4 42 B4 ..$...B.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$15</font> <font color="#8080ff">; B3FC FE 49 9C FD 04 00 48 15 .I....H.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B404 03 FF FE 49 9C FD 04 00 ...I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$46</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; B40C 46 07 03 FF FE 49 9C FD F....I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6A</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; B414 04 00 6A 07 03 FF FE 49 ..j....I</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B41C 9C FD 04 00 0A 35 03 FF .....5..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$2F</font> <font color="#8080ff">; B424 FE 49 9C FD 04 00 3E 2F .I....>/</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B42C 04 FF FE 49 9C FD 04 00 ...I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; B434 7C 35 04 FF FE 89 9C FD |5......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$3F</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$89</font> <font color="#8080ff">; B43C 00 04 54 3F 04 FF FE 89 ..T?....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$1D</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B444 9C FD 00 04 8C 1D 04 FF ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB44C</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B44C A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; B44E 8D 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B451 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B453 8D 71 07 .q.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B456 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB457</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; B457 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B45A C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB46A</font> <font color="#8080ff">; B45C D0 0C ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B45E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; B460 8D 70 07 .p.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B463 8D 71 07 .q.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B466 8D 81 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B469 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB46A</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; B46A AD 22 06 .".</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB470</font> <font color="#8080ff">; B46D D0 01 ..</font>
<font color="#00ffff">LB46F</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B46F 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB470</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; B470 AD 70 07 .p.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB46F</font> <font color="#8080ff">; B473 F0 FA ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; B475 C9 09 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB49F</font> <font color="#8080ff">; B477 F0 26 .&</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; B479 8D 6C 06 .l.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068A </font> <font color="#8080ff">; B47C 8D 8A 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; B47F EE 70 07 .p.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06DC </font> <font color="#8080ff">; B482 AD DC 06 ...</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B485 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; B486 69 30 i0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B488 8D 80 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $06DD </font> <font color="#8080ff">; B48B AD DD 06 ...</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; B48E 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B48F 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; B490 69 20 i </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B492 8D 85 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0770 </font> <font color="#8080ff">; B495 AD 70 07 .p.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; B498 C9 09 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB46F</font> <font color="#8080ff">; B49A 90 D3 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B49C EE 71 07 .q.</font>
<font color="#00ffff">LB49F</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B49F AD 71 07 .q.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB46F</font> <font color="#8080ff">; B4A2 F0 CB ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; B4A4 C9 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB4C1</font> <font color="#8080ff">; B4A6 F0 19 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B4A8 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B4A9 69 04 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4AB 8D 8B 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0771 </font> <font color="#8080ff">; B4AE EE 71 07 .q.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B4B1 AD 80 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B4B4 8D 81 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0685 </font> <font color="#8080ff">; B4B7 AD 85 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B4BA 8D 86 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; B4BD 8D 6D 06 .m.</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B4C0 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB4C1</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4C1 AD 8B 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B4C4 29 03 ).</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B4C6 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B4C7 69 04 i.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4C9 8D 8B 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $068B </font> <font color="#8080ff">; B4CC EE 8B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$07</font> <font color="#8080ff">; B4CF C9 07 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB4E2</font> <font color="#8080ff">; B4D1 D0 0F ..</font>
<font color="#00ffff">cue_woop_sound</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$64</font> <font color="#8080ff">; B4D3 A9 64 .d</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_tempo</font> <font color="#8080ff">; B4D5 8D 3E 06 .>.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B5</font> <font color="#8080ff">; B4D8 A9 B5 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_slot_timer</font> <font color="#8080ff">; B4DA 8D 3F 06 .?.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B4DD A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_lowprior_jv</font> <font color="#8080ff">; B4DF 20 03 80 ..</font>
<font color="#00ffff">LB4E2</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B4E2 A0 01 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B4E4 AD 81 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B4E7 CD 7E 06 .~.</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB4EE</font> <font color="#8080ff">; B4EA 90 02 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; B4EC A0 FF ..</font>
<font color="#00ffff">LB4EE</font>: <font color="#00ff00">sty</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B4EE 84 A0 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B4F0 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B4F1 65 A0 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B4F3 8D 81 06 ...</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B4F6 A0 01 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B4F8 AD 86 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; B4FB CD 83 06 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB502</font> <font color="#8080ff">; B4FE 90 02 ..</font>
<font color="#00ff00">ldy</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; B500 A0 FF ..</font>
<font color="#00ffff">LB502</font>: <font color="#00ff00">sty</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B502 84 A0 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B504 18 .</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A0 </font> <font color="#8080ff">; B505 65 A0 e.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0686 </font> <font color="#8080ff">; B507 8D 86 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B50A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno what this is for yet</font>
<font color="#00ffff">data_table_b50b</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$B5</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$56</font> <font color="#8080ff">; B50B 03 1C B5 08 00 00 01 56 .......V</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$B5</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$1A</font> <font color="#8080ff">; B513 04 1C B5 08 00 00 05 1A ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; B51B FF 00 00 18 18 24 24 18 .....$$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; B523 18 00 00 42 42 42 24 18 ...BBB$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; B52B 18 00 00 00 00 66 A5 18 .....f..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$18</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; B533 18 00 00 00 00 00 00 3C .......<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$DB</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B53B DB 00 00 24 18 18 24 00 ...$..$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$10</font> <font color="#8080ff">; B543 00 00 08 24 58 1A 24 10 ...$X.$.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$81</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; B54B 00 81 42 24 18 18 24 42 ..B$..$B</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$81</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$42</font> <font color="#8080ff">; B553 81 04 42 A4 18 18 25 42 ..B...%B</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$18</font> <font color="#8080ff">; B55B 20 00 00 18 18 24 24 18 ....$$.</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $18 </font> <font color="#8080ff">; B563 18 .</font>
<font color="#00ffff">sfx_woop</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B564 01 A2 00 F0 01 01 A4 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$DC</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C8</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B56C DC 01 01 A6 00 C8 02 01 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$A4</font>,<font color="#ff6060">$DC</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$F0</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B574 A4 DC 01 01 A2 F0 01 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB57C</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B57C A9 00 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8F76</font> <font color="#8080ff">; B57E 4C 76 8F Lv.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB581</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; B581 AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">PCOLR3</font> <font color="#8080ff">; B584 8D C3 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B587 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_8588</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B588 00 00 00 00 00 00 00 00 ........</font>
<font color="#00ffff">LB590</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; B590 FE 33 9C FD 04 00 04 05 .3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; B598 08 3C 05 0A 7C 05 08 04 .<..|...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$25</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; B5A0 25 26 04 43 26 04 55 06 %&.C&.U.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$84</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$43</font> <font color="#8080ff">; B5A8 3C 55 0A 84 55 06 04 43 <U..U..C</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$5F</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font> <font color="#8080ff">; B5B0 06 FE 5F 9C FD 00 04 0C .._.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$09</font> <font color="#8080ff">; B5B8 01 09 4C 01 09 8C 01 09 ..L.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$2A</font>,<font color="#ff6060">$1F</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$6A</font>,<font color="#ff6060">$1F</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$3F</font> <font color="#8080ff">; B5C0 2A 1F 09 6A 1F 09 0C 3F *..j...?</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$3F</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$8C</font>,<font color="#ff6060">$3F</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$FE</font> <font color="#8080ff">; B5C8 05 4C 3F 05 8C 3F 05 FE .L?..?..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$B3</font>,<font color="#ff6060">$9C</font> <font color="#8080ff">; B5D0 B3 9C ..</font>
<font color="#00ffff">LB5D2</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B5D2 04 02 01 20 02 01 3C 02 ... ..<.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; B5DA 01 60 02 01 7C 02 01 98 .`..|...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$01</font> <font color="#8080ff">; B5E2 02 01 04 22 01 98 22 01 ..."..".</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$36</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$36</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$52</font> <font color="#8080ff">; B5EA 3C 36 01 60 36 01 04 52 <6.`6..R</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$98</font> <font color="#8080ff">; B5F2 01 3C 52 01 60 52 01 98 .<R.`R..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B5FA 52 01 FF R..</font>
<font color="#00ffff">LB5FD</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$22</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$62</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$82</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B5FD 22 10 42 20 62 00 82 00 ".B b...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$A2</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$C2</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B605 A2 30 C2 40 26 00 C6 00 .0.@&...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$68</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B60D 68 00 88 00 2C 00 6C 00 h...,.l.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$8C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B615 8C 00 CC 00 FF .....</font>
<font color="#00ffff">LB61A</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$2E</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$B6</font> <font color="#8080ff">; B61A 00 00 24 B6 2E B6 3E B6 ..$...>.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4E</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B622 4E B6 FE 49 9C FD 04 00 N..I....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$78</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; B62A 78 43 02 FF FE 49 9C FD xC...I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B632 04 00 3C 25 02 FD 04 00 ..<%....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$1C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; B63A 1C 25 02 FF FE 49 9C FD .%...I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B642 04 00 7C 25 02 FD 04 00 ..|%....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$5C</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font>,<font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; B64A 5C 25 02 FF FE 49 9C FD \%...I..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$5C</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; B652 04 00 5C 43 02 FF ..\C..</font>
<font color="#00ffff">LB658</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$71</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; B658 00 71 B6 08 40 02 01 08 .q..@...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$03</font>,<font color="#ff6060">$71</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; B660 03 71 B6 08 14 40 02 08 .q...@..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$71</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$08</font> <font color="#8080ff">; B668 04 71 B6 08 00 80 03 08 .q......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FF</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$EF</font>,<font color="#ff6060">$3E</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$0E</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B670 FF 47 EF 3E 1E 1E 0E 02 .G.>....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$EE</font>,<font color="#ff6060">$3F</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B678 05 40 EE 3F 1E 1C 0C 02 .@.?....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$E0</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$0D</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B680 05 40 E0 38 1C 1E 0D 02 .@.8....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$EE</font>,<font color="#ff6060">$3F</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; B688 05 40 EE 3F 1E 1C 0C 02 .@.?....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $05 </font> <font color="#8080ff">; B690 05 .</font>
<font color="#00ffff">LB691</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$AD</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$D0</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; B691 AD 21 06 D0 01 60 .!...`</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B697 EE 7E 06 .~.</font>
<font color="#00ffff">LB69A</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B69A 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB69B</font>: <font color="#00ff00">lda</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; B69B AD 24 06 .$.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; B69E C9 09 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB6A9</font> <font color="#8080ff">; B6A0 B0 07 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; B6A2 AD 23 06 .#.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B6A5 C9 02 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB6BA</font> <font color="#8080ff">; B6A7 D0 11 ..</font>
<font color="#00ffff">LB6A9</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0768 </font> <font color="#8080ff">; B6A9 AD 68 07 .h.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB69A</font> <font color="#8080ff">; B6AC D0 EC ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0768 </font> <font color="#8080ff">; B6AE EE 68 07 .h.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B6B1 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; B6B3 8D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; B6B6 8D 00 D2 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B6B9 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB6BA</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $076F </font> <font color="#8080ff">; B6BA AD 6F 07 .o.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB6DC</font> <font color="#8080ff">; B6BD D0 1D ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$81</font> <font color="#8080ff">; B6BF A9 81 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; B6C1 8D 01 D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076C </font> <font color="#8080ff">; B6C4 8D 6C 07 .l.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B6C7 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; B6C9 8D 1B 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; B6CC A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076E </font> <font color="#8080ff">; B6CE 8D 6E 07 .n.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076F </font> <font color="#8080ff">; B6D1 8D 6F 07 .o.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; B6D4 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$3F</font> <font color="#8080ff">; B6D7 29 3F )?</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $076D </font> <font color="#8080ff">; B6D9 8D 6D 07 .m.</font>
<font color="#00ffff">LB6DC</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$10</font> <font color="#8080ff">; B6DC A9 10 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; B6DE 8D 00 D2 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; B6E1 AD 1B 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff40ff"> $076D </font> <font color="#8080ff">; B6E4 CD 6D 07 .m.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB702</font> <font color="#8080ff">; B6E7 D0 19 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $076E </font> <font color="#8080ff">; B6E9 AD 6E 07 .n.</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB6F7</font> <font color="#8080ff">; B6EC F0 09 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $076C </font> <font color="#8080ff">; B6EE EE 6C 07 .l.</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $076E </font> <font color="#8080ff">; B6F1 CE 6E 07 .n.</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LB6FD</font> <font color="#8080ff">; B6F4 4C FD B6 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB6F7</font>: <font color="#00ff00">dec</font> <font color="#ff40ff"> $076C </font> <font color="#8080ff">; B6F7 CE 6C 07 .l.</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $076F </font> <font color="#8080ff">; B6FA CE 6F 07 .o.</font>
<font color="#00ffff">LB6FD</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B6FD A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_2</font> <font color="#8080ff">; B6FF 8D 1B 06 ...</font>
<font color="#00ffff">LB702</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $076C </font> <font color="#8080ff">; B702 AD 6C 07 .l.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; B705 8D 01 D2 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B708 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB709</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; B709 AD F5 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B70C C9 01 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB71C</font> <font color="#8080ff">; B70E D0 0C ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0669 </font> <font color="#8080ff">; B710 EE 69 06 .i.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066C </font> <font color="#8080ff">; B713 EE 6C 06 .l.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $066D </font> <font color="#8080ff">; B716 EE 6D 06 .m.</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $06F5 </font> <font color="#8080ff">; B719 EE F5 06 ...</font>
<font color="#00ffff">LB71C</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0622 </font> <font color="#8080ff">; B71C AD 22 06 .".</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB722</font> <font color="#8080ff">; B71F D0 01 ..</font>
<font color="#00ffff">LB721</font>: <font color="#00ff00">rts</font> <font color="#8080ff">; B721 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB722</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$FF</font> <font color="#8080ff">; B722 A2 FF ..</font>
<font color="#00ffff">LB724</font>: <font color="#00ff00">inx</font> <font color="#8080ff">; B724 E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; B725 E0 01 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB724</font> <font color="#8080ff">; B727 F0 FB ..</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B729 E0 02 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB724</font> <font color="#8080ff">; B72B F0 F7 ..</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; B72D E0 05 ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LB721</font> <font color="#8080ff">; B72F F0 F0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $076C </font> <font color="#8080ff">; B731 AD 6C 07 .l.</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; B734 29 0F ).</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; B736 A8 .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B737 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; B738 BD 7D 06 .}.</font>
<font color="#00ff00">adc</font> <font color="#00ffff">wind_table_1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B73B 79 6B B7 yk.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; B73E 9D 7D 06 .}.</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B741 18 .</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0682,x </font> <font color="#8080ff">; B742 BD 82 06 ...</font>
<font color="#00ff00">adc</font> <font color="#00ffff">wind_table_2</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B745 79 71 B7 yq.</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; B748 C9 C6 ..</font>
<font color="#00ff00">bcs</font> <font color="#00ffff">LB75D</font> <font color="#8080ff">; B74A B0 11 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0682,x </font> <font color="#8080ff">; B74C 9D 82 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0687,x </font> <font color="#8080ff">; B74F BD 87 06 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; B752 29 03 ).</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0687,x </font> <font color="#8080ff">; B754 9D 87 06 ...</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $0687,x </font> <font color="#8080ff">; B757 FE 87 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LB724</font> <font color="#8080ff">; B75A 4C 24 B7 L$.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB75D</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; B75D A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D,x </font> <font color="#8080ff">; B75F 9D 7D 06 .}.</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; B762 AD 0A D2 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0682,x </font> <font color="#8080ff">; B765 9D 82 06 ...</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LB724</font> <font color="#8080ff">; B768 4C 24 B7 L$.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used in level11</font>
<font color="#00ffff">wind_table_1</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; B76B 01 02 03 03 03 03 ......</font>
<font color="#00ffff">wind_table_2</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B771 02 01 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B779 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B781 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B789 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B791 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B799 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7A1 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7A9 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7B1 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7B9 00 00 00 00 00 00 00 .......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; roll over the score if it's >= 1 million</font>
<font color="#00ffff">score_mod_1m</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B7C0 AD 02 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; B7C3 C9 0F ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">score_below_1m</font> <font color="#8080ff">; B7C5 90 27 .'</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B7C7 AD 01 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$42</font> <font color="#8080ff">; B7CA C9 42 .B</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">score_below_1m</font> <font color="#8080ff">; B7CC 90 20 . </font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font> <font color="#8080ff">; B7CE AD 00 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; B7D1 C9 40 .@</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">score_below_1m</font> <font color="#8080ff">; B7D3 90 19 ..</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; B7D5 38 8</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font> <font color="#8080ff">; B7D6 AD 00 07 ...</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; B7D9 E9 40 .@</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font> <font color="#8080ff">; B7DB 8D 00 07 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B7DE AD 01 07 ...</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$42</font> <font color="#8080ff">; B7E1 E9 42 .B</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B7E3 8D 01 07 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B7E6 AD 02 07 ...</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$0F</font> <font color="#8080ff">; B7E9 E9 0F ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B7EB 8D 02 07 ...</font>
<font color="#00ffff">score_below_1m</font>:
<font color="#00ff00">jmp</font> <font color="#00ffff">L8668</font> <font color="#8080ff">; B7EE 4C 68 86 Lh.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_b7f1</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7F1 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B7F9 00 00 00 00 00 00 00 .......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">end_of_level_bonus</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; B800 AD F6 06 ...</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; B803 0A .</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; B804 A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mul_25_table</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B805 B9 A7 B8 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A4 </font> <font color="#8080ff">; B808 85 A4 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">mul_25_table</font>+<font color="#ff6060">1</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B80A B9 A8 B8 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A5 </font> <font color="#8080ff">; B80D 85 A5 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">lives</font> <font color="#8080ff">; B80F AD 0A 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $A6 </font> <font color="#8080ff">; B812 85 A6 ..</font>
<font color="#00ff00">inc</font> <font color="#ff40ff"> $A6 </font> <font color="#8080ff">; B814 E6 A6 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $A4 </font> <font color="#8080ff">; B816 A5 A4 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D0 </font> <font color="#8080ff">; B818 85 D0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $A5 </font> <font color="#8080ff">; B81A A5 A5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D1 </font> <font color="#8080ff">; B81C 85 D1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B81E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; B820 8D 91 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D2 </font> <font color="#8080ff">; B823 85 D2 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B825 8D 92 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$E9</font> <font color="#8080ff">; B828 A9 E9 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D3 </font> <font color="#8080ff">; B82A 85 D3 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3D</font> <font color="#8080ff">; B82C A9 3D .=</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D4 </font> <font color="#8080ff">; B82E 85 D4 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">xxx_level_something_jv</font> <font color="#8080ff">; B830 20 09 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$78</font> <font color="#8080ff">; B833 A9 78 .x</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DE9 </font> <font color="#8080ff">; B835 8D E9 3D ..=</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L800F</font> <font color="#8080ff">; B838 20 0F 80 ..</font>
<font color="#00ffff">add_life_bonus</font>:
<font color="#00ff00">clc</font> <font color="#8080ff">; B83B 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font> <font color="#8080ff">; B83C AD 00 07 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A4 </font> <font color="#8080ff">; B83F 65 A4 e.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font> <font color="#8080ff">; B841 8D 00 07 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B844 AD 01 07 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A5 </font> <font color="#8080ff">; B847 65 A5 e.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">score</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B849 8D 01 07 ...</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB851</font> <font color="#8080ff">; B84C 90 03 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">score</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B84E EE 02 07 ...</font>
<font color="#00ffff">LB851</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; B851 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; B852 AD 91 07 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A4 </font> <font color="#8080ff">; B855 65 A4 e.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_time_bonus</font> <font color="#8080ff">; B857 8D 91 07 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B85A AD 92 07 ...</font>
<font color="#00ff00">adc</font> <font color="#ff40ff"> $A5 </font> <font color="#8080ff">; B85D 65 A5 e.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_time_bonus</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B85F 8D 92 07 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">update_score_display_jv</font> <font color="#8080ff">; B862 20 0C 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">L800F</font> <font color="#8080ff">; B865 20 0F 80 ..</font>
<font color="#8080ff">; play once per life</font>
<font color="#00ffff">play_life_bonus_sfx</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; B868 A9 96 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font> <font color="#8080ff">; B86A 8D 3C 06 .<.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$B8</font> <font color="#8080ff">; B86D A9 B8 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">sfx_ptr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B86F 8D 3D 06 .=.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_sfx_jv</font> <font color="#8080ff">; B872 20 06 80 ..</font>
<font color="#00ffff">LB875</font>: <font color="#00ff00">lda</font> <font color="#00ffff">sfx_slot_duration</font> <font color="#8080ff">; B875 AD 46 06 .F.</font>
<font color="#00ff00">ora</font> <font color="#ff40ff"> $0644 </font> <font color="#8080ff">; B878 0D 44 06 .D.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB875</font> <font color="#8080ff">; B87B D0 F8 ..</font>
<font color="#00ff00">dec</font> <font color="#ff40ff"> $A6 </font> <font color="#8080ff">; B87D C6 A6 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">add_life_bonus</font> <font color="#8080ff">; B87F D0 BA ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B881 8D 1A 06 ...</font>
<font color="#00ffff">LB884</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B884 AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; B887 C9 20 . </font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB884</font> <font color="#8080ff">; B889 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">randomizer_mode</font> <font color="#8080ff">; B88B AD F3 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB893</font> <font color="#8080ff">; B88E D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">L8DA0</font> <font color="#8080ff">; B890 4C A0 8D L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB893</font>: <font color="#00ff00">jmp</font> <font color="#00ffff">afterlife</font> <font color="#8080ff">; B893 4C 00 96 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; played when adding bonus per life at end of level</font>
<font color="#00ffff">sfx_add_life_bonus</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$E4</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; B896 01 E4 00 18 02 3C 02 79 .....<.y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; B89E 02 F3 02 01 A0 00 0A 14 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; B8A6 00 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; multiply by 25</font>
<font color="#00ffff">mul_25_table</font>:
.<font color="#ffff00">word</font> <font color="#ff6060">$0019</font>,<font color="#ff6060">$0032</font>,<font color="#ff6060">$004B</font>,<font color="#ff6060">$0064</font> <font color="#8080ff">; B8A7 19 00 32 00 4B 00 64 00 ..2.K.d.</font>
.<font color="#ffff00">word</font> <font color="#ff6060">$007D</font>,<font color="#ff6060">$0096</font>,<font color="#ff6060">$00AF</font>,<font color="#ff6060">$00C8</font> <font color="#8080ff">; B8AF 7D 00 96 00 AF 00 C8 00 }.......</font>
.<font color="#ffff00">word</font> <font color="#ff6060">$00E1</font>,<font color="#ff6060">$00FA</font>,<font color="#ff6060">$0113</font>,<font color="#ff6060">$012C</font> <font color="#8080ff">; B8B7 E1 00 FA 00 13 01 2C 01 ......,.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_b8bf</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8BF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8C7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8CF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8D7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8DF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8E7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8EF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8F7 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B8FF 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B907 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B90F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B917 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B91F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B927 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B92F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B937 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B93F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B947 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B94F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B957 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B95F 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; B967 00 00 00 00 ....</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; display all the levels, happens if left idle at the title screen</font>
<font color="#00ffff">demo_mode</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B96B A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B96D 8D 1A 06 ...</font>
<font color="#8080ff">; actually 64 jiffies, 1.067S ntsc, 1.28s pal</font>
<font color="#00ffff">wait_1_sec_2</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B970 AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$60</font> <font color="#8080ff">; B973 C9 60 .`</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wait_1_sec_2</font> <font color="#8080ff">; B975 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B977 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">FR1</font> <font color="#8080ff">; B979 85 E0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B97B A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; B97D 8D AB 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067D </font> <font color="#8080ff">; B980 8D 7D 06 .}.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0681 </font> <font color="#8080ff">; B983 8D 81 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; B986 8D 7E 06 .~.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0680 </font> <font color="#8080ff">; B989 8D 80 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$A0</font> <font color="#8080ff">; B98C A9 A0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B98E 85 E1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B990 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B992 85 E2 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; B994 20 1E 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">setup_gameboard_dlist_jv</font> <font color="#8080ff">; B997 20 15 80 ..</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; B99A EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; B99B EA .</font>
<font color="#00ff00">nop</font> <font color="#8080ff">; B99C EA .</font>
<font color="#00ffff">LB99D</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$16</font> <font color="#8080ff">; B99D A0 16 ..</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">FR1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; B99F B1 E0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; B9A1 85 C0 ..</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; B9A3 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">FR1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; B9A4 B1 E0 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B9A6 85 C1 ..</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B9A8 A4 E2 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B9AA A2 00 ..</font>
<font color="#00ffff">LB9AC</font>: <font color="#00ff00">lda</font> <font color="#00ffff">level_names</font>,<font color="#00ffff">y</font> <font color="#8080ff">; B9AC B9 00 BB ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; B9AF 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; B9B0 E9 20 . </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DE8,x </font> <font color="#8080ff">; B9B2 9D E8 3D ..=</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; B9B5 C8 .</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; B9B6 E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; B9B7 E0 14 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB9AC</font> <font color="#8080ff">; B9B9 D0 F1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">LB9EC</font> <font color="#8080ff">; B9BB 20 EC B9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; B9BE A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B9C0 8D 1A 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; B9C3 20 00 80 ..</font>
<font color="#00ffff">LB9C6</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; B9C6 AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; B9C9 C9 40 .@</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB9C6</font> <font color="#8080ff">; B9CB D0 F9 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; B9CD 20 1E 80 ..</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; B9D0 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B9D1 A5 E2 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; B9D3 69 14 i.</font>
<font color="#00ff00">sta</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">2</font> <font color="#8080ff">; B9D5 85 E2 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$F0</font> <font color="#8080ff">; B9D7 C9 F0 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LB9DE</font> <font color="#8080ff">; B9D9 D0 03 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">reinit_game</font> <font color="#8080ff">; B9DB 4C 0C 90 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB9DE</font>: <font color="#00ff00">clc</font> <font color="#8080ff">; B9DE 18 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">FR1</font> <font color="#8080ff">; B9DF A5 E0 ..</font>
<font color="#00ff00">adc</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; B9E1 69 40 i@</font>
<font color="#00ff00">sta</font> <font color="#00ffff">FR1</font> <font color="#8080ff">; B9E3 85 E0 ..</font>
<font color="#00ff00">bcc</font> <font color="#00ffff">LB99D</font> <font color="#8080ff">; B9E5 90 B6 ..</font>
<font color="#00ff00">inc</font> <font color="#00ffff">FR1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; B9E7 E6 E1 ..</font>
<font color="#00ff00">jmp</font> <font color="#00ffff">LB99D</font> <font color="#8080ff">; B9E9 4C 9D B9 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LB9EC</font>: <font color="#00ff00">ldy</font> <font color="#ff6060">#$2F</font> <font color="#8080ff">; B9EC A0 2F ./</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">FR1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; B9EE B1 E0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; B9F0 8D C4 02 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; B9F3 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">FR1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; B9F4 B1 E0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; B9F6 8D C5 02 ...</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; B9F9 C8 .</font>
<font color="#00ff00">lda</font> (<font color="#00ffff">FR1</font>),<font color="#00ffff">y</font> <font color="#8080ff">; B9FA B1 E0 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; B9FC 8D C6 02 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; B9FF 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LBA00</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; BA00 A9 40 .@</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">NMIEN</font> <font color="#8080ff">; BA02 8D 0E D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA05 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR3</font> <font color="#8080ff">; BA07 8D C7 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; BA0A 8D C4 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; BA0D 8D C5 02 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; BA10 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; BA13 A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BA15 85 59 .Y</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; BA17 20 1E 80 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_map0</font> <font color="#8080ff">; BA1A AD D6 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; BA1D 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_map0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BA1F AD D7 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BA22 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; BA24 20 00 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$30</font> <font color="#8080ff">; BA27 A9 30 .0</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">SAVMSC</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BA29 85 59 .Y</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA2B A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; BA2D 85 AA ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; BA2F 8D AB 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR4</font> <font color="#8080ff">; BA32 8D C8 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">setup_gameboard_dlist_jv</font> <font color="#8080ff">; BA35 20 15 80 ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; BA38 AD F6 06 ...</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; BA3B A8 .</font>
<font color="#00ff00">lda</font> <font color="#00ffff">level_name_hscrol_table</font>,<font color="#00ffff">y</font> <font color="#8080ff">; BA3C B9 F0 BB ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">HSCROL</font> <font color="#8080ff">; BA3F 8D 04 D4 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$16</font> <font color="#8080ff">; BA42 A9 16 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $085E </font> <font color="#8080ff">; BA44 8D 5E 08 .^.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $08DF </font> <font color="#8080ff">; BA47 8D DF 08 ...</font>
<font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; BA4A AD F6 06 ...</font>
<font color="#00ff00">pha</font> <font color="#8080ff">; BA4D 48 H</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA4E 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA4F 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA50 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA51 0A .</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; BA52 85 C0 ..</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; BA54 68 h</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA55 0A .</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; BA56 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; BA57 18 .</font>
<font color="#00ff00">adc</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; BA58 65 C0 e.</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; BA5A A8 .</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA5B A2 00 ..</font>
<font color="#8080ff">; copy level name into screen RAM</font>
<font color="#00ffff">show_level_name</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">level_names</font>,<font color="#00ffff">y</font> <font color="#8080ff">; BA5D B9 00 BB ...</font>
<font color="#00ff00">sec</font> <font color="#8080ff">; BA60 38 8</font>
<font color="#00ff00">sbc</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; BA61 E9 20 . </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DEA,x </font> <font color="#8080ff">; BA63 9D EA 3D ..=</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; BA66 E8 .</font>
<font color="#00ff00">iny</font> <font color="#8080ff">; BA67 C8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$14</font> <font color="#8080ff">; BA68 E0 14 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">show_level_name</font> <font color="#8080ff">; BA6A D0 F1 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; BA6C A9 08 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; BA6E 20 18 80 ..</font>
<font color="#8080ff">; level is already drawn with all color regs set to black. for each color reg, wait 1 sec before turning it visible. this syncs up with the music because the music was written to sync with this actually</font>
<font color="#00ffff">sync_to_music</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA71 20 9E BA ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_offs_46</font>+<font color="#ff6060">3</font> <font color="#8080ff">; BA74 AD F1 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; BA77 8D C6 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA7A 20 9E BA ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_offs_46</font>+<font color="#ff6060">2</font> <font color="#8080ff">; BA7D AD F0 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR1</font> <font color="#8080ff">; BA80 8D C5 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA83 20 9E BA ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_offs_46</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BA86 AD EF 07 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; BA89 8D C4 02 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA8C 20 9E BA ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA8F A9 00 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA91 20 9E BA ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; BA94 20 1B 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA97 A9 00 ..</font>
<font color="#00ff00">tay</font> <font color="#8080ff">; BA99 A8 .</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">wait_1_sec</font> <font color="#8080ff">; BA9A 20 9E BA ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BA9D 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; actually 64 jiffies, 1.067S ntsc, 1.28s pal</font>
<font color="#00ffff">wait_1_sec</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BA9E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; BAA0 8D 1A 06 ...</font>
<font color="#00ffff">keep_waiting</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; BAA3 AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; BAA6 C9 40 .@</font>
<font color="#00ff00">bne</font> <font color="#00ffff">keep_waiting</font> <font color="#8080ff">; BAA8 D0 F9 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BAAA 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">zero_filler_baab</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BAAB 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BAB3 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; BABB 00 .</font>
<font color="#8080ff">; level intro music, melody</font>
<font color="#00ffff">sfx15</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$35</font> <font color="#8080ff">; BABC 01 A5 02 3C 10 2F 10 35 ...<./.5</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$28</font> <font color="#8080ff">; BAC4 10 2D 10 2F 08 2D 08 28 .-./.-.(</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2D</font> <font color="#8080ff">; BACC 08 2F 08 35 08 2F 08 2D ./.5./.-</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$2F</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$35</font> <font color="#8080ff">; BAD4 08 35 08 3C 10 2F 10 35 .5.<./.5</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2F</font> <font color="#8080ff">; BADC 10 2D 10 28 08 2D 08 2F .-.(.-./</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BAE4 08 35 08 3C 10 00 .5.<..</font>
<font color="#8080ff">; level intro music, bass</font>
<font color="#00ffff">sfx16</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A7</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; BAEA 01 A7 02 F3 20 A2 20 F3 .... . .</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BAF2 20 A2 20 F3 20 A2 20 79 . . . y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BAFA 10 A2 10 F3 10 00 ......</font>
<font color="#00ffff">level_names</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$4F</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; BB00 20 20 20 4E 4F 54 48 49 NOTHI</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4E</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$4F</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$54</font> <font color="#8080ff">; BB08 4E 47 20 54 4F 20 49 54 NG TO IT</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; BB10 20 20 20 20 20 20 20 45 E</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$4F</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$55</font> <font color="#8080ff">; BB18 4C 45 43 54 52 4F 43 55 LECTROCU</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$54</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$4F</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB20 54 49 4F 4E 20 20 20 20 TION </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$4D</font> <font color="#8080ff">; BB28 20 20 20 20 20 44 55 4D DUM</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$42</font>,<font color="#ff6060">$57</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB30 42 57 41 49 54 45 52 20 BWAITER </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB38 20 20 20 20 20 20 20 20 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$4F</font> <font color="#8080ff">; BB40 20 48 45 4C 4C 53 54 4F HELLSTO</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4E</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB48 4E 45 53 20 20 20 20 20 NES </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$46</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; BB50 20 20 46 49 47 55 52 49 FIGURI</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$54</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$56</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$4E</font> <font color="#8080ff">; BB58 54 53 20 52 45 56 45 4E TS REVEN</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$47</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB60 47 45 20 20 20 20 20 20 GE </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$57</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$53</font> <font color="#8080ff">; BB68 20 20 20 57 41 4C 4C 53 WALLS</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB70 20 20 20 20 20 20 20 20 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$49</font> <font color="#8080ff">; BB78 20 20 20 20 20 20 5A 49 ZI</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$47</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$5A</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB80 47 2D 5A 41 47 20 20 20 G-ZAG </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB88 20 20 20 20 20 20 20 20 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$4F</font> <font color="#8080ff">; BB90 20 53 50 45 4C 4C 42 4F SPELLBO</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$55</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BB98 55 4E 44 20 20 20 20 20 UND </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$42</font>,<font color="#ff6060">$4C</font> <font color="#8080ff">; BBA0 20 20 20 20 20 20 42 4C BL</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$41</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$4B</font>,<font color="#ff6060">$4F</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BBA8 41 43 4B 4F 55 54 20 20 ACKOUT </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; BBB0 20 20 20 20 48 45 52 45 HERE</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$54</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$56</font>,<font color="#ff6060">$45</font> <font color="#8080ff">; BBB8 54 48 45 52 45 45 56 45 THEREEVE</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$52</font>,<font color="#ff6060">$59</font>,<font color="#ff6060">$57</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BBC0 52 59 57 48 45 52 45 20 RYWHERE </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$41</font>,<font color="#ff6060">$54</font> <font color="#8080ff">; BBC8 20 20 20 20 20 48 41 54 HAT</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$43</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$4E</font>,<font color="#ff6060">$47</font>,<font color="#ff6060">$53</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BBD0 43 48 4C 49 4E 47 53 20 CHLINGS </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BBD8 20 20 20 20 20 20 20 20 </font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$52</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$43</font>,<font color="#ff6060">$41</font> <font color="#8080ff">; BBE0 20 48 55 52 52 49 43 41 HURRICA</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4E</font>,<font color="#ff6060">$45</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$20</font> <font color="#8080ff">; BBE8 4E 45 20 20 20 20 20 20 NE </font>
<font color="#8080ff">; used for centering level name on gameboard</font>
<font color="#00ffff">level_name_hscrol_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BBF0 04 04 00 00 00 04 04 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BBF8 00 04 00 04 00 00 00 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; the WELL DONE screen, when you beat all the levels. after this, the game plays random levels.</font>
<font color="#00ffff">well_done_screen</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">L803C</font> <font color="#8080ff">; BC00 20 3C 80 <.</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; BC03 20 1B 80 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">clear_screen_mem_jv</font> <font color="#8080ff">; BC06 20 1E 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BC09 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; BC0B 8D AB 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">setup_gameboard_dlist_jv</font> <font color="#8080ff">; BC0E 20 15 80 ..</font>
<font color="#00ff00">ldy</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; BC11 AC AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$41</font> <font color="#8080ff">; BC14 A9 41 .A</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080A,y </font> <font color="#8080ff">; BC16 99 0A 08 ...</font>
<font color="#00ff00">tya</font> <font color="#8080ff">; BC19 98 .</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080B,y </font> <font color="#8080ff">; BC1A 99 0B 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; BC1D A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080C,y </font> <font color="#8080ff">; BC1F 99 0C 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$D9</font> <font color="#8080ff">; BC22 A9 D9 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font> <font color="#8080ff">; BC24 85 C0 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BC</font> <font color="#8080ff">; BC26 A9 BC ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dm_progctr</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BC28 85 C1 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">draw_map_jv</font> <font color="#8080ff">; BC2A 20 00 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$04</font> <font color="#8080ff">; BC2D A9 04 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; BC2F 8D 88 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $066A </font> <font color="#8080ff">; BC32 8D 6A 06 .j.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$7C</font> <font color="#8080ff">; BC35 A9 7C .|</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $067E </font> <font color="#8080ff">; BC37 8D 7E 06 .~.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; BC3A A9 20 . </font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; BC3C 8D 83 06 ...</font>
<font color="#8080ff">; load dli_service_2 address into dli shadow</font>
<font color="#00ffff">setup_dli_2</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$C7</font> <font color="#8080ff">; BC3F A9 C7 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_lo</font> <font color="#8080ff">; BC41 8D AE 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BD</font> <font color="#8080ff">; BC44 A9 BD ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; BC46 8D AF 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8D</font> <font color="#8080ff">; BC49 A9 8D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0809 </font> <font color="#8080ff">; BC4B 8D 09 08 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $088A </font> <font color="#8080ff">; BC4E 8D 8A 08 ...</font>
<font color="#00ffff">LBC51</font>: <font color="#00ff00">lda</font> <font color="#00ffff">dli_vec_shadow_hi</font> <font color="#8080ff">; BC51 AD AF 06 ...</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBC51</font> <font color="#8080ff">; BC54 D0 FB ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$96</font> <font color="#8080ff">; BC56 A9 96 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR0</font> <font color="#8080ff">; BC58 8D C4 02 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; BC5B 8D 1A 06 ...</font>
<font color="#00ffff">LBC5E</font>: <font color="#00ff00">lda</font> <font color="#00ffff">jiffy_timer_1</font> <font color="#8080ff">; BC5E AD 1A 06 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$20</font> <font color="#8080ff">; BC61 C9 20 . </font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBC5E</font> <font color="#8080ff">; BC63 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; BC65 A9 03 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">cue_music_jv</font> <font color="#8080ff">; BC67 20 18 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$CD</font> <font color="#8080ff">; BC6A A9 CD ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font> <font color="#8080ff">; BC6C 8D 82 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BC</font> <font color="#8080ff">; BC6F A9 BC ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub0</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BC71 8D 83 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$05</font> <font color="#8080ff">; BC74 A9 05 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; BC76 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; BC79 A9 0D ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">joystick_disabled</font> <font color="#8080ff">; BC7B 8D 32 06 .2.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BC7E A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0623 </font> <font color="#8080ff">; BC80 8D 23 06 .#.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$52</font> <font color="#8080ff">; BC83 A9 52 .R</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub1</font> <font color="#8080ff">; BC85 8D 84 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$BD</font> <font color="#8080ff">; BC88 A9 BD ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BC8A 8D 85 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$4C</font> <font color="#8080ff">; BC8D A9 4C .L</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_offs_46</font>+<font color="#ff6060">7</font> <font color="#8080ff">; BC8F 8D B5 07 ...</font>
<font color="#8080ff">; wait for score screen to finish (I think, anyway)</font>
<font color="#00ffff">wd_wait_scores</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_sub1</font> <font color="#8080ff">; BC92 AD 84 07 ...</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; BC95 C9 E6 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">wd_wait_scores</font> <font color="#8080ff">; BC97 D0 F9 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BC99 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $06AB </font> <font color="#8080ff">; BC9B 8D AB 06 ...</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">setup_gameboard_dlist_jv</font> <font color="#8080ff">; BC9E 20 15 80 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$0B</font> <font color="#8080ff">; BCA1 A2 0B ..</font>
<font color="#00ffff">LBCA3</font>: <font color="#00ff00">lda</font> <font color="#00ffff">total_score_msg_minus_one</font>,<font color="#00ffff">x</font> <font color="#8080ff">; BCA3 BD D1 BD ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $3DE8,x </font> <font color="#8080ff">; BCA6 9D E8 3D ..=</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; BCA9 CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBCA3</font> <font color="#8080ff">; BCAA D0 F7 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$3D</font> <font color="#8080ff">; BCAC A9 3D .=</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D4 </font> <font color="#8080ff">; BCAE 85 D4 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$F5</font> <font color="#8080ff">; BCB0 A9 F5 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $D3 </font> <font color="#8080ff">; BCB2 85 D3 ..</font>
<font color="#00ff00">ldx</font> <font color="#ff6060">#$03</font> <font color="#8080ff">; BCB4 A2 03 ..</font>
<font color="#00ffff">LBCB6</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $06FF,x </font> <font color="#8080ff">; BCB6 BD FF 06 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $CF,x </font> <font color="#8080ff">; BCB9 95 CF ..</font>
<font color="#00ff00">dex</font> <font color="#8080ff">; BCBB CA .</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBCB6</font> <font color="#8080ff">; BCBC D0 F8 ..</font>
<font color="#00ff00">jsr</font> <font color="#00ffff">xxx_level_something_jv</font> <font color="#8080ff">; BCBE 20 09 80 ..</font>
<font color="#00ffff">LBCC1</font>: <font color="#00ff00">lda</font> <font color="#ff40ff"> $0663 </font> <font color="#8080ff">; BCC1 AD 63 06 .c.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBCC1</font> <font color="#8080ff">; BCC4 D0 FB ..</font>
<font color="#00ff00">lda</font> <font color="#00ffff">level</font> <font color="#8080ff">; BCC6 AD F6 06 ...</font>
<font color="#00ff00">inc</font> <font color="#00ffff">randomizer_mode</font> <font color="#8080ff">; BCC9 EE F3 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BCCC 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; dunno, but referenced by code at $BC6A (part of well_done_screen)</font>
<font color="#00ffff">code_bccd</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $062A </font> <font color="#8080ff">; BCCD AD 2A 06 .*.</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLOR2</font> <font color="#8080ff">; BCD0 8D C6 02 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$02</font> <font color="#8080ff">; BCD3 A9 02 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">collision_save</font>+<font color="#ff6060">4</font> <font color="#8080ff">; BCD5 8D B4 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BCD8 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; level map used for the WELL DONE screen, when you beat level 12</font>
<font color="#00ffff">well_done_map</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$BD</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; BCD9 FE A0 BD FD 00 04 0C 06 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$78</font> <font color="#8080ff">; BCE1 07 30 06 09 54 06 09 78 .0..T..x</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$06</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; BCE9 06 09 0C 30 09 30 38 05 ...0.08.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$54</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; BCF1 54 30 09 78 30 09 FD 04 T0.x0...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$22</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$34</font> <font color="#8080ff">; BCF9 04 10 22 02 20 34 01 34 ..". 4.4</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$58</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; BD01 4C 01 44 34 01 58 38 05 L.D4.X8.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$FC</font>,<font color="#ff6060">$1C</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$4C</font> <font color="#8080ff">; BD09 FD 04 FC 1C 26 02 20 4C ....&. L</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$FD</font> <font color="#8080ff">; BD11 01 34 34 01 44 4C 01 FD .44.DL..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$16</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; BD19 04 00 34 06 06 34 16 06 ..4..4..</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$34</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$54</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$78</font>,<font color="#ff6060">$26</font> <font color="#8080ff">; BD21 34 26 06 54 26 07 78 26 4&.T&.x&</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$07</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$0C</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$38</font> <font color="#8080ff">; BD29 07 10 30 04 0C 50 05 38 ..0..P.8</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$30</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$06</font> <font color="#8080ff">; BD31 30 03 38 50 03 7C 30 06 0.8P.|0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$7C</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$7C</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BD39 7C 40 06 7C 50 06 FD 00 |@.|P...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$07</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$38</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$48</font> <font color="#8080ff">; BD41 04 24 06 07 24 38 05 48 .$..$8.H</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$38</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$18</font>,<font color="#ff6060">$1A</font>,<font color="#ff6060">$03</font> <font color="#8080ff">; BD49 38 05 6C 30 09 18 1A 03 8.l0....</font>
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $FF </font> <font color="#8080ff">; BD51 FF .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; referenced by code at $BC83</font>
<font color="#00ffff">code_bd52</font>:
<font color="#00ff00">lda</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; BD52 AD 21 06 .!.</font>
<font color="#00ff00">bne</font> <font color="#00ffff">LBD58</font> <font color="#8080ff">; BD55 D0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BD57 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LBD58</font>: <font color="#00ff00">ldy</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; BD58 AC AC 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; BD5B A9 0D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0809,y </font> <font color="#8080ff">; BD5D 99 09 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$8D</font> <font color="#8080ff">; BD60 A9 8D ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080A,y </font> <font color="#8080ff">; BD62 99 0A 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff"> $080B,y </font> <font color="#8080ff">; BD65 B9 0B 08 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080C,y </font> <font color="#8080ff">; BD68 99 0C 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$41</font> <font color="#8080ff">; BD6B A9 41 .A</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080B,y </font> <font color="#8080ff">; BD6D 99 0B 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$08</font> <font color="#8080ff">; BD70 A9 08 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $080D,y </font> <font color="#8080ff">; BD72 99 0D 08 ...</font>
<font color="#00ff00">inc</font> <font color="#00ffff">dlist_shadow_lo</font> <font color="#8080ff">; BD75 EE AC 06 ...</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$4E</font> <font color="#8080ff">; BD78 C0 4E .N</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LBD81</font> <font color="#8080ff">; BD7A F0 05 ..</font>
<font color="#00ff00">cpy</font> <font color="#ff6060">#$CE</font> <font color="#8080ff">; BD7C C0 CE ..</font>
<font color="#00ff00">beq</font> <font color="#00ffff">LBD81</font> <font color="#8080ff">; BD7E F0 01 ..</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BD80 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#00ffff">LBD81</font>: <font color="#00ff00">lda</font> <font color="#ff6060">#$E6</font> <font color="#8080ff">; BD81 A9 E6 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub1</font> <font color="#8080ff">; BD83 8D 84 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$06</font> <font color="#8080ff">; BD86 A9 06 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_sub1</font>+<font color="#ff6060">1</font> <font color="#8080ff">; BD88 8D 85 07 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$09</font> <font color="#8080ff">; BD8B A9 09 ..</font>
<font color="#00ff00">sta</font> <font color="#00ffff">player_speed</font> <font color="#8080ff">; BD8D 8D 24 06 .$.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C6</font> <font color="#8080ff">; BD90 A9 C6 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0683 </font> <font color="#8080ff">; BD92 8D 83 06 ...</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; BD95 A9 00 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0621 </font> <font color="#8080ff">; BD97 8D 21 06 .!.</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$01</font> <font color="#8080ff">; BD9A A9 01 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0688 </font> <font color="#8080ff">; BD9C 8D 88 06 ...</font>
<font color="#00ff00">rts</font> <font color="#8080ff">; BD9F 60 `</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; used to draw the large WELL DONE banner</font>
<font color="#00ffff">well_done_shape</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; BDA0 04 00 00 01 01 01 01 05 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; BDA8 00 01 01 01 01 01 03 05 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$05</font> <font color="#8080ff">; BDB0 00 02 01 01 01 01 03 05 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$04</font> <font color="#8080ff">; BDB8 00 03 01 01 01 01 03 04 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$03</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; BDC0 01 04 03 03 03 03 FF .......</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; DLI service routine, changes COLBK, address gets stored in $6ae/$6af by code at $bc3c</font>
<font color="#00ffff">dli_service_2</font>:
<font color="#00ff00">pha</font> <font color="#8080ff">; BDC7 48 H</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$C4</font> <font color="#8080ff">; BDC8 A9 C4 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">WSYNC</font> <font color="#8080ff">; BDCA 8D 0A D4 ...</font>
<font color="#00ff00">sta</font> <font color="#ff40ff">COLBK</font> <font color="#8080ff">; BDCD 8D 1A D0 ...</font>
<font color="#00ff00">pla</font> <font color="#8080ff">; BDD0 68 h</font>
<font color="#8080ff">; 1-indexed</font>
<font color="#00ffff">total_score_msg_minus_one</font>:
<font color="#00ff00">rti</font> <font color="#8080ff">; BDD1 40 @</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; screen codes, displayed by well_done_screen</font>
<font color="#00ffff">total_score_msg</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$74</font>,<font color="#ff6060">$6F</font>,<font color="#ff6060">$74</font>,<font color="#ff6060">$61</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$73</font>,<font color="#ff6060">$63</font> <font color="#8080ff">; BDD2 74 6F 74 61 6C 00 73 63 total.sc</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$6F</font>,<font color="#ff6060">$72</font>,<font color="#ff6060">$65</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$26</font>,<font color="#ff6060">$29</font>,<font color="#ff6060">$2C</font> <font color="#8080ff">; BDDA 6F 72 65 33 00 26 29 2C ore3.&),</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$25</font>,<font color="#ff6060">$33</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BDE2 25 33 00 00 00 00 00 00 %3......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BDEA 00 00 00 00 00 00 00 00 ........</font>
<font color="#00ffff">sfx00</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BDF2 01 A5 02 79 08 A2 08 79 ...y...y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$C1</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$C1</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; BDFA 08 A2 08 C1 10 C1 10 F3 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$F5</font>,<font color="#ff6060">$BD</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BE02 20 F3 20 02 F5 BD 02 79 . ....y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BE0A 08 6C 08 60 08 5B 08 51 .l.`.[.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BE12 08 5B 08 60 08 6C 08 79 .[.`.l.y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BE1A 10 A2 10 F3 20 01 A0 00 .... ...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BE22 0A 80 00 ...</font>
<font color="#00ffff">sfx01</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$48</font> <font color="#8080ff">; BE25 01 A6 02 3C 20 51 20 48 ...< Q H</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; BE2D 08 51 08 48 08 40 08 3C .Q.H.@.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BE35 10 3C 20 3C 10 51 10 51 .< <.Q.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$40</font> <font color="#8080ff">; BE3D 10 48 08 51 08 48 08 40 .H.Q.H.@</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$48</font> <font color="#8080ff">; BE45 08 3C 20 3C 20 51 20 48 .< < Q H</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; BE4D 08 51 08 48 08 40 08 3C .Q.H.@.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2F</font> <font color="#8080ff">; BE55 10 3C 10 3C 08 35 08 2F .<.<.5./</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$28</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$2F</font> <font color="#8080ff">; BE5D 08 2D 08 28 08 2D 08 2F .-.(.-./</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; BE65 08 35 08 3C 08 51 08 60 .5.<.Q.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$81</font> <font color="#8080ff">; BE6D 08 51 08 79 20 00 01 81 .Q.y ...</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BE75 00 32 01 00 .2..</font>
<font color="#00ffff">sfx_extra_life</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$05</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0A</font> <font color="#8080ff">; BE79 01 A8 00 05 02 0F 02 0A ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$0F</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$19</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$14</font> <font color="#8080ff">; BE81 02 14 02 0F 02 19 02 14 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$02</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BE89 02 1E 02 00 ....</font>
<font color="#8080ff">; end of game tune, melody</font>
<font color="#00ffff">sfx02</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; BE8D 01 A5 02 3C 10 51 10 3C ...<.Q.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$44</font> <font color="#8080ff">; BE95 10 51 10 44 08 44 08 44 .Q.D.D.D</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$4C</font> <font color="#8080ff">; BE9D 08 44 08 44 10 5B 10 4C .D.D.[.L</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$66</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BEA5 10 66 10 4C 10 66 10 51 .f.L.f.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BEAD 40 00 @.</font>
<font color="#8080ff">; end of game tune, bass</font>
<font color="#00ffff">sfx03</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A4</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; BEAF 01 A4 02 79 10 A2 10 F3 ...y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$D9</font> <font color="#8080ff">; BEB7 10 79 10 88 10 B6 10 D9 .y......</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$CC</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$CC</font> <font color="#8080ff">; BEBF 10 88 10 99 10 CC 10 CC ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font> <font color="#8080ff">; BEC7 10 99 10 A2 08 99 08 A2 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$08</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BECF 08 99 08 A2 20 00 .... .</font>
<font color="#8080ff">; end level tune #1, bass</font>
<font color="#00ffff">sfx04</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BED5 01 A5 02 79 14 A2 14 79 ...y...y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$14</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; BEDD 14 A2 14 79 14 A2 14 F3 ...y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$14</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$D8</font>,<font color="#ff6060">$BE</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BEE5 14 A2 14 02 D8 BE 01 00 ........</font>
<font color="#8080ff">; end level tune #1, melody</font>
<font color="#00ffff">sfx05</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$A0</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; BEED 01 A0 00 0A A0 01 A6 02 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$51</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$55</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$0A</font> <font color="#8080ff">; BEF5 51 0A 55 0A 51 0A 4C 0A Q.U.Q.L.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$51</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$0A</font> <font color="#8080ff">; BEFD 51 0A 4C 0A 48 0A 4C 0A Q.L.H.L.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$48</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$0A</font> <font color="#8080ff">; BF05 48 0A 44 0A 48 0A 44 0A H.D.H.D.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BF0D 3C 0A 51 0A 3C 14 00 <.Q.<..</font>
<font color="#8080ff">; end level tune #2, melody</font>
<font color="#00ffff">sfx06</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BF14 01 A6 02 79 20 60 14 51 ...y `.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$3C</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font> <font color="#8080ff">; BF1C 3C 60 0A 5B 14 60 08 5B <`.[.`.[</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$14</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$60</font> <font color="#8080ff">; BF24 14 60 08 5B 14 51 08 60 .`.[.Q.`</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$14</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BF2C 14 79 20 00 .y .</font>
<font color="#8080ff">; end level tune #2, bass</font>
<font color="#00ffff">sfx07</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$D9</font>,<font color="#ff6060">$0A</font>,<font color="#ff6060">$C1</font> <font color="#8080ff">; BF30 01 A6 02 F3 0A D9 0A C1 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$1E</font>,<font color="#ff6060">$C1</font> <font color="#8080ff">; BF38 0A A2 14 79 1E A2 1E C1 ...y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$0A</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$50</font>,<font color="#ff6060">$C1</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$F3</font> <font color="#8080ff">; BF40 0A B6 50 C1 08 A2 14 F3 ..P.....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BF48 20 00 .</font>
<font color="#8080ff">; end level tune #3, bass</font>
<font color="#00ffff">sfx08</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A8</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BF4A 01 A8 02 79 30 A2 20 79 ...y0. y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$A3</font> <font color="#8080ff">; BF52 20 51 10 A2 30 6C 20 A3 Q..0l .</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$6C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$70</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BF5A 20 6C 10 79 70 00 l.yp.</font>
<font color="#8080ff">; end level tune #3, melody</font>
<font color="#00ffff">sfx09</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BF60 01 A5 02 79 10 60 10 51 ...y.`.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$44</font> <font color="#8080ff">; BF68 10 3C 20 35 10 3C 10 44 .< 5.<.D</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$6C</font> <font color="#8080ff">; BF70 10 40 10 51 20 5B 20 6C .@.Q [ l</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$80</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BF78 20 80 10 79 10 60 10 51 ..y.`.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BF80 10 3C 40 00 .<@.</font>
<font color="#8080ff">; end level tune #4, melody</font>
<font color="#00ffff">sfx10</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$2D</font>,<font color="#ff6060">$12</font>,<font color="#ff6060">$32</font> <font color="#8080ff">; BF84 01 A5 02 3C 20 2D 12 32 ...< -.2</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$08</font>,<font color="#ff6060">$44</font>,<font color="#ff6060">$14</font>,<font color="#ff6060">$4C</font> <font color="#8080ff">; BF8C 20 3C 20 4C 08 44 14 4C < L.D.L</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$44</font> <font color="#8080ff">; BF94 09 40 20 32 20 40 09 44 .@ 2 @.D</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$09</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$5B</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$4C</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$5B</font> <font color="#8080ff">; BF9C 09 4C 09 5B 09 4C 09 5B .L.[.L.[</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$48</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BFA4 48 00 H.</font>
<font color="#8080ff">; end level tune #4, bass</font>
<font color="#00ffff">sfx11</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$02</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$99</font> <font color="#8080ff">; BFA6 01 A6 02 79 20 B6 30 99 ...y .0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$E6</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$99</font> <font color="#8080ff">; BFAE 20 88 09 99 20 E6 30 99 ... .0.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$20</font>,<font color="#ff6060">$88</font>,<font color="#ff6060">$09</font>,<font color="#ff6060">$99</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$B6</font>,<font color="#ff6060">$3A</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BFB6 20 88 09 99 20 B6 3A 00 ... .:.</font>
<font color="#8080ff">; jumping sound</font>
<font color="#00ffff">sfx_jump</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$51</font> <font color="#8080ff">; BFBE 01 A5 00 79 04 60 04 51 ...y.`.Q</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$51</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$79</font> <font color="#8080ff">; BFC6 04 3C 04 51 04 60 04 79 .<.Q.`.y</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$04</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BFCE 04 00 ..</font>
<font color="#8080ff">; funeral march melody</font>
<font color="#00ffff">sfx13</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A5</font>,<font color="#ff6060">$01</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; BFD0 01 A5 01 3C 20 3C 10 3C ...< <.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$20</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$35</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$35</font> <font color="#8080ff">; BFD8 10 3C 20 32 10 35 10 35 .< 2.5.5</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$40</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$3C</font> <font color="#8080ff">; BFE0 10 3C 10 3C 10 40 10 3C .<.<.@.<</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$40</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BFE8 40 00 @.</font>
<font color="#8080ff">; funeral march bass</font>
<font color="#00ffff">sfx14</font>: .<font color="#ffff00">byte</font> <font color="#ff6060">$01</font>,<font color="#ff6060">$A6</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$79</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$02</font> <font color="#8080ff">; BFEA 01 A6 00 79 10 A2 10 02 ...y....</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$ED</font>,<font color="#ff6060">$BF</font>,<font color="#ff6060">$06</font>,<font color="#ff6060">$F3</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$A2</font>,<font color="#ff6060">$10</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; BFF2 ED BF 06 F3 10 A2 10 00 ........</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; main entry point, note cartstart_left and cartstart_right point to the same address</font>
<font color="#00ffff">cartstart_left</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">cart_entry_point</font> <font color="#8080ff">; BFFA C0 8A ..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; 0 here means 'cartridge present'</font>
<font color="#00ffff">cartpresent_left</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; BFFC 00 .</font>
<font color="#8080ff">; 4 here means init & start the cart, no disk boot, non-diagnostic</font>
<font color="#00ffff">cartoptions_left</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $04 </font> <font color="#8080ff">; BFFD 04 .</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
<font color="#8080ff">; points to a CLC/RTS do-nothing routine (same as cartinit_right)</font>
<font color="#00ffff">cartinit_left</font>:
.<font color="#00ffff">addr</font> <font color="#00ffff">cart_start_stub</font> <font color="#8080ff">; BFFE FE 8A ..</font>
</pre>
</body>
</html>
|