This repository has been archived by the owner on Apr 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
20comp.inc
1176 lines (1027 loc) · 11.2 KB
/
20comp.inc
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
start32data
s20_chip_list dw 185+disk_9
dw 186+disk_9
dw 192+disk_9
dw 90+disk_9
dw 131+disk_2
dw 132+disk_2
dw 217+disk_9
dw 0
s20_fast_list dw 12
dw 51
dw 52
dw 53
dw 54
dw 135
dw 180+disk_9
dw 181+disk_9
dw 182+disk_9
dw 183+disk_9
dw 184+disk_9
dw 0
grid20 dd 0 dup (0)
s20_pal dw 0
dw 512
dw 2
dw 514
dw 771
dw 5
dw 1028
dw 1027
dw 1540
dw 1032
dw 1026
dw 8
dw 1797
dw 1795
dw 2054
dw 2822
dw 1793
dw 1290
dw 2059
dw 3590
dw 776
dw 3081
dw 2821
dw 2569
dw 2576
dw 2822
dw 2062
dw 2580
dw 2564
dw 1552
dw 3340
dw 4108
dw 2828
dw 3601
dw 3591
dw 2320
dw 2840
dw 3076
dw 1300
dw 3349
dw 4615
dw 3598
dw 3356
dw 5124
dw 3344
dw 4880
dw 3595
dw 2070
dw 5903
dw 5380
dw 4112
dw 4376
dw 4873
dw 2325
dw 4122
dw 7179
dw 1809
dw 5143
dw 8202
dw 1296
dw 6417
dw 4871
dw 2328
dw 4632
dw 5138
dw 4629
dw 5399
dw 5389
dw 3095
dw 4637
dw 7181
dw 2069
dw 7187
dw 4613
dw 3610
dw 6421
dw 6926
dw 4116
dw 4642
dw 5640
dw 2587
dw 5407
dw 6923
dw 5141
dw 7701
dw 9480
dw 1556
dw 6429
dw 6156
dw 4890
dw 7445
dw 8722
dw 3606
dw 6428
dw 6932
dw 3612
dw 6431
dw 6160
dw 3871
dw 5926
dw 6669
dw 2849
dw 6941
dw 7448
dw 4637
dw 6436
dw 8979
dw 3866
dw 8988
dw 6408
dw 4898
dw 6697
dw 9743
dw 4380
dw 7711
dw 8474
dw 4896
dw 7207
dw 8469
dw 3364
dw 9501
dw 9233
dw 5663
dw 9245
dw 11031
dw 4381
dw 7719
dw 11033
dw 5406
dw 9762
dw 8977
dw 3112
dw 8740
dw 8475
dw 7460
dw 9255
dw 8978
dw 5415
dw 8493
dw 12311
dw 4641
dw 8746
dw 10011
dw 7715
dw 9764
dw 8736
dw 7209
dw 9768
dw 11289
dw 6437
dw 9264
dw 12310
dw 6692
dw 11045
dw 10265
dw 4907
dw 10539
dw 10005
dw 8489
dw 10538
dw 12573
dw 5672
dw 10285
dw 12576
dw 7463
dw 11566
dw 13080
dw 6697
dw 11056
dw 11805
dw 9003
dw 10802
dw 13601
dw 7721
dw 11572
dw 12570
dw 9773
dw 11319
dw 13088
dw 8750
dw 11831
dw 13604
dw 8241
dw 12598
dw 14120
dw 9266
dw 13365
dw 14635
dw 10036
dw 13879
dw 14638
dw 12345
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 16128
dw 0
dw 0
dw 14336
dw 13364
dw 11569
dw 9261
dw 8481
dw 6687
dw 6681
dw 4626
dw 2578
dw 1803
dw 770
dw 519
dw 13571
dw 9517
dw 9778
dw 11805
dw 5151
dw 5926
dw 8205
dw 1808
dw 2586
dw 11267
dw 2056
dw 8210
dw 7441
dw 6954
dw 9494
dw 4119
dw 3866
dw 4864
dw 13316
dw 13364
dw 11563
dw 8751
dw 9506
dw 10024
dw 8242
dw 10527
dw 6174
dw 5927
dw 7698
dw 3600
dw 2325
dw 2308
dw 11573
dw 12837
dw 7462
dw 7982
dw 9748
dw 3351
dw 4128
dw 6663
dw 778
dw 9533
dw 13100
dw 9244
dw 5162
dw 8476
dw 5390
dw 2072
dw 3855
dw 2308
dw 2865
dw 9995
dw 1285
dw 285
dw 4865
dw 0
dw 11573
dw 12837
dw 7462
dw 0
dw 16128
dw 0
dw 16191
dw 16191
dw 0
dw 63
dw 16128
dw 0
dw 63
dw 13824
dw 13878
dw 12077
dw 8241
dw 10527
dw 5917
dw 5925
dw 7698
dw 2865
dw 9995
dw 1285
dw 285
dw 16129
dw 16191
s20_logic dw id_foster
dw id_joey
dw id_lamb
dw id_reich_door_20
dw id_lamb_door_20
dw id_inner_lamb_door
dw id_inner_r_door
dw id_lift_29
dw id_gallager_bel
dw id_cat
dw $ffff
dw id_menu_logic
s20_mouse dw id_joey
dw id_lamb
dw id_down_exit_20
dw id_reich_door_20
dw id_reich_slot
dw id_lamb_slot
dw id_lamb_door_20
dw id_shrub_1
dw id_shrub_2
dw id_shrub_3
dw id_gallager_bel
dw id_reich_window
dw id_lamb_window
dw id_s20_floor
dw $ffff
dw id_text_mouse
end32data
start32save_data
s20_floor dw 0
dw st_mouse
dw 0
dw 20
dw NULL
dd s20_floor_table
dw 128
dw 288
dw 0
dw 0
dw 0
dw 0
dw advisor_188
dw 0
dw 0
dw 4242
dw 4242
dw floor_action
end32save_data
start32data
s20_floor_table dw id_s20_floor
dw return_ok
dw id_joey_park
dw get_to_jp2
dw 0
dw s20_start_on
dw 1
dw s20_reich_on
dw 3
dw s20_lamb_on
dw id_down_exit_20
dw GT_down_exit_20
dw id_reich_door_20
dw GT_reich_door_20
dw id_lamb_door_20
dw GT_lamb_door_20
dw id_reich_slot
dw GT_reich_slot
dw id_lamb_slot
dw GT_lamb_slot
dw id_shrub_1
dw GT_shrub_1
dw id_shrub_2
dw GT_shrub_2
dw id_shrub_3
dw GT_shrub_3
dw id_gallager_bel
dw GT_gallager_bel
dw id_reich_window
dw GT_reich_window
dw id_lamb_window
dw GT_lamb_window
dw id_std_left_talk
dw GT_l_talk_20
dw id_std_right_talk
dw GT_r_talk_20
dw -1
rs_all_28_20 dw c_xcood
dw 160
dw c_ycood
dw 320
dw c_screen
dw 20
dw c_place
dw id_s20_floor
dw -1
end32data
start32save_data
down_exit_20 dw 0
dw st_mouse
dw 0
dw 20
dw NULL
dd 0
dw 128
dw 312
dw 0
dw 1+t7
dw std_exit_down_on
dw std_off
dw advisor_188
dw 0
dw 0
dw 193-128
dw 20
dw ed20_action
end32save_data
start32data
rs_foster_20_28 dw c_xcood
dw 408
dw c_ycood
dw 248
dw c_screen
dw 28
dw c_place
dw id_s28_floor
dw -1
joey_list_20 dw 208
dw 352
dw 296
dw 330
dw 1
dw 0
end32data
start32save_data
reich_door_20 dw l_script
dw st_background+st_logic+st_recreate+st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 252
dw 228
dw s185
dw 181
dw reich_20_on
dw std_off
dw advisor_188
dw null
dw null
dw 273-252
dw 287-228
dw reich_door_20_action
dw 0
dw 0
dw 0
dw 0
dw NULL
dd 0
dw 0
dw c_base_mode
dw reich_door_20_logic
dw 0
end32save_data
start32data
reich_20_open dw s185
dw 1
dw 1
dw 1
dw 1
dw 1
dw 2
dw 1
dw 1
dw 3
dw 1
dw 1
dw 4
dw 1
dw 1
dw 5
dw 1
dw 1
dw 6
dw 1
dw 1
dw 7
dw 1
dw 1
dw 8
dw 1
dw 1
dw 9
dw 1
dw 1
dw 10
dw 0
reich_20_close dw s185
dw 1
dw 1
dw 9
dw 1
dw 1
dw 8
dw 1
dw 1
dw 7
dw 1
dw 1
dw 6
dw 1
dw 1
dw 5
dw 1
dw 1
dw 4
dw 1
dw 1
dw 3
dw 1
dw 1
dw 2
dw 1
dw 1
dw 1
dw 1
dw 1
dw 0
dw 0
end32data
start32save_data
reich_slot dw l_script
dw st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 232
dw 256
dw 0
dw 50
dw std_on
dw std_off
dw advisor_188
dw null
dw null
dw 7
dw 11
dw reich_slot_action
end32save_data
start32data
usecard_seq dw s192
dw 258
dw 173
dw 0
dw 258
dw 173
dw 1
dw 258
dw 173
dw 2
dw 258
dw 173
dw 3
dw 258
dw 173
dw 3
dw 258
dw 173
dw 3
dw 258
dw 173
dw 2
dw 258
dw 173
dw 1
dw 258
dw 173
dw 0
dw 0
end32data
start32save_data
lamb_door_20 dw l_script
dw st_background+st_logic+st_recreate+st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 291
dw 229
dw s186
dw 181
dw lamb_20_on
dw std_off
dw advisor_188
dw null
dw null
dw 273-252
dw 287-228
dw lamb_door_20_action
dw 0
dw 0
dw 0
dw 0
dw NULL
dd 0
dw 0
dw c_base_mode
dw lamb_door_20_logic
dw 0
end32save_data
start32data
lamb_20_open dw s186
dw 1
dw 1
dw 1
dw 1
dw 1
dw 2
dw 1
dw 1
dw 3
dw 1
dw 1
dw 4
dw 1
dw 1
dw 5
dw 1
dw 1
dw 6
dw 1
dw 1
dw 7
dw 1
dw 1
dw 8
dw 1
dw 1
dw 9
dw 1
dw 1
dw 10
dw 0
lamb_20_close dw s186
dw 1
dw 1
dw 9
dw 1
dw 1
dw 8
dw 1
dw 1
dw 7
dw 1
dw 1
dw 6
dw 1
dw 1
dw 5
dw 1
dw 1
dw 4
dw 1
dw 1
dw 3
dw 1
dw 1
dw 2
dw 1
dw 1
dw 1
dw 1
dw 1
dw 0
dw 0
end32data
start32save_data
lamb_slot dw l_script
dw st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 323
dw 256
dw 0
dw 50
dw std_on
dw std_off
dw advisor_188
dw null
dw null
dw 7
dw 11
dw lamb_slot_action
shrub_1 dw l_script
dw st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 156
dw 251
dw 0
dw 12659
dw std_on
dw std_off
dw advisor_188
dw null
dw null
dw 193-156
dw 294-251
dw shrub_1_action
shrub_2 dw l_script
dw st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 249
dw 303
dw 0
dw 12659
dw std_on
dw std_off
dw advisor_188
dw null
dw null
dw 310-249
dw 4242
dw shrub_2_action
shrub_3 dw l_script
dw st_mouse
dw 0
dw 20
dw NULL
dd NULL
dw 396
dw 257
dw 0
dw 12659
dw std_on
dw std_off
dw advisor_188
dw null
dw null
dw 421-396
dw 298-257
dw shrub_3_action
end32save_data
start32data
rs_joey_start_20 dw c_xcood
dw 168
dw c_ycood
dw 296
dw c_screen
dw 20
dw c_place
dw id_s20_floor
dw c_logic
dw l_script
dw c_base_sub
dw joey_logic
dw c_base_sub+2
dw 0
dw c_frame
dw s136+2
dw c_status
dw st_sort+st_recreate+st_logic+st_collision+st_mouse+st_grid_plot
dw c_dir
dw up
dw -1
end32data
start32save_data
gallager_bel dw l_script
dw st_recreate+st_logic+st_mouse+st_foreground