-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBank $A7.asm
9875 lines (8604 loc) · 447 KB
/
Bank $A7.asm
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
;;; $8000..8686: Common to all enemy banks ;;;
{
; See bank $A0
}
;;; $8687..CA00: Kraid ;;;
{
;;; $8687..A929: Kraid data ;;;
{
;;; $8687: Palette - enemy $E2BF/$E2FF/$E33F/$E37F/$E3BF/$E3FF/$E43F/$E47F (Kraid) ;;;
{
$A7:8687 dw 3800, 559D, 1816, 100D, 4B9F, 3F37, 36D0, 2E69, 2608, 1DA6, 1125, 08C5, 0003, 6318, 7FFF, 0000
}
;;; $86A7: Unused. Palette ;;;
{
; Clone of $8687
$A7:86A7 dw 3800, 559D, 1816, 100D, 4B9F, 3F37, 36D0, 2E69, 2608, 1DA6, 1125, 08C5, 0003, 6318, 7FFF, 0000
}
;;; $86C7: Kraid room background palette ;;;
{
; BG palette 6
$A7:86C7 dw 0400, 2D6B, 2D6B, 2D6B, 1986, 14C2, 0840, 0400, 31ED, 18C6, 10C3, 0420, 0252, 2D6B, 4A52, 0000
}
;;; $86E7..A715: Instruction lists et al ;;;
{
;;; $86E7..8B2D: Instruction lists ;;;
{
;;; $86E7: Instruction list - Kraid foot - initial ;;;
{
$A7:86E7 dx 7FFF,A565,
812F ; Sleep
}
;;; $86ED: Instruction list - Kraid foot - Kraid is big - neutral ;;;
{
$A7:86ED dx 7FFF,8CE3,
812F ; Sleep
}
;;; $86F3: Instruction list - Kraid foot - Kraid is big - walking forwards ;;;
{
$A7:86F3 dw B633, ; NOP
0004,8CE3,
0004,8CF5,
0004,8D07,
0004,8D19,
0004,8D2B,
0004,8D3D,
0004,8D4F,
0004,8D61,
0004,8D73,
0004,8D85,
0004,8D97,
0003,8DA9,
0001,8DBB,
0001,8DCD,
0001,8DDF,
0001,8DF1,
0001,8E03,
0010,8E15,
B636, ; Decrement Kraid Y position
B65A, ; Kraid X position -= 3
0001,8E27,
B636, ; Decrement Kraid Y position
B65A, ; Kraid X position -= 3
0001,8E39,
B633, ; NOP
0003,8E39,
B636, ; Decrement Kraid Y position
B65A, ; Kraid X position -= 3
0001,8E39,
B633, ; NOP
0003,8E39,
B636, ; Decrement Kraid Y position
B65A, ; Kraid X position -= 3
0001,8E5D,
B633, ; NOP
0003,8E5D,
B63C, ; Increment Kraid Y position, set screen shaking
B65A, ; Kraid X position -= 3
0001,8E6F,
B63C, ; Increment Kraid Y position, set screen shaking
B65A, ; Kraid X position -= 3
0001,8E81,
B63C, ; Increment Kraid Y position, set screen shaking
B65A, ; Kraid X position -= 3
0001,8E93,
B63C, ; Increment Kraid Y position, set screen shaking
B65A, ; Kraid X position -= 3
B64E, ; Queue quake sound effect
0001,8EA5,
B633, ; NOP
B65A, ; Kraid X position -= 3
0001,8EB7,
B65A, ; Kraid X position -= 3
0001,8EC9,
B65A, ; Kraid X position -= 3
0001,8EDB,
B65A, ; Kraid X position -= 3
0001,8EED,
B65A, ; Kraid X position -= 3
0001,8EFF,
B65A, ; Kraid X position -= 3
0001,8F11,
0001,8CE3
$A7:87BB dw 812F ; Sleep
}
;;; $87BD: Instruction list - Kraid foot - lunge forward ;;;
{
; This is just $86F3 but faster
$A7:87BD dw B633, ; NOP
0001,8CE3,
0001,8CF5,
0001,8D07,
0001,8D19,
0001,8D2B,
0001,8D3D,
0001,8D4F,
0001,8D61,
0001,8D73,
0001,8D85,
0001,8D97,
0001,8DA9,
0001,8DBB,
0001,8DCD,
0001,8DDF,
0001,8DF1,
0001,8E03,
0004,8E15,
B636, ; Decrement Kraid Y position
B667, ; Kraid X position -= 3
0001,8E27,
B636, ; Decrement Kraid Y position
B667, ; Kraid X position -= 3
0001,8E39,
B633, ; NOP
0001,8E39,
B636, ; Decrement Kraid Y position
B667, ; Kraid X position -= 3
0001,8E39,
B633, ; NOP
0001,8E39,
B636, ; Decrement Kraid Y position
B667, ; Kraid X position -= 3
0001,8E5D,
B633, ; NOP
0001,8E5D,
B63C, ; Increment Kraid Y position, set screen shaking
B667, ; Kraid X position -= 3
0001,8E6F,
B63C, ; Increment Kraid Y position, set screen shaking
B667, ; Kraid X position -= 3
0001,8E81,
B63C, ; Increment Kraid Y position, set screen shaking
B667, ; Kraid X position -= 3
0001,8E93,
B63C, ; Increment Kraid Y position, set screen shaking
B667, ; Kraid X position -= 3
B64E, ; Queue quake sound effect
0001,8EA5,
B633, ; NOP
B667, ; Kraid X position -= 3
0001,8EB7,
B667, ; Kraid X position -= 3
0001,8EC9,
B667, ; Kraid X position -= 3
0001,8EDB,
B667, ; Kraid X position -= 3
0001,8EED,
B667, ; Kraid X position -= 3
0001,8EFF,
0001,8F11,
B667, ; Kraid X position -= 3
0001,8CE3
$A7:8885 dw 812F ; Sleep
}
;;; $8887: Instruction list - Kraid foot - Kraid is big - walking backwards ;;;
{
$A7:8887 dw B633, ; NOP
B674, ; Kraid X position += 3
0004,8F47,
B674, ; Kraid X position += 3
0001,8F23,
B674, ; Kraid X position += 3
0001,8EFF,
B674, ; Kraid X position += 3
0001,8EED,
B674, ; Kraid X position += 3
0001,8EDB,
B674, ; Kraid X position += 3
0001,8EC9,
B674, ; Kraid X position += 3
0001,8EB7,
B636, ; Decrement Kraid Y position
B674, ; Kraid X position += 3
0001,8EA5,
B636, ; Decrement Kraid Y position
B674, ; Kraid X position += 3
0001,8E93,
B636, ; Decrement Kraid Y position
B674, ; Kraid X position += 3
0001,8E81,
B636, ; Decrement Kraid Y position
B674, ; Kraid X position += 3
0001,8E6F,
B63C, ; Increment Kraid Y position, set screen shaking
B674, ; Kraid X position += 3
0001,8E5D,
B63C, ; Increment Kraid Y position, set screen shaking
B674, ; Kraid X position += 3
0001,8E4B,
B63C, ; Increment Kraid Y position, set screen shaking
B674, ; Kraid X position += 3
0001,8E39,
B63C, ; Increment Kraid Y position, set screen shaking
B64E, ; Queue quake sound effect
0001,8E27,
B633, ; NOP
0014,8E15,
0004,8E03,
0004,8DF1,
0004,8DDF,
0004,8DCD,
0004,8DBB,
0004,8DA9,
0004,8D97,
0004,8D85,
0001,8D73,
0001,8D61,
0001,8D4F,
0001,8D3D,
0001,8D2B,
0001,8D19,
0001,8D07,
0001,8CF5
$A7:8939 dw 80ED,8887 ; Go to $8887
}
;;; $893D: Unused. Instruction list - Kraid foot - walking backwards - fast ;;;
{
$A7:893D dx B633, ; NOP
B683, ; Move Kraid right
0004,8F47,
B683, ; Move Kraid right
0001,8F23,
B683, ; Move Kraid right
0001,8EFF,
B683, ; Move Kraid right
0001,8EED,
B683, ; Move Kraid right
0001,8EDB,
B683, ; Move Kraid right
0001,8EC9,
B683, ; Move Kraid right
0001,8EB7,
B636, ; Decrement Kraid Y position
B683, ; Move Kraid right
0001,8EA5,
B636, ; Decrement Kraid Y position
B683, ; Move Kraid right
0001,8E93,
B636, ; Decrement Kraid Y position
B683, ; Move Kraid right
0001,8E81,
B636, ; Decrement Kraid Y position
B683, ; Move Kraid right
0001,8E6F,
B63C, ; Increment Kraid Y position, set screen shaking
B683, ; Move Kraid right
0001,8E5D,
B63C, ; Increment Kraid Y position, set screen shaking
B683, ; Move Kraid right
0001,8E4B,
B63C, ; Increment Kraid Y position, set screen shaking
B683, ; Move Kraid right
0001,8E39,
B63C, ; Increment Kraid Y position, set screen shaking
B64E, ; Queue quake sound effect
0001,8E27,
B633, ; NOP
0014,8E15,
0004,8E03,
0004,8DF1,
0004,8DDF,
0004,8DCD,
0004,8DBB,
0004,8DA9,
0004,8D97,
0004,8D85,
0001,8D73,
0001,8D61,
0001,8D4F,
0001,8D3D,
0001,8D2B,
0001,8D19,
0001,8D07,
0001,8CF5,
80ED,893D, ; Go to $893D
}
;;; $89F3: Instruction list - Kraid arm - normal ;;;
{
$A7:89F3 dw 0006,8F59,
0006,8F83,
0006,8FAD,
0006,8FD7,
0006,9001,
0006,902B,
0006,9055,
0006,907F,
0006,90A9,
0006,90D3,
0006,907F,
0006,9055,
0006,902B,
0006,9001,
0006,8FD7,
0006,8FAD,
0006,8F83
$A7:8A37 dw 0020,8F59,
8A8F, ; Slow Kraid arm if Kraid has less than half health
80ED,89F3 ; Go to $89F3
}
;;; $8A41: Instruction list - Kraid arm - slow ;;;
{
$A7:8A41 dw 0008,8F59,
0008,8F83,
0008,8FAD,
0008,8FD7,
0008,9001,
0008,902B,
0008,9055,
0008,907F,
0008,90A9,
0008,90D3,
0008,907F,
0008,9055,
0008,902B,
0008,9001,
0008,8FD7,
0008,8FAD,
0008,8F83,
0030,8F59,
8A8F, ; Slow Kraid arm if Kraid has less than half health (effectively just "go to $8A41")
80ED,8A41 ; Go to $8A41
}
;;; $8A8F: Instruction - slow Kraid arm if Kraid has less than half health ;;;
{
$A7:8A8F AD 8C 0F LDA $0F8C [$7E:0F8C] ;\
$A7:8A92 CF 12 78 7E CMP $7E7812[$7E:7812] ;} If [Kraid's HP] < [1/2 Kraid health]:
$A7:8A96 10 0B BPL $0B [$8AA3] ;/
$A7:8A98 AD D2 0F LDA $0FD2 [$7E:0FD2] ;\
$A7:8A9B C9 41 8A CMP #$8A41 ;} If [Kraid arm instruction list pointer] < $8A41 (normal):
$A7:8A9E 10 03 BPL $03 [$8AA3] ;/
$A7:8AA0 A0 41 8A LDY #$8A41 ; Y = Kraid arm - slow
$A7:8AA3 6B RTL
}
;;; $8AA4: Instruction list - Kraid arm - rising/sinking ;;;
{
; Same as $89F3 (normal), but the spritemaps all have lower priority sprites
$A7:8AA4 dx 0006,90FD,
0006,9127,
0006,9151,
0006,917B,
0006,91A5,
0006,91CF,
0006,91F9,
0006,9223,
0006,924D,
0006,9277,
0006,9223,
0006,91F9,
0006,91CF,
0006,91A5,
0006,917B,
0006,9151,
0006,9127,
0020,90FD,
80ED,8AA4 ; Go to $8AA4
}
;;; $8AF0: Instruction list - Kraid arm - dying / preparing to lunge forward ;;;
{
$A7:8AF0 dx 0006,8F59,
0006,92A1,
7FFF,92AB,
812F ; Sleep
}
;;; $8AFE: Instruction list - Kraid lint - initial ;;;
{
$A7:8AFE dx 7FFF,A5DF,
812F ; Sleep
}
;;; $8B04: Instruction list - Kraid lint - Kraid is big ;;;
{
$A7:8B04 dx 7FFF,8C6C,
812F ; Sleep
}
;;; $8B0A: Instruction list - fingernail ;;;
{
$A7:8B0A dw 0003,A617,
0003,A623,
0003,A639,
0003,A645,
0003,A65B,
0003,A667,
0003,A67D,
0003,A689,
80ED,8B0A ; Go to $8B0A
}
}
;;; $8B2E..948A: (Extended) spritemaps ;;;
{
;;; $8B2E: Unused. Extended spritemaps - Kraid arm ;;;
{
$A7:8B2E dw 0002, 0000,0000,9572,93F7, FFF7,FFF6,94E1,92D1
$A7:8B40 dw 0002, FFF9,FFF8,94E8,92EB, 0001,0000,9572,93F7
$A7:8B52 dw 0002, FFF8,FFF8,94F4,92F9, 0000,0000,9572,93F7
$A7:8B64 dw 0002, FFF8,FFF8,94FB,9313, 0000,0000,9572,93F7
$A7:8B76 dw 0002, FFF6,0001,94E8,92EB, 0000,0000,952D,9371
$A7:8B88 dw 0002, FFF6,0000,94F4,92F9, 0000,0000,952D,9371
$A7:8B9A dw 0002, FFF6,0000,94FB,9313, 0000,0000,952D,9371
$A7:8BAC dw 0002, FFF6,0000,9507,9321, 0000,0000,952D,9371
$A7:8BBE dw 0002, FFFA,0006,94F4,92F9, 0000,0000,9539,937F
$A7:8BD0 dw 0002, FFFA,0006,94FB,9313, 0000,0000,9539,937F
$A7:8BE2 dw 0002, FFF8,0006,9507,9321, 0000,0000,9539,937F
$A7:8BF4 dw 0002, FFF8,0006,950E,933B, 0000,0000,9539,937F
$A7:8C06 dw 0002, 0001,000A,94FB,9313, 0000,0000,9540,9399
$A7:8C18 dw 0002, 0000,000A,9507,9321, 0000,0000,9540,9399
$A7:8C2A dw 0002, FFFF,000C,950E,933B, 0000,0000,9540,9399
$A7:8C3C dw 0002, 0000,000B,951A,9349, 0000,0000,9540,9399
$A7:8C4E dw 0001, 0000,0000,95B4,9439
$A7:8C58 dw 0001, 0000,0000,958A,941F
$A7:8C62 dw 0001, 0000,0000,9579,9411
}
;;; $8C6C: Spritemap - Kraid lint - Kraid is big ;;;
{
$A7:8C6C dx 0005, 01F4,08,21C2, 81E4,00,21B0, 81F4,F8,21A2, 81E4,F8,21A0, 8004,F8,21A9
}
;;; $8C87: Unused. Extended spritemaps - Kraid foot ;;;
{
$A7:8C87 dw 0001, 0000,0000,94DA,92C3
$A7:8C91 dw 0002, 0000,0000,95DE,92C3, 000C,0030,9686,92C3
$A7:8CA3 dw 0002, 0000,0000,9608,92C3, 0000,0039,9686,92C3
$A7:8CB5 dw 0002, 0000,0000,9632,92C3, FFF0,003F,9686,92C3
$A7:8CC7 dw 0002, 0000,0000,965C,92C3, FFDF,003D,9686,92C3
$A7:8CD9 dw 0001, 0000,0000,96CB,9461
}
;;; $8CE3: Extended spritemaps - Kraid foot ;;;
{
$A7:8CE3 dw 0002, 0008,0028,9686,9453, 0000,0000,95DE,9453
$A7:8CF5 dw 0002, 0006,0027,9686,9453, FFFE,FFFF,95DE,9453
$A7:8D07 dw 0002, 0004,0026,9686,9453, FFFC,FFFE,95DE,9453
$A7:8D19 dw 0002, 0002,0025,9686,9453, FFFA,FFFD,95DE,9453
$A7:8D2B dw 0002, 0000,0024,9686,9453, FFF8,FFFC,95DE,9453
$A7:8D3D dw 0002, FFFE,0023,9686,9453, 0005,FFF1,9608,9453
$A7:8D4F dw 0002, FFFC,0022,9686,9453, 0003,FFF0,9608,9453
$A7:8D61 dw 0002, FFFA,0021,9686,9453, 0001,FFEF,9608,9453
$A7:8D73 dw 0002, FFF8,0020,9686,9453, FFFF,FFEE,9608,9453
$A7:8D85 dw 0002, FFF6,001F,9686,9453, FFFD,FFED,9608,9453
$A7:8D97 dw 0002, FFF4,001D,9686,9453, 000C,FFE6,9632,9453
$A7:8DA9 dw 0002, FFF2,001C,9686,9453, 001A,FFE9,965C,9453
$A7:8DBB dw 0002, FFF0,001E,9686,9453, 0018,FFEB,965C,9453
$A7:8DCD dw 0002, FFEE,0020,9686,9453, 0016,FFED,965C,9453
$A7:8DDF dw 0002, FFEC,0022,9686,9453, 0014,FFEF,965C,9453
$A7:8DF1 dw 0002, FFEA,0024,9686,9453, 0012,FFF1,965C,9453
$A7:8E03 dw 0002, FFE8,0026,9686,9453, 0010,FFF3,965C,9453
$A7:8E15 dw 0002, FFE6,0028,9686,9453, 000E,FFF5,965C,9453
$A7:8E27 dw 0002, FFE8,0028,9686,9453, 0010,FFF6,965C,9453
$A7:8E39 dw 0002, FFEA,0028,9686,9453, 0012,FFF6,965C,9453
$A7:8E4B dw 0002, FFEC,0028,9686,9453, 0014,FFF6,965C,9453
$A7:8E5D dw 0002, FFEE,0028,9686,9453, 0006,FFF1,9632,9453
$A7:8E6F dw 0002, FFF0,0028,9686,9453, 0008,FFF1,9632,9453
$A7:8E81 dw 0002, FFF2,0028,9686,9453, FFF9,FFF6,9608,9453
$A7:8E93 dw 0002, FFF4,0028,9686,9453, FFFB,FFF6,9608,9453
$A7:8EA5 dw 0002, FFF6,0028,9686,9453, FFFD,FFF6,9608,9453
$A7:8EB7 dw 0002, FFF8,0028,9686,9453, FFFF,FFF6,9608,9453
$A7:8EC9 dw 0002, FFFA,0028,9686,9453, 0001,FFF6,9608,9453
$A7:8EDB dw 0002, FFFC,0028,9686,9453, 0003,FFF6,9608,9453
$A7:8EED dw 0002, FFFE,0028,9686,9453, 0005,FFF6,9608,9453
$A7:8EFF dw 0002, 0000,0028,9686,9453, 0007,FFF6,9608,9453
$A7:8F11 dw 0002, 0002,0028,9686,9453, FFFA,0000,95DE,9453
$A7:8F23 dw 0002, 0004,0028,9686,9453, FFFC,0000,95DE,9453
$A7:8F35 dw 0002, 0006,0028,9686,9453, FFFE,0000,95DE,9453 ; <-- Unused
$A7:8F47 dw 0002, 0008,0028,9686,9453, 0000,0000,95DE,9453
}
;;; $8F59: Extended spritemaps - Kraid arm ;;;
{
; General
$A7:8F59 dw 0005, FFDC,FFDF,94E1,92D1, FFE4,FFE8,9572,93F7, 0000,0000,95B4,9439, FFDC,FFD8,94E1,92D1, FFE4,FFE1,9572,93F7
$A7:8F83 dw 0005, FFDA,FFDF,94E8,92EB, FFE2,FFE6,9572,93F7, 0000,0000,95B4,9439, FFDC,FFD8,94E1,92D1, FFE4,FFE1,9572,93F7
$A7:8FAD dw 0005, FFD0,FFF3,94F4,92F9, FFDA,FFF3,952D,9371, 0000,0000,958A,941F, FFD3,FFE5,94E8,92EB, FFDB,FFED,9572,93F7
$A7:8FD7 dw 0005, FFD2,FFF3,94FB,9313, FFDB,FFF3,952D,9371, 0000,0000,958A,941F, FFD3,FFED,94F4,92F9, FFDC,FFEE,952D,9371
$A7:9001 dw 0005, FFD3,0008,9507,9321, FFDA,0002,9539,937F, 0000,0000,9579,9411, FFD2,0003,94FB,9313, FFD9,FFFD,9539,937F
$A7:902B dw 0005, FFD4,0008,9507,9321, FFDB,0002,9539,937F, 0000,0000,9579,9411, FFD2,0004,9507,9321, FFD9,FFFE,9539,937F
$A7:9055 dw 0005, FFD9,000A,950E,933B, FFDA,0000,9540,9399, 0000,0000,9579,9411, FFD5,000A,950E,933B, FFD7,FFFE,9540,9399
$A7:907F dw 0005, FFD9,000A,950E,933B, FFDA,0000,9540,9399, 0000,0000,9579,9411, FFD5,0009,950E,933B, FFD7,FFFE,9540,9399
$A7:90A9 dw 0005, FFD9,000A,951A,9349, FFDA,0000,9540,9399, 0000,0000,9579,9411, FFD5,0009,950E,933B, FFD7,FFFE,9540,9399
$A7:90D3 dw 0005, FFD9,000A,951A,9349, FFDA,0000,9540,9399, 0000,0000,9579,9411, FFD6,0009,951A,9349, FFD6,FFFE,9540,9399
; Rising/sinking
$A7:90FD dw 0005, FFDC,FFDF,A47C,92D1, FFE4,FFE8,A4DB,93F7, 0000,0000,A53B,9439, FFDC,FFD8,A47C,92D1, FFE4,FFE1,A4DB,93F7
$A7:9127 dw 0005, FFDA,FFDF,A483,92EB, FFE2,FFE6,A4DB,93F7, 0000,0000,A53B,9439, FFDC,FFD8,A47C,92D1, FFE4,FFE1,A4DB,93F7
$A7:9151 dw 0005, FFD0,FFF3,A48F,92F9, FFDA,FFF3,A4BC,9371, 0000,0000,A511,941F, FFD3,FFE5,A483,92EB, FFDB,FFED,A4DB,93F7
$A7:917B dw 0005, FFD2,FFF3,A496,9313, FFDB,FFF3,A4BC,9371, 0000,0000,A511,941F, FFD3,FFED,A48F,92F9, FFDC,FFEE,A4BC,9371
$A7:91A5 dw 0005, FFD3,0008,A4A2,9321, FFDA,0002,A4C8,937F, 0000,0000,A500,9411, FFD2,0003,A496,9313, FFD9,FFFD,A4C8,937F
$A7:91CF dw 0005, FFD4,0008,A4A2,9321, FFDB,0002,A4C8,937F, 0000,0000,A500,9411, FFD2,0004,A4A2,9321, FFD9,FFFE,A4C8,937F
$A7:91F9 dw 0005, FFD9,000A,A4A9,933B, FFDA,0000,A4CF,9399, 0000,0000,A500,9411, FFD5,000A,A4A9,933B, FFD7,FFFE,A4CF,9399
$A7:9223 dw 0005, FFD9,000A,A4A9,933B, FFDA,0000,A4CF,9399, 0000,0000,A500,9411, FFD5,0009,A4A9,933B, FFD7,FFFE,A4CF,9399
$A7:924D dw 0005, FFD9,000A,A4B5,9349, FFDA,0000,A4CF,9399, 0000,0000,A500,9411, FFD5,0009,A4A9,933B, FFD7,FFFE,A4CF,9399
$A7:9277 dw 0005, FFD9,000A,A4B5,9349, FFDA,0000,A4CF,9399, 0000,0000,A500,9411, FFD6,0009,A4B5,9349, FFD6,FFFE,A4CF,9399
; Dying / preparing to lunge forward
$A7:92A1 dw 0001, 0000,0000,A69F,946F
$A7:92AB dw 0001, 0000,0000,A6DD,947D
}
;;; $92B5: Hitbox - Kraid lint ;;;
{
; Used by $B96A
$A7:92B5 dw 0001, FFE8,FFFC,0004,0006,948B,94B5
}
;;; $92C3: Unused. Hitbox - Kraid foot ;;;
{
$A7:92C3 dw 0001, FFF8,FFF8,0007,0007,948B,94B5
}
;;; $92D1: Hitboxes - Kraid arm ;;;
{
$A7:92D1 dx 0002, FFF3,FFF5,FFFD,FFFB,9490,94B6, FFF7,FFFB,0001,0002,9490,94B6
$A7:92EB dx 0001, FFF0,FFFB,0001,0002,9490,94B6
$A7:92F9 dx 0002, FFF7,FFFE,0001,0007,9490,94B6, FFF4,0003,FFFA,000C,9490,94B6
$A7:9313 dx 0001, FFFA,FFFF,0001,000E,9490,94B6
$A7:9321 dx 0002, FFFD,FFFE,0006,0009,9490,94B6, 0002,0007,000B,000B,9490,94B6
$A7:933B dx 0001, FFFF,FFFC,000E,0004,9490,94B6
$A7:9349 dx 0002, FFFD,FFF9,0006,0002,9490,94B6, 0004,FFF4,000A,FFFF,9490,94B6
$A7:9363 dx 0001, FFFC,FFF2,0003,0001,948B,94B6
$A7:9371 dx 0001, FFF1,FFFB,0002,0004,9490,94B6
$A7:937F dx 0002, FFF5,0002,FFFC,000A,9490,94B6, FFFA,FFFD,0003,0005,9490,94B6
$A7:9399 dx 0001, FFFC,FFFE,0003,000D,9490,94B6
$A7:93A7 dx 0002, 0003,0002,000A,000B,948B,94B6, FFFD,FFFD,0005,0005,948B,94B6
$A7:93C1 dx 0001, FFFD,FFFB,000E,0004,948B,94B6
$A7:93CF dx 0002, 0002,FFF4,000B,FFFC,948B,94B6, FFFD,FFF9,0004,0002,948B,94B6
$A7:93E9 dx 0001, FFFC,FFF1,0005,0002,948B,94B6
$A7:93F7 dx 0002, FFF4,FFF4,FFFD,FFFD,9490,94B6, FFFA,FFFA,0003,0002,9490,94B6
$A7:9411 dx 0001, FFD3,FFF7,0004,0008,948B,94B6
$A7:941F dx 0002, FFE4,FFEF,FFF4,0000,948B,94B6, FFD6,FFE9,FFE4,FFFA,948B,94B6
$A7:9439 dx 0002, FFEA,FFE7,FFF8,FFFB,948B,94B6, FFDD,FFDD,FFED,FFEF,948B,94B6
}
;;; $9453: Hitbox - Kraid foot ;;;
{
$A7:9453 dw 0001, FFFA,FFFA,0006,0006,948B,94B5
}
;;; $9461: Unused. Hitbox - Kraid foot ;;;
{
$A7:9461 dw 0001, FFFE,FFFD,0002,0003,948B,94B5
}
;;; $946F: Hitboxes - Kraid arm - dying / preparing to lunge forward ;;;
{
$A7:946F dw 0001, FFC0,FFD0,FFE0,FFF0,948B,94B6
$A7:947D dw 0001, FFC0,FFFC,0000,0004,948B,94B6
}
}
;;; $948B: Enemy touch - Kraid arm/foot - normal ;;;
{
$A7:948B 22 77 A4 A0 JSL $A0A477[$A0:A477] ; Normal enemy touch AI
$A7:948F 6B RTL
}
;;; $9490: Enemy touch - enemy $E2FF (Kraid arm) ;;;
{
$A7:9490 AD A8 18 LDA $18A8 [$7E:18A8] ;\
$A7:9493 F0 01 BEQ $01 [$9496] ;} If [Samus invincibility timer] != 0:
$A7:9495 6B RTL ; Return
$A7:9496 20 A4 94 JSR $94A4 [$A7:94A4] ; Push Samus back
$A7:9499 A9 9B B8 LDA #$B89B ;\
$A7:949C 8D A8 10 STA $10A8 [$7E:10A8] ;} Kraid bottom lint function = $B89B (fire lint)
}
;;; $949F: Enemy touch - enemy $E2BF (Kraid) ;;;
{
$A7:949F 22 97 A4 A0 JSL $A0A497[$A0:A497] ; Normal enemy touch AI - no death check
$A7:94A3 6B RTL
}
;;; $94A4: Push Samus back ;;;
{
$A7:94A4 A9 04 00 LDA #$0004 ;\
$A7:94A7 8D 58 0B STA $0B58 [$7E:0B58] ;} Extra Samus X displacement = 4
$A7:94AA A9 F8 FF LDA #$FFF8 ;\
$A7:94AD 8D 5C 0B STA $0B5C [$7E:0B5C] ;} Extra Samus Y displacement = -8
$A7:94B0 60 RTS
}
;;; $94B1: Normal enemy shot ;;;
{
$A7:94B1 22 3D A6 A0 JSL $A0A63D[$A0:A63D] ; Normal enemy shot AI
$A7:94B5 6B RTL
}
;;; $94B6: Enemy shot - Kraid arm ;;;
{
$A7:94B6 BB TYX
$A7:94B7 20 CB B0 JSR $B0CB [$A7:B0CB] ; Spawn explosion enemy projectile
$A7:94BA B9 04 0C LDA $0C04,y[$A7:F10D] ;\
$A7:94BD 09 10 00 ORA #$0010 ;} Mark projectile for deletion
$A7:94C0 99 04 0C STA $0C04,y[$A7:F10D] ;/
$A7:94C3 6B RTL
}
;;; $94C4..96D1: Spritemaps ;;;
{
;;; $94C4: Unused. Spritemap - Kraid lint ;;;
{
$A7:94C4 dx 0004, 0000,08,21C2, 81F0,00,21B0, 8000,F8,21A2, 81F0,F8,21A0
}
;;; $94DA: Unused. Spritemap - Kraid foot ;;;
{
$A7:94DA dx 0001, 81F8,F8,21A9
}
;;; $94E1: Spritemaps - Kraid arm - general ;;;
{
$A7:94E1 dx 0001, 81F2,F4,3126
$A7:94E8 dx 0002, 01F9,FB,3129, 01F1,FB,3128
$A7:94F4 dx 0001, 81F2,FD,312A
$A7:94FB dx 0002, 01FA,07,3139, 01FA,FF,3138
$A7:9507 dx 0001, 81FD,FD,F126
$A7:950E dx 0002, 01FF,FD,F129, 0007,FD,F128
$A7:951A dx 0001, 81FD,F4,F12A
$A7:9521 dx 0002, 01FC,F2,F139, 01FC,FA,F138 ; <-- Unused
$A7:952D dx 0002, 01FA,FC,F12E, 01F2,FC,B12E
$A7:9539 dx 0001, 81F4,FC,B12C
$A7:9540 dx 0002, 01FC,06,B13E, 01FC,FE,313E
$A7:954C dx 0001, 81FC,FC,312C ; <-- Unused
$A7:9553 dx 0002, 0006,FC,712E, 01FE,FC,312E ; <-- Unused
$A7:955F dx 0001, 81FC,F4,712C ; <-- Unused
$A7:9566 dx 0002, 01FD,FA,F13E, 01FD,F2,713E ; <-- Unused
$A7:9572 dx 0001, 81F4,F4,312C
$A7:9579 dx 0003, 81F4,F8,3104, 81E4,F8,3102, 81D4,F8,3100
$A7:958A dx 0008, 01EC,00,311C, 01FC,F0,310F, 01F4,F0,310E, 01E4,E8,310D, 01DC,F8,310C, 81F4,F8,310A, 81E4,F0,3108, 81D4,E8,3106
$A7:95B4 dx 0008, 01FC,ED,313F, 01EC,FD,312F, 01EC,F5,311F, 01EC,DD,311E, 01E4,ED,311D, 81F4,F5,3124, 81EC,E5,3122, 81DC,DD,3120
}
;;; $95DE: Spritemaps - Kraid foot ;;;
{
$A7:95DE dx 0008, 8020,1C,315A, 8020,14,314A, 8010,1C,3148, 01F8,0C,314C, 8010,0C,3146, 8000,0C,3144, 8008,FC,3142, 81F8,FC,3140
$A7:9608 dx 0008, 8012,28,3168, 800A,28,3167, 8010,18,3182, 8000,18,3180, 8008,08,3165, 81F8,08,3163, 8000,F8,3161, 81F8,F8,3160
$A7:9632 dx 0008, 81F9,2C,31AD, 81F8,1C,318D, 81F8,0C,316D, 81F8,FC,314D, 8001,2C,31AE, 8000,1C,318E, 8000,0C,316E, 8000,FC,314E
$A7:965C dx 0008, 81F0,2C,31A5, 81E8,2C,31A4, 81F8,1C,31CE, 81E8,1C,31CC, 8000,0C,317A, 81F0,0C,3188, 8000,FC,3186, 81F0,FC,3184
$A7:9686 dx 000C, 01D8,F4,31C3, 0018,F4,319A, 8000,F4,31C8, 81F0,F4,31C6, 81E0,F4,31C4, 81D0,FC,31A7, 8020,FC,31AB, 8020,F4,319B, 8010,FC,31DA, 8000,FC,31D8, 81F0,FC,31D6, 81E0,FC,31D4
}
;;; $96C4: Unused. Spritemaps - Kraid foot ;;;
{
$A7:96C4 dx 0001, 81F8,F8,21D0
$A7:96CB dx 0001, 01FC,FC,21D2
}
}
;;; $96D2..9787: Kraid instruction lists ;;;
{
;;; $96D2: Kraid instruction list - roar ;;;
{
; ________________ Timer
; | ___________ Tilemap
; | | ______ Vulnerable mouth hitbox
; | | | _ Invulnerable mouth hitbox
; | | | |
$A7:96D2 dw 000A,97C8,9788,FFFF
$A7:96DA dw 000A,9AC8,9790,97B0
$A7:96E2 dw 000A,9DC8,9798,97B8
$A7:96EA dw AF94 ; Queue Kraid roar sound effect
$A7:96EC dw 0040,A0C8,97A0,97C0 ; <-- Mouth is fully open
$A7:96F4 dw 000A,9DC8,9798,97B8
$A7:96FC dw 000A,9AC8,9790,97B0
$A7:9704 dw 000A,97C8,9788,FFFF
$A7:970C dw FFFF
}
;;; $970E: Kraid instruction list - dying roar ;;;
{
$A7:970E dw 0014,97C8,9788,FFFF
$A7:9716 dw 0014,9AC8,9790,97B0,
0014,9DC8,9798,97B8,
AF94 ; Queue Kraid roar sound effect
00C0,A0C8,97A0,97C0,
0014,9DC8,9798,97B8,
0014,9AC8,9790,97B0,
0014,97C8,9788,FFFF,
FFFF
}
;;; $974A: Kraid instruction list - eye glowing ;;;
{
; ________________ Timer
; | ___________ Tilemap
; | | ______ Vulnerable mouth hitbox
; | | | _ Invulnerable mouth hitbox
; | | | |
$A7:974A dw 0005,97C8,9788,FFFF
$A7:9752 dw 000A,9AC8,9790,97B0,
0005,97C8,9788,FFFF,
FFFF
}
;;; $9764: Kraid instruction list - dying ;;;
{
; ________________ Timer
; | ___________ Tilemap
; | | ______ Vulnerable mouth hitbox
; | | | _ Invulnerable mouth hitbox
; | | | |
$A7:9764 dw 0019,97C8,9788,FFFF,
$A7:976C dw 0019,9AC8,9790,97B0,
0019,9DC8,9798,97B8,
AF9F, ; Queue Kraid dying sound effect
0040,A0C8,97A0,97C0,
FFFF
}
}
;;; $9788: Kraid mouth hitboxes ;;;
{
; __________________ Left
; | _____________ Top
; | | ________ Right
; | | | ___ Bottom
; | | | |
$A7:9788 dw 0010,FF88,0028,FFA8
$A7:9790 dw 0010,FF88,0028,FF98
$A7:9798 dw 0010,FF80,0028,FF90
$A7:97A0 dw 0010,FF80,0028,FF88
$A7:97A8 dw 0000,0000,0000,0000 ; <-- Unused
$A7:97B0 dw 0006,FFA0,0020,FFB0
$A7:97B8 dw 0000,FF98,0020,FFB0
$A7:97C0 dw 0000,FF90,0020,FFB0
}
;;; $97C8: Kraid head tilemaps ;;;
{
; The last row of each of these tilemaps isn't actually drawn
$A7:97C8 dw 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C00, 3C01, 3C02, 3C03, 3C04, 3C05, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C06, 3C07, 3C08, 3C09, 3C0A, 3C0B, 3C0C, 3C0D, 3C0E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C0F, 3C10, 3C11, 3C12, 3C13, 3C14, 3C15, 3C16, 3C17, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C18, 3C19, 3C1A, 3C1B, 3C1C, 3C1D, 3C1E, 3C1F, 3C20, 3C21, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C22, 3C23, 3C24, 3C25, 3C26, 3C27, 3C28, 3C29, 3C2A, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C2B, 3C2C, 3C2D, 3C2E, 3C2F, 3C30, 3C31, 3C32, 3C33, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C34, 3C35, 3C36, 3C37, 3C38, 3C39, 3C3A, 3C3B, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C3C, 3C3D, 3C3E, 3C3F, 3C40, 3C41, 3C42, 3C43, 3C44, 3C45, 3C46, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C47, 3C48, 3C49, 3C4A, 3C4B, 3C4C, 3C4D, 3C4E, 3C4F, 3C50, 3C51, 3C52, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C53, 3C54, 3C55, 3C56, 3C57, 3C58, 3C59, 3C5A, 3C5B, 3C5C, 3C5D, 3C5E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C5F, 3C60, 3C61, 3D50, 3D50, 3C62, 3C63, 3C64, 3C65, 3C66, 3C67, 3C68, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 3C69, 3C6A, 3D50, 3D50, 3D50, 3C6B, 3C6C, 3C6D, 3C6E, 3C6F, 3C70, 3C71, 3C72, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338
$A7:9AC8 dw 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C73, 3C74, 3C75, 3C76, 3C77, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C78, 3C79, 3C7A, 3C7B, 3C7C, 3C7D, 3C7E, 3C7F, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C80, 3C81, 3C82, 3C83, 3C84, 3C85, 3C86, 3C87, 3C88, 3C89, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C8A, 3C8B, 3C8C, 3C8D, 3C8E, 3C8F, 3C90, 3C91, 3C92, 3C93, 3C94, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C95, 0338, 3C96, 3C97, 3C98, 3C99, 3C9A, 3C9B, 3C9C, 3C9D, 3C9E, 3C9F, 3CA0, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CA1, 3CA2, 3CA3, 3CA4, 3CA5, 3CA6, 3CA7, 3CA8, 3CA9, 3CAA, 3CAB, 3CAC, 3CAD, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CAE, 3CAF, 3CB0, 3CB1, 3CB2, 3CB3, 3CB4, 3C43, 3C44, 3C45, 3C46, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CB5, 3CB6, 3CB7, 3CB8, 3C4C, 3C4D, 3C4E, 3C4F, 3C50, 3C51, 3C52, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CB9, 3CBA, 3CBB, 3C56, 3C57, 3C58, 3C59, 3C5A, 3C5B, 3C5C, 3C5D, 3C5E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C5F, 3C60, 3C61, 3D50, 3D50, 3C62, 3C63, 3C64, 3C65, 3C66, 3C67, 3C68, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 3C69, 3C6A, 3D50, 3D50, 3D50, 3C6B, 3C6C, 3C6D, 3C6E, 3C6F, 3C70, 3C71, 3C72, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338
$A7:9DC8 dw 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CBC, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CBD, 3CBE, 3CBF, 3CC0, 3CC1, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CC2, 3CC3, 3CC4, 3CC5, 3CC6, 3CC7, 3CC8, 3CC9, 3CCA, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CCB, 3CCC, 3CCD, 3CCE, 3CCF, 3CD0, 3CD1, 3CD2, 3CD3, 3CD4, 3D43, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CD5, 3CD6, 3CD7, 3CD8, 3CD9, 3CDA, 3CDB, 3CDC, 3CDD, 3CDE, 3CDF, 3CE0, 3CE1, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CE2, 3CE3, 3CE4, 3CE5, 3CE6, 3CE7, 3CE8, 3CE9, 3CEA, 3CEB, 3CEC, 3CED, 3CEE, 3CEF, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CF0, 3CF1, 3CF2, 3CF3, 3CF4, 3CF5, 3CF6, 3CF7, 3CF8, 3CF9, 3CFA, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CFB, 3CFC, 3CB7, 3CFD, 3CFE, 3C4D, 3C4E, 3C4F, 3C50, 3C51, 3CFF, 3D00, 3D44, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CB9, 3CBA, 3CBB, 3C56, 3C57, 3C58, 3C59, 3C5A, 3C5B, 3C5C, 3C5D, 3C5E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C5F, 3C60, 3C61, 3D50, 3D50, 3C62, 3C63, 3C64, 3C65, 3C66, 3C67, 3C68, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 3C69, 3C6A, 3D50, 3D50, 3D50, 3C6B, 3C6C, 3C6D, 3C6E, 3C6F, 3C70, 3C71, 3C72, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338
$A7:A0C8 dw 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D01, 3D02, 0338, 3D03, 3D04, 3D05, 3D06, 3D07, 3D08, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D09, 3D0A, 3D0B, 3D0C, 3D0D, 3D0E, 3D0F, 3D10, 3D11, 3D12, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D13, 3D14, 3D15, 3D16, 3D17, 3D18, 3D19, 3D1A, 3D1B, 3D1C, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D1D, 3D1E, 3D1F, 3D20, 3D21, 3D22, 3D23, 3D24, 3D25, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D26, 3D27, 3D28, 3D29, 3D2A, 3D2B, 3D2C, 3D2D, 3D2E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 3D2F, 3D30, 3CB7, 3D31, 3D32, 3D33, 3D34, 3D35, 3D36, 3C51, 3D37, 3D38, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3CB9, 3CBA, 3CBB, 3C56, 3C57, 3C58, 3C59, 3D39, 3D3A, 3D3B, 3D3C, 3D3D, 3D3E, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 0338, 3C5F, 3C60, 3C61, 3D50, 3D50, 3C62, 3C63, 3C64, 3C65, 3C66, 3D3F, 3D40, 3D41, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338,
0338, 0338, 0338, 0338, 0338, 0338, 3C69, 3C6A, 3D50, 3D50, 3D50, 3C6B, 3C6C, 3C6D, 3C6E, 3C6F, 3C70, 3C71, 3D42, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338, 0338
}
;;; $A3C8..A715: (Extended) spritemaps ;;;
{
;;; $A3C8: Unused. Extended spritemaps - Kraid arm ;;;
{
$A7:A3C8 dw 0002, 0000,0000,A4DB,93F7, FFF7,FFF6,A47C,92D1
$A7:A3DA dw 0002, FFF9,FFF8,A483,92EB, 0001,0000,A4DB,93F7
$A7:A3EC dw 0002, FFF6,0001,A483,92EB, 0000,0000,A4BC,9371
$A7:A3FE dw 0002, FFF6,0000,A48F,92F9, 0000,0000,A4BC,9371
$A7:A410 dw 0002, FFF6,0000,A496,9313, 0000,0000,A4BC,9371
$A7:A422 dw 0002, FFFA,0006,A496,9313, 0000,0000,A4C8,937F
$A7:A434 dw 0002, FFF8,0006,A4A2,9321, 0000,0000,A4C8,937F
$A7:A446 dw 0002, FFF8,0006,A4A9,933B, 0000,0000,A4C8,937F
$A7:A458 dw 0002, FFFF,000C,A4A9,933B, 0000,0000,A4CF,9399
$A7:A46A dw 0002, 0000,000B,A4B5,9349, 0000,0000,A4CF,9399
}
;;; $A47C: Spritemaps - Kraid arm - rising/sinking ;;;
{
$A7:A47C dx 0001, 81F2,F4,2126
$A7:A483 dx 0002, 01F9,FB,2129, 01F1,FB,2128
$A7:A48F dx 0001, 81F2,FD,212A
$A7:A496 dx 0002, 01FA,07,2139, 01FA,FF,2138
$A7:A4A2 dx 0001, 81FD,FD,E126
$A7:A4A9 dx 0002, 01FF,FD,E129, 0007,FD,E128
$A7:A4B5 dx 0001, 81FD,F4,E12A
$A7:A4BC dx 0002, 01FA,FC,E12E, 01F2,FC,A12E
$A7:A4C8 dx 0001, 81F4,FC,A12C
$A7:A4CF dx 0002, 01FC,06,A13E, 01FC,FE,213E
$A7:A4DB dx 0001, 81F4,F4,212C
}
;;; $A4E2: Unused. Extended spritemaps - Kraid arm ;;;
{
$A7:A4E2 dw 0001, 0000,0000,A53B,9439
$A7:A4EC dw 0001, 0000,0000,A511,941F
$A7:A4F6 dw 0001, 0000,0000,A500,9411
}
;;; $A500: Spritemaps - Kraid arm - rising/sinking ;;;
{
$A7:A500 dx 0003, 81F4,F8,2104, 81E4,F8,2102, 81D4,F8,2100
$A7:A511 dx 0008, 01EC,00,211C, 01FC,F0,210F, 01F4,F0,210E, 01E4,E8,210D, 01DC,F8,210C, 81F4,F8,210A, 81E4,F0,2108, 81D4,E8,2106
$A7:A53B dx 0008, 01FC,ED,213F, 01EC,FD,212F, 01EC,F5,211F, 01EC,DD,211E, 01E4,ED,211D, 81F4,F5,2124, 81EC,E5,2122, 81DC,DD,2120
}
;;; $A565: Extended spritemap - Kraid foot - initial ;;;
{
$A7:A565 dw 0002, 0008,0028,A5A1,9453, 0000,0000,A577,9453
}
;;; $A577: Spritemaps - Kraid foot ;;;
{
$A7:A577 dx 0008, 8020,1C,215A, 8020,14,214A, 8010,1C,2148, 01F8,0C,214C, 8010,0C,2146, 8000,0C,2144, 8008,FC,2142, 81F8,FC,2140
$A7:A5A1 dx 000C, 01D8,F4,21C3, 0018,F4,219A, 8000,F4,21C8, 81F0,F4,21C6, 81E0,F4,21C4, 81D0,FC,21A7, 8020,FC,21AB, 8020,F4,219B, 8010,FC,21DA, 8000,FC,21D8, 81F0,FC,21D6, 81E0,FC,21D4
}
;;; $A5DF: Spritemap - Kraid lint - initial ;;;
{
$A7:A5DF dx 0005, 0000,08,11C2, 81F0,00,11B0, 8000,F8,11A2, 81F0,F8,11A0, 8000,08,11A9
}
;;; $A5FA: Unused. Spritemaps - Kraid lint ;;;
{
$A7:A5FA dx 0004, 0000,08,11C2, 81F0,00,11B0, 8000,F8,11A2, 81F0,F8,11A0
$A7:A610 dx 0001, 81F8,F8,11A9
}
;;; $A617: Spritemaps - Kraid fingernail ;;;
{
$A7:A617 dx 0002, C3F4,F8,212A, C3FC,F8,212C
$A7:A623 dx 0004, 01F9,FB,2138, 01F9,03,2139, 0002,F9,612E, 01FA,F9,212E
$A7:A639 dx 0002, C3F9,FB,E126, C3F9,F4,612C
$A7:A645 dx 0004, 01FC,FF,E129, 0004,FF,E128, 01F9,FE,E13E, 01F9,F6,613E
$A7:A65B dx 0002, C3FC,F8,E12A, C3F4,F8,212C
$A7:A667 dx 0004, 01FF,FD,E138, 01FF,F5,E139, 01FD,FF,E12E, 01F5,FF,A12E
$A7:A67D dx 0002, C3F7,F4,2126, C3F7,FC,A12C
$A7:A689 dx 0004, 01FD,F9,2129, 01F5,F9,2128, 01FF,03,A13E, 01FF,FB,213E
}
;;; $A69F: Spritemaps - Kraid arm - dying / preparing to lunge ;;;
{
$A7:A69F dx 000C, C3C1,D8,3326, C3CE,E3,332C, C3C2,D2,3326, C3CF,DD,332C, 01FF,EF,330F, 01F7,EF,330E, 01EF,FF,331C, 01DF,F7,330C, 01E7,E7,330D, C3F7,F7,330A, C3E7,EF,3308, C3D7,E7,3306
$A7:A6DD dx 000B, 01BD,FE,3328, 01C5,FE,3329, 01D4,FE,732E, 01CC,FE,332E, 01B9,F9,3328, 01C1,F9,3329, 01D0,F9,732E, 01C8,F9,332E, C3F4,F8,3304, C3E4,F8,3302, C3D4,F8,3300
}
}
}
;;; $A716: Kraid's room background ;;;
{
; |--------|--------|--------|--------|
; |AABBBBBB|BBBBBB77|6666677B|BBBBB55B|
; |AB665566|66777B77|7666777B|66666BB5|
; |AB655995|56667777|777777B6|666566BB|
; |BB665499|65667776|777777B6|6656566B|
; |B6559449|5556677B|77777777|B655556B|
; |B6669995|555677B7|7B777B77|7B65656B|
; |B6556556|5566BB77|BBBB6776|77B6666B|
; |B6556665|666B7BBB|BB666677|67B6666B|
; |--------|--------|--------|--------|
; |B6665565|66B7BBB6|55566667|77B6666B|
; |A6665655|667BBB56|55565566|767666BB|
; |BBB66666|67BBB555|69955656|777BBB66|
; |6666BBBB|77BB5655|9C495556|677B6666|
; |5556677B|B7BB5669|94499665|67766666|
; |65655677|BB765559|99999555|67B66556|
; |56556566|7BB66565|59995556|67666655|
; |55995566|77B66655|75555666|67665595|
; |--------|--------|--------|--------|
; |69C49556|67766556|55565566|77665599|
; |59449556|677B6665|65565666|7BB65559|
; |55995666|67BB6666|65666667|BBB66655|
; |56556566|77BB7B66|6666667B|BBB66656|
; |5655666B|76666777|7666B777|7BBB6665|
; |665666B7|66666677|77777776|666666B6|
; |666666B6|66495567|77777666|555656B6|
; |6666BBB7|66995556|77776665|5C45556B|
; |--------|--------|--------|--------|
; |66BBBBB7|65556566|77B76655|9449556B|
; |BBBBBBB7|76555667|77B76656|5999656B|
; |BB66655B|77666667|67BBB665|5655566B|