If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Final Fantasy VI/ROM map/Assembly C1D
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
C1/D00B: B75B LDA [$5B],Y (from C1/C884, X = 43) C1/D00D: F04C BEQ $D05B C1/D00F: 7B TDC C1/D010: AA TAX C1/D011: C220 REP #$20 C1/D013: ADD0E9 LDA $E9D0 C1/D016: 0A ASL A C1/D017: 0A ASL A C1/D018: 8510 STA $10 C1/D01A: ADB664 LDA $64B6 C1/D01D: 18 CLC C1/D01E: 6DD0E9 ADC $E9D0 C1/D021: 9DF743 STA $43F7,X C1/D024: 3A DEC A C1/D025: E8 INX C1/D026: E8 INX C1/D027: E8 INX C1/D028: E8 INX C1/D029: E410 CPX $10 C1/D02B: D0F4 BNE $D021 C1/D02D: ADB664 LDA $64B6 C1/D030: 9DF743 STA $43F7,X C1/D033: E8 INX C1/D034: E8 INX C1/D035: E8 INX C1/D036: E8 INX C1/D037: E05C02 CPX #$025C C1/D03A: D0F4 BNE $D030 C1/D03C: CED0E9 DEC $E9D0 C1/D03F: 7B TDC C1/D040: AA TAX C1/D041: ADB464 LDA $64B4 C1/D044: 9DF543 STA $43F5,X C1/D047: 9D2145 STA $4521,X C1/D04A: E8 INX C1/D04B: E8 INX C1/D04C: E8 INX C1/D04D: E8 INX C1/D04E: E02C01 CPX #$012C C1/D051: D0F1 BNE $D044 C1/D053: 8D4D46 STA $464D C1/D056: 7B TDC C1/D057: E220 SEP #$20 C1/D059: 8006 BRA $D061 C1/D05B: A08000 LDY #$0080 C1/D05E: 8CD0E9 STY $E9D0 C1/D061: 4CC6CF JMP $CFC6 C1/D064: B75B LDA [$5B],Y (from C1/C884, X = 42) C1/D066: 8F1A2100 STA $00211A C1/D06A: 4CC6CF JMP $CFC6 C1/D06D: 6411 STZ $11 (from C1/C884, X = 41) C1/D06F: B75B LDA [$5B],Y C1/D071: 1002 BPL $D075 C1/D073: C611 DEC $11 C1/D075: 8510 STA $10 C1/D077: C220 REP #$20 C1/D079: ADC4E9 LDA $E9C4 C1/D07C: 18 CLC C1/D07D: 6510 ADC $10 C1/D07F: 8DC4E9 STA $E9C4 C1/D082: 7B TDC C1/D083: E220 SEP #$20 C1/D085: C8 INY C1/D086: 6411 STZ $11 C1/D088: B75B LDA [$5B],Y C1/D08A: 1002 BPL $D08E C1/D08C: C611 DEC $11 C1/D08E: 8510 STA $10 C1/D090: C220 REP #$20 C1/D092: ADCAE9 LDA $E9CA C1/D095: 18 CLC C1/D096: 6510 ADC $10 C1/D098: 8DCAE9 STA $E9CA C1/D09B: E220 SEP #$20 C1/D09D: C8 INY C1/D09E: 6411 STZ $11 C1/D0A0: B75B LDA [$5B],Y C1/D0A2: 1002 BPL $D0A6 C1/D0A4: C611 DEC $11 C1/D0A6: 8510 STA $10 C1/D0A8: C8 INY C1/D0A9: 6413 STZ $13 C1/D0AB: B75B LDA [$5B],Y C1/D0AD: 1002 BPL $D0B1 C1/D0AF: C613 DEC $13 C1/D0B1: 8512 STA $12 C1/D0B3: C220 REP #$20 C1/D0B5: ADCCE9 LDA $E9CC C1/D0B8: 18 CLC C1/D0B9: 6510 ADC $10 C1/D0BB: 8DCCE9 STA $E9CC C1/D0BE: ADCEE9 LDA $E9CE C1/D0C1: 18 CLC C1/D0C2: 6512 ADC $12 C1/D0C4: 8DCEE9 STA $E9CE C1/D0C7: A55B LDA $5B C1/D0C9: 18 CLC C1/D0CA: 690400 ADC #$0004 C1/D0CD: 855B STA $5B C1/D0CF: 7B TDC C1/D0D0: E220 SEP #$20 C1/D0D2: 60 RTS C1/D0D3: AD6F89 LDA $896F (from C1/C884, X = 40) C1/D0D6: 29F8 AND #$F8 C1/D0D8: 175B ORA [$5B],Y C1/D0DA: 8D6F89 STA $896F C1/D0DD: 4CC6CF JMP $CFC6 C1/D0E0: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 3F) C1/D0E3: BD7E6F LDA $6F7E,X C1/D0E6: 4A LSR A C1/D0E7: 4A LSR A C1/D0E8: 4A LSR A C1/D0E9: 8510 STA $10 C1/D0EB: BD7E6F LDA $6F7E,X C1/D0EE: 49FF EOR #$FF C1/D0F0: 1A INC A C1/D0F1: 4A LSR A C1/D0F2: 4A LSR A C1/D0F3: 4A LSR A C1/D0F4: 8512 STA $12 C1/D0F6: AD1F20 LDA $201F (Load encounter type) C1/D0F9: 2903 AND #$03 C1/D0FB: C902 CMP #$02 C1/D0FD: D003 BNE $D102 C1/D0FF: 7B TDC C1/D100: 8002 BRA $D104 C1/D102: A908 LDA #$08 C1/D104: 8514 STA $14 C1/D106: AD3B6F LDA $6F3B C1/D109: 2901 AND #$01 C1/D10B: D011 BNE $D11E C1/D10D: AD3A6F LDA $6F3A C1/D110: 38 SEC C1/D111: E514 SBC $14 C1/D113: 4A LSR A C1/D114: 4A LSR A C1/D115: 4A LSR A C1/D116: C510 CMP $10 C1/D118: F00B BEQ $D125 C1/D11A: C512 CMP $12 C1/D11C: F007 BEQ $D125 C1/D11E: A45B LDY $5B C1/D120: 88 DEY C1/D121: 88 DEY C1/D122: 88 DEY C1/D123: 845B STY $5B C1/D125: 60 RTS C1/D126: B75B LDA [$5B],Y (from C1/C884, X = 3E) C1/D128: 8D8D89 STA $898D C1/D12B: 4CC6CF JMP $CFC6 C1/D12E: 20A1E7 JSR $E7A1 (from C1/C884, X = 3D) C1/D131: BD876F LDA $6F87,X C1/D134: 2940 AND #$40 C1/D136: D004 BNE $D13C C1/D138: A918 LDA #$18 C1/D13A: 8002 BRA $D13E C1/D13C: A9E8 LDA #$E8 C1/D13E: 8526 STA $26 C1/D140: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/D143: 3017 BMI $D15C C1/D145: 2903 AND #$03 C1/D147: 0A ASL A C1/D148: A8 TAY C1/D149: B93380 LDA $8033,Y C1/D14C: 18 CLC C1/D14D: 6526 ADC $26 C1/D14F: 9003 BCC $D154 C1/D151: B93380 LDA $8033,Y C1/D154: 9D826F STA $6F82,X C1/D157: B94380 LDA $8043,Y C1/D15A: 8011 BRA $D16D C1/D15C: 38 SEC C1/D15D: E904 SBC #$04 C1/D15F: 0A ASL A C1/D160: A8 TAY C1/D161: B90F80 LDA $800F,Y (Get X-coordinate of middle of monster) C1/D164: 18 CLC C1/D165: 6526 ADC $26 C1/D167: 9D826F STA $6F82,X C1/D16A: B92780 LDA $8027,Y (bottom Y-coordinate of monster - 8) C1/D16D: 38 SEC C1/D16E: E908 SBC #$08 C1/D170: 9D846F STA $6F84,X C1/D173: 20E8E7 JSR $E7E8 C1/D176: AEF67A LDX $7AF6 (animation ID) C1/D179: A585 LDA $85 C1/D17B: 18 CLC C1/D17C: 6928 ADC #$28 C1/D17E: 9DDB74 STA $74DB,X C1/D181: A904 LDA #$04 C1/D183: 8DAF60 STA $60AF C1/D186: 9CB060 STZ $60B0 C1/D189: 60 RTS C1/D18A: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 3C) C1/D18D: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/D190: 300F BMI $D1A1 C1/D192: AA TAX C1/D193: 0A ASL A C1/D194: 0A ASL A C1/D195: 0A ASL A C1/D196: 0A ASL A C1/D197: 0A ASL A C1/D198: A8 TAY C1/D199: BD6E61 LDA $616E,X C1/D19C: 99BC61 STA $61BC,Y C1/D19F: 800E BRA $D1AF C1/D1A1: 290F AND #$0F C1/D1A3: AA TAX C1/D1A4: 38 SEC C1/D1A5: E904 SBC #$04 C1/D1A7: 0A ASL A C1/D1A8: A8 TAY C1/D1A9: BD6E61 LDA $616E,X C1/D1AC: 99DB80 STA $80DB,Y C1/D1AF: 60 RTS C1/D1B0: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 3B) C1/D1B3: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/D1B6: 3013 BMI $D1CB C1/D1B8: AA TAX C1/D1B9: 0A ASL A C1/D1BA: 0A ASL A C1/D1BB: 0A ASL A C1/D1BC: 0A ASL A C1/D1BD: 0A ASL A C1/D1BE: A8 TAY C1/D1BF: B9BC61 LDA $61BC,Y C1/D1C2: 29F1 AND #$F1 C1/D1C4: 0906 ORA #$06 C1/D1C6: 99BC61 STA $61BC,Y C1/D1C9: 8012 BRA $D1DD C1/D1CB: 290F AND #$0F C1/D1CD: AA TAX C1/D1CE: 38 SEC C1/D1CF: E904 SBC #$04 C1/D1D1: 0A ASL A C1/D1D2: A8 TAY C1/D1D3: B9DB80 LDA $80DB,Y C1/D1D6: 29F1 AND #$F1 C1/D1D8: 0906 ORA #$06 C1/D1DA: 99DB80 STA $80DB,Y C1/D1DD: 60 RTS C1/D1DE: B75B LDA [$5B],Y (from C1/C884, X = 3A) C1/D1E0: 8DAE62 STA $62AE C1/D1E3: 4CC6CF JMP $CFC6 C1/D1E6: A980 LDA #$80 (from C1/C884, X = 39) C1/D1E8: 8516 STA $16 C1/D1EA: A00100 LDY #$0001 C1/D1ED: ADAE62 LDA $62AE C1/D1F0: 18 CLC C1/D1F1: 775B ADC [$5B],Y C1/D1F3: 8DAE62 STA $62AE C1/D1F6: 8512 STA $12 C1/D1F8: A9E0 LDA #$E0 C1/D1FA: 8D9689 STA $8996 C1/D1FD: A516 LDA $16 C1/D1FF: 8510 STA $10 C1/D201: ADAD62 LDA $62AD C1/D204: 291F AND #$1F C1/D206: AA TAX C1/D207: A00400 LDY #$0004 C1/D20A: 5A PHY C1/D20B: BF9CD2C1 LDA $C1D29C,X C1/D20F: 38 SEC C1/D210: E512 SBC $12 C1/D212: 1001 BPL $D215 C1/D214: 7B TDC C1/D215: 0510 ORA $10 C1/D217: 999689 STA $8996,Y C1/D21A: 99168A STA $8A16,Y C1/D21D: 99968A STA $8A96,Y C1/D220: 99168B STA $8B16,Y C1/D223: E8 INX C1/D224: 8A TXA C1/D225: 291F AND #$1F C1/D227: AA TAX C1/D228: D004 BNE $D22E C1/D22A: A516 LDA $16 C1/D22C: 8510 STA $10 C1/D22E: C8 INY C1/D22F: C8 INY C1/D230: C8 INY C1/D231: C8 INY C1/D232: C08400 CPY #$0084 C1/D235: D0D4 BNE $D20B C1/D237: 7A PLY C1/D238: B99689 LDA $8996,Y C1/D23B: 99968B STA $8B96,Y C1/D23E: C8 INY C1/D23F: C8 INY C1/D240: C8 INY C1/D241: C8 INY C1/D242: C05C00 CPY #$005C C1/D245: D0F1 BNE $D238 C1/D247: EEAD62 INC $62AD C1/D24A: 4CC6CF JMP $CFC6 C1/D24D: AD6F89 LDA $896F (from C1/C884, X = 38) C1/D250: 0908 ORA #$08 C1/D252: 8D6F89 STA $896F C1/D255: 60 RTS C1/D256: 7B TDC (from C1/C884, X = 37) C1/D257: AA TAX C1/D258: A9E0 LDA #$E0 C1/D25A: 9D9689 STA $8996,X C1/D25D: E8 INX C1/D25E: E8 INX C1/D25F: E8 INX C1/D260: E8 INX C1/D261: E05C02 CPX #$025C C1/D264: D0F4 BNE $D25A C1/D266: 60 RTS C1/D267: 7B TDC (from C1/C884, X = 36) C1/D268: AA TAX C1/D269: BDDB80 LDA $80DB,X C1/D26C: 38 SEC C1/D26D: E90A SBC #$0A C1/D26F: 9DDB80 STA $80DB,X C1/D272: E8 INX C1/D273: E8 INX C1/D274: E00C00 CPX #$000C C1/D277: D0F0 BNE $D269 C1/D279: 60 RTS C1/D27A: 7B TDC (from C1/C884, X = 35) C1/D27B: AA TAX C1/D27C: BDDB80 LDA $80DB,X C1/D27F: 18 CLC C1/D280: 690A ADC #$0A C1/D282: 9DDB80 STA $80DB,X C1/D285: E8 INX C1/D286: E8 INX C1/D287: E00C00 CPX #$000C C1/D28A: D0F0 BNE $D27C C1/D28C: 60 RTS C1/D28D: 7B TDC (from C1/C884, X = 34) C1/D28E: AA TAX C1/D28F: BD007F LDA $7F00,X C1/D292: 9DA07F STA $7FA0,X C1/D295: E8 INX C1/D296: E06000 CPX #$0060 C1/D299: D0F4 BNE $D28F C1/D29B: 60 RT Clearly data, but I'm too lazy to make it pretty today C1/D29C: 00 C1/D29D: 01 C1/D29E: 02 C1/D29F: 03 C1/D2A0: 04 C1/D2A1: 05 C1/D2A2: 06 C1/D2A3: 07 C1/D2A4: 08 C1/D2A5: 09 C1/D2A6: 0A C1/D2A7: 0B C1/D2A8: 0C C1/D2A9: 0D C1/D2AA: 0E C1/D2AB: 0F C1/D2AC: 0F C1/D2AD: 0E C1/D2AE: 0D C1/D2AF: 0C C1/D2B0: 0B C1/D2B1: 0A C1/D2B2: 09 C1/D2B3: 08 C1/D2B4: 07 C1/D2B3: 06 C1/D2B6: 05 C1/D2B7: 04 C1/D2B8: 03 C1/D2B9: 02 C1/D2BA: 01 C1/D2BB: 00 C1/D2BC: 80 C1/D2BD: 40 C1/D2BE: 60 C1/D2BF: 20 C1/D2C0: A0 C1/D2C1: C0 C1/D2C2: 80 C1/D2C3: 20 C1/D2C4: 20 C1/D2C5: 60 C1/D2C6: 20 C1/D2C7: 60 C1/D2C8: 20 C1/D2C9: 60 C1/D2CA: 20 C1/D2CB: 60 C1/D2CC: A908 LDA #$08 (from C1/C884, X = 4B) C1/D2CE: 8516 STA $16 C1/D2D0: 8002 BRA $D2D4 Imp Song triggers this C1/D2D2: 6416 STZ $16 (from C1/C884, X = 33) C1/D2D4: B75B LDA [$5B],Y C1/D2D6: 8512 STA $12 C1/D2D8: A9E0 LDA #$E0 C1/D2DA: 8D9689 STA $8996 C1/D2DD: ADAE62 LDA $62AE C1/D2E0: 29E0 AND #$E0 C1/D2E2: 4A LSR A C1/D2E3: 4A LSR A C1/D2E4: 4A LSR A C1/D2E5: 4A LSR A C1/D2E6: 4A LSR A C1/D2E7: 18 CLC C1/D2E8: 6516 ADC $16 C1/D2EA: AA TAX C1/D2EB: 8514 STA $14 C1/D2ED: BFBCD2C1 LDA $C1D2BC,X C1/D2F1: 8510 STA $10 C1/D2F3: ADAD62 LDA $62AD C1/D2F6: 291F AND #$1F C1/D2F8: AA TAX C1/D2F9: A00400 LDY #$0004 C1/D2FC: BF9CD2C1 LDA $C1D29C,X C1/D300: 38 SEC C1/D301: E512 SBC $12 C1/D303: 1001 BPL $D306 C1/D305: 7B TDC C1/D306: 0510 ORA $10 C1/D308: 999689 STA $8996,Y C1/D30B: E8 INX C1/D30C: 8A TXA C1/D30D: 291F AND #$1F C1/D30F: AA TAX C1/D310: D014 BNE $D326 C1/D312: A514 LDA $14 C1/D314: 1A INC A C1/D315: 2907 AND #$07 C1/D317: 8514 STA $14 C1/D319: 18 CLC C1/D31A: 6516 ADC $16 C1/D31C: AA TAX C1/D31D: BFBCD2C1 LDA $C1D2BC,X C1/D321: 8510 STA $10 C1/D323: A20000 LDX #$0000 C1/D326: C8 INY C1/D327: C8 INY C1/D328: C8 INY C1/D329: C8 INY C1/D32A: C05C02 CPY #$025C C1/D32D: D0CD BNE $D2FC C1/D32F: A45B LDY $5B C1/D331: C8 INY C1/D332: 845B STY $5B C1/D334: EEAD62 INC $62AD C1/D337: EEAE62 INC $62AE C1/D33A: AEF67A LDX $7AF6 (animation ID) C1/D33D: 60 RTS C1/D33E: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 32) C1/D341: BD876F LDA $6F87,X C1/D344: F004 BEQ $D34A C1/D346: A901 LDA #$01 C1/D348: 8001 BRA $D34B C1/D34A: 7B TDC C1/D34B: C220 REP #$20 C1/D34D: 0A ASL A C1/D34E: 8522 STA $22 (Animation Script pointer) C1/D350: A55B LDA $5B C1/D352: 1A INC A C1/D353: 18 CLC C1/D354: 6522 ADC $22 (Animation Script pointer) C1/D356: 855B STA $5B C1/D358: A75B LDA [$5B] C1/D35A: 3A DEC A C1/D35B: 855B STA $5B C1/D35D: 7B TDC C1/D35E: E220 SEP #$20 C1/D360: 60 RTS C1/D361: A920 LDA #$20 (from C1/C884, X = 63) C1/D363: 8002 BRA $D367 C1/D365: A950 LDA #$50 (from C1/C884, X = 31) C1/D367: 8524 STA $24 C1/D369: AEF67A LDX $7AF6 (animation ID) C1/D36C: BDE964 LDA $64E9,X C1/D36F: 2068D8 JSR $D868 C1/D372: AEF67A LDX $7AF6 (animation ID) C1/D375: C220 REP #$20 C1/D377: A522 LDA $22 (Animation Script pointer) C1/D379: 9DD074 STA $74D0,X C1/D37C: 7B TDC C1/D37D: E220 SEP #$20 C1/D37F: A00100 LDY #$0001 C1/D382: BDE964 LDA $64E9,X C1/D385: 18 CLC C1/D386: 775B ADC [$5B],Y C1/D388: 9DE964 STA $64E9,X C1/D38B: 4CC6CF JMP $CFC6 C1/D38E: B75B LDA [$5B],Y (from C1/C884, X = 30) C1/D390: C220 REP #$20 C1/D392: 0A ASL A C1/D393: 0A ASL A C1/D394: 0A ASL A C1/D395: 0A ASL A C1/D396: AA TAX C1/D397: 7B TDC C1/D398: A8 TAY C1/D399: BF0060D2 LDA $D26000,X C1/D39D: 99807F STA $7F80,Y C1/D3A0: E8 INX C1/D3A1: E8 INX C1/D3A2: C8 INY C1/D3A3: C8 INY C1/D3A4: C01000 CPY #$0010 C1/D3A7: D0F0 BNE $D399 C1/D3A9: 7B TDC C1/D3AA: E220 SEP #$20 C1/D3AC: 4CC6CF JMP $CFC6 C1/D3AF: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 2F) C1/D3B2: A908 LDA #$08 C1/D3B4: 8DAF60 STA $60AF C1/D3B7: 9CB060 STZ $60B0 C1/D3BA: 205B18 JSR $185B (Random number generator) C1/D3BD: 2907 AND #$07 C1/D3BF: 8522 STA $22 (Animation Script pointer) C1/D3C1: BD876F LDA $6F87,X C1/D3C4: D004 BNE $D3CA C1/D3C6: A97C LDA #$7C C1/D3C8: 8008 BRA $D3D2 C1/D3CA: A9FC LDA #$FC C1/D3CC: A00200 LDY #$0002 C1/D3CF: 18 CLC C1/D3D0: 775B ADC [$5B],Y C1/D3D2: 18 CLC C1/D3D3: 6522 ADC $22 (Animation Script pointer) C1/D3D5: A00100 LDY #$0001 C1/D3D8: 775B ADC [$5B],Y C1/D3DA: 9DDB74 STA $74DB,X C1/D3DD: A45B LDY $5B C1/D3DF: C8 INY C1/D3E0: C8 INY C1/D3E1: 845B STY $5B C1/D3E3: 60 RTS C1/D3E4: C220 REP #$20 (from C1/C884, X = 2E) C1/D3E6: AEF67A LDX $7AF6 (animation ID) C1/D3E9: A00100 LDY #$0001 C1/D3EC: B75B LDA [$5B],Y C1/D3EE: 29FF00 AND #$00FF C1/D3F1: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/D3F4: C8 INY C1/D3F5: B75B LDA [$5B],Y C1/D3F7: 29FF00 AND #$00FF C1/D3FA: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D3FD: E65B INC $5B C1/D3FF: E65B INC $5B C1/D401: 7B TDC C1/D402: E220 SEP #$20 C1/D404: 60 RTS C1/D405: AEF67A LDX $7AF6 (animation ID) C1/D408: AD1F20 LDA $201F (Load encounter type) C1/D40B: 2903 AND #$03 C1/D40D: C903 CMP #$03 C1/D40F: D011 BNE $D422 C1/D411: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D414: 3008 BMI $D41E C1/D416: C902 CMP #$02 C1/D418: 9004 BCC $D41E C1/D41A: A901 LDA #$01 C1/D41C: 8004 BRA $D422 C1/D41E: A902 LDA #$02 C1/D420: 60 RTS C1/D421: 7B TDC C1/D422: 60 RTS C1/D423: 2005D4 JSR $D405 (from C1/C884, X = 2D) C1/D426: C220 REP #$20 C1/D428: 0A ASL A C1/D429: 8522 STA $22 (Animation Script pointer) C1/D42B: A55B LDA $5B C1/D42D: 1A INC A C1/D42E: 18 CLC C1/D42F: 6522 ADC $22 (Animation Script pointer) C1/D431: 855B STA $5B C1/D433: A75B LDA [$5B] C1/D435: 3A DEC A C1/D436: 855B STA $5B C1/D438: 7B TDC C1/D439: E220 SEP #$20 C1/D43B: 60 RTS C1/D43C: B75B LDA [$5B],Y (from C1/C884, X = 2B) C1/D43E: 20269C JSR $9C26 C1/D441: 4CC6CF JMP $CFC6 C1/D444: B75B LDA [$5B],Y (from C1/C884, X = 2C) C1/D446: 206B9C JSR $9C6B C1/D449: 4CC6CF JMP $CFC6 C1/D44C: B75B LDA [$5B],Y (from C1/C884, X = 2A) C1/D44E: 20D79B JSR $9BD7 C1/D451: 4CC6CF JMP $CFC6 C1/D454: B75B LDA [$5B],Y (from C1/C884, X = 29) C1/D456: 8DBE62 STA $62BE C1/D459: 4CC6CF JMP $CFC6 C1/D45C: B75B LDA [$5B],Y (from C1/C884, X = 28) C1/D45E: 8510 STA $10 C1/D460: ADBD61 LDA $61BD C1/D463: 29CF AND #$CF C1/D465: 0510 ORA $10 C1/D467: 8DBD61 STA $61BD C1/D46A: ADDD61 LDA $61DD C1/D46D: 29CF AND #$CF C1/D46F: 0510 ORA $10 C1/D471: 8DDD61 STA $61DD C1/D474: ADFD61 LDA $61FD C1/D477: 29CF AND #$CF C1/D479: 0510 ORA $10 C1/D47B: 8DFD61 STA $61FD C1/D47E: AD1D62 LDA $621D C1/D481: 29CF AND #$CF C1/D483: 0510 ORA $10 C1/D485: 8D1D62 STA $621D C1/D488: 4CC6CF JMP $CFC6 C1/D48B: B75B LDA [$5B],Y (from C1/C884, X = 27) C1/D48D: 8DBD62 STA $62BD C1/D490: 4CC6CF JMP $CFC6 C1/D493: B75B LDA [$5B],Y (from C1/C884, X = 26) C1/D495: 8DBF62 STA $62BF C1/D498: 4CC6CF JMP $CFC6 Sour Mouth triggers this C1/D49B: 7B TDC (from C1/C884, X = 24) C1/D49C: AA TAX C1/D49D: C220 REP #$20 C1/D49F: 9EF54A STZ $4AF5,X C1/D4A2: E8 INX C1/D4A3: E8 INX C1/D4A4: E05C02 CPX #$025C C1/D4A7: D0F6 BNE $D49F C1/D4A9: 7B TDC C1/D4AA: E220 SEP #$20 C1/D4AC: 60 RTS C1/D4AD: 7B TDC (from C1/C884, X = 25) C1/D4AE: AA TAX C1/D4AF: C220 REP #$20 C1/D4B1: 9EF543 STZ $43F5,X C1/D4B4: E8 INX C1/D4B5: E8 INX C1/D4B6: E05C02 CPX #$025C C1/D4B9: D0F6 BNE $D4B1 C1/D4BB: E220 SEP #$20 C1/D4BD: 60 RTS C1/D4BE: E210 SEP #$10 (from C1/C884, X = 23) C1/D4C0: C220 REP #$20 C1/D4C2: 7B TDC C1/D4C3: AA TAX C1/D4C4: AD5346 LDA $4653 C1/D4C7: 48 PHA C1/D4C8: DEF743 DEC $43F7,X C1/D4CB: DE4344 DEC $4443,X C1/D4CE: DE8F44 DEC $448F,X C1/D4D1: DEDB44 DEC $44DB,X C1/D4D4: DE2745 DEC $4527,X C1/D4D7: DE7345 DEC $4573,X C1/D4DA: DEBF45 DEC $45BF,X C1/D4DD: DE0B46 DEC $460B,X C1/D4E0: E8 INX C1/D4E1: E8 INX C1/D4E2: E8 INX C1/D4E3: E8 INX C1/D4E4: E04C CPX #$4C C1/D4E6: D0E0 BNE $D4C8 C1/D4E8: 68 PLA C1/D4E9: 8D5346 STA $4653 C1/D4EC: 7B TDC C1/D4ED: E220 SEP #$20 C1/D4EF: C210 REP #$10 C1/D4F1: 60 RTS C1/D4F2: C220 REP #$20 (from C1/C884, X = 22) C1/D4F4: AD187B LDA $7B18 C1/D4F7: 38 SEC C1/D4F8: ED1F7B SBC $7B1F C1/D4FB: 8510 STA $10 C1/D4FD: 7B TDC C1/D4FE: A8 TAY C1/D4FF: AA TAX C1/D500: BF9FD3C2 LDA $C2D39F,X C1/D504: 29FF00 AND #$00FF C1/D507: 8512 STA $12 C1/D509: A510 LDA $10 C1/D50B: 99F743 STA $43F7,Y C1/D50E: 3A DEC A C1/D50F: C8 INY C1/D510: C8 INY C1/D511: C8 INY C1/D512: C8 INY C1/D513: C02C01 CPY #$012C C1/D516: F00C BEQ $D524 C1/D518: C612 DEC $12 C1/D51A: D0EF BNE $D50B C1/D51C: 3A DEC A C1/D51D: 8510 STA $10 C1/D51F: E614 INC $14 C1/D521: E8 INX C1/D522: 80DC BRA $D500 C1/D524: 3A DEC A C1/D525: 8510 STA $10 C1/D527: BF9FD3C2 LDA $C2D39F,X C1/D52B: 29FF00 AND #$00FF C1/D52E: 8512 STA $12 C1/D530: A510 LDA $10 C1/D532: 99F743 STA $43F7,Y C1/D535: 3A DEC A C1/D536: C8 INY C1/D537: C8 INY C1/D538: C8 INY C1/D539: C8 INY C1/D53A: C05C02 CPY #$025C C1/D53D: F00B BEQ $D54A C1/D53F: C612 DEC $12 C1/D541: D0EF BNE $D532 C1/D543: 3A DEC A C1/D544: 8510 STA $10 C1/D546: C614 DEC $14 C1/D548: 80DD BRA $D527 C1/D54A: 7B TDC C1/D54B: E220 SEP #$20 C1/D54D: 60 RTS C1/D54E: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 21) C1/D551: BDD874 LDA $74D8,X C1/D554: 18 CLC C1/D555: 6940 ADC #$40 C1/D557: 3009 BMI $D562 C1/D559: BDE764 LDA $64E7,X C1/D55C: 29FE AND #$FE C1/D55E: 9DE764 STA $64E7,X C1/D561: 60 RTS C1/D562: BDE764 LDA $64E7,X C1/D565: 0901 ORA #$01 C1/D567: 9DE764 STA $64E7,X C1/D56A: 60 RTS C1/D56B: E210 SEP #$10 (from C1/C884, X = 1E) C1/D56D: C220 REP #$20 C1/D56F: 7B TDC C1/D570: AA TAX C1/D571: AD534D LDA $4D53 C1/D574: 48 PHA C1/D575: DEF74A DEC $4AF7,X C1/D578: DE434B DEC $4B43,X C1/D57B: DE8F4B DEC $4B8F,X C1/D57E: DEDB4B DEC $4BDB,X C1/D581: DE274C DEC $4C27,X C1/D584: DE734C DEC $4C73,X C1/D587: DEBF4C DEC $4CBF,X C1/D58A: DE0B4D DEC $4D0B,X C1/D58D: E8 INX C1/D58E: E8 INX C1/D58F: E8 INX C1/D590: E8 INX C1/D591: E04C CPX #$4C C1/D593: D0E0 BNE $D575 C1/D595: 68 PLA C1/D596: 8D534D STA $4D53 C1/D599: 7B TDC C1/D59A: E220 SEP #$20 C1/D59C: C210 REP #$10 C1/D59E: 60 RTS C1/D59F: C220 REP #$20 (from C1/C884, X = 20) C1/D5A1: AD247B LDA $7B24 C1/D5A4: 38 SEC C1/D5A5: ED2B7B SBC $7B2B C1/D5A8: 8510 STA $10 C1/D5AA: 7B TDC C1/D5AB: A8 TAY C1/D5AC: AA TAX C1/D5AD: BF9FD3C2 LDA $C2D39F,X C1/D5B1: 29FF00 AND #$00FF C1/D5B4: 8512 STA $12 C1/D5B6: A510 LDA $10 C1/D5B8: 99F74A STA $4AF7,Y C1/D5BB: 3A DEC A C1/D5BC: C8 INY C1/D5BD: C8 INY C1/D5BE: C8 INY C1/D5BF: C8 INY C1/D5C0: C02C01 CPY #$012C C1/D5C3: F00C BEQ $D5D1 C1/D5C5: C612 DEC $12 C1/D5C7: D0EF BNE $D5B8 C1/D5C9: 3A DEC A C1/D5CA: 8510 STA $10 C1/D5CC: E614 INC $14 C1/D5CE: E8 INX C1/D5CF: 80DC BRA $D5AD C1/D5D1: 3A DEC A C1/D5D2: 8510 STA $10 C1/D5D4: BF9FD3C2 LDA $C2D39F,X C1/D5D8: 29FF00 AND #$00FF C1/D5DB: 8512 STA $12 C1/D5DD: A510 LDA $10 C1/D5DF: 99F74A STA $4AF7,Y C1/D5E2: 3A DEC A C1/D5E3: C8 INY C1/D5E4: C8 INY C1/D5E5: C8 INY C1/D5E6: C8 INY C1/D5E7: C05C02 CPY #$025C C1/D5EA: F00C BEQ $D5F8 C1/D5EC: C612 DEC $12 C1/D5EE: D0EF BNE $D5DF C1/D5F0: 3A DEC A C1/D5F1: 8510 STA $10 C1/D5F3: C614 DEC $14 C1/D5F5: CA DEX C1/D5F6: 80DC BRA $D5D4 C1/D5F8: 7B TDC C1/D5F9: E220 SEP #$20 C1/D5FB: 60 RTS C1/D5FC: A94C LDA #$4C (from C1/C884, X = 1F) C1/D5FE: 8D1396 STA $9613 C1/D601: AD1B96 LDA $961B C1/D604: 48 PHA C1/D605: 9C1B96 STZ $961B C1/D608: A94C LDA #$4C C1/D60A: 8D1596 STA $9615 C1/D60D: A980 LDA #$80 C1/D60F: 8D1496 STA $9614 C1/D612: 20C71B JSR $1BC7 C1/D615: 7B TDC C1/D616: AA TAX C1/D617: BD219A LDA $9A21,X C1/D61A: 9DF54A STA $4AF5,X C1/D61D: 9EF64A STZ $4AF6,X C1/D620: E8 INX C1/D621: E8 INX C1/D622: E8 INX C1/D623: E8 INX C1/D624: E05C02 CPX #$025C C1/D627: D0EE BNE $D617 C1/D629: 68 PLA C1/D62A: 8D1B96 STA $961B C1/D62D: 60 RTS C1/D62E: A22C00 LDX #$002C (from C1/C884, X = 19) C1/D631: 8624 STX $24 C1/D633: A910 LDA #$10 C1/D635: 38 SEC C1/D636: ED6C61 SBC $616C C1/D639: D005 BNE $D640 C1/D63B: A23400 LDX #$0034 C1/D63E: 8624 STX $24 C1/D640: C220 REP #$20 C1/D642: 0A ASL A C1/D643: 0A ASL A C1/D644: 0A ASL A C1/D645: 8522 STA $22 (Animation Script pointer) C1/D647: AEF67A LDX $7AF6 (animation ID) C1/D64A: BD3C6A LDA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D64D: 18 CLC C1/D64E: 6522 ADC $22 (Animation Script pointer) C1/D650: 38 SEC C1/D651: E524 SBC $24 C1/D653: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D656: 7B TDC C1/D657: E220 SEP #$20 C1/D659: 208AC3 JSR $C38A C1/D65C: AEF67A LDX $7AF6 (animation ID) C1/D65F: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D662: 20FAC3 JSR $C3FA C1/D665: AEF67A LDX $7AF6 (animation ID) C1/D668: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D66B: 0A ASL A C1/D66C: 0A ASL A C1/D66D: 0A ASL A C1/D66E: 0A ASL A C1/D66F: 0A ASL A C1/D670: A8 TAY C1/D671: A930 LDA #$30 C1/D673: 99BD61 STA $61BD,Y C1/D676: 60 RTS C1/D677: AE6961 LDX $6169 (from C1/C884, X = 18) C1/D67A: 7B TDC C1/D67B: A8 TAY C1/D67C: BF2078D2 LDA $D27820,X C1/D680: 99607E STA $7E60,Y C1/D683: 99607C STA $7C60,Y C1/D686: E8 INX C1/D687: C8 INY C1/D688: C02000 CPY #$0020 C1/D68B: D0EF BNE $D67C C1/D68D: 60 RTS C1/D68E: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 16) C1/D691: 9EE864 STZ $64E8,X C1/D694: 9EE964 STZ $64E9,X C1/D697: 60 RTS C1/D698: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 15) C1/D69B: C220 REP #$20 C1/D69D: BD3A6A LDA $6A3A,X (The X position of the sprite?_RuneLancer) C1/D6A0: 18 CLC C1/D6A1: 7DCE74 ADC $74CE,X C1/D6A4: 8522 STA $22 (Animation Script pointer) C1/D6A6: BD3C6A LDA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D6A9: 18 CLC C1/D6AA: 7DD074 ADC $74D0,X C1/D6AD: 8524 STA $24 C1/D6AF: 7B TDC C1/D6B0: E220 SEP #$20 C1/D6B2: A522 LDA $22 (Animation Script pointer) C1/D6B4: 8D1496 STA $9614 C1/D6B7: A524 LDA $24 C1/D6B9: 8D1596 STA $9615 C1/D6BC: 60 RTS C1/D6BD: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 14) C1/D6C0: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/D6C3: 301F BMI $D6E4 C1/D6C5: 2903 AND #$03 C1/D6C7: 8510 STA $10 C1/D6C9: 0A ASL A (multiply by 2) C1/D6CA: 0A ASL A (multiply by 4) C1/D6CB: 0A ASL A (multiply by 8) C1/D6CC: 0A ASL A (multiply by 16) C1/D6CD: 0A ASL A (multiply by 32) C1/D6CE: AA TAX C1/D6CF: BDBD2E LDA $2EBD,X (displayable status byte 1) C1/D6D2: 0910 ORA #$10 (set vanish status) C1/D6D4: 9DBD2E STA $2EBD,X C1/D6D7: A510 LDA $10 (load character slot) C1/D6D9: 8D787B STA $7B78 C1/D6DC: AEF67A LDX $7AF6 (animation ID) C1/D6DF: DA PHX C1/D6E0: 20792F JSR $2F79 C1/D6E3: FA PLX C1/D6E4: 60 RTS C1/D6E5: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 13) C1/D6E8: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/D6EB: 3020 BMI $D70D (branch if monster) C1/D6ED: 2903 AND #$03 (isolate the character slot) C1/D6EF: 8510 STA $10 C1/D6F1: 0A ASL A (multiply by 2) C1/D6F2: 0A ASL A (multiply by 4) C1/D6F3: 0A ASL A (multiply by 8) C1/D6F4: 0A ASL A (multiply by 16) C1/D6F5: 0A ASL A (multiply by 32) C1/D6F6: AA TAX C1/D6F7: BDBD2E LDA $2EBD,X (displayable status byte 1) C1/D6FA: 4920 EOR #$20 (Toggle imp status) C1/D6FC: 9DBD2E STA $2EBD,X (Now it's opposite) C1/D6FF: A510 LDA $10 (load character slot) C1/D701: 8D787B STA $7B78 C1/D704: AEF67A LDX $7AF6 (animation ID) C1/D707: DA PHX C1/D708: 20792F JSR $2F79 C1/D70B: FA PLX C1/D70C: 60 RTS C1/D70D: 297F AND #$7F (from only C1/D6EB) C1/D70F: 38 SEC C1/D710: E904 SBC #$04 C1/D712: A8 TAY C1/D713: B9C262 LDA $62C2,Y (Load flag for monster to be an Imp) C1/D716: 4901 EOR #$01 (toggle it) C1/D718: 99C262 STA $62C2,Y (Now it is the opposite of what it was) C1/D71B: AEF67A LDX $7AF6 (animation ID) C1/D71E: DA PHX C1/D71F: 207C25 JSR $257C C1/D722: 20C125 JSR $25C1 C1/D725: FA PLX C1/D726: 60 RTS C1/D727: 205B18 JSR $185B (Random number generator) (from C1/C884, X = 11) C1/D72A: AEF67A LDX $7AF6 (animation ID) C1/D72D: 9DD874 STA $74D8,X C1/D730: 9ED974 STZ $74D9,X C1/D733: 60 RTS C1/D734: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 12) C1/D737: 9ED874 STZ $74D8,X C1/D73A: 9ED974 STZ $74D9,X C1/D73D: 60 RTS C1/D73E: C220 REP #$20 (from C1/C884, X = 10) C1/D740: AEF67A LDX $7AF6 (animation ID) C1/D743: BD826F LDA $6F82,X C1/D746: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/D749: BD846F LDA $6F84,X C1/D74C: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D74F: 7B TDC C1/D750: E220 SEP #$20 C1/D752: 60 RTS C1/D753: C220 REP #$20 (from C1/C884, X = C) C1/D755: ADF67A LDA $7AF6 (animation ID) C1/D758: AA TAX C1/D759: 2980FF AND #$FF80 C1/D75C: A8 TAY C1/D75D: B93A6A LDA $6A3A,Y C1/D760: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/D763: B93C6A LDA $6A3C,Y C1/D766: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D769: B9CE74 LDA $74CE,Y C1/D76C: 9DCE74 STA $74CE,X C1/D76F: B9D074 LDA $74D0,Y C1/D772: 9DD074 STA $74D0,X C1/D775: 7B TDC C1/D776: E220 SEP #$20 C1/D778: 60 RTS C1/D779: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = F) C1/D77C: A908 LDA #$08 C1/D77E: 8DAF60 STA $60AF C1/D781: 9CB060 STZ $60B0 C1/D784: 205B18 JSR $185B (Random number generator) C1/D787: 2907 AND #$07 C1/D789: 8522 STA $22 (Animation Script pointer) C1/D78B: BD876F LDA $6F87,X C1/D78E: D004 BNE $D794 C1/D790: A97C LDA #$7C C1/D792: 8002 BRA $D796 C1/D794: A9FC LDA #$FC C1/D796: 18 CLC C1/D797: 6522 ADC $22 (Animation Script pointer) C1/D799: 9DDB74 STA $74DB,X C1/D79C: 60 RTS C1/D79D: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = E) C1/D7A0: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D7A3: 101E BPL $D7C3 C1/D7A5: 297F AND #$7F C1/D7A7: 38 SEC C1/D7A8: E904 SBC #$04 C1/D7AA: 0A ASL A C1/D7AB: A8 TAY C1/D7AC: C220 REP #$20 C1/D7AE: B9C380 LDA $80C3,Y (Load enemy's X-coord.) C1/D7B1: 9DE864 STA $64E8,X C1/D7B4: B9CF80 LDA $80CF,Y C1/D7B7: 9DEA64 STA $64EA,X C1/D7BA: 7B TDC C1/D7BB: 99B780 STA $80B7,Y C1/D7BE: 99AB80 STA $80AB,Y C1/D7C1: E220 SEP #$20 C1/D7C3: 60 RTS C1/D7C4: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = D) C1/D7C7: C220 REP #$20 C1/D7C9: BDD974 LDA $74D9,X C1/D7CC: 18 CLC C1/D7CD: 690800 ADC #$0008 C1/D7D0: DDDC74 CMP $74DC,X C1/D7D3: 90F7 BCC $D7CC C1/D7D5: 38 SEC C1/D7D6: E90800 SBC #$0008 C1/D7D9: 9DD974 STA $74D9,X C1/D7DC: 7B TDC C1/D7DD: E220 SEP #$20 C1/D7DF: 2019E9 JSR $E919 C1/D7E2: 60 RTS C1/D7E3: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = B) C1/D7E6: BDD974 LDA $74D9,X C1/D7E9: 8524 STA $24 C1/D7EB: BDD874 LDA $74D8,X C1/D7EE: 2068D8 JSR $D868 C1/D7F1: AEF67A LDX $7AF6 (animation ID) C1/D7F4: C220 REP #$20 C1/D7F6: A522 LDA $22 (Animation Script pointer) C1/D7F8: 9DD074 STA $74D0,X C1/D7FB: 7B TDC C1/D7FC: E220 SEP #$20 C1/D7FE: BDD874 LDA $74D8,X C1/D801: 18 CLC C1/D802: 6940 ADC #$40 C1/D804: 2068D8 JSR $D868 C1/D807: AEF67A LDX $7AF6 (animation ID) C1/D80A: C220 REP #$20 C1/D80C: A522 LDA $22 (Animation Script pointer) C1/D80E: 9DCE74 STA $74CE,X C1/D811: 7B TDC C1/D812: E220 SEP #$20 C1/D814: BDD874 LDA $74D8,X C1/D817: 38 SEC C1/D818: E904 SBC #$04 C1/D81A: 9DD874 STA $74D8,X C1/D81D: BDD974 LDA $74D9,X C1/D820: 18 CLC C1/D821: 6902 ADC #$02 C1/D823: C930 CMP #$30 C1/D825: B003 BCS $D82A C1/D827: 9DD974 STA $74D9,X C1/D82A: 60 RTS C1/D82B: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = A) C1/D82E: A930 LDA #$30 C1/D830: 8524 STA $24 C1/D832: BDD874 LDA $74D8,X C1/D835: 5DD974 EOR $74D9,X C1/D838: 2068D8 JSR $D868 C1/D83B: AEF67A LDX $7AF6 (animation ID) C1/D83E: C220 REP #$20 C1/D840: A522 LDA $22 (Animation Script pointer) C1/D842: 9DD074 STA $74D0,X C1/D845: 7B TDC C1/D846: E220 SEP #$20 C1/D848: BDD874 LDA $74D8,X C1/D84B: 18 CLC C1/D84C: 6920 ADC #$20 C1/D84E: 2068D8 JSR $D868 C1/D851: AEF67A LDX $7AF6 (animation ID) C1/D854: C220 REP #$20 C1/D856: A522 LDA $22 (Animation Script pointer) C1/D858: 9DCE74 STA $74CE,X C1/D85B: 7B TDC C1/D85C: E220 SEP #$20 C1/D85E: BDD874 LDA $74D8,X C1/D861: 38 SEC C1/D862: E904 SBC #$04 C1/D864: 9DD874 STA $74D8,X C1/D867: 60 RTS C1/D868: 20996B JSR $6B99 (from C1/CC13, C1/CCEB, C1/CE35, C1/CE4D, C1/D36F, C1/D7EE, C1/D804, C1/D838, C1/D84E, C1/DCEC, C1/DD17, C1/E697, C1/E6AA) C1/D86B: 3005 BMI $D872 C1/D86D: 8522 STA $22 C1/D86F: 6423 STZ $23 C1/D871: 60 RTS C1/D872: 8522 STA $22 (Animation Script pointer) C1/D874: A9FF LDA #$FF C1/D876: 8523 STA $23 C1/D878: 60 RTS C1/D879: A930 LDA #$30 (from C1/C884, X = 9) C1/D87B: 8DBD61 STA $61BD C1/D87E: 8DDD61 STA $61DD C1/D881: 8DFD61 STA $61FD C1/D884: 8D1D62 STA $621D C1/D887: A931 LDA #$31 C1/D889: 8DDC80 STA $80DC C1/D88C: 8DDE80 STA $80DE C1/D88F: 8DE080 STA $80E0 C1/D892: 8DE280 STA $80E2 C1/D895: 8DE480 STA $80E4 C1/D898: 8DE680 STA $80E6 C1/D89B: AEF67A LDX $7AF6 (animation ID) C1/D89E: C220 REP #$20 C1/D8A0: BD3C6A LDA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D8A3: 18 CLC C1/D8A4: 7DD074 ADC $74D0,X C1/D8A7: 18 CLC C1/D8A8: 694600 ADC #$0046 C1/D8AB: 8524 STA $24 C1/D8AD: 7B TDC C1/D8AE: AA TAX C1/D8AF: A8 TAY C1/D8B0: A524 LDA $24 C1/D8B2: D94380 CMP $8043,Y C1/D8B5: 900A BCC $D8C1 C1/D8B7: E220 SEP #$20 C1/D8B9: A920 LDA #$20 C1/D8BB: 9DBD61 STA $61BD,X C1/D8BE: 7B TDC C1/D8BF: C220 REP #$20 C1/D8C1: 8A TXA C1/D8C2: 18 CLC C1/D8C3: 692000 ADC #$0020 C1/D8C6: AA TAX C1/D8C7: C8 INY C1/D8C8: C8 INY C1/D8C9: C00800 CPY #$0008 C1/D8CC: D0E2 BNE $D8B0 C1/D8CE: 7B TDC C1/D8CF: A8 TAY C1/D8D0: A524 LDA $24 C1/D8D2: D92780 CMP $8027,Y (bottom Y-coordinate of monster - 8) C1/D8D5: 9009 BCC $D8E0 C1/D8D7: E220 SEP #$20 C1/D8D9: A921 LDA #$21 C1/D8DB: 99DC80 STA $80DC,Y C1/D8DE: C220 REP #$20 C1/D8E0: C8 INY C1/D8E1: C8 INY C1/D8E2: C00C00 CPY #$000C C1/D8E5: D0E9 BNE $D8D0 C1/D8E7: 7B TDC C1/D8E8: E220 SEP #$20 C1/D8EA: 60 RTS C1/D8EB: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 8) C1/D8EE: 2009FA JSR $FA09 C1/D8F1: 60 RTS C1/D8F2: AEF67A LDX $7AF6 (animation ID) (from C1/C884, X = 7) C1/D8F5: C220 REP #$20 C1/D8F7: BDCE74 LDA $74CE,X C1/D8FA: 8D9E5F STA $5F9E C1/D8FD: BDD074 LDA $74D0,X C1/D900: 8D8E5F STA $5F8E C1/D903: 7B TDC C1/D904: E220 SEP #$20 C1/D906: 60 RTS C1/D907: 7B TDC (from C1/C884, X = 6) C1/D908: AA TAX C1/D909: 9E6D5F STZ $5F6D,X C1/D90C: E8 INX C1/D90D: E04000 CPX #$0040 C1/D910: D0F7 BNE $D909 C1/D912: 205B18 JSR $185B (Random number generator) C1/D915: 7B TDC C1/D916: 8D6D5F STA $5F6D C1/D919: 18 CLC C1/D91A: 6910 ADC #$10 C1/D91C: 8D7D5F STA $5F7D C1/D91F: A908 LDA #$08 C1/D921: 8524 STA $24 C1/D923: 851A STA $1A C1/D925: A20001 LDX #$0100 C1/D928: 861C STX $1C C1/D92A: A2F544 LDX #$44F5 C1/D92D: 7B TDC C1/D92E: 208B0D JSR $0D8B C1/D931: 20B4E5 JSR $E5B4 C1/D934: AEF67A LDX $7AF6 (animation ID) C1/D937: 60 RTS C1/D938: 20A1E7 JSR $E7A1 (from C1/C884, X = 5) C1/D93B: C220 REP #$20 C1/D93D: B9C561 LDA $61C5,Y C1/D940: 9DCE74 STA $74CE,X C1/D943: B9C761 LDA $61C7,Y C1/D946: 9DD074 STA $74D0,X C1/D949: 7B TDC C1/D94A: E220 SEP #$20 C1/D94C: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D94F: A8 TAY C1/D950: B9107B LDA $7B10,Y C1/D953: F003 BEQ $D958 C1/D955: 7B TDC C1/D956: 8002 BRA $D95A C1/D958: A980 LDA #$80 C1/D95A: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/D95D: A904 LDA #$04 C1/D95F: 9D3B6A STA $6A3B,X C1/D962: BDD274 LDA $74D2,X C1/D965: 0A ASL A C1/D966: 0A ASL A C1/D967: 18 CLC C1/D968: 6908 ADC #$08 C1/D96A: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/D96D: 60 RTS C1/D96E: 205B18 JSR $185B (Random number generator) (from C1/C884, X = 4) C1/D971: AEF67A LDX $7AF6 (animation ID) C1/D974: 9DD874 STA $74D8,X C1/D977: 205B18 JSR $185B (Random number generator) C1/D97A: AEF67A LDX $7AF6 (animation ID) C1/D97D: 9DD974 STA $74D9,X C1/D980: 60 RTS C1/D981: 20A1E7 JSR $E7A1 (from C1/C884, X = 2) C1/D984: B9BE61 LDA $61BE,Y C1/D987: 8DB260 STA $60B2 C1/D98A: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D98D: A8 TAY C1/D98E: B9107B LDA $7B10,Y C1/D991: 8DB160 STA $60B1 C1/D994: 60 RTS C1/D995: 20A1E7 JSR $E7A1 (from C1/C884, X = 3) C1/D998: ADB260 LDA $60B2 C1/D99B: 99BE61 STA $61BE,Y C1/D99E: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/D9A1: A8 TAY C1/D9A2: ADB160 LDA $60B1 C1/D9A5: 99107B STA $7B10,Y C1/D9A8: 60 RTS C1/D9A9: 20A1E7 JSR $E7A1 (from C1/C884, X = 1) C1/D9AC: C220 REP #$20 C1/D9AE: 7B TDC C1/D9AF: 99C561 STA $61C5,Y C1/D9B2: 99C761 STA $61C7,Y C1/D9B5: 9DCE74 STA $74CE,X C1/D9B8: 9DD074 STA $74D0,X C1/D9BB: E220 SEP #$20 C1/D9BD: 60 RTS C1/D9BE: 20A1E7 JSR $E7A1 (from C1/C884, X = 0) C1/D9C1: C220 REP #$20 C1/D9C3: B9B761 LDA $61B7,Y C1/D9C6: 18 CLC C1/D9C7: 79D461 ADC $61D4,Y C1/D9CA: 9D826F STA $6F82,X C1/D9CD: B9B961 LDA $61B9,Y C1/D9D0: 9D846F STA $6F84,X C1/D9D3: 7B TDC C1/D9D4: E220 SEP #$20 C1/D9D6: 60 RTS C1/D9D7: 297F AND #$7F (from C1/C70A, C1/C817, C1/C868) C1/D9D9: 0A ASL A C1/D9DA: 8EF67A STX $7AF6 (animation ID) C1/D9DD: AA TAX C1/D9DE: A45B LDY $5B C1/D9E0: C8 INY C1/D9E1: 845B STY $5B C1/D9E3: 7CE6D9 JMP ($D9E6,X) Main animation command jump table (function) (value) C1/D9E6: 78C8 (00) C1/D9E8: 47F3 (01) C1/D9EA: 3FF3 (02) C1/D9EC: 77F3 (03) C1/D9EE: B3F7 (04) C1/D9F0: 9DF8 (05) C1/D9F2: 91F4 (06) C1/D9F4: 76F4 (07) C1/D9F6: 1DF7 (08) C1/D9F8: BCF7 (09) C1/D9FA: 2FF8 (0A) C1/D9FC: E6F7 (0B) C1/D9FE: 4BF8 (0C) C1/DA00: 63F2 (0D) C1/DA02: 7AF2 (0E) C1/DA04: 63F2 (0F) C1/DA06: 55F2 (10) C1/DA08: B4F8 (11) C1/DA0A: DBFA (12) C1/DA0C: 3DFA (13) C1/DA0E: E0F8 (14) C1/DA10: E6F9 (15) C1/DA12: 63FB (16) C1/DA14: D7FB (17) C1/DA16: A8FB (18) C1/DA18: 37FC (19) C1/DA1A: 40FC (1A) C1/DA1C: 1AF3 (1B) C1/DA1E: A2F2 (1C) C1/DA20: F1F2 (1D) C1/DA22: B6F2 (1E) C1/DA24: CFF7 (1F) C1/DA26: 4BFA (20) C1/DA28: 90FA (21) C1/DA2A: E1F2 (22) C1/DA2C: E5F1 (23) C1/DA2E: 1DF2 (24) C1/DA30: ECF0 (25) C1/DA32: 94F0 (26) C1/DA34: 88F0 (27) C1/DA36: 73F0 (28) C1/DA38: C8EF (29) C1/DA3A: 6EEC (2A) C1/DA3C: 58EC (2B) C1/DA3E: 9CEE (2C) C1/DA40: A3EF (2D) C1/DA42: 86ED (2E) C1/DA44: DAEB (2F) C1/DA46: C4EB (30) C1/DA48: ACEC (31) C1/DA4A: 96EC (32) C1/DA4C: 4FEC (33) C1/DA4E: 46EC (34) C1/DA50: B2EB (35) C1/DA52: BBEB (36) C1/DA54: 84EC (37) C1/DA56: 8DEC (38) C1/DA58: EAEC (39) C1/DA5A: D4EC (3A) C1/DA5C: CBEC (3B) C1/DA5E: C2EC (3C) C1/DA60: A1EA (3D) C1/DA62: 98EA (3E) C1/DA64: 85EA (3F) C1/DA66: 76EA (40) C1/DA68: 05EA (41) C1/DA6A: EBE9 (42) C1/DA6C: 2FF0 (43) C1/DA6E: 9FE9 (44) C1/DA70: FBE8 (45) C1/DA72: 30E8 (46) C1/DA74: 73C8 (47) C1/DA76: B1E7 (48) C1/DA78: E4DA (49) C1/DA7A: 98E7 (4A) C1/DA7C: 79E7 (4B) C1/DA7E: 24EC (4C) C1/DA80: 02EC (4D) C1/DA82: F0EB (4E) C1/DA84: F9EB (4F) C1/DA86: 46E7 (50) C1/DA88: 3DE7 (51) C1/DA8A: 6DF8 (52) C1/DA8C: 44F0 (53) C1/DA8E: 22E7 (54) C1/DA90: 07E7 (55) C1/DA92: CDE6 (56) C1/DA94: 8DE6 (57) C1/DA96: F9E5 (58) C1/DA98: F0E5 (59) C1/DA9A: 28E5 (5A) C1/DA9C: 09E5 (5B) C1/DA9E: 3AE4 (5C) C1/DAA0: 16E4 (5D) C1/DAA2: 01E4 (5E) C1/DAA4: ECE3 (5F) C1/DAA6: A0E3 (60) C1/DAA8: 28E3 (61) C1/DAAA: 8DDD (62) C1/DAAC: 42DD (63) C1/DAAE: 86E2 (64) C1/DAB0: 5DE1 (65) C1/DAB2: B3E1 (66) C1/DAB4: 5AE2 (67) C1/DAB6: DFDC (68) C1/DAB8: 9BDC (69) C1/DABA: 81DC (6A) C1/DABC: 66DC (6B) C1/DABE: 55DC (6C) C1/DAC0: 8FDB (6D) C1/DAC2: C5E5 (6E) C1/DAC4: D9DC (6F) C1/DAC6: 6CDB (70) C1/DAC8: C0E2 (71) C1/DACA: 80F9 (72) C1/DACC: 64DB (73) C1/DACE: 0FF3 (74) C1/DAD0: FCF7 (75) C1/DAD2: A2E4 (76) C1/DAD4: 50DB (77) C1/DAD6: 31DB (78) C1/DAD8: F9DA (79) C1/DADB: 23DB (7A) C1/DADC: 4CED (7B) C1/DADF: 12ED (7C) C1/DAE0: 00ED (7D) C1/DAE2: 09ED (7E) C1/DAE4: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 49) C1/DAE7: BD826F LDA $6F82,X C1/DAEA: 8510 STA $10 C1/DAEC: A75B LDA [$5B] C1/DAEE: F003 BEQ $DAF3 C1/DAF0: 4CEF17 JMP $17EF C1/DAF3: ADE7E9 LDA $E9E7 C1/DAF6: 4CEF17 JMP $17EF C1/DAF9: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 79) C1/DAFC: A00200 LDY #$0002 C1/DAFF: B75B LDA [$5B],Y C1/DB01: 3011 BMI $DB14 C1/DB03: 88 DEY C1/DB04: B75B LDA [$5B],Y C1/DB06: F007 BEQ $DB0F C1/DB08: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/DB0B: 300F BMI $DB1C C1/DB0D: 8005 BRA $DB14 C1/DB0F: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/DB12: 3008 BMI $DB1C C1/DB14: 2903 AND #$03 C1/DB16: A8 TAY C1/DB17: A75B LDA [$5B] C1/DB19: 99CC64 STA $64CC,Y C1/DB1C: A45B LDY $5B C1/DB1E: C8 INY C1/DB1F: C8 INY C1/DB20: 845B STY $5B C1/DB22: 60 RTS C1/DB23: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 7A) C1/DB26: C220 REP #$20 C1/DB28: A75B LDA [$5B] C1/DB2A: 3A DEC A C1/DB2B: 855B STA $5B C1/DB2D: 7B TDC C1/DB2E: E220 SEP #$20 C1/DB30: 60 RTS C1/DB31: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 78) C1/DB34: ADBA64 LDA $64BA C1/DB37: F002 BEQ $DB3B C1/DB39: A901 LDA #$01 C1/DB3B: C220 REP #$20 C1/DB3D: 0A ASL A C1/DB3E: 8522 STA $22 (Animation Script pointer) C1/DB40: A55B LDA $5B C1/DB42: 18 CLC C1/DB43: 6522 ADC $22 (Animation Script pointer) C1/DB45: 855B STA $5B C1/DB47: A75B LDA [$5B] C1/DB49: 3A DEC A C1/DB4A: 855B STA $5B C1/DB4C: 7B TDC C1/DB4D: E220 SEP #$20 C1/DB4F: 60 RTS C1/DB50: AF3F2100 LDA $00213F (from C1/D9E3, X = 77) C1/DB54: AF372100 LDA $002137 C1/DB58: AF3D2100 LDA $00213D C1/DB5C: C75B CMP [$5B] C1/DB5E: 90F0 BCC $DB50 C1/DB60: AEF67A LDX $7AF6 (animation ID) C1/DB63: 60 RTS C1/DB64: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 73) C1/DB67: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/DB6A: 8006 BRA $DB72 C1/DB6C: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 70) C1/DB6F: BD396A LDA $6A39,X (Target's sprite position ID?_RuneLancer) C1/DB72: 3004 BMI $DB78 C1/DB74: 2903 AND #$03 C1/DB76: 8002 BRA $DB7A C1/DB78: A904 LDA #$04 C1/DB7A: C220 REP #$20 C1/DB7C: 0A ASL A C1/DB7D: 8522 STA $22 (Animation Script pointer) C1/DB7F: A55B LDA $5B C1/DB81: 18 CLC C1/DB82: 6522 ADC $22 (Animation Script pointer) C1/DB84: 855B STA $5B C1/DB86: A75B LDA [$5B] C1/DB88: 3A DEC A C1/DB89: 855B STA $5B C1/DB8B: 7B TDC C1/DB8C: E220 SEP #$20 C1/DB8E: 60 RTS C1/DB8F: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 6D) C1/DB92: C220 REP #$20 C1/DB94: BD3A6A LDA $6A3A,X (The X position of the sprite?_RuneLancer) C1/DB97: 8522 STA $22 (Animation Script pointer) C1/DB99: 290001 AND #$0100 C1/DB9C: F003 BEQ $DBA1 C1/DB9E: 3A DEC A C1/DB9F: 8522 STA $22 (Animation Script pointer) C1/DBA1: BD3C6A LDA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/DBA4: 8524 STA $24 C1/DBA6: 290001 AND #$0100 C1/DBA9: F003 BEQ $DBAE C1/DBAB: 3A DEC A C1/DBAC: 8524 STA $24 C1/DBAE: 7B TDC C1/DBAF: E220 SEP #$20 C1/DBB1: A522 LDA $22 (Animation Script pointer) C1/DBB3: 857D STA $7D C1/DBB5: A524 LDA $24 C1/DBB7: 857E STA $7E C1/DBB9: BD826F LDA $6F82,X C1/DBBC: 857F STA $7F C1/DBBE: BD846F LDA $6F84,X C1/DBC1: 8580 STA $80 C1/DBC3: 20916C JSR $6C91 C1/DBC6: AEF67A LDX $7AF6 (animation ID) C1/DBC9: A907 LDA #$07 C1/DBCB: 8524 STA $24 C1/DBCD: 20BAE7 JSR $E7BA C1/DBD0: A585 LDA $85 C1/DBD2: 38 SEC C1/DBD3: FDDB74 SBC $74DB,X C1/DBD6: 300B BMI $DBE3 C1/DBD8: BDDB74 LDA $74DB,X C1/DBDB: 18 CLC C1/DBDC: 6522 ADC $22 (Animation Script pointer) C1/DBDE: 9DDB74 STA $74DB,X C1/DBE1: 8009 BRA $DBEC C1/DBE3: BDDB74 LDA $74DB,X C1/DBE6: 38 SEC C1/DBE7: E522 SBC $22 (Animation Script pointer) C1/DBE9: 9DDB74 STA $74DB,X C1/DBEC: A75B LDA [$5B] C1/DBEE: 18 CLC C1/DBEF: 6904 ADC #$04 C1/DBF1: 8524 STA $24 C1/DBF3: AEF67A LDX $7AF6 (animation ID) C1/DBF6: A586 LDA $86 C1/DBF8: C524 CMP $24 C1/DBFA: B006 BCS $DC02 C1/DBFC: A45B LDY $5B C1/DBFE: C8 INY C1/DBFF: 845B STY $5B C1/DC01: 60 RTS C1/DC02: A75B LDA [$5B] C1/DC04: A8 TAY C1/DC05: 8424 STY $24 C1/DC07: BDDB74 LDA $74DB,X C1/DC0A: 18 CLC C1/DC0B: 6940 ADC #$40 C1/DC0D: 20676C JSR $6C67 C1/DC10: AEF67A LDX $7AF6 (animation ID) C1/DC13: C220 REP #$20 C1/DC15: BD3A6A LDA $6A3A,X (The X position of the sprite?_RuneLancer) C1/DC18: 18 CLC C1/DC19: 6528 ADC $28 C1/DC1B: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/DC1E: 7B TDC C1/DC1F: E220 SEP #$20 C1/DC21: AEF67A LDX $7AF6 (animation ID) C1/DC24: A75B LDA [$5B] C1/DC26: A8 TAY C1/DC27: 8424 STY $24 C1/DC29: BDDB74 LDA $74DB,X C1/DC2C: 20676C JSR $6C67 C1/DC2F: AEF67A LDX $7AF6 (animation ID) C1/DC32: C220 REP #$20 C1/DC34: BD3C6A LDA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/DC37: 18 CLC C1/DC38: 6528 ADC $28 C1/DC3A: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/DC3D: A00100 LDY #$0001 C1/DC40: B7 C1/DC41: 5B TCD C1/DC42: 29FF00 AND #$00FF C1/DC45: 8522 STA $22 (Animation Script pointer) C1/DC47: A55B LDA $5B C1/DC49: 38 SEC C1/DC4A: E522 SBC $22 (Animation Script pointer) C1/DC4C: 855B STA $5B C1/DC4E: 7B TDC C1/DC4F: E220 SEP #$20 C1/DC51: AEF67A LDX $7AF6 (animation ID) C1/DC54: 60 RTS C1/DC55: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 6C) C1/DC58: BD866F LDA $6F86,X C1/DC5B: 29FC AND #$FC C1/DC5D: 075B ORA [$5B] C1/DC5F: 9D866F STA $6F86,X C1/DC62: 9E8C6F STZ $6F8C,X C1/DC65: 60 RTS C1/DC66: AEF67A LDX $7AF6 (animation ID) (from C1/D9E3, X = 6B) C1/DC69: BD366A LDA $6A36,X C1/DC6C: C220 REP #$20 C1/DC6E: 0A ASL A C1/DC6F: 8522 STA $22 (Animation Script pointer) C1/DC71: A55B LDA $5B C1/DC73: 18 CLC C1/DC74: 6522 ADC $22 (Animation Script pointer) C1/DC76: 855B STA $5B C1/DC78: A75B LDA [$5B] C1/DC7A: 3A DEC A C1/DC7B: 855B STA $5B C1/DC7D: 7B TDC C1/DC7E: E220 SEP #$20 C1/DC80: 60 RTS C1/DC81: A75B LDA [$5B] (from C1/D9E3, X = 6A) C1/DC83: 1005 BPL $DC8A C1/DC85: 290F AND #$0F C1/DC87: 8DC862 STA $62C8 C1/DC8A: A75B LDA [$5B] C1/DC8C: 2940 AND #$40 C1/DC8E: F007 BEQ $DC97 C1/DC90: A75B LDA [$5B] C1/DC92: 290F AND #$0F C1/DC94: 8DC962 STA $62C9 C1/DC97: AEF67A LDX $7AF6 (animation ID) C1/DC9A: 60 RTS C1/DC9B: 205B18 JSR $185B (Random number generator) (from C1/D9E3, X = 69) C1/DC9E: 8510 STA $10 C1/DCA0: 205B18 JSR $185B (Random number generator) C1/DCA3: 8512 STA $12 C1/DCA5: AEF67A LDX $7AF6 (animation ID) C1/DCA8: A510 LDA $10 C1/DCAA: 275B AND [$5B] C1/DCAC: 9DCE74 STA $74CE,X C1/DCAF: 9ECF74 STZ $74CF,X C1/DCB2: BD876F LDA $6F87,X C1/DCB5: F00F BEQ $DCC6 C1/DCB7: C220 REP #$20 C1/DCB9: BDCE74 LDA $74CE,X C1/DCBC: 49FFFF EOR #$FFFF C1/DCBF: 1A INC A C1/DCC0: 9DCE74 STA $74CE,X C1/DCC3: 7B TDC C1/DCC4: E220 SEP #$20 C1/DCC6: A00100 LDY #$0001 C1/DCC9: A512 LDA $12 C1/DCCB: 375B C1/DCCD: 9DD074 STA $74D0,X C1/DCD0: 9ED174 STZ $74D1,X C1/DCD3: A45B LDY $5B C1/DCD5: C8 INY C1/DCD6: 845B STY $5B C1/DCD8: 60 RTS C1/DCD9: A901 LDA #$01 (from C1/D9E3, X = 6F) C1/DCDB: 851A STA $1A C1/DCDD: 8002 BRA $DCE1 C1/DCDF: 641A STZ $1A (from C1/D9E3, X = 68) C1/DCE1: AEF67A LDX $7AF6 (animation ID) C1/DCE4: BDD974 LDA $74D9,X C1/DCE7: 8524 STA $24 C1/DCE9: BDD874 LDA $74D8,X C1/DCEC: 2068D8 JSR $D868 C1/DCEF: AEF67A LDX $7AF6 (animation ID) C1/DCF2: C220 REP #$20 C1/DCF4: BD876F LDA $6F87,X C1/DCF7: 29FF00 AND #$00FF C1/DCFA: F007 BEQ $DD03 C1/DCFC: A522 LDA $22 (Animation Script pointer) C1/DCFE: 49FFFF EOR #$FFFF C1/DD01: 8522 STA $22 (Animation Script pointer) C1/DD03: A522 LDA $22 (Animation Script pointer) C1/DD05: 9DCE74 STA $74CE,X C1/DD08: 7B TDC C1/DD09: E220 SEP #$20 C1/DD0B: A51A LDA $1A C1/DD0D: F002 BEQ $DD11 C1/DD0F: 4624 LSR $24 C1/DD11: BDD874 LDA $74D8,X C1/DD14: 18 CLC C1/DD15: 6940 ADC #$40 C1/DD17: 2068D8 JSR $D868 C1/DD1A: AEF67A LDX $7AF6 (animation ID) C1/DD1D: C220 REP #$20 C1/DD1F: A522 LDA $22 (Animation Script pointer) C1/DD21: 9DD074 STA $74D0,X C1/DD24: 7B TDC C1/DD25: E220 SEP #$20 C1/DD27: BDD974 LDA $74D9,X C1/DD2A: 18 CLC C1/DD2B: 675B ADC [$5B] C1/DD2D: 9DD974 STA $74D9,X C1/DD30: A00100 LDY #$0001 C1/DD33: BDD874 LDA $74D8,X C1/DD35: 18 CLC C1/DD37: 775B ADC [$5B],Y C1/DD39: 9DD874 STA $74D8,X C1/DD3C: A45B LDY $5B C1/DD3E: C8 INY C1/DD3F: 845B STY $5B C1/DD41: 60 RTS C1/DD42: 7B TDC (from C1/D9E3, X = 63) C1/DD43: 1A INC A C1/DD44: 20D9DD JSR $DDD9 C1/DD47: AEF67A LDX $7AF6 (animation ID) C1/DD4A: A75B LDA [$5B] C1/DD4C: 8526 STA $26 C1/DD4E: 6427 STZ $27 C1/DD50: C220 REP #$20 C1/DD52: BDD774 LDA $74D7,X C1/DD55: 38 SEC C1/DD56: E526 SBC $26 C1/DD58: 9DD774 STA $74D7,X C1/DD5B: 1010 BPL $DD6D C1/DD5D: BDE864 LDA $64E8,X C1/DD60: 99C380 STA $80C3,Y (Store to enemy's X-coord.) C1/DD63: BDEA64 LDA $64EA,X C1/DD66: 99CF80 STA $80CF,Y C1/DD69: E65B INC $5B C1/DD6B: 8019 BRA $DD86 C1/DD6D: A514 LDA $14 C1/DD6F: 18 CLC C1/DD70: 6528 ADC $28 C1/DD72: 99CF80 STA $80CF,Y C1/DD75: A001 LDY #$01 C1/DD77: 00B7 BRK #$B7 C1/DD79: 5B TCD C1/DD7A: 29FF00 AND #$00FF C1/DD7D: 8522 STA $22 (Animation Script pointer) C1/DD7F: A55B LDA $5B C1/DD81: 38 SEC C1/DD82: E522 SBC $22 (Animation Script pointer) C1/DD84: 855B STA $5B C1/DD86: 7B TDC C1/DD87: E220 SEP #$20 C1/DD89: AEF67A LDX $7AF6 (animation ID) C1/DD8C: 60 RTS C1/DD8D: 7B TDC (from C1/D9E3, X = 62) C1/DD8E: 20D9DD JSR $DDD9 C1/DD91: AEF67A LDX $7AF6 (animation ID) C1/DD94: A75B LDA [$5B] C1/DD96: 8526 STA $26 C1/DD98: 6427 STZ $27 C1/DD9A: C220 REP #$20 C1/DD9C: BDD774 LDA $74D7,X C1/DD9F: 38 SEC C1/DDA0: E526 SBC $26 C1/DDA2: 9DD774 STA $74D7,X C1/DDA5: 1012 BPL $DDB9 C1/DDA7: A514 LDA $14 C1/DDA9: 99CF80 STA $80CF,Y C1/DDAC: BDD974 LDA $74D9,X C1/DDAF: 29FF00 AND #$00FF C1/DDB2: 9DD774 STA $74D7,X C1/DDB5: E65B INC $5B C1/DDB7: 8019 BRA $DDD2 C1/DDB9: A514 LDA $14 C1/DDBB: 18 CLC C1/DDBC: 6528 ADC $28 C1/DDBE: 99CF80 STA $80CF,Y C1/DDC1: A00100 LDY #$0001 C1/DDC4: B75B LDA [$5B],Y C1/DDC6: 29FF00 AND #$00FF C1/DDC9: 8522 STA $22 (Animation Script pointer) C1/DDCB: A55B LDA $5B C1/DDCD: 38 SEC C1/DDCE: E522 SBC $22 (Animation Script pointer) C1/DDD0: 855B STA $5B C1/DDD2: 7B TDC C1/DDD3: E220 SEP #$20 C1/DDD5: AEF67A LDX $7AF6 (animation ID) C1/DDD8: 60 RTS C1/DDD9: 48 PHA (from C1/DD44, C1/DD8E) C1/DDDA: AEF67A LDX $7AF6 (animation ID) C1/DDDD: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/DDE0: 297F AND #$7F C1/DDE2: 38 SEC C1/DDE3: E904 SBC #$04 C1/DDE5: 0A ASL A C1/DDE6: A8 TAY C1/DDE7: 8CF87A STY $7AF8 C1/DDEA: A75B LDA [$5B] C1/DDEC: C220 REP #$20 C1/DDEE: 8526 STA $26 C1/DDF0: B9AB80 LDA $80AB,Y C1/DDF3: 8510 STA $10 C1/DDF5: B9B780 LDA $80B7,Y C1/DDF8: 8512 STA $12 C1/DDFA: 7B TDC C1/DDFB: E220 SEP #$20 C1/DDFD: 68 PLA C1/DDFE: F005 BEQ $DE05 C1/DE00: 20FEDE JSR $DEFE C1/DE03: 8003 BRA $DE08 C1/DE05: 20A0DF JSR $DFA0 C1/DE08: AEF67A LDX $7AF6 (animation ID) C1/DE0B: A9FF LDA #$FF C1/DE0D: 8F044200 STA $004204 C1/DE11: 8F054200 STA $004205 C1/DE15: BDD974 LDA $74D9,X C1/DE18: 8F064200 STA $004206 C1/DE1C: ACF87A LDY $7AF8 C1/DE1F: C220 REP #$20 C1/DE21: A510 LDA $10 C1/DE23: 99AB80 STA $80AB,Y C1/DE26: 18 CLC C1/DE27: 7DE864 ADC $64E8,X C1/DE2A: 99C380 STA $80C3,Y (Store to enemy's X-coord.) C1/DE2D: A512 LDA $12 C1/DE2F: 99B780 STA $80B7,Y C1/DE32: 18 CLC C1/DE33: 7DEA64 ADC $64EA,X C1/DE36: 48 PHA C1/DE37: 99CF80 STA $80CF,Y C1/DE3A: BDD774 LDA $74D7,X C1/DE3D: 29FF00 AND #$00FF C1/DE40: 8522 STA $22 (Animation Script pointer) C1/DE42: AF144200 LDA $004214 C1/DE46: 8524 STA $24 C1/DE48: 20F418 JSR $18F4 C1/DE4B: 7B TDC C1/DE4C: E220 SEP #$20 C1/DE4E: A22000 LDX #$0020 C1/DE51: 86 PLA C1/DE52: 24A5 BIT $A5 C1/DE54: 274A AND [$4A] C1/DE56: 18 CLC C1/DE57: 6980 ADC #$80 C1/DE59: 20676C JSR $6C67 C1/DE5C: FA PLX C1/DE5D: 8614 STX $14 C1/DE5F: ACF87A LDY $7AF8 C1/DE62: AEF67A LDX $7AF6 (animation ID) C1/DE65: 60 RTS C1/DE66: AEF67A LDX $7AF6 (animation ID) C1/DE69: BD386A LDA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/DE6C: 297F AND #$7F C1/DE6E: 38 SEC C1/DE6F: E904 SBC #$04 C1/DE71: 0A ASL A C1/DE72: A8 TAY C1/DE73: 8CF87A STY $7AF8 C1/DE76: BDD974 LDA $74D9,X C1/DE79: 8524 STA $24 C1/DE7B: BDDA74 LDA $74DA,X C1/DE7E: 8525 STA $25 C1/DE80: BDDB74 LDA $74DB,X C1/DE83: 18 CLC C1/DE84: 6940 ADC #$40 C1/DE86: 20676C JSR $6C67 C1/DE89: AEF67A LDX $7AF6 (animation ID) C1/DE8C: ACF87A LDY $7AF8 C1/DE8F: C220 REP #$20 C1/DE91: A528 LDA $28 C1/DE93: 18 CLC C1/DE94: 7DE864 ADC $64E8,X C1/DE97: 99C380 STA $80C3,Y (Store to enemy's X-coord.) C1/DE9A: 7B TDC C1/DE9B: E220 SEP #$20 C1/DE9D: BDDB74 LDA $74DB,X C1/DEA0: 20676C JSR $6C67 C1/DEA3: AEF67A LDX $7AF6 (animation ID) C1/DEA6: A9FF LDA #$FF C1/DEA8: 8F044200 STA $004204 C1/DEAC: 8F054200 STA $004205 C1/DEB0: BDDD74 LDA $74DD,X C1/DEB3: F004 BEQ $DEB9 C1/DEB5: A9FF LDA #$FF C1/DEB7: 8003 BRA $DEBC C1/DEB9: BDDC74 LDA $74DC,X C1/DEBC: 8F064200 STA $004206 C1/DEC0: ACF87A LDY $7AF8 C1/DEC3: BDD974 LDA $74D9,X C1/DEC6: C220 REP #$20 C1/DEC8: 8522 STA $22 (Animation Script pointer) C1/DECA: A528 LDA $28 C1/DECC: 48 PHA C1/DECD: AF144200 LDA $004214 C1/DED1: 8524 STA $24 C1/DED3: 20F418 JSR $18F4 C1/DED6: 7B TDC C1/DED7: E220 SEP #$20 C1/DED9: A22000 LDX #$0020 C1/DEDC: 86 PLA C1/DEDD: 24A5 BIT $A5 C1/DEDF: 274A AND [$4A] C1/DEE1: 18 CLC C1/DEE2: 6980 ADC #$80 C1/DEE4: 20676C JSR $6C67 C1/DEE7: ACF87A LDY $7AF8 C1/DEEA: AEF67A LDX $7AF6 (animation ID) C1/DEED: C220 REP #$20 C1/DEEF: 68 PLA C1/DEF0: 18 CLC C1/DEF1: 6528 ADC $28 C1/DEF3: 18 CLC C1/DEF4: 7DEA64 ADC $64EA,X C1/DEF7: 99CF80 STA $80CF,Y C1/DEFA: 7B TDC C1/DEFB: E220 SEP #$20 C1/DEFD: 60 RTS C1/DEFE: BDDC74 LDA $74DC,X C1/DF01: 8522 STA $22 (Animation Script pointer) C1/DF03: BDDD74 LDA $74DD,X C1/DF06: 8524 STA $24 C1/DF08: 6423 STZ $23 C1/DF0A: 6425 STZ $25 C1/DF0C: 6429 STZ $29 C1/DF0E: A522 LDA $22 (Animation Script pointer) C1/DF10: C524 CMP $24 C1/DF12: 9046 BCC $DF5A C1/DF14: A412 LDY $12 C1/DF16: BDDA74 LDA $74DA,X C1/DF19: 300E BMI $DF29 C1/DF1B: C220 REP #$20 C1/DF1D: A510 LDA $10 C1/DF1F: 38 SEC C1/DF20: E526 SBC $26 C1/DF22: 8510 STA $10 C1/DF24: 7B TDC C1/DF25: E220 SEP #$20 C1/DF27: 800C BRA $DF35 C1/DF29: C220 REP #$20 C1/DF2B: A510 LDA $10 C1/DF2D: 18 CLC C1/DF2E: 6526 ADC $26 C1/DF30: 8510 STA $10 C1/DF32: 7B TDC C1/DF33: E220 SEP #$20 C1/DF35: BDDB74 LDA $74DB,X C1/DF38: 3010 BMI $DF4A C1/DF3A: BDD674 LDA $74D6,X C1/DF3D: 8528 STA $28 C1/DF3F: 207CE0 JSR $E07C C1/DF42: A528 LDA $28 C1/DF44: 9DD674 STA $74D6,X C1/DF47: 8412 STY $12 C1/DF49: 60 RTS C1/DF4A: BDD674 LDA $74D6,X C1/DF4D: 8528 STA $28 C1/DF4F: 2099E0 JSR $E099 C1/DF52: A528 LDA $28 C1/DF54: 9DD674 STA $74D6,X C1/DF57: 8412 STY $12 C1/DF59: 60 RTS C1/DF5A: A410 LDY $10 C1/DF5C: BDDB74 LDA $74DB,X C1/DF5F: 300E BMI $DF6F C1/DF61: C220 REP #$20 C1/DF63: A512 LDA $12 C1/DF65: 38 SEC C1/DF66: E526 SBC $26 C1/DF68: 8512 STA $12 C1/DF6A: 7B TDC C1/DF6B: E220 SEP #$20 C1/DF6D: 800C BRA $DF7B C1/DF6F: C220 REP #$20 C1/DF71: A512 LDA $12 C1/DF73: 18 CLC C1/DF74: 6526 ADC $26 C1/DF76: 8512 STA $12 C1/DF78: 7B TDC C1/DF79: E220 SEP #$20 C1/DF7B: BDDA74 LDA $74DA,X C1/DF7E: 3010 BMI $DF90 C1/DF80: BDD674 LDA $74D6,X C1/DF83: 8528 STA $28 C1/DF85: 2042E0 JSR $E042 C1/DF88: A528 LDA $28 C1/DF8A: 9DD674 STA $74D6,X C1/DF8D: 8410 STY $10 C1/DF8F: 60 RTS C1/DF90: BDD674 LDA $74D6,X (from only C1/DF7E) C1/DF93: 8528 STA $28 C1/DF95: 205FE0 JSR $E05F C1/DF98: A528 LDA $28 C1/DF9A: 9DD674 STA $74D6,X C1/DF9D: 8410 STY $10 C1/DF9F: 60 RTS C1/DFA0: BDDC74 LDA $74DC,X C1/DFA3: 8522 STA $22 (Animation Script pointer) C1/DFA5: BDDD74 LDA $74DD,X C1/DFA8: 8524 STA $24 C1/DFAA: 6423 STZ $23 C1/DFAC: 6425 STZ $25 C1/DFAE: 6429 STZ $29 C1/DFB0: A522 LDA $22 (Animation Script pointer) C1/DFB2: C524 CMP $24 C1/DFB4: 9046 BCC $DFFC C1/DFB6: A412 LDY $12 C1/DFB8: BDDA74 LDA $74DA,X C1/DFBB: 300E BMI $DFCB C1/DFBD: C220 REP #$20 C1/DFBF: A510 LDA $10 C1/DFC1: 18 CLC C1/DFC2: 6526 ADC $26 C1/DFC4: 8510 STA $10 C1/DFC6: 7B TDC C1/DFC7: E220 SEP #$20 C1/DFC9: 800C BRA $DFD7 C1/DFCB: C220 REP #$20 C1/DFCD: A510 LDA $10 C1/DFCF: 38 SEC C1/DFD0: E526 SBC $26 C1/DFD2: 8510 STA $10 C1/DFD4: 7B TDC C1/DFD5: E220 SEP #$20 C1/DFD7: BDDB74 LDA $74DB,X C1/DFDA: 3010 BMI $DFEC C1/DFDC: BDD674 LDA $74D6,X C1/DFDF: 8528 STA $28 C1/DFE1: 2099E0 JSR $E099 C1/DFE4: A528 LDA $28 C1/DFE6: 9DD674 STA $74D6,X C1/DFE9: 8412 STY $12 C1/DFEB: 60 RTS C1/DFEC: BDD674 LDA $74D6,X C1/DFEF: 8528 STA $28 C1/DFF1: 207CE0 JSR $E07C C1/DFF4: A528 LDA $28 C1/DFF6: 9DD674 STA $74D6,X C1/DFF9: 8412 STY $12 C1/DFFB: 60 RTS C1/DFFC: A410 LDY $10 C1/DFFE: BDDB74 LDA $74DB,X C1/E001: 300E BMI $E011 C1/E003: C220 REP #$20 C1/E005: A512 LDA $12 C1/E007: 18 CLC C1/E008: 6526 ADC $26 C1/E00A: 8512 STA $12 C1/E00C: 7B TDC C1/E00D: E220 SEP #$20 C1/E00F: 800C BRA $E01D C1/E011: C220 REP #$20 C1/E013: A512 LDA $12 C1/E015: 38 SEC C1/E016: E526 SBC $26 C1/E018: 8512 STA $12 C1/E01A: 7B TDC C1/E01B: E220 SEP #$20 C1/E01D: BDDA74 LDA $74DA,X C1/E020: 3010 BMI $E032 C1/E022: BDD674 LDA $74D6,X C1/E025: 8528 STA $28 C1/E027: 205FE0 JSR $E05F C1/E02A: A528 LDA $28 C1/E02C: 9DD674 STA $74D6,X C1/E02F: 8410 STY $10 C1/E031: 60 RTS