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 C1B
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
This is a sub-page of Final Fantasy VI/ROM map.
C1/B000 unknow
C1/B000: 2007B0 JSR $B007 C1/B003: 203CC2 JSR $C23C C1/B006: 6B RTL
C1/B007 unknow
C1/B007: 48 PHA C1/B008: AF3F2100 LDA $00213F C1/B00C: AF372100 LDA $002137 C1/B010: AF3D2100 LDA $00213D (Vertical Scanline) C1/B014: C9A0 CMP #$A0 ($A0 = 160) C1/B016: 90F0 BCC $B008 (Loop if the number of the current scanline is higher than or equal 160) C1/B018: 68 PLA C1/B019: 60 RTS
C1/B01A unknow
C1/B01A: 2089BC JSR $BC89 C1/B01D: A510 LDA $10 C1/B01F: 300B BMI $B02C C1/B021: 0A ASL A C1/B022: 0A ASL A C1/B023: 0A ASL A C1/B024: 0A ASL A C1/B025: 0A ASL A C1/B026: A8 TAY C1/B027: A930 LDA #$30 C1/B029: 99BD61 STA $61BD,Y C1/B02C: 60 RTS
C1/B02D unknow
C1/B02D: 7B TDC C1/B02E: A8 TAY C1/B02F: C220 REP #$20 C1/B031: A21000 LDX #$0010 C1/B034: A9E100 LDA #$00E1 C1/B037: 8514 STA $14 C1/B039: 8516 STA $16 C1/B03B: 8518 STA $18 C1/B03D: 206EFC JSR $FC6E C1/B040: B9607E LDA $7E60,Y C1/B043: 2099FC JSR $FC99 C1/B046: 99607E STA $7E60,Y C1/B049: C8 INY C1/B04A: C8 INY C1/B04B: CA DEX C1/B04C: D0F2 BNE $B040 C1/B04E: 7B TDC C1/B04F: E220 SEP #$20 C1/B051: 60 RTS
C1/B052 unknow
C1/B052: AF372100 LDA $002137 C1/B056: AF3D2100 LDA $00213D C1/B05A: C9A0 CMP #$A0 C1/B05C: 90F4 BCC $B052 C1/B05E: 60 RTS
C1/B05F unknow
C1/B05F: 2052B0 JSR $B052 C1/B062: 7B TDC C1/B063: AA TAX C1/B064: C220 REP #$20 C1/B066: A528 LDA $28 C1/B068: 9DB063 STA $63B0,X C1/B06B: 49FFFF EOR #$FFFF C1/B06E: 9DF063 STA $63F0,X C1/B071: E8 INX C1/B072: E8 INX C1/B073: E8 INX C1/B074: E8 INX C1/B075: E04000 CPX #$0040 C1/B078: D0EC BNE $B066 C1/B07A: 7B TDC C1/B07B: E220 SEP #$20 C1/B07D: 60 RTS
C1/B07E unknow
C1/B07E: 20ED1F JSR $1FED (from C2/EAD6, C2/F2D9, C2/F86D, C2/F8D5) C1/B081: 20F9B0 JSR $B0F9 C1/B084: 6B RTL
C1/B085 unknow
C1/B085: A9FF LDA #$FF C1/B087: 8DAB60 STA $60AB C1/B08A: 208AC3 JSR $C38A C1/B08D: 9C677B STZ $7B67 C1/B090: 202A02 JSR $022A C1/B093: 20591E JSR $1E59 C1/B096: 20ED1F JSR $1FED C1/B099: 20F9B0 JSR $B0F9 C1/B09C: 7B TDC C1/B09D: AA TAX C1/B09E: 8EB464 STX $64B4 C1/B0A1: 8EB664 STX $64B6 C1/B0A4: A917 LDA #$17 C1/B0A6: 8D8D89 STA $898D C1/B0A9: AD6F89 LDA $896F C1/B0AC: 29AF AND #$AF C1/B0AE: 0908 ORA #$08 C1/B0B0: 8D6F89 STA $896F C1/B0B3: 202A02 JSR $022A C1/B0B6: 7B TDC C1/B0B7: AA TAX C1/B0B8: 8610 STX $10 C1/B0BA: 8EB464 STX $64B4 C1/B0BD: 8EB664 STX $64B6 C1/B0C0: 8EF54A STX $4AF5 C1/B0C3: 8EF74A STX $4AF7 C1/B0C6: 203CC2 JSR $C23C C1/B0C9: A933 LDA #$33 C1/B0CB: 8F232100 STA $002123 C1/B0CF: 8F242100 STA $002124 C1/B0D3: 9C1B96 STZ $961B C1/B0D6: 224BFAC2 JSR $C2FA4B C1/B0DA: A9FF LDA #$FF C1/B0DC: 8DAB60 STA $60AB C1/B0DF: AD7D62 LDA $627D (Spell's ??? (byte 11) --- courtesy Mnrogar) C1/B0E2: 300F BMI $B0F3 C1/B0E4: C96B CMP #$6B C1/B0E6: F008 BEQ $B0F0 C1/B0E8: C945 CMP #$45 C1/B0EA: F004 BEQ $B0F0 C1/B0EC: C90B CMP #$0B C1/B0EE: D003 BNE $B0F3 C1/B0F0: 205AAF JSR $AF5A C1/B0F3: A917 LDA #$17 C1/B0F5: 8D8D89 STA $898D C1/B0F8: 60 RTS
C1/B109 unknow
C1/B0F9: A20004 LDX #$0400 C1/B0FC: 8610 STX $10 C1/B0FE: A27FA9 LDX #$A97F C1/B101: A97E LDA #$7E C1/B103: A00054 LDY #$5400 C1/B106: 4C8D19 JMP $198D
C1/B109 JSL unknow
C1/B109: 200DB1 JSR $B10D C1/B10C: 6B RTL
C1/B10D unknow
C1/B10D: 201EB1 JSR $B11E C1/B110: A20008 LDX #$0800 C1/B113: 8610 STX $10 C1/B115: A23FAE LDX #$AE3F C1/B118: A97E LDA #$7E C1/B11A: 208D19 JSR $198D C1/B11D: 60 RTS
C1/B11E unknow
C1/B11E: C220 REP #$20 C1/B120: 7B TDC C1/B121: AA TAX C1/B122: A9EE02 LDA #$02EE C1/B125: 9D3FAE STA $AE3F,X C1/B128: 9D3FB0 STA $B03F,X C1/B12B: 9D3FB2 STA $B23F,X C1/B12E: 9D3FB4 STA $B43F,X C1/B131: E8 INX C1/B132: E8 INX C1/B133: E00002 CPX #$0200 C1/B136: D0ED BNE $B125 C1/B138: 7B TDC C1/B139: E220 SEP #$20 C1/B13B: 60 RTS
C1/B13C unknow
C1/B13C: AD7D62 LDA $627D (Spell's ??? (bytes 12 & 13) --- courtesy Mnrogar) C1/B13F: 1050 BPL $B191 C1/B141: 48 PHA C1/B142: 208AC3 JSR $C38A C1/B145: 9C677B STZ $7B67 C1/B148: AD6F89 LDA $896F C1/B14B: 29EF AND #$EF C1/B14D: 0940 ORA #$40 C1/B14F: 8D6F89 STA $896F C1/B152: A9FF LDA #$FF C1/B154: 8DAB60 STA $60AB C1/B157: A0000C LDY #$0C00 C1/B15A: 200DB1 JSR $B10D C1/B15D: 202A02 JSR $022A C1/B160: A90C LDA #$0C C1/B162: 8D7189 STA $8971 C1/B165: 20591E JSR $1E59 C1/B168: 20F9B0 JSR $B0F9 C1/B16B: 7B TDC C1/B16C: AA TAX C1/B16D: 8EB464 STX $64B4 C1/B170: 8EB664 STX $64B6 C1/B173: 8EF54A STX $4AF5 C1/B176: 8EF74A STX $4AF7 C1/B179: 202A02 JSR $022A C1/B17C: 20791E JSR $1E79 C1/B17F: 20261F JSR $1F26 C1/B182: A901 LDA #$01 C1/B184: 8D677B STA $7B67 C1/B187: 8D0E7B STA $7B0E C1/B18A: 8D0F7B STA $7B0F C1/B18D: 68 PLA C1/B18E: 4CBBB1 JMP $B1BB C1/B191: 48 PHA C1/B192: AD6761 LDA $6167 C1/B195: 20269C JSR $9C26 C1/B198: 20591E JSR $1E59 C1/B19B: 20ED1F JSR $1FED C1/B19E: 20F9B0 JSR $B0F9 C1/B1A1: 7B TDC C1/B1A2: AA TAX C1/B1A3: 8EB464 STX $64B4 C1/B1A6: 8EB664 STX $64B6 C1/B1A9: 8EF54A STX $4AF5 C1/B1AC: 8EF74A STX $4AF7 C1/B1AF: AD6F89 LDA $896F C1/B1B2: 0950 ORA #$50 C1/B1B4: 8D6F89 STA $896F C1/B1B7: 20F5C3 JSR $C3F5 C1/B1BA: 68 PLA C1/B1BB: 22D0E8C2 JSR $C2E8D0 C1/B1BF: 60 RTS
C1/B1C0 JSL unknow
C1/B1C0: 20C4B1 JSR $B1C4 C1/B1C3: 6B RTL
C1/B1C4 unknow
C1/B1C4: 8EF67A STX $7AF6 (animation ID) C1/B1C7: A9FF LDA #$FF C1/B1C9: 8D7E60 STA $607E C1/B1CC: 8D7F60 STA $607F C1/B1CF: 9C8260 STZ $6082 C1/B1D2: 9C8360 STZ $6083 C1/B1D5: AD3F61 LDA $613F C1/B1D8: 8512 STA $12 C1/B1DA: 9CA960 STZ $60A9 C1/B1DD: A901 LDA #$01 C1/B1DF: 851A STA $1A C1/B1E1: 851C STA $1C C1/B1E3: A622 LDX $22 (Animation Script pointer) C1/B1E5: DA PHX C1/B1E6: A624 LDX $24 C1/B1E8: DA PHX C1/B1E9: 2099B3 JSR $B399 C1/B1EC: AEF67A LDX $7AF6 (animation ID) C1/B1EF: C220 REP #$20 (set 16 bit A) C1/B1F1: A522 LDA $22 (Animation Script pointer) C1/B1F3: 9D2F6A STA $6A2F,X C1/B1F6: A524 LDA $24 C1/B1F8: 8522 STA $22 (Animation Script pointer) C1/B1FA: 1A INC A C1/B1FB: 1A INC A C1/B1FC: AEF67A LDX $7AF6 (animation ID) C1/B1FF: 9D316A STA $6A31,X (Store animation script PC value) C1/B202: 7B TDC C1/B203: E220 SEP #$20 (Set 8 bit A) C1/B205: 4CD0B2 JMP $B2D0
C1/B208 unknow
C1/B208: AD7D62 LDA $627D (Spell's ??? (bytes 12) --- courtesy Mnrogar) C1/B20B: C918 CMP #$18 C1/B20D: D009 BNE $B218 C1/B20F: C220 REP #$20 C1/B211: 8A TXA C1/B212: 18 CLC C1/B213: 696000 ADC #$0060 C1/B216: 8007 BRA $B21F C1/B218: C220 REP #$20 C1/B21A: 8A TXA C1/B21B: 18 CLC C1/B21C: 691000 ADC #$0010 C1/B21F: AA TAX C1/B220: 7B TDC C1/B221: E220 SEP #$20 C1/B223: 8EF67A STX $7AF6 (animation ID) C1/B226: A9FF LDA #$FF C1/B228: 8D7E60 STA $607E C1/B22B: 8D7F60 STA $607F C1/B22E: AD3F61 LDA $613F C1/B231: 8512 STA $12 C1/B233: A908 LDA #$08 C1/B235: 8DA960 STA $60A9 C1/B238: A903 LDA #$03 C1/B23A: 851A STA $1A C1/B23C: 8066 BRA $B2A4 C1/B23E: AD8062 LDA $6280 C1/B241: 8DA960 STA $60A9 C1/B244: AD7D62 LDA $627D (Spell's ??? (bytes 12 & 13) --- courtesy Mnrogar) C1/B247: 297F AND #$7F C1/B249: C905 CMP #$05 C1/B24B: D002 BNE $B24F C1/B24D: 8004 BRA $B253 C1/B24F: C902 CMP #$02 C1/B251: D027 BNE $B27A C1/B253: DA PHX C1/B254: DA PHX C1/B255: 207AB2 JSR $B27A C1/B258: C220 REP #$20 C1/B25A: 68 PLA C1/B25B: 18 CLC C1/B25C: 694000 ADC #$0040 C1/B25F: AA TAX C1/B260: 7B TDC C1/B261: E220 SEP #$20 C1/B263: DA PHX C1/B264: 207AB2 JSR $B27A C1/B267: C220 REP #$20 C1/B269: 68 PLA C1/B26A: 18 CLC C1/B26B: 691000 ADC #$0010 C1/B26E: AA TAX C1/B26F: 7B TDC C1/B270: E220 SEP #$20 C1/B272: 207AB2 JSR $B27A C1/B275: FA PLX C1/B276: 8EF67A STX $7AF6 (animation ID) C1/B279: 60 RTS
C1/B27A unknow
C1/B27A: 8EF67A STX $7AF6 (animation ID) C1/B27D: AD8460 LDA $6084 C1/B280: 18 CLC C1/B281: 6908 ADC #$08 C1/B283: 8D8460 STA $6084 C1/B286: AD4061 LDA $6140 C1/B289: 8510 STA $10 C1/B28B: ADD162 LDA $62D1 C1/B28E: F005 BEQ $B295 C1/B290: AD3F61 LDA $613F C1/B293: 8009 BRA $B29E C1/B295: AD3F61 LDA $613F C1/B298: C904 CMP #$04 C1/B29A: 9002 BCC $B29E C1/B29C: 0980 ORA #$80 C1/B29E: 8512 STA $12 C1/B2A0: A901 LDA #$01 C1/B2A2: 851A STA $1A C1/B2A4: A9D0 LDA #$D0 C1/B2A6: 8526 STA $26 C1/B2A8: A622 LDX $22 (Animation Script pointer) C1/B2AA: DA PHX C1/B2AB: A624 LDX $24 C1/B2AD: DA PHX C1/B2AE: 2099B3 JSR $B399 C1/B2B1: AEF67A LDX $7AF6 (animation ID) C1/B2B4: C220 REP #$20 C1/B2B6: A522 LDA $22 (Animation Script pointer) C1/B2B8: 9D2F6A STA $6A2F,X C1/B2BB: A524 LDA $24 C1/B2BD: 0A ASL A C1/B2BE: AA TAX C1/B2BF: BFD8EAD1 LDA $D1EAD8,X (Load Animation Script pointer) C1/B2C3: 8522 STA $22 (Animation Script pointer) C1/B2C5: 1A INC A C1/B2C6: 1A INC A C1/B2C7: AEF67A LDX $7AF6 (animation ID) C1/B2CA: 9D316A STA $6A31,X (Store animation script PC value) C1/B2CD: 7B TDC C1/B2CE: E220 SEP #$20 C1/B2D0: AD7E60 LDA $607E C1/B2D3: 2901 AND #$01 C1/B2D5: 9DD474 STA $74D4,X C1/B2D8: A906 LDA #$06 C1/B2DA: 9DD574 STA $74D5,X C1/B2DD: A526 LDA $26 C1/B2DF: 8524 STA $24 C1/B2E1: 9D336A STA $6A33,X (Store bank byte for animation script) C1/B2E4: A722 LDA [$22] C1/B2E6: 4A LSR A C1/B2E7: 4A LSR A C1/B2E8: 4A LSR A C1/B2E9: 4A LSR A C1/B2EA: 1A INC A C1/B2EB: 9D346A STA $6A34,X (Sprite animation speed?_RuneLancer) C1/B2EE: A51C LDA $1C C1/B2F0: 9D356A STA $6A35,X C1/B2F3: A51C LDA $1C C1/B2F5: 18 CLC C1/B2F6: 6DA960 ADC $60A9 C1/B2F9: 851C STA $1C C1/B2FB: 9E366A STZ $6A36,X C1/B2FE: A940 LDA #$40 C1/B300: 9D376A STA $6A37,X C1/B303: A510 LDA $10 C1/B305: 9D386A STA $6A38,X (Caster's sprite position ID?_RuneLancer) C1/B308: A512 LDA $12 C1/B30A: 9D396A STA $6A39,X (Target's sprite position ID?_RuneLancer) C1/B30D: 208EC4 JSR $C48E C1/B310: C220 REP #$20 C1/B312: A514 LDA $14 C1/B314: 9D826F STA $6F82,X C1/B317: 9D3A6A STA $6A3A,X (The X position of the sprite?_RuneLancer) C1/B31A: A516 LDA $16 C1/B31C: 9D846F STA $6F84,X C1/B31F: 9D3C6A STA $6A3C,X (The Y position of the sprite?_RuneLancer) C1/B322: 7B TDC C1/B323: E220 SEP #$20 C1/B325: 2099C4 JSR $C499 C1/B328: C220 REP #$20 C1/B32A: A514 LDA $14 C1/B32C: 9D7E6F STA $6F7E,X C1/B32F: A516 LDA $16 C1/B331: 9D806F STA $6F80,X C1/B334: 7B TDC C1/B335: E220 SEP #$20 C1/B337: A930 LDA #$30 C1/B339: 9D866F STA $6F86,X C1/B33C: DA PHX C1/B33D: 2089BC JSR $BC89 C1/B340: FA PLX C1/B341: A510 LDA $10 C1/B343: 1011 BPL $B356 C1/B345: 290F AND #$0F C1/B347: 38 SEC C1/B348: E904 SBC #$04 C1/B34A: 0A ASL A C1/B34B: A8 TAY C1/B34C: B9F380 LDA $80F3,Y C1/B34F: 597E61 EOR $617E,Y C1/B352: 4901 EOR #$01 C1/B354: 8004 BRA $B35A C1/B356: A8 TAY C1/B357: B9107B LDA $7B10,Y C1/B35A: 0A ASL A C1/B35B: 0A ASL A C1/B35C: 0A ASL A C1/B35D: 0A ASL A C1/B35E: 0A ASL A C1/B35F: 0A ASL A C1/B360: 2940 AND #$40 C1/B362: 9D876F STA $6F87,X C1/B365: A512 LDA $12 C1/B367: 300C BMI $B375 C1/B369: A902 LDA #$02 C1/B36B: 9DD274 STA $74D2,X C1/B36E: A903 LDA #$03 C1/B370: 9DD374 STA $74D3,X C1/B373: 8013 BRA $B388 C1/B375: 297F AND #$7F C1/B377: 38 SEC C1/B378: E904 SBC #$04 C1/B37A: 0A ASL A C1/B37B: A8 TAY C1/B37C: B92F81 LDA $812F,Y (Get adjusted enemy width/8) C1/B37F: 9DD274 STA $74D2,X C1/B382: B93081 LDA $8130,Y C1/B385: 9DD374 STA $74D3,X C1/B388: A901 LDA #$01 C1/B38A: 9D8D6F STA $6F8D,X C1/B38D: A51A LDA $1A C1/B38F: 9D2E6A STA $6A2E,X C1/B392: FA PLX C1/B393: 8624 STX $24 C1/B395: FA PLX C1/B396: 8622 STX $22 (Animation Script pointer) C1/B398: 60 RTS
C1/B399 unknow
C1/B399: AEF67A LDX $7AF6 (animation ID) (from C1/B1E9, C1/B2AE) C1/B39C: A01000 LDY #$0010 C1/B39F: 9E2E6A STZ $6A2E,X C1/B3A2: 9E7E6F STZ $6F7E,X C1/B3A5: 9ECE74 STZ $74CE,X C1/B3A8: 9EDE64 STZ $64DE,X C1/B3AB: E8 INX C1/B3AC: 88 DEY C1/B3AD: D0F0 BNE $B39F C1/B3AF: 60 RTS
C1/B3B0 unknow
C1/B3B0: 9CB662 STZ $62B6 C1/B3B3: 9CB962 STZ $62B9 C1/B3B6: 9CBB62 STZ $62BB C1/B3B9: 9CBC62 STZ $62BC C1/B3BC: 205B18 JSR $185B (Random number generator) C1/B3BF: 297F AND #$7F (zero out 7th bit) C1/B3C1: 18 CLC C1/B3C2: 6980 ADC #$80 (set 7th bit) C1/B3C4: 8DB862 STA $62B8 ($62B8 contains a random number between #$80 and #$FF) C1/B3C7: 8DBA62 STA $62BA C1/B3CA: EEB562 INC $62B5 C1/B3CD: 60 RTS
C1/B3CE unknow
C1/B3CE: ADB562 LDA $62B5 C1/B3D1: F069 BEQ $B43C C1/B3D3: 643A STZ $3A C1/B3D5: 7B TDC C1/B3D6: AA TAX C1/B3D7: BDBD2E LDA $2EBD,X C1/B3DA: 0A ASL A C1/B3DB: 663A ROR $3A C1/B3DD: 8A TXA C1/B3DE: 18 CLC C1/B3DF: 6920 ADC #$20 C1/B3E1: AA TAX C1/B3E2: E08000 CPX #$0080 C1/B3E5: D0F0 BNE $B3D7 C1/B3E7: A53A LDA $3A C1/B3E9: 4A LSR A C1/B3EA: 4A LSR A C1/B3EB: 4A LSR A C1/B3EC: 4A LSR A C1/B3ED: 49FF EOR #$FF C1/B3EF: 853A STA $3A C1/B3F1: AD1D20 LDA $201D (Load the valid character targets) C1/B3F4: 2DAC61 AND $61AC C1/B3F7: 2DAD61 AND $61AD C1/B3FA: 2D9361 AND $6193 C1/B3FD: 8536 STA $36 C1/B3FF: A592 LDA $92 C1/B401: 253A AND $3A C1/B403: 0536 ORA $36 C1/B405: F035 BEQ $B43C C1/B407: ADB962 LDA $62B9 C1/B40A: F015 BEQ $B421 C1/B40C: A50E LDA $0E C1/B40E: 2901 AND #$01 C1/B410: F02A BEQ $B43C C1/B412: CEB762 DEC $62B7 C1/B415: D022 BNE $B439 C1/B417: AEBB62 LDX $62BB C1/B41A: 8E422F STX $2F42 C1/B41D: 9CB562 STZ $62B5 C1/B420: 60 RTS
C1/B421 unknow
C1/B421: ADB662 LDA $62B6 C1/B424: F019 BEQ $B43F C1/B426: A50E LDA $0E C1/B428: 2907 AND #$07 C1/B42A: D06F BNE $B49B C1/B42C: CEB762 DEC $62B7 C1/B42F: D02A BNE $B45B C1/B431: EEB962 INC $62B9 C1/B434: A920 LDA #$20 C1/B436: 8DB762 STA $62B7 C1/B439: 4C9BB4 JMP $B49B C1/B43C: 4C16B5 JMP $B516
C1/B43F unknow
C1/B43F: ADBA62 LDA $62BA C1/B442: D00E BNE $B452 C1/B444: 205B18 JSR $185B (Random number generator) C1/B447: 2907 AND #$07 C1/B449: 18 CLC C1/B44A: 6908 ADC #$08 C1/B44C: 8DB762 STA $62B7 ($62B7 contains now a random value between #$08 and #$0F) C1/B44F: EEB662 INC $62B6 C1/B452: CEBA62 DEC $62BA C1/B455: A50E LDA $0E C1/B457: 2903 AND #$03 C1/B459: D040 BNE $B49B C1/B45B: EEB862 INC $62B8 C1/B45E: ADB862 LDA $62B8 C1/B461: 2908 AND #$08 C1/B463: F022 BEQ $B487 C1/B465: ADB862 LDA $62B8 C1/B468: 2907 AND #$07 C1/B46A: AA TAX C1/B46B: AD1D20 LDA $201D (Load the valid character targets) C1/B46E: 2DAC61 AND $61AC C1/B471: 2DAD61 AND $61AD C1/B474: 2D9361 AND $6193 C1/B477: 253A AND $3A C1/B479: 3F011AC1 AND $C11A01,X C1/B47D: F0DC BEQ $B45B C1/B47F: 8DBB62 STA $62BB C1/B482: 9CBC62 STZ $62BC C1/B485: 8014 BRA $B49B C1/B487: ADB862 LDA $62B8 C1/B48A: 2907 AND #$07 C1/B48C: AA TAX C1/B48D: A592 LDA $92 C1/B48F: 3F011AC1 AND $C11A01,X C1/B493: F0C6 BEQ $B45B C1/B495: 8DBC62 STA $62BC C1/B498: 9CBB62 STZ $62BB C1/B49B: A2E038 LDX #$38E0 C1/B49E: 863A STX $3A C1/B4A0: ADBB62 LDA $62BB C1/B4A3: F030 BEQ $B4D5 C1/B4A5: 200F1A JSR $1A0F C1/B4A8: 0A ASL A C1/B4A9: AA TAX C1/B4AA: BD9F80 LDA $809F,X C1/B4AD: F004 BEQ $B4B3 C1/B4AF: A978 LDA #$78 C1/B4B1: 853B STA $3B C1/B4B3: BD8880 LDA $8088,X C1/B4B6: 2901 AND #$01 C1/B4B8: D013 BNE $B4CD C1/B4BA: BD9480 LDA $8094,X C1/B4BD: 2901 AND #$01 C1/B4BF: D00C BNE $B4CD C1/B4C1: BD8780 LDA $8087,X C1/B4C4: 8536 STA $36 C1/B4C6: BD9380 LDA $8093,X C1/B4C9: 8537 STA $37 C1/B4CB: 8033 BRA $B500 C1/B4CD: A9E0 LDA #$E0 C1/B4CF: 8536 STA $36 C1/B4D1: 8537 STA $37 C1/B4D3: 802B BRA $B500 C1/B4D5: ADBC62 LDA $62BC C1/B4D8: F03C BEQ $B516 C1/B4DA: 200F1A JSR $1A0F C1/B4DD: 0A ASL A C1/B4DE: AA TAX C1/B4DF: BD7B80 LDA $807B,X C1/B4E2: F004 BEQ $B4E8 C1/B4E4: A978 LDA #$78 C1/B4E6: 853B STA $3B C1/B4E8: BD6480 LDA $8064,X C1/B4EB: 2901 AND #$01 C1/B4ED: D0DE BNE $B4CD C1/B4EF: BD7080 LDA $8070,X C1/B4F2: 2901 AND #$01 C1/B4F4: D0D7 BNE $B4CD C1/B4F6: BD6380 LDA $8063,X C1/B4F9: 8536 STA $36 C1/B4FB: BD6F80 LDA $806F,X C1/B4FE: 8537 STA $37 C1/B500: A571 LDA $71 C1/B502: C220 REP #$20 C1/B504: 0A ASL A C1/B505: 0A ASL A C1/B506: AA TAX C1/B507: A536 LDA $36 C1/B509: 9D0003 STA $0300,X C1/B50C: A53A LDA $3A C1/B50E: 9D0203 STA $0302,X C1/B511: 7B TDC C1/B512: E220 SEP #$20 C1/B514: E671 INC $71 C1/B516: 60 RTS
C1/B517 unknow
C1/B517: 7B TDC C1/B518: AA TAX C1/B519: A938 LDA #$38 C1/B51B: 9DE688 STA $88E6,X C1/B51E: E8 INX C1/B51F: E8 INX C1/B520: E8 INX C1/B521: E8 INX C1/B522: E02800 CPX #$0028 C1/B525: D0F4 BNE $B51B C1/B527: A2E0E0 LDX #$E0E0 C1/B52A: 8E6F7A STX $7A6F C1/B52D: A2E0E2 LDX #$E2E0 C1/B530: 8E717A STX $7A71 C1/B533: 60 RTS
C1/B534 unknow
C1/B534: E238 SEP #$38 C1/B536: E278 SEP #$78 C1/B538: E238 SEP #$38 C1/B53A: E4B8 CPX $B8 C1/B53C: E238 SEP #$38 C1/B53E: E438 CPX $38 C1/B540: E210 SEP #$10 C1/B542: ADBE62 LDA $62BE C1/B545: D04E BNE $B595 C1/B547: ADBD62 LDA $62BD C1/B54A: D049 BNE $B595 C1/B54C: AD2F63 LDA $632F C1/B54F: F044 BEQ $B595 C1/B551: ADCA62 LDA $62CA C1/B554: 0A ASL A C1/B555: 0A ASL A C1/B556: 0A ASL A C1/B557: 0A ASL A C1/B558: 0A ASL A C1/B559: AA TAX C1/B55A: C210 REP #$10 C1/B55C: 20A534 JSR $34A5 C1/B55F: E210 SEP #$10 C1/B561: ADCA62 LDA $62CA C1/B564: 0A ASL A C1/B565: AA TAX C1/B566: BD3480 LDA $8034,X C1/B569: 2901 AND #$01 C1/B56B: D028 BNE $B595 C1/B56D: BD3C80 LDA $803C,X C1/B570: 2901 AND #$01 C1/B572: D021 BNE $B595 C1/B574: BD3380 LDA $8033,X C1/B577: 38 SEC C1/B578: E908 SBC #$08 C1/B57A: 8D1803 STA $0318 C1/B57D: BD3B80 LDA $803B,X C1/B580: 38 SEC C1/B581: E918 SBC #$18 C1/B583: 18 CLC C1/B584: 6538 ADC $38 C1/B586: 8D1903 STA $0319 C1/B589: A92E LDA #$2E C1/B58B: 8D1A03 STA $031A C1/B58E: A928 LDA #$28 C1/B590: 8D1B03 STA $031B C1/B593: 8008 BRA $B59D C1/B595: A9E0 LDA #$E0 C1/B597: 8D1803 STA $0318 C1/B59A: 8D1903 STA $0319 C1/B59D: ADAF7B LDA $7BAF C1/B5A0: F022 BEQ $B5C4 C1/B5A2: ADB07B LDA $7BB0 C1/B5A5: 8DE888 STA $88E8 C1/B5A8: A901 LDA #$01 C1/B5AA: 8DE788 STA $88E7 C1/B5AD: C210 REP #$10 C1/B5AF: AEB17B LDX $7BB1 C1/B5B2: ECB37B CPX $7BB3 C1/B5B5: 900D BCC $B5C4 C1/B5B7: E0CA00 CPX #$00CA C1/B5BA: B008 BCS $B5C4 C1/B5BC: ADB17B LDA $7BB1 C1/B5BF: 8DE988 STA $88E9 C1/B5C2: 8003 BRA $B5C7 C1/B5C4: 9CE788 STZ $88E7 C1/B5C7: E210 SEP #$10 C1/B5C9: 9CEB88 STZ $88EB C1/B5CC: ADB57B LDA $7BB5 C1/B5CF: F00F BEQ $B5E0 C1/B5D1: ADB67B LDA $7BB6 C1/B5D4: 8DEC88 STA $88EC C1/B5D7: EEEB88 INC $88EB C1/B5DA: ADB77B LDA $7BB7 C1/B5DD: 8DED88 STA $88ED C1/B5E0: 7B TDC C1/B5E1: AA TAX C1/B5E2: A8 TAY C1/B5E3: B9E388 LDA $88E3,Y C1/B5E6: D00A BNE $B5F2 C1/B5E8: A9E0 LDA #$E0 C1/B5EA: 99F004 STA $04F0,Y C1/B5ED: 99F104 STA $04F1,Y C1/B5F0: 8018 BRA $B60A C1/B5F2: B9E488 LDA $88E4,Y C1/B5F5: 99F004 STA $04F0,Y C1/B5F8: B9E588 LDA $88E5,Y C1/B5FB: 99F104 STA $04F1,Y C1/B5FE: B9E688 LDA $88E6,Y C1/B601: 99F304 STA $04F3,Y C1/B604: BD6F7A LDA $7A6F,X C1/B607: 99F204 STA $04F2,Y C1/B60A: E8 INX C1/B60B: C8 INY C1/B60C: C8 INY C1/B60D: C8 INY C1/B60E: C8 INY C1/B60F: C00C CPY #$0C C1/B611: D0D0 BNE $B5E3 C1/B613: B9E388 LDA $88E3,Y C1/B616: D00A BNE $B622 C1/B618: A9E0 LDA #$E0 C1/B61A: 99F004 STA $04F0,Y C1/B61D: 99F104 STA $04F1,Y C1/B620: 802C BRA $B64E C1/B622: B9E488 LDA $88E4,Y C1/B625: 99F004 STA $04F0,Y C1/B628: B9E588 LDA $88E5,Y C1/B62B: 99F104 STA $04F1,Y C1/B62E: A50E LDA $0E C1/B630: 4A LSR A C1/B631: 4A LSR A C1/B632: 4A LSR A C1/B633: 2902 AND #$02 C1/B635: 8536 STA $36 C1/B637: B9E688 LDA $88E6,Y C1/B63A: 0A ASL A C1/B63B: 0A ASL A C1/B63C: 18 CLC C1/B63D: 6536 ADC $36 C1/B63F: AA TAX C1/B640: BF34B5C1 LDA $C1B534,X C1/B644: 99F204 STA $04F2,Y C1/B647: BF35B5C1 LDA $C1B535,X C1/B64B: 99F304 STA $04F3,Y C1/B64E: 2084B6 JSR $B684 C1/B651: 7B TDC C1/B652: A8 TAY C1/B653: B9F388 LDA $88F3,Y C1/B656: D00A BNE $B662 C1/B658: A9E0 LDA #$E0 C1/B65A: 990003 STA $0300,Y C1/B65D: 990103 STA $0301,Y C1/B660: 8017 BRA $B679 C1/B662: B9F488 LDA $88F4,Y C1/B665: 990003 STA $0300,Y C1/B668: B9F588 LDA $88F5,Y C1/B66B: 990103 STA $0301,Y C1/B66E: B9F688 LDA $88F6,Y C1/B671: 990303 STA $0303,Y C1/B674: A9E0 LDA #$E0 C1/B676: 990203 STA $0302,Y C1/B679: C8 INY C1/B67A: C8 INY C1/B67B: C8 INY C1/B67C: C8 INY C1/B67D: C018 CPY #$18 C1/B67F: D0D2 BNE $B653 C1/B681: C210 REP #$10 C1/B683: 60 RTS
C1/B684 unknow
C1/B684: 7B TDC C1/B685: AA TAX C1/B686: A938 LDA #$38 C1/B688: 9DF688 STA $88F6,X C1/B68B: 9EF388 STZ $88F3,X C1/B68E: 9D0289 STA $8902,X C1/B691: 9EFF88 STZ $88FF,X C1/B694: E8 INX C1/B695: E8 INX C1/B696: E8 INX C1/B697: E8 INX C1/B698: E00CD0 CPX #$D00C C1/B69B: ECAD7F CPX $7FAD C1/B69E: 7B TDC C1/B69F: F008 BEQ $B6A9 C1/B6A1: A50E LDA $0E C1/B6A3: 2901 AND #$01 C1/B6A5: F007 BEQ $B6AE C1/B6A7: 8059 BRA $B702 C1/B6A9: AD7D7B LDA $7B7D C1/B6AC: F054 BEQ $B702 C1/B6AE: 7B TDC C1/B6AF: AA TAX C1/B6B0: A8 TAY C1/B6B1: AD7D7B LDA $7B7D C1/B6B4: 2D1D20 AND $201D (Remove any invalid character targets) C1/B6B7: 2DAC61 AND $61AC C1/B6BA: 2DAD61 AND $61AD C1/B6BD: 2D9361 AND $6193 C1/B6C0: 8536 STA $36 C1/B6C2: 4636 LSR $36 C1/B6C4: 9030 BCC $B6F6 C1/B6C6: B99F80 LDA $809F,Y C1/B6C9: F005 BEQ $B6D0 C1/B6CB: A978 LDA #$78 C1/B6CD: 9DF688 STA $88F6,X C1/B6D0: B98880 LDA $8088,Y C1/B6D3: 2901 AND #$01 C1/B6D5: D01F BNE $B6F6 C1/B6D7: B99480 LDA $8094,Y C1/B6DA: 2901 AND #$01 C1/B6DC: D018 BNE $B6F6 C1/B6DE: B99380 LDA $8093,Y C1/B6E1: C9A0 CMP #$A0 C1/B6E3: B011 BCS $B6F6 C1/B6E5: A901 LDA #$01 C1/B6E7: 9DF388 STA $88F3,X C1/B6EA: B98780 LDA $8087,Y C1/B6ED: 9DF488 STA $88F4,X C1/B6F0: B99380 LDA $8093,Y C1/B6F3: 9DF588 STA $88F5,X C1/B6F6: C8 INY C1/B6F7: C8 INY C1/B6F8: E8 INX C1/B6F9: E8 INX C1/B6FA: E8 INX C1/B6FB: E8 INX C1/B6FC: E018 CPX #$18 C1/B6FE: D0C2 BNE $B6C2 C1/B700: 8048 BRA $B74A C1/B702: 7B TDC C1/B703: AA TAX C1/B704: A8 TAY C1/B705: AD7E7B LDA $7B7E C1/B708: 2592 AND $92 C1/B70A: 8536 STA $36 C1/B70C: 4636 LSR $36 C1/B70E: 9030 BCC $B740 C1/B710: B97B80 LDA $807B,Y C1/B713: F005 BEQ $B71A C1/B715: A978 LDA #$78 C1/B717: 9DF688 STA $88F6,X C1/B71A: B96480 LDA $8064,Y C1/B71D: 2901 AND #$01 C1/B71F: D01F BNE $B740 C1/B721: B97080 LDA $8070,Y C1/B724: 2901 AND #$01 C1/B726: D018 BNE $B740 C1/B728: B96F80 LDA $806F,Y C1/B72B: C9A0 CMP #$A0 C1/B72D: B011 BCS $B740 C1/B72F: A901 LDA #$01 C1/B731: 9DF388 STA $88F3,X C1/B734: B96380 LDA $8063,Y C1/B737: 9DF488 STA $88F4,X C1/B73A: B96F80 LDA $806F,Y C1/B73D: 9DF588 STA $88F5,X C1/B740: C8 INY C1/B741: C8 INY C1/B742: E8 INX C1/B743: E8 INX C1/B744: E8 INX C1/B745: E8 INX C1/B746: E018 CPX #$18 C1/B748: D0C2 BNE $470C C1/B74A: 60 RTS
C1/B74B unknow
C1/B74B: 45 C1/B74C: 46 C1/B74D: 48 C1/B74E: 47 C1/B74F: 40 C1/B750: 44 C1/B751: 43
C1/B752: 02 C1/B753: 0201 COP #$01 C1/B755: 0000 BRK #$00 C1/B757: 0103 ORA ($03,X) C1/B759: A0A0A0 LDY #$A0A0 C1/B75C: A0A0A0 LDY #$A0A0 C1/B75F: A0
C1/B760 battle dynamics command 06 : animate commands
C1/B760: 209E9C JSR $9C9E (clears a bootyload of RAM) C1/B763: 9CBBEC STZ $ECBB C1/B766: A00100 LDY #$0001 C1/B769: B176 LDA ($76),Y (parameter 1 for 06 - command #) C1/B76B: 3005 BMI $B772 C1/B76D: 0A ASL A C1/B76E: AA TAX C1/B76F: FC75B7 JSR ($B775,X) C1/B772: 4C6E95 JMP $956E
C1/B775 PTR commands to be animated
(function) (value) C1/B775: CDBE (00) (Fight) C1/B777: 41BC (01) (Item) C1/B779: EBAB (02) (Magic) C1/B77B: E7BB (03) (Morph) C1/B77D: DCBB (04) (Revert) C1/B77F: 87BB (05) (Steal) C1/B781: A5BB (06) (Capture) C1/B783: 8DB9 (07) (SwdTech) C1/B785: C5B9 (08) (Throw) C1/B787: 13BC (09) (Tools) C1/B789: 1AB9 (0A) (Blitz) C1/B78B: AABA (0B) (Runic) C1/B78D: E5B8 (0C) (Lore) C1/B78F: E8B9 (0D) (Sketch) C1/B791: 54BB (0E) (Control) C1/B793: 00B9 (0F) (Slot) C1/B795: 2BBB (10) (Rage) C1/B797: 76BB (11) (Leap) C1/B799: 88BC (12) (Mimic) (exits) C1/B79B: 12BB (13) (Dance) C1/B79D: 0AB8 (14) (Row) C1/B79F: 88BC (15) (Def.) (exits) C1/B7A1: F7B9 (16) (Jump) C1/B7A3: EBAB (17) (X-Magic) C1/B7A5: EDBB (18) (GP Rain) C1/B7A7: EBAB (19) (Summon) C1/B7A9: 62BB (1A) (Health) C1/B7AB: 49BB (1B) (Shock) C1/B7AD: 9CBA (1C) (Possess) C1/B7AF: C3B7 (1D) (Magitek) C1/B7B1: 88BC (1E) () (exits) C1/B7B3: 88BC (1F) () (exits) C1/B7B5: 0ABB (20) () C1/B7B7: F1B7 (21) () C1/B7B9: E9B7 (22) (Poison, Regen, and Seizure Damage?) C1/B7BB: 8EBA (23) () C1/B7BD: 5FBA (24) () C1/B7BF: B7BA (25) () C1/B7C1: 55B9 (26) ()
C1/B7C3 magitek animation
C1/B7C3: A00200 LDY #$0002 (from C1/B76F, X = 1D) C1/B7C6: B176 LDA ($76),Y C1/B7C8: C986 CMP #$86 C1/B7CA: 900B BCC $B7D7 C1/B7CC: A92A LDA #$2A C1/B7CE: 20A4B8 JSR $B8A4 C1/B7D1: 20EBAB JSR $ABEB C1/B7D4: 4C6BB8 JMP $B86B C1/B7D7: A00400 LDY #$0004 C1/B7DA: B178 LDA ($78),Y C1/B7DC: C8 INY C1/B7DD: 1178 ORA ($78),Y C1/B7DF: D005 BNE $B7E6 C1/B7E1: A92A LDA #$4A C1/B7E3: 4CA4B8 JMP $B8A4 C1/B7E6: 4CEBAB JMP $ABEB
C1/B7E9 unknow
C1/B7E9: EEA462 INC $62A4 (from C1/B76F, X = 22) C1/B7EC: A929 LDA #$29 C1/B7EE: 4CA4B8 JMP $B8A4
C1/B7F1 unknow
C1/B7F1: 20B0B3 JSR $B3B0 (from C1/B76F, X = 21) C1/B7F4: 60 RTS
C1/B7F5 unknow
C1/B7F5: DA PHX C1/B7F6: 20A29A JSR $9AA2 C1/B7F9: 2043AB JSR $AB43 C1/B7FC: FA PLX C1/B7FD: 861E STX $1E C1/B7FF: 7B TDC C1/B800: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/B803: 205BAC JSR $AC5B C1/B806: 2043AB JSR $AB43 C1/B809: 60 RTS
C1/B80A row animation
C1/B80A: 2089BC JSR $BC89 (from C1/B76F, X = 14) C1/B80D: A510 LDA $10 C1/B80F: 3056 BMI $B867 C1/B811: 0A ASL A C1/B812: 0A ASL A C1/B813: 0A ASL A C1/B814: 0A ASL A C1/B815: 0A ASL A C1/B816: A8 TAY C1/B817: AD1F20 LDA $201F (Load encounter type) C1/B81A: 0A ASL A C1/B81B: 0A ASL A C1/B81C: 18 CLC C1/B81D: 6510 ADC $10 C1/B81F: AA TAX C1/B820: B9C52E LDA $2EC5,Y C1/B823: 490199 EOR #$9901 C1/B826: C52E CMP $2E C1/B828: 2901F0 AND #$F001 C1/B82B: 08 PHP C1/B82C: 6411 STZ $11 C1/B82E: BF6FA8C2 LDA $C2A86F,X C1/B832: 8004 BRA $B838 C1/B834: BF7FA8C2 LDA $C2A87F,X C1/B838: 8510 STA $10 C1/B83A: 1002 BPL $B83E C1/B83C: C611 DEC $11 C1/B83E: A90499 LDA #$9904 C1/B841: C061A9 CPY #$A961 C1/B844: 0648 ASL $48 C1/B846: 5A PHY C1/B847: A610 LDX $10 C1/B849: DA PHX C1/B84A: 202A02 JSR $022A C1/B84D: FA PLX C1/B84E: 8610 STX $10 C1/B850: 7A PLY C1/B851: C220 REP #$20 C1/B853: B9C961 LDA $61C9,Y C1/B856: 18 CLC C1/B857: 6510 ADC $10 C1/B859: 99C961 STA $61C9,Y C1/B85C: 7B TDC C1/B85D: E220 SEP #$20 C1/B85F: 68 PLA C1/B860: 3A DEC A C1/B861: D0E2 BNE $B845 C1/B863: 7B TDC C1/B864: 99C061 STA $61C0,Y C1/B867: 202A02 JSR $022A C1/B86A: 60 RTS
C1/B86A unknow
C1/B86B: 2089BC JSR $BC89 C1/B86E: A510 LDA $10 C1/B870: 300D BMI $B87F C1/B872: 2903 AND #$03 C1/B874: DA PHX C1/B875: AA TAX C1/B876: ADA462 LDA $62A4 C1/B879: D003 BNE $B87E C1/B87B: FEAE61 INC $61AE,X C1/B87E: FA PLX C1/B87F: 60 RTS
C1/B880 JSL unknow
C1/B880: 2084B8 JSR $B884 C1/B883: 6B RTL
C1/B884 unknow
C1/B884: 9CC062 STZ $62C0 C1/B887: A61E LDX $1E C1/B889: 7B TDC C1/B88A: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/B88D: 4C6BAC JMP $AC6B C1/B890: 0A ASL A C1/B891: AA TAX C1/B892: C220 REP #$20 C1/B894: A00400 LDY #$0004 C1/B897: B178 LDA ($78),Y C1/B899: 48 PHA C1/B89A: BFBEB4C2 LDA $C2B4BE,X C1/B89E: AA TAX C1/B89F: 7B TDC C1/B8A0: E220 SEP #$20 C1/B8A2: 801E BRA $B8C2 C1/B8A4: EEC062 INC $62C0 (from C1/B7EE) C1/B8A7: 0A ASL A C1/B8A8: AA TAX C1/B8A9: C220 REP #$20 C1/B8AB: A00400 LDY #$0004 C1/B8AE: B178 LDA ($78),Y C1/B8B0: 48 PHA C1/B8B1: A00200 LDY #$0002 C1/B8B4: B178 LDA ($78),Y C1/B8B6: C8 INY C1/B8B7: C8 INY C1/B8B8: 9178 STA ($78),Y C1/B8BA: BFBEB4C2 LDA $C2B4BE,X C1/B8BE: AA TAX C1/B8BF: 7B TDC C1/B8C0: E220 SEP #$20 C1/B8C2: DA PHX C1/B8C3: 20F494 JSR $94F4 C1/B8C6: 2067AB JSR $AB67 C1/B8C9: 208BAB JSR $AB8B C1/B8CC: FA PLX C1/B8CD: 20F5B7 JSR $B7F5 C1/B8D0: 200395 JSR $9503 C1/B8D3: 208BAB JSR $AB8B C1/B8D6: C220 REP #$20 C1/B8D8: 68 PLA C1/B8D9: A00400 LDY #$0004 C1/B8DC: 9178 STA ($78),Y C1/B8DE: 7B TDC C1/B8DF: E220 SEP #$20 C1/B8E1: 9CC062 STZ $62C0 C1/B8E4: 60 RTS
C1/B8E5 lore animation
C1/B8E5: 2035BC JSR $BC35 (from C1/B76F, X = 0C) C1/B8E8: B278 LDA ($78) C1/B8EA: 2910 AND #$10 C1/B8EC: D009 BNE $B8F7 C1/B8EE: B278 LDA ($78) C1/B8F0: 3005 BMI $B8F7 C1/B8F2: A928 LDA #$28 C1/B8F4: 20E1BB JSR $BBE1 C1/B8F7: 2041B9 JSR $B941 C1/B8FA: 9003 BCC $B8FF C1/B8FC: 20EBAB JSR $ABEB C1/B8FF: 60 RTS
C1/B900 slot animation
C1/B900: 2035BC JSR $BC35 (from C1/B76F, X = 0F) C1/B903: A26C0F LDX #$0F6C C1/B906: 20F5B7 JSR $B7F5 C1/B909: B278 LDA ($78) C1/B90B: 300C BMI $B919 C1/B90D: 20EBAB JSR $ABEB C1/B910: 2035AC JSR $AC35 C1/B913: 206BB8 JSR $B86B C1/B916: 200395 JSR $9503 C1/B919: 60 RTS
C1/B91A blitz animation
C1/B91A: 2035BC JSR $BC35 (from C1/B76F, X = 0A) C1/B91D: A904 LDA #$04 C1/B91F: 20A4B8 JSR $B8A4 C1/B922: 2041B9 JSR $B941 C1/B925: 9013 BCC $B93A C1/B927: A21605 LDX #$0516 C1/B92A: 861E STX $1E C1/B92C: A00200 LDY #$0002 C1/B92F: B176 LDA ($76),Y (param. 2 for command 06) C1/B931: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/B934: 205BAC JSR $AC5B C1/B937: 200395 JSR $9503 C1/B93A: 206BB8 JSR $B86B C1/B93D: 208BAB JSR $AB8B C1/B940: 60 RTS
C1/B941 unknow
C1/B941: A00200 LDY #$0002 C1/B944: 7B TDC C1/B945: 1178 ORA ($78),Y C1/B947: C8 INY C1/B948: C00C00 CPY #$000C C1/B94B: D0F8 BNE $B945 C1/B94D: C900 CMP #$00 C1/B94F: F002 BEQ $B953 C1/B951: 38 SEC C1/B952: 60 RTS
C1/B953: 18 CLC C1/B954: 60 RTS
C1/B955 unknow
C1/B955: 2035BC JSR $BC35 (from C1/B76F, X = 26) C1/B958: A00200 LDY #$0002 C1/B95B: B176 LDA ($76),Y C1/B95D: 290F AND #$0F C1/B95F: 8DFBEB STA $EBFB C1/B962: B176 LDA ($76),Y C1/B964: 29F0 AND #$F0 C1/B966: 9176 STA ($76),Y C1/B968: C8 INY C1/B969: B176 LDA ($76),Y C1/B96B: 4A LSR A C1/B96C: 4A LSR A C1/B96D: 4A LSR A C1/B96E: 4A LSR A C1/B96F: 8DFCEB STA $EBFC C1/B972: B176 LDA ($76),Y C1/B974: 290F AND #$0F C1/B976: 8DFDEB STA $EBFD C1/B979: A951 LDA #$51 C1/B97B: 9176 STA ($76),Y C1/B97D: ADFBEB LDA $EBFB C1/B980: C90F CMP #$0F C1/B982: D004 BNE $B988 C1/B984: A90D LDA #$0D C1/B986: 8002 BRA $B98A C1/B988: A90C LDA #$0C C1/B98A: 4CA4B8 JMP $B8A4
C1/B98D sword tech animation
C1/B98D: 2035BC JSR $BC35 (from C1/B76F, X = 07) C1/B990: ADAE60 LDA $60AE C1/B993: D00F BNE $B9A4 C1/B995: 208BAB JSR $AB8B C1/B998: A903 LDA #$03 C1/B99A: 20E1BB JSR $BBE1 C1/B99D: 2041B9 JSR $B941 C1/B9A0: 9022 BCC $B9C4 C1/B9A2: 8008 BRA $B9AC C1/B9A4: 2041B9 JSR $B941 C1/B9A7: 901B BCC $B9C4 C1/B9A9: 2067AB JSR $AB67 C1/B9AC: 20A29A JSR $9AA2 C1/B9AF: A2A604 LDX #$04A6 C1/B9B2: 861E STX $1E C1/B9B4: A00200 LDY #$0002 C1/B9B7: B176 LDA ($76),Y (parameter 2 for command 06) C1/B9B9: 3009 BMI $B9C4 C1/B9BB: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/B9BE: 205BAC JSR $AC5B C1/B9C1: 200395 JSR $9503 C1/B9C4: 60 RTS
C1/B9C5 throw animation
C1/B9C5: 2035BC JSR $BC35 (from C1/B76F, X = 08) C1/B9C8: A00200 LDY #$0002 C1/B9CB: B176 LDA ($76),Y C1/B9CD: 1A INC A C1/B9CE: AA TAX C1/B9CF: BF4000D1 LDA $D10040,X C1/B9D3: 100A BPL $B9DF C1/B9D5: 7B TDC C1/B9D6: 9176 STA ($76),Y C1/B9D8: 8A TXA C1/B9D9: C8 INY C1/B9DA: 9176 STA ($76),Y C1/B9DC: 4CCDBE JMP $BECD C1/B9DF: 290F AND #$0F C1/B9E1: 18 CLC C1/B9E2: 6914 ADC #$14 C1/B9E4: 20E1BB JSR $BBE1 C1/B9E7: 60 RTS
C1/B9E8 sketch animation
C1/B9E8: EEBBEC INC $ECBB (from C1/B76F, X = 0D) C1/B9EB: 2035BC JSR $BC35 C1/B9EE: A925 LDA #$25 C1/B9F0: 2090B8 JSR $B890 C1/B9F3: 206BB8 JSR $B86B C1/B9F6: 60 RTS
C1/B9F7 jump animation
C1/B9F7: B278 LDA ($78) (from C1/B76F, X = 16) C1/B9F9: 2902 AND #$02 C1/B9FB: 8D10EC STA $EC10 C1/B9FE: 20A29A JSR $9AA2 C1/BA01: B278 LDA ($78) C1/BA03: 1013 BPL $BA18 C1/BA05: A00400 LDY #$0004 C1/BA08: B178 LDA ($78),Y C1/BA0A: C8 INY C1/BA0B: 1178 ORA ($78),Y C1/BA0D: D004 BNE $BA13 C1/BA0F: A90B LDA #$0B C1/BA11: 8002 BRA $BA15 C1/BA13: A909 LDA #$09 C1/BA15: 4CE1BB JMP $BBE1
C1/BA18 unknow
C1/BA18: A00200 LDY #$0002 C1/BA1B: B178 LDA ($78),Y C1/BA1D: C8 INY C1/BA1E: 1178 ORA ($78),Y C1/BA20: D005 BNE $BA27 C1/BA22: A90A LDA #$0A C1/BA24: 4CE1BB JMP $BBE1
C1/BA27 unknow
C1/BA27: A00100 LDY #$0001 C1/BA2A: B178 LDA ($78),Y C1/BA2C: AA TAX C1/BA2D: BF674BC1 LDA $C14B67,X C1/BA31: AA TAX C1/BA32: BD872B LDA $2B87,X C1/BA35: 2910 AND #$10 (Has the right hand got a weapon?) C1/BA37: D011 BNE $BA4A C1/BA39: BD9B2B LDA $2B9B,X C1/BA3C: 2910 AND #$10 (Has the left hand got a weapon?) C1/BA3E: D004 BNE $BA44 C1/BA40: A9FF LDA #$FF C1/BA42: 800A BRA $BA4E C1/BA44: BD9A2B LDA $2B9A,X (Left hand item index) C1/BA47: 1A INC A C1/BA48: 8004 BRA $BA4E C1/BA4A: BD862B LDA $2B86,X (Right hand item index) C1/BA4D: 1A INC A C1/BA4E: AA TAX C1/BA4F: BF4000D1 LDA $D10040,X C1/BA53: 297F AND #$7F C1/BA55: 4A LSR A C1/BA56: 4A LSR A C1/BA57: 4A LSR A C1/BA58: 4A LSR A C1/BA59: 18 CLC C1/BA5A: 692B ADC #$2B C1/BA5C: 4CE1BB JMP $BBE1
C1/BA5F unknow
C1/BA5F: 2035BC JSR $BC35 (from C1/B76F, X = 24) C1/BA62: 2041B9 JSR $B941 C1/BA65: B01C BCS $BA83 C1/BA67: 7B TDC C1/BA68: AA TAX C1/BA69: A8 TAY C1/BA6A: BDC62E LDA $2EC6,X C1/BA6D: C90D CMP #$0D C1/BA6F: F00C BEQ $BA7D C1/BA71: C8 INY C1/BA72: 8A TXA C1/BA73: 18 CLC C1/BA74: 6920 ADC #$20 C1/BA76: AA TAX C1/BA77: E08000 CPX #$0080 C1/BA7A: D0EE BNE $BA6A C1/BA7C: 60 RTS
C1/BA7D unknow
C1/BA7D: 98 TYA C1/BA7E: A00100 LDY #$0001 C1/BA81: 9178 STA ($78),Y C1/BA83: 20F7BB JSR $BBF7 C1/BA86: 9005 BCC $BA8D C1/BA88: A936 LDA #$36 C1/BA8A: 4CA4B8 JMP $B8A4 C1/BA8D: 60 RTS
C1/BA8E unknow
C1/BA8E: 2035BC JSR $BC35 (from C1/B76F, X = 23) C1/BA91: 20F7BB JSR $BBF7 C1/BA94: 9005 BCC $BA9B C1/BA96: A935 LDA #$35 C1/BA98: 20E1BB JSR $BBE1 C1/BA9B: 60 RTS
C1/BA9C possess animation
C1/BA9C: 20F7BB JSR $BBF7 (from C1/B76F, X = 1C) C1/BA9F: 9008 BCC $BAA9 C1/BAA1: A934 LDA #$34 C1/BAA3: 2090B8 JSR $B890 C1/BAA6: 206BB8 JSR $B86B C1/BAA9: 60 RTS
C1/BAAA runic animation
C1/BAAA: 2035BC JSR $BC35 (from C1/B76F, X = 0B) C1/BAAD: B278 LDA ($78) C1/BAAF: 3005 BMI $BAB6 C1/BAB1: A905 LDA #$05 C1/BAB3: 20E1BB JSR $BBE1 C1/BAB6: 60 RTS
C1/BAB7 unknow
C1/BAB7: 2035BC JSR $BC35 (from C1/B76F, X = 25) C1/BABA: B278 LDA ($78) C1/BABC: 2940 AND #$40 C1/BABE: D005 BNE $BAC5 C1/BAC0: A937 LDA #$37 C1/BAC2: 20E1BB JSR $BBE1 C1/BAC5: 60 RTS
C1/BAC6 unknow
C1/BAC6: 20CABA JSR $BACA (long access into below) C1/BAC9: 6B RTL
C1/BACA unknow
C1/BACA: 48 PHA C1/BACB: 20E594 JSR $94E5 C1/BACE: A900 LDA #$00 C1/BAD0: 48 PHA C1/BAD1: 8514 STA $14 C1/BAD3: 8516 STA $16 C1/BAD5: 8518 STA $18 C1/BAD7: 20E0EB JSR $EBE0 C1/BADA: 202A02 JSR $022A C1/BADD: 68 PLA C1/BADE: 1A INC A C1/BADF: 1A INC A C1/BAE0: C920 CMP #$20 C1/BAE2: D0EC BNE $BAD0 C1/BAE4: 68 PLA C1/BAE5: 48 PHA C1/BAE6: 20DC1B JSR $1BDC C1/BAE9: 68 PLA C1/BAEA: 8DB8EC STA $ECB8 (save as battle background ID) C1/BAED: 7B TDC C1/BAEE: AA TAX C1/BAEF: 8EB064 STX $64B0 C1/BAF2: 8EB264 STX $64B2 C1/BAF5: A91E LDA #$1E C1/BAF7: 48 PHA C1/BAF8: 8514 STA $14 C1/BAFA: 8516 STA $16 C1/BAFC: 8518 STA $18 C1/BAFE: 20E0EB JSR $EBE0 C1/BB01: 202A02 JSR $022A C1/BB04: 68 PLA C1/BB05: 3A DEC A C1/BB06: 3A DEC A C1/BB07: D0EE BNE $BAF7 C1/BB09: 60 RTS
C1/BB0A unknow
C1/BB0A: 2035BC JSR $BC35 (from C1/B76F, X = 20) C1/BB0D: A938 LDA #$38 C1/BB0F: 4CE1BB JMP $BBE1
C1/BB12 dance animation
C1/BB12: 2035BC JSR $BC35 (from C1/B76F, X = 13) C1/BB15: ADB8EC LDA $ECB8 (battle background ID) C1/BB18: AA TAX (now the index) C1/BB19: BF62E4C2 LDA $C2E462,X C1/BB1D: D00C BNE $BB2B C1/BB1F: A00300 LDY #$0003 C1/BB22: B176 LDA ($76),Y (parameter 3 for command 6) C1/BB24: C9FF CMP #$FF C1/BB26: F003 BEQ $BB2B C1/BB28: 20CABA JSR $BACA C1/BB2B: EEBBEC INC $ECBB (from C1/B76F, X = 10) (Rage animation jumps here?) C1/BB2E: 2035BC JSR $BC35 C1/BB31: B278 LDA ($78) C1/BB33: 2910 AND #$10 C1/BB35: D009 BNE $BB40 C1/BB37: B278 LDA ($78) C1/BB39: 3005 BMI $BB40 C1/BB3B: A906 LDA #$06 C1/BB3D: 20E1BB JSR $BBE1 C1/BB40: 2041B9 JSR $B941 C1/BB43: 9003 BCC $BB48 C1/BB45: 20EBAB JSR $ABEB C1/BB48: 60 RTS
C1/BB49 shock animation
C1/BB49: 20F7BB JSR $BBF7 (from C1/B76F, X = 1B) C1/BB4C: 9005 BCC $BB53 C1/BB4E: A907 LDA #$07 C1/BB50: 20E1BB JSR $BBE1 C1/BB53: 60 RTS
C1/BB54 control animation
C1/BB54: 20F7BB JSR $BBF7 (from C1/B76F, X = 0E) C1/BB57: 9008 BCC $BB61 C1/BB59: A939 LDA #$39 C1/BB5B: 2090B8 JSR $B890 C1/BB5E: 206BB8 JSR $B86B C1/BB61: 60 RTS
C1/BB62 health animation
C1/BB62: 20F7BB JSR $BBF7 (from C1/B76F, X = 1A) C1/BB65: 900E BCC $BB75 C1/BB67: 2035BC JSR $BC35 C1/BB6A: A26C0F LDX #$0F6C C1/BB6D: 20F5B7 JSR $B7F5 C1/BB70: A927 LDA #$27 C1/BB72: 20E1BB JSR $BBE1 C1/BB75: 60 RTS
C1/BB76 leap animation
C1/BB76: 2035BC JSR $BC35 (from C1/B76F, X = 11) C1/BB79: 20F7BB JSR $BBF7 C1/BB7C: 9008 BCC $BB86 C1/BB7E: A926 LDA #$26 C1/BB80: 2090B8 JSR $B890 C1/BB83: 206BB8 JSR $B86B C1/BB86: 60 RTS
C1/BB87 steal animation
C1/BB87: 2035BC JSR $BC35 (from C1/B76F, X = 05) C1/BB8A: B278 LDA ($78) C1/BB8C: 300D BMI $BB9B C1/BB8E: 20F7BB JSR $BBF7 C1/BB91: 9008 BCC $BB9B C1/BB93: A902 LDA #$02 C1/BB95: 20A4B8 JSR $B8A4 C1/BB98: 4C35BC JMP $BC35 C1/BB9B: 2035BC JSR $BC35 C1/BB9E: A22616 LDX #$1626 C1/BBA1: 20F5B7 JSR $B7F5 C1/BBA4: 60 RTS
C1/BBA5 capture animation
C1/BBA5: 2035BC JSR $BC35 (from C1/B76F, X = 06) C1/BBA8: B278 LDA ($78) C1/BBAA: 302F BMI $BBDB C1/BBAC: 20F7BB JSR $BBF7 C1/BBAF: 902A BCC $BBDB C1/BBB1: 2089BC JSR $BC89 C1/BBB4: A510 LDA $10 C1/BBB6: 2903 AND #$03 C1/BBB8: AA TAX C1/BBB9: DA PHX C1/BBBA: ADA462 LDA $62A4 C1/BBBD: D003 BNE $BBC2 C1/BBBF: FEAE61 INC $61AE,X C1/BBC2: A90E LDA #$0E C1/BBC4: 20A4B8 JSR $B8A4 C1/BBC7: 20CDBE JSR $BECD C1/BBCA: A90F LDA #$0F C1/BBCC: 20A4B8 JSR $B8A4 C1/BBCF: FA PLX C1/BBD0: ADA462 LDA $62A4 C1/BBD3: D003 BNE $BBD8 C1/BBD5: 9EAE61 STZ $61AE,X C1/BBD8: 2035BC JSR $BC35 C1/BBDB: 60 RTS
C1/BBDC revert animation
C1/BBDC: 2035BC JSR $BC35 (from C1/B76F, X = 04) C1/BBDF: A901 LDA #$01 C1/BBE1: 20A4B8 JSR $B8A4 C1/BBE4: 4C6BB8 JMP $B86B
C1/BBE7 morph animation
C1/BBE7: 2035BC JSR $BC35 (from C1/B76F, X = 03) C1/BBEA: 7B TDC C1/BBEB: 80F4 BRA $BBE1
C1/BBED GP rain animation
C1/BBED: 20F7BB JSR $BBF7 (from C1/B76F, X = 18) C1/BBF0: 9004 BCC $BBF6 C1/BBF2: A924 LDA #$24 C1/BBF4: 80EB BRA $BBE1 C1/BBF6: 60 RTS
C1/BBF7 unknow
C1/BBF7: 2041B9 JSR $B941 C1/BBFA: B015 BCS $BC11 C1/BBFC: 2035BC JSR $BC35 C1/BBFF: B278 LDA ($78) C1/BC01: 300E BMI $BC11 C1/BC03: A26C0F LDX #$0F6C C1/BC06: 20F5B7 JSR $B7F5 C1/BC09: 206BB8 JSR $B86B C1/BC0C: 200395 JSR $9503 C1/BC0F: 18 CLC C1/BC10: 60 RTS
C1/BC11: 38 SEC C1/BC12: 60 RTS
C1/BC13 tools animation
C1/BC13: 2035BC JSR $BC35 (from C1/B76F, X = 09) C1/BC16: 20F7BB JSR $BBF7 C1/BC19: 9019 BCC $BC34 C1/BC1B: 2035BC JSR $BC35 C1/BC1E: A2F011 LDX #$11F0 C1/BC21: 861E STX $1E C1/BC23: A00200 LDY #$0002 C1/BC26: B176 LDA ($76),Y C1/BC28: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/BC2B: 205BAC JSR $AC5B C1/BC2E: 200395 JSR $9503 C1/BC31: 206BB8 JSR $B86B C1/BC34: 60 RTS
C1/BC35 unknow
C1/BC35: 20F494 JSR $94F4 C1/BC38: 2067AB JSR $AB67 C1/BC3B: 208BAB JSR $AB8B C1/BC3E: 4CA29A JMP $9AA2
C1/BC41 item animation
C1/BC41: 2035BC JSR $BC35 (from C1/B76F, X = 01) C1/BC44: B278 LDA ($78) C1/BC46: 3009 BMI $BC51 C1/BC48: A26C0F LDX #$0F6C C1/BC4B: 20F5B7 JSR $B7F5 C1/BC4E: 206BB8 JSR $B86B C1/BC51: 2041B9 JSR $B941 C1/BC54: 902F BCC $BC85 C1/BC56: A00200 LDY #$0002 C1/BC59: B176 LDA ($76),Y C1/BC5B: C9E0 CMP #$E0 C1/BC5D: 9005 BCC $BC64 C1/BC5F: 38 SEC C1/BC60: E9E0 SBC #$E0 C1/BC62: 8002 BRA $BC66 C1/BC64: A9E0 LDA #$E0 C1/BC66: C220 REP #$20 C1/BC68: 0A ASL A C1/BC69: AA TAX C1/BC6A: BF0000D1 LDA $D10000,X C1/BC6E: AA TAX C1/BC6F: 7B TDC C1/BC70: E220 SEP #$20 C1/BC72: E0FFFF CPX #$FFFF C1/BC75: F00E BEQ $BC85 C1/BC77: DA PHX C1/BC78: 2043AB JSR $AB43 C1/BC7B: FA PLX C1/BC7C: 861E STX $1E C1/BC7E: 7B TDC C1/BC7F: 20B39C JSR $9CB3 (Load graphic data for spell animation) C1/BC82: 205BAC JSR $AC5B C1/BC85: 4C0395 JMP $9503 C1/BC88: 60 RTS (from C1/B76F, X = 12, 15, 1E, or 1F)
C1/BC89 unknow
C1/BC89: ADD062 LDA $62D0 C1/BC8C: F005 BEQ $BC93 C1/BC8E: 20ADAA JSR $AAAD C1/BC91: 800E BRA $BCA1 C1/BC93: A26E2C LDX #$2C6E C1/BC96: 8610 STX $10 C1/BC98: A00100 LDY #$0001 C1/BC9B: B210 LDA ($10) C1/BC9D: 2980 AND #$80 C1/BC9F: 1110 ORA ($10),Y C1/BCA1: 8510 STA $10 C1/BCA3: 6411 STZ $11 C1/BCA5: 60 RTS
C1/BCA6 unknow
C1/BCA6: AD3E61 LDA $613E C1/BCA9: F00B BEQ $BCB6 C1/BCAB: 200F1A JSR $1A0F C1/BCAE: 18 CLC C1/BCAF: 6904 ADC #$04 C1/BCB1: 0980 ORA #$80 C1/BCB3: 8512 STA $12 C1/BCB5: 60 RTS
C1/BCB6 unknow
C1/BCB6: AD3D61 LDA $613D C1/BCB9: 200F1A JSR $1A0F C1/BCBC: 8512 STA $12 C1/BCBE: 60 RTS
C1/BCBF copy screen coordinates from characters and monsters
C1/BCBF: 7B TDC C1/BCC0: AA TAX C1/BCC1: A8 TAY (Clear A, X and Y) C1/BCC2: C2 20 REP #$20 (Set 16-bit accumulator) C1/BCC4: BD B7 61 LDA $61B7,X (X-coordinate for character?) C1/BCC7: 99 3B 81 STA $813B,Y C1/BCCA: BD B9 61 LDA $61B9,X (Y-coordinate for character?) C1/BCCD: 99 3D 81 STA $813D,Y C1/BCD0: C8 INY C1/BCD1: C8 INY C1/BCD2: C8 INY C1/BCD3: C8 INY C1/BCD4: 8A TXA C1/BCD5: 18 CLC C1/BCD6: 69 20 00 ADC #$0020 C1/BCD9: AA TAX (increment X by 20h -- or 32 decimal, the width of a character?) C1/BCDA: E0 80 00 CPX #$0080 C1/BCDD: D0 E5 BNE $BCC4 (loop for all 4 characters) C1/BCDF: 7B TDC C1/BCE0: AA TAX (Clear A and X) C1/BCE1: BD C3 80 LDA $80C3,X (X-coordinate for monster) C1/BCE4: 99 3B 81 STA $813B,Y C1/BCE7: BD CF 80 LDA $80CF,X (Y-coordinate for monster) C1/BCEA: 99 3D 81 STA $813D,Y C1/BCED: C8 INY C1/BCEE: C8 INY C1/BCEF: C8 INY C1/BCF0: C8 INY C1/BCF1: E8 INX C1/BCF2: E8 INX C1/BCF3: E0 0C 00 CPX #$000C C1/BCF6: D0 E9 BNE $BCE1 (loop for all 6 monsters) C1/BCF8: 7B TDC C1/BCF9: AA TAX (Clear A and X) C1/BCFA: BD 0F 80 LDA $800F,X (X-coordinate of middle of monster?) C1/BCFD: 9D 6B 81 STA $816B,X C1/BD00: E8 INX C1/BD01: E8 INX C1/BD02: E0 3C 00 CPX #$003C C1/BD05: D0 F3 BNE $BCFA (loop 30 times) C1/BD07: 7B TDC C1/BD08: E2 20 SEP #$20 (Clear A and set to 8-bit) C1/BD0A: 60 RTS
C1/BD0B copy screen coordinates from characters and monsters
C1/BD0B: 7B TDC C1/BD0C: AA TAX C1/BD0D: A8 TAY (Clear A, X and Y) C1/BD0E: C2 20 REP #$20 (set 16-bit Accumulator) C1/BD10: B9 3B 81 LDA $813B,Y (get character X-coordinate from general block) C1/BD13: 9D B7 61 STA $61B7,X C1/BD16: B9 3D 81 LDA $813D,Y (get character Y-coordinate from general block) C1/BD19: 9D B9 61 STA $61B9,X C1/BD1C: C8 INY C1/BD1D: C8 INY C1/BD1E: C8 INY C1/BD1F: C8 INY C1/BD20: 8A TXA C1/BD21: 18 CLC C1/BD22: 69 20 00 ADC #$0020 C1/BD25: AA TAX (increment X by 20h -- or 32 decimal, the width of a character?) C1/BD26: E0 80 00 CPX #$0080 C1/BD29: D0 E5 BNE $BD10 (loop for all 4 characters) C1/BD2B: 7B TDC C1/BD2C: AA TAX (Clear A and X) C1/BD2D: B9 3B 81 LDA $813B,Y (X-coordinate for monster) C1/BD30: 9D C3 80 STA $80C3,X C1/BD33: B9 3D 81 LDA $813D,Y (Y-coordinate for monster) C1/BD36: 9D CF 80 STA $80CF,X C1/BD39: C8 INY C1/BD3A: C8 INY C1/BD3B: C8 INY C1/BD3C: C8 INY C1/BD3D: E8 INX C1/BD3E: E8 INX C1/BD3F: E0 0C 00 CPX #$000C C1/BD42: D0 E9 BNE $BD2D (loop for all 6 monsters) C1/BD44: 7B TDC C1/BD45: AA TAX (Clear A and X) C1/BD46: BD 6B 81 LDA $816B,X (X-coordinate of middle of monster?) C1/BD49: 9D 0F 80 STA $800F,X C1/BD4C: E8 INX C1/BD4D: E8 INX C1/BD4E: E0 3C 00 CPX #$003C C1/BD51: D0 F3 BNE $BD46 (loop 30 times) C1/BD53: 7B TDC C1/BD54: E2 20 SEP #$20 (Clear A, and set to 8-bit) C1/BD56: 20 7C 95 JSR $957C C1/BD59: 60 RTS
C1/BD5A unknow
C1/BD5A: A00800 LDY #$0008 (from C1/BF21) C1/BD5D: B178 LDA ($78),Y C1/BD5F: C904 CMP #$04 C1/BD61: B037 BCS $BD9A C1/BD63: A8 TAY C1/BD64: 0A ASL A C1/BD65: AA TAX C1/BD66: DA PHX C1/BD67: 0A ASL A C1/BD68: 0A ASL A C1/BD69: 0A ASL A C1/BD6A: 0A ASL A C1/BD6B: AA TAX C1/BD6C: C220 REP #$20 C1/BD6E: BDB761 LDA $61B7,X C1/BD71: 8514 STA $14 C1/BD73: BDB961 LDA $61B9,X C1/BD76: 8516 STA $16 C1/BD78: FA PLX C1/BD79: BD3380 LDA $8033,X C1/BD7C: 8524 STA $24 C1/BD7E: BD3B80 LDA $803B,X C1/BD81: 8526 STA $26 C1/BD83: BD4380 LDA $8043,X C1/BD86: 8528 STA $28 C1/BD88: 7B TDC C1/BD89: E220 SEP #$20 C1/BD8B: B9107B LDA $7B10,Y C1/BD8E: F005 BEQ $BD95 C1/BD90: A20C00 LDX #$000C C1/BD93: 803C BRA $BDD1 C1/BD95: A20000 LDX #$0000 C1/BD98: 8037 BRA $BDD1 C1/BD9A: 297F AND #$7F C1/BD9C: 38 SEC C1/BD9D: E904 SBC #$04 C1/BD9F: 0A ASL A C1/BDA0: AA TAX C1/BDA1: C220 REP #$20 C1/BDA3: BD0F80 LDA $800F,X (Get X-coordinate of middle of monster?) C1/BDA6: 8514 STA $14 C1/BDA8: BD2780 LDA $8027,X (bottom Y-coordinate of monster - 8) C1/BDAB: 8516 STA $16 C1/BDAD: BD0F80 LDA $800F,X C1/BDB0: 8524 STA $24 C1/BDB2: BD1B80 LDA $801B,X C1/BDB5: 8526 STA $26 C1/BDB7: BD2780 LDA $8027,X (bottom Y-coordinate of monster - 8) C1/BDBA: 8528 STA $28 C1/BDBC: 7B TDC C1/BDBD: E220 SEP #$20 C1/BDBF: BDF380 LDA $80F3,X C1/BDC2: 5D7E61 EOR $617E,X C1/BDC5: 2901 AND #$01 C1/BDC7: D005 BNE $BDCE C1/BDC9: A20C00 LDX #$000C C1/BDCC: 8003 BRA $BDD1 C1/BDCE: A20000 LDX #$0000 C1/BDD1: DA PHX C1/BDD2: 8622 STX $22 (Animation Script pointer) C1/BDD4: A00600 LDY #$0006 C1/BDD7: B178 LDA ($78),Y C1/BDD9: 8518 STA $18 C1/BDDB: 641A STZ $1A C1/BDDD: 4618 LSR $18 C1/BDDF: 9052 BCC $BE33 C1/BDE1: A522 LDA $22 (Animation Script pointer) C1/BDE3: AA TAX C1/BDE4: C220 REP #$20 C1/BDE6: BFA1BEC1 LDA $C1BEA1,X C1/BDEA: 8510 STA $10 C1/BDEC: BFA3BEC1 LDA $C1BEA3,X C1/BDF0: 8512 STA $12 C1/BDF2: A522 LDA $22 (Animation Script pointer) C1/BDF4: 18 CLC C1/BDF5: 690400 ADC #$0004 C1/BDF8: 8522 STA $22 (Animation Script pointer) C1/BDFA: 7B TDC C1/BDFB: E220 SEP #$20 C1/BDFD: A51A LDA $1A C1/BDFF: 0A ASL A C1/BE00: A8 TAY C1/BE01: 0A ASL A C1/BE02: 0A ASL A C1/BE03: 0A ASL A C1/BE04: 0A ASL A C1/BE05: AA TAX C1/BE06: C220 REP #$20 C1/BE08: A514 LDA $14 C1/BE0A: 18 CLC C1/BE0B: 6510 ADC $10 C1/BE0D: 9DB761 STA $61B7,X C1/BE10: A516 LDA $16 C1/BE12: 18 CLC C1/BE13: 6512 ADC $12 C1/BE15: 9DB961 STA $61B9,X C1/BE18: A524 LDA $24 C1/BE1A: 18 CLC C1/BE1B: 6510 ADC $10 C1/BE1D: 993380 STA $8033,Y C1/BE20: A526 LDA $26 C1/BE22: 18 CLC C1/BE23: 6512 ADC $12 C1/BE25: 993B80 STA $803B,Y C1/BE28: A528 LDA $28 C1/BE2A: 18 CLC C1/BE2B: 6512 ADC $12 C1/BE2D: 994380 STA $8043,Y C1/BE30: 7B TDC C1/BE31: E220 SEP #$20 C1/BE33: E61A INC $1A C1/BE35: A51A LDA $1A C1/BE37: C904 CMP #$04 C1/BE39: D0A2 BNE $BDDD C1/BE3B: FA PLX C1/BE3C: 8622 STX $22 (Animation Script pointer) C1/BE3E: A00700 LDY #$0007 C1/BE41: B178 LDA ($78),Y C1/BE43: 8518 STA $18 C1/BE45: 641A STZ $1A C1/BE47: 4618 LSR $18 C1/BE49: 904D BCC $BE98 C1/BE4B: A522 LDA $22 (Animation Script pointer) C1/BE4D: AA TAX C1/BE4E: C220 REP #$20 C1/BE50: BFA1BEC1 LDA $C1BEA1,X C1/BE54: 8510 STA $10 C1/BE56: BFA3BEC1 LDA $C1BEA3,X C1/BE5A: 8512 STA $12 C1/BE5C: A522 LDA $22 (Animation Script pointer) C1/BE5E: 18 CLC C1/BE5F: 690400 ADC #$0004 C1/BE62: 8522 STA $22 (Animation Script pointer) C1/BE64: 7B TDC C1/BE65: E220 SEP #$20 C1/BE67: A51A LDA $1A C1/BE69: 0A ASL A C1/BE6A: AA TAX C1/BE6B: C220 REP #$20 C1/BE6D: A514 LDA $14 C1/BE6F: 18 CLC C1/BE70: 6510 ADC $10 C1/BE72: 9DC380 STA $80C3,X (Store that as the enemy's X-coord.) C1/BE75: A516 LDA $16 C1/BE77: 18 CLC C1/BE78: 6512 ADC $12 C1/BE7A: 9DCF80 STA $80CF,X C1/BE7D: A524 LDA $24 C1/BE7F: 18 CLC C1/BE80: 6510 ADC $10 C1/BE82: 9D0F80 STA $800F,X C1/BE85: A526 LDA $26 C1/BE87: 18 CLC C1/BE88: 6512 ADC $12 C1/BE8A: 9D1B80 STA $801B,X C1/BE8D: A528 LDA $28 C1/BE8F: 18 CLC C1/BE90: 6512 ADC $12 C1/BE92: 9D2780 STA $8027,X (bottom Y-coordinate of monster - 8?) C1/BE95: 7B TDC C1/BE96: E220 SEP #$20 C1/BE98: E61A INC $1A C1/BE9A: A51A LDA $1A C1/BE9C: C906 CMP #$06 C1/BE9E: D0A7 BNE $BE47 C1/BEA0: 60 RTS
C1/BEA1 DAT unknow
C1/BEA1: F0FF BEQ $BEA2 C1/BEA3: 0000 BRK #$00 C1/BEA5: F8 SED C1/BEA6: FF0800F8 SBC $F80008,X C1/BEAA: FFF8FF10 SBC $10FFF8,X C1/BEAE: 0000 BRK #$00 C1/BEB0: 0008 BRK #$08 C1/BEB2: 0008 BRK #$08 C1/BEB4: 0008 BRK #$08 C1/BEB6: 00F8 BRK #$F8 C1/BEB8: FF
C1/BEB9 unknow
C1/BEB9: DA PHX C1/BEBA: 48 PHA C1/BEBB: AA TAX C1/BEBC: BF59B7C1 LDA $C1B759,X C1/BEC0: 8DE7E9 STA $E9E7 C1/BEC3: BF52B7C1 LDA $C1B752,X C1/BEC7: 20109C JSR $9C10 C1/BECA: 68 PLA C1/BECB: FA PLX C1/BECC: 60 RTS