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 C06
< Final Fantasy VI | ROM map(Redirected from Final Fantasy VI:ROM map/Assembly C06)
Jump to navigation
Jump to search
This is a sub-page of Final Fantasy VI/ROM map.
C0/609A unknow
C0/609A: 202F28 JSR $282F C0/609D: 2F202F28 AND $282F20 C0/60A1: 2F242F2C AND $2C2F24 C0/60A5: 2F242F2C AND $2C2F24 C0/60A9: 2F222F2A AND $2A2F22 C0/60AD: 2F222F2A AND $2A2F22 C0/60B1: 2F262F2E AND $2E2F26 C0/60B5: 2F262F2E AND $2E2F26 C0/60B9: 2FB98F08 AND $088FB9 C0/60BD: AA TAX C0/60BE: BF5B5BC0 LDA $C05B5B,X C0/60C2: 851A STA $1A C0/60C4: 1A INC A C0/60C5: 1A INC A C0/60C6: 851C STA $1C C0/60C8: BE7108 LDX $0871,Y C0/60CB: F005 BEQ $60D2 C0/60CD: B96A08 LDA $086A,Y C0/60D0: 8003 BRA $60D5 C0/60D2: B96D08 LDA $086D,Y C0/60D5: 4A LSR A C0/60D6: 4A LSR A C0/60D7: 2906 AND #$06 C0/60D9: AA TAX C0/60DA: C220 REP #$20 (16 bit accum./memory) C0/60DC: B96A08 LDA $086A,Y C0/60DF: 38 SEC C0/60E0: E55C SBC $5C C0/60E2: 8520 STA $20 C0/60E4: 18 CLC C0/60E5: 690800 ADC #$0008 C0/60E8: 851E STA $1E C0/60EA: B96D08 LDA $086D,Y C0/60ED: 18 CLC C0/60EE: E560 SBC $60 C0/60F0: 38 SEC C0/60F1: E57F SBC $7F C0/60F3: 38 SEC C0/60F4: E90800 SBC #$0008 C0/60F7: 8526 STA $26 C0/60F9: E91000 SBC #$0010 C0/60FC: 8524 STA $24 C0/60FE: E90400 SBC #$0004 C0/6101: 8522 STA $22 C0/6103: 18 CLC C0/6104: 691C00 ADC #$001C C0/6107: E220 SEP #$20 (8 bit accum./memory) C0/6109: EB XBA C0/610A: F003 BEQ $610F C0/610C: 4C345B JMP $5B34
C0/610F: 7B TDC C0/6110: A41E LDY $1E C0/6112: C02001 CPY #$0120 C0/6115: 9008 BCC $611F C0/6117: C0E0FF CPY #$FFE0 C0/611A: B003 BCS $611F C0/611C: 4C345B JMP $5B34
C0/611F: C220 REP #$20 (16 bit accum./memory) C0/6121: A5D4 LDA $D4 C0/6123: 38 SEC C0/6124: E90C00 SBC #$000C C0/6127: 85D4 STA $D4 C0/6129: 7B TDC C0/612A: E220 SEP #$20 (8 bit accum./memory) C0/612C: A4DA LDY $DA C0/612E: B97F08 LDA $087F,Y C0/6131: F00F BEQ $6142 C0/6133: 3A DEC A C0/6134: D003 BNE $6139 C0/6136: 4CF162 JMP $62F1
C0/6139: 3A DEC A C0/613A: D003 BNE $613F C0/613C: 4C1862 JMP $6218
C0/613F: 4CED63 JMP $63ED
C0/6142 unknow
C0/6142: A41E LDY $1E C0/6144: 842A STY $2A C0/6146: A4D4 LDY $D4 C0/6148: 204C67 JSR $674C C0/614B: C8 INY C0/614C: C8 INY C0/614D: C8 INY C0/614E: C8 INY C0/614F: 202167 JSR $6721 C0/6152: C8 INY C0/6153: C8 INY C0/6154: C8 INY C0/6155: C8 INY C0/6156: 202167 JSR $6721 C0/6159: A4D4 LDY $D4 C0/615B: C220 REP #$20 (16 bit accum./memory) C0/615D: A51E LDA $1E C0/615F: 18 CLC C0/6160: 7FE061C0 ADC $C061E0,X C0/6164: 852A STA $2A C0/6166: E220 SEP #$20 (8 bit accum./memory) C0/6168: 994003 STA $0340,Y C0/616B: 7B TDC C0/616C: 202167 JSR $6721 C0/616F: A524 LDA $24 C0/6171: 18 CLC C0/6172: 7FE861C0 ADC $C061E8,X C0/6176: 994103 STA $0341,Y C0/6179: C220 REP #$20 (16 bit accum./memory) C0/617B: BFF861C0 LDA $C061F8,X C0/617F: 994203 STA $0342,Y C0/6182: BF0862C0 LDA $C06208,X C0/6186: 994A03 STA $034A,Y C0/6189: BF1062C0 LDA $C06210,X C0/618D: 990204 STA $0402,Y C0/6190: 7B TDC C0/6191: E220 SEP #$20 (8 bit accum./memory) C0/6193: A4DA LDY $DA C0/6195: B98108 LDA $0881,Y C0/6198: 290E AND #$0E C0/619A: 1F0162C0 ORA $C06201,X C0/619E: A4D4 LDY $D4 C0/61A0: 994703 STA $0347,Y C0/61A3: A51A LDA $1A C0/61A5: 994603 STA $0346,Y C0/61A8: A51E LDA $1E C0/61AA: 994403 STA $0344,Y C0/61AD: 994803 STA $0348,Y C0/61B0: 990004 STA $0400,Y C0/61B3: A522 LDA $22 C0/61B5: 18 CLC C0/61B6: 7FF061C0 ADC $C061F0,X C0/61BA: 994503 STA $0345,Y C0/61BD: A524 LDA $24 C0/61BF: 994903 STA $0349,Y C0/61C2: A526 LDA $26 C0/61C4: 990104 STA $0401,Y C0/61C7: A9EF LDA #$EF C0/61C9: 990504 STA $0405,Y C0/61CC: 990904 STA $0409,Y C0/61CF: A4DA LDY $DA C0/61D1: B96808 LDA $0868,Y C0/61D4: 3007 BMI $61DD C0/61D6: A4D4 LDY $D4 C0/61D8: A9EF LDA #$EF C0/61DA: 994503 STA $0345,Y C0/61DD: 4CCA64 JMP $64CA
C0/61E0 unknow
C0/61E0: 0000 BRK #$00 C0/61E2: 0100 ORA ($00,X) C0/61E4: 0000 BRK #$00 C0/61E6: FFFF0900 SBC $0009FF,X C0/61EA: 0A ASL A C0/61EB: 0009 BRK #$09 C0/61ED: 000A BRK #$0A C0/61EF: 0000 BRK #$00 C0/61F1: 0001 BRK #$01 C0/61F3: 0000 BRK #$00 C0/61F5: 0001 BRK #$01 C0/61F7: 004A BRK #$4A C0/61F9: 2F4A6F4A AND $4A6F4A C0/61FD: 2F4A6F00 AND $006F4A C0/6201: 200020 JSR $2000 C0/6204: 0020 BRK #$20 C0/6206: 0020 BRK #$20 C0/6208: 4C2F60 JMP $602F
C0/620B unknow
C0/620B: 2F4C2F60 AND $602F4C C0/620F: 6F4E2F62 ADC $622F4E C0/6213: 2F4E2F62 AND $622F4E C0/6217: 6FA41E84 ADC $841EA4 C0/621B: 2A ROL A C0/621C: A4D4 LDY $D4 C0/621E: 202167 JSR $6721 C0/6221: 204C67 JSR $674C C0/6224: C8 INY C0/6225: C8 INY C0/6226: C8 INY C0/6227: C8 INY C0/6228: 202167 JSR $6721 C0/622B: C8 INY C0/622C: C8 INY C0/622D: C8 INY C0/622E: C8 INY C0/622F: 202167 JSR $6721 C0/6232: A4D4 LDY $D4 C0/6234: C220 REP #$20 (16 bit accum./memory) C0/6236: A51E LDA $1E C0/6238: 18 CLC C0/6239: 7FB962C0 ADC $C062B9,X C0/623D: 852A STA $2A C0/623F: E220 SEP #$20 (8 bit accum./memory) C0/6241: 994003 STA $0340,Y C0/6244: 7B TDC C0/6245: 202167 JSR $6721 C0/6248: A524 LDA $24 C0/624A: 18 CLC C0/624B: 7FC162C0 ADC $C062C1,X C0/624F: 994103 STA $0341,Y C0/6252: C220 REP #$20 (16 bit accum./memory) C0/6254: BFD162C0 LDA $C062D1,X C0/6258: 994203 STA $0342,Y C0/625B: BFE162C0 LDA $C062E1,X C0/625F: 994A03 STA $034A,Y C0/6262: BFE962C0 LDA $C062E9,X C0/6266: 990204 STA $0402,Y C0/6269: 7B TDC C0/626A: E220 SEP #$20 (8 bit accum./memory) C0/626C: A4DA LDY $DA C0/626E: B98108 LDA $0881,Y C0/6271: 290E AND #$0E C0/6273: 1FDA62C0 ORA $C062DA,X C0/6277: A4D4 LDY $D4 C0/6279: 994703 STA $0347,Y C0/627C: A51A LDA $1A C0/627E: 994603 STA $0346,Y C0/6281: A51E LDA $1E C0/6283: 994403 STA $0344,Y C0/6286: 994803 STA $0348,Y C0/6289: 990004 STA $0400,Y C0/628C: A522 LDA $22 C0/628E: 18 CLC C0/628F: 7FC962C0 ADC $C062C9,X C0/6293: 994503 STA $0345,Y C0/6296: A524 LDA $24 C0/6298: 994903 STA $0349,Y C0/629B: A526 LDA $26 C0/629D: 990104 STA $0401,Y C0/62A0: A9EF LDA #$EF C0/62A2: 990504 STA $0405,Y C0/62A5: 990904 STA $0409,Y C0/62A8: A4DA LDY $DA C0/62AA: B96808 LDA $0868,Y C0/62AD: 3007 BMI $62B6 C0/62AF: A4D4 LDY $D4 C0/62B1: A9EF LDA #$EF C0/62B3: 994503 STA $0345,Y C0/62B6: 4CCA64 JMP $64CA
C0/62B9 unknow
C0/62B9: 0000 BRK #$00 C0/62BB: 0100 ORA ($00,X) C0/62BD: 0000 BRK #$00 C0/62BF: FFFF0700 SBC $0007FF,X C0/62C3: 08 PHP C0/62C4: 0007 BRK #$07 C0/62C6: 0008 BRK #$08 C0/62C8: 00FF BRK #$FF C0/62CA: FF0100FF SBC $FF0001,X C0/62CE: FF010040 SBC $400001,X C0/62D2: 2F402F40 AND $402F40 C0/62D6: 2F402F00 AND $002F40 C0/62DA: 200020 JSR $2000 C0/62DD: 0020 BRK #$20 C0/62DF: 0020 BRK #$20 C0/62E1: 422F WDM #$2F C0/62E3: 462F LSR $2F C0/62E5: 422F WDM #$2F C0/62E7: 466F LSR $6F C0/62E9: 442F48 MVP $2F,$48 C0/62EC: 2F442F48 AND $482F44 C0/62F0: 6FA4D4C2 ADC $C2D4A4 C0/62F4: 20A51E JSR $1EA5 C0/62F7: 38 SEC C0/62F8: E903 SBC #$03 C0/62FA: 0085 BRK #$85 C0/62FC: 2A ROL A C0/62FD: 7B TDC C0/62FE: E220 SEP #$20 (8 bit accum./memory) C0/6300: A52A LDA $2A C0/6302: 994003 STA $0340,Y C0/6305: 202167 JSR $6721 C0/6308: C8 INY C0/6309: C8 INY C0/630A: C8 INY C0/630B: C8 INY C0/630C: 994003 STA $0340,Y C0/630F: 202167 JSR $6721 C0/6312: C8 INY C0/6313: C8 INY C0/6314: C8 INY C0/6315: C8 INY C0/6316: C220 REP #$20 (16 bit accum./memory) C0/6318: A520 LDA $20 C0/631A: 18 CLC C0/631B: 691000 ADC #$0010 C0/631E: 852A STA $2A C0/6320: 7B TDC C0/6321: E220 SEP #$20 (8 bit accum./memory) C0/6323: A52A LDA $2A C0/6325: 994003 STA $0340,Y C0/6328: 202167 JSR $6721 C0/632B: A4D4 LDY $D4 C0/632D: 990004 STA $0400,Y C0/6330: 204C67 JSR $674C C0/6333: C8 INY C0/6334: C8 INY C0/6335: C8 INY C0/6336: C8 INY C0/6337: C220 REP #$20 (16 bit accum./memory) C0/6339: A520 LDA $20 C0/633B: 852A STA $2A C0/633D: 7B TDC C0/633E: E220 SEP #$20 (8 bit accum./memory) C0/6340: A52A LDA $2A C0/6342: 990004 STA $0400,Y C0/6345: 204C67 JSR $674C C0/6348: C8 INY C0/6349: C8 INY C0/634A: C8 INY C0/634B: C8 INY C0/634C: 990004 STA $0400,Y C0/634F: 204C67 JSR $674C C0/6352: A4D4 LDY $D4 C0/6354: A522 LDA $22 C0/6356: 18 CLC C0/6357: 7FC563C0 ADC $C063C5,X C0/635B: 994103 STA $0341,Y C0/635E: 18 CLC C0/635F: 6910 ADC #$10 C0/6361: 994503 STA $0345,Y C0/6364: A4DA LDY $DA C0/6366: B98108 LDA $0881,Y C0/6369: 290E AND #$0E C0/636B: 0960 ORA #$60 C0/636D: A4D4 LDY $D4 C0/636F: 994303 STA $0343,Y C0/6372: 994703 STA $0347,Y C0/6375: A51A LDA $1A C0/6377: 994203 STA $0342,Y C0/637A: A51C LDA $1C C0/637C: 994603 STA $0346,Y C0/637F: A524 LDA $24 C0/6381: 994903 STA $0349,Y C0/6384: 990904 STA $0409,Y C0/6387: 18 CLC C0/6388: 6910 ADC #$10 C0/638A: 990104 STA $0401,Y C0/638D: 990504 STA $0405,Y C0/6390: C220 REP #$20 (16 bit accum./memory) C0/6392: BFCD63C0 LDA $C063CD,X C0/6396: 994A03 STA $034A,Y C0/6399: BFD563C0 LDA $C063D5,X C0/639D: 990A04 STA $040A,Y C0/63A0: BFDD63C0 LDA $C063DD,X C0/63A4: 990204 STA $0402,Y C0/63A7: BFE563C0 LDA $C063E5,X C0/63AB: 990604 STA $0406,Y C0/63AE: 7B TDC C0/63AF: E220 SEP #$20 (8 bit accum./memory) C0/63B1: A4DA LDY $DA C0/63B3: B96808 LDA $0868,Y C0/63B6: 300A BMI $63C2 C0/63B8: A4D4 LDY $D4 C0/63BA: A9EF LDA #$EF C0/63BC: 994103 STA $0341,Y C0/63BF: 994503 STA $0345,Y C0/63C2: 4CCA64 JMP $64CA C0/63C5: 0000 BRK #$00 C0/63C7: FFFF0000 SBC $0000FF,X C0/63CB: FFFF646F SBC $6F64FF,X C0/63CF: 6C6F64 JMP ($646F) C0/63D2: 6F846F68 ADC $686F84 C0/63D6: 6F806F68 ADC $686F80 C0/63DA: 6F886F66 ADC $666F88 C0/63DE: 6F6E6F66 ADC $666F6E C0/63E2: 6F866F6A ADC $6A6F86 C0/63E6: 6F826F6A ADC $6A6F82 C0/63EA: 6F8A6FA4 ADC $A46F8A C0/63EE: D4C2 PEI ($C2) C0/63F0: 20A51E JSR $1EA5 C0/63F3: 18 CLC C0/63F4: 6903 ADC #$03 C0/63F6: 0085 BRK #$85 C0/63F8: 2A ROL A C0/63F9: 18 CLC C0/63FA: 6908 ADC #$08 C0/63FC: 007B BRK #$7B C0/63FE: E220 SEP #$20 (8 bit accum./memory) C0/6400: A52A LDA $2A C0/6402: 994003 STA $0340,Y C0/6405: 202167 JSR $6721 C0/6408: C8 INY C0/6409: C8 INY C0/640A: C8 INY C0/640B: C8 INY C0/640C: 994003 STA $0340,Y C0/640F: 202167 JSR $6721 C0/6412: C8 INY C0/6413: C8 INY C0/6414: C8 INY C0/6415: C8 INY C0/6416: C220 REP #$20 (16 bit accum./memory) C0/6418: A520 LDA $20 C0/641A: 18 CLC C0/641B: 691000 ADC #$0010 C0/641E: 852A STA $2A C0/6420: 18 CLC C0/6421: 690800 ADC #$0008 C0/6424: 7B TDC C0/6425: E220 SEP #$20 (8 bit accum./memory) C0/6427: A52A LDA $2A C0/6429: 994003 STA $0340,Y C0/642C: 202167 JSR $6721 C0/642F: A4D4 LDY $D4 C0/6431: 990004 STA $0400,Y C0/6434: 204C67 JSR $674C C0/6437: C8 INY C0/6438: C8 INY C0/6439: C8 INY C0/643A: C8 INY C0/643B: C220 REP #$20 (16 bit accum./memory) C0/643D: A520 LDA $20 C0/643F: 852A STA $2A C0/6441: 18 CLC C0/6442: 690800 ADC #$0008 C0/6445: 7B TDC C0/6446: E220 SEP #$20 (8 bit accum./memory) C0/6448: A52A LDA $2A C0/644A: 990004 STA $0400,Y C0/644D: 204C67 JSR $674C C0/6450: C8 INY C0/6451: C8 INY C0/6452: C8 INY C0/6453: C8 INY C0/6454: 990004 STA $0400,Y C0/6457: 204C67 JSR $674C C0/645A: A4D4 LDY $D4 C0/645C: A522 LDA $22 C0/645E: 18 CLC C0/645F: 7FC563C0 ADC $C063C5,X C0/6463: 994103 STA $0341,Y C0/6466: 18 CLC C0/6467: 6910 ADC #$10 C0/6469: 994503 STA $0345,Y C0/646C: A4DA LDY $DA C0/646E: B98108 LDA $0881,Y C0/6471: 290E AND #$0E C0/6473: 0920 ORA #$20 C0/6475: A4D4 LDY $D4 C0/6477: 994303 STA $0343,Y C0/647A: 994703 STA $0347,Y C0/647D: A51A LDA $1A C0/647F: 994203 STA $0342,Y C0/6482: A51C LDA $1C C0/6484: 994603 STA $0346,Y C0/6487: A524 LDA $24 C0/6489: 994903 STA $0349,Y C0/648C: 990904 STA $0409,Y C0/648F: 18 CLC C0/6490: 6910 ADC #$10 C0/6492: 990104 STA $0401,Y C0/6495: 990504 STA $0405,Y C0/6498: C220 REP #$20 (16 bit accum./memory) C0/649A: BFD564C0 LDA $C064D5,X C0/649E: 994A03 STA $034A,Y C0/64A1: BFCD64C0 LDA $C064CD,X C0/64A5: 990A04 STA $040A,Y C0/64A8: BFE564C0 LDA $C064E5,X C0/64AC: 990204 STA $0402,Y C0/64AF: BFDD64C0 LDA $C064DD,X C0/64B3: 990604 STA $0406,Y C0/64B6: 7B TDC C0/64B7: E220 SEP #$20 (8 bit accum./memory) C0/64B9: A4DA LDY $DA C0/64BB: B96808 LDA $0868,Y C0/64BE: 300A BMI $64CA C0/64C0: A4D4 LDY $D4 C0/64C2: A9EF LDA #$EF C0/64C4: 994103 STA $0341,Y C0/64C7: 994503 STA $0345,Y C0/64CA: 4C345B JMP $5B34
C0/64CD unknow
C0/64CD: 642F STZ $2F C0/64CF: 6C2F64 JMP ($642F) C0/64D2: 2F842F68 AND $682F84 C0/64D6: 2F802F68 AND $682F80 C0/64DA: 2F882F66 AND $662F88 C0/64DE: 2F6E2F66 AND $662F6E C0/64E2: 2F862F6A AND $6A2F86 C0/64E6: 2F822F6A AND $6A2F82 C0/64EA: 2F8A2F00 AND $002F8A C0/64EE: 0010 BRK #$10 C0/64F0: 0020 BRK #$20 C0/64F2: 0030 BRK #$30 C0/64F4: 00A6 BRK #$A6 C0/64F6: 0086 BRK #$86 C0/64F8: 2486 BIT $86 C0/64FA: 20B97C JSR $7CB9 C0/64FD: 08 PHP C0/64FE: 851A STA $1A C0/6500: 5A PHY C0/6501: B98B08 LDA $088B,Y C0/6504: 2902 AND #$02 C0/6506: F028 BEQ $6530 C0/6508: B98B08 LDA $088B,Y C0/650B: 2901 AND #$01 C0/650D: D00A BNE $6519 C0/650F: B98A08 LDA $088A,Y C0/6512: 29E0 AND #$E0 C0/6514: 4A LSR A C0/6515: 8520 STA $20 C0/6517: 8008 BRA $6521 C0/6519: B98A08 LDA $088A,Y C0/651C: 29E0 AND #$E0 C0/651E: 4A LSR A C0/651F: 8524 STA $24 C0/6521: B98A08 LDA $088A,Y C0/6524: 291F AND #$1F C0/6526: 18 CLC C0/6527: 6910 ADC #$10 C0/6529: 0A ASL A C0/652A: AA TAX C0/652B: BC9907 LDY $0799,X C0/652E: 801F BRA $654F C0/6530: B98B08 LDA $088B,Y C0/6533: 2901 AND #$01 C0/6535: D00D BNE $6544 C0/6537: B98A08 LDA $088A,Y C0/653A: 29E0 AND #$E0 C0/653C: 4A LSR A C0/653D: 4A LSR A C0/653E: 4A LSR A C0/653F: 4A LSR A C0/6540: 8520 STA $20 C0/6542: 800B BRA $654F C0/6544: B98A08 LDA $088A,Y C0/6547: 29E0 AND #$E0 C0/6549: 4A LSR A C0/654A: 4A LSR A C0/654B: 4A LSR A C0/654C: 4A LSR A C0/654D: 8524 STA $24 C0/654F: A51A LDA $1A C0/6551: 3031 BMI $6584 C0/6553: C221 REP #$21 C0/6555: B96D08 LDA $086D,Y C0/6558: 6524 ADC $24 C0/655A: 18 CLC C0/655B: E560 SBC $60 C0/655D: 38 SEC C0/655E: E57F SBC $7F C0/6560: 38 SEC C0/6561: F96F08 SBC $086F,Y C0/6564: 38 SEC C0/6565: E90800 SBC #$0008 C0/6568: 8522 STA $22 C0/656A: 18 CLC C0/656B: 692000 ADC #$0020 C0/656E: 8526 STA $26 C0/6570: B96A08 LDA $086A,Y C0/6573: 38 SEC C0/6574: E55C SBC $5C C0/6576: 18 CLC C0/6577: 6520 ADC $20 C0/6579: 18 CLC C0/657A: 690800 ADC #$0008 C0/657D: 851E STA $1E C0/657F: 7B TDC C0/6580: E220 SEP #$20 (8 bit accum./memory) C0/6582: 802F BRA $65B3 C0/6584: C221 REP #$21 C0/6586: B96D08 LDA $086D,Y C0/6589: 6524 ADC $24 C0/658B: 18 CLC C0/658C: E568 SBC $68 C0/658E: 38 SEC C0/658F: E57F SBC $7F C0/6591: 38 SEC C0/6592: F96F08 SBC $086F,Y C0/6595: 38 SEC C0/6596: E90800 SBC #$0008 C0/6599: 8522 STA $22 C0/659B: 18 CLC C0/659C: 692000 ADC #$0020 C0/659F: 8526 STA $26 C0/65A1: B96A08 LDA $086A,Y C0/65A4: 38 SEC C0/65A5: E564 SBC $64 C0/65A7: 18 CLC C0/65A8: 6520 ADC $20 C0/65AA: 18 CLC C0/65AB: 690800 ADC #$0008 C0/65AE: 851E STA $1E C0/65B0: 7B TDC C0/65B1: E220 SEP #$20 (8 bit accum./memory) C0/65B3: 7A PLY C0/65B4: A61E LDX $1E C0/65B6: E0E0FF CPX #$FFE0 C0/65B9: B008 BCS $65C3 C0/65BB: E00001 CPX #$0100 C0/65BE: 9003 BCC $65C3 C0/65C0: 4C345B JMP $5B34
C0/65C3: A527 LDA $27 C0/65C5: F003 BEQ $65CA C0/65C7: 4C345B JMP $5B34
C0/65CA: 7B TDC C0/65CB: B96808 LDA $0868,Y C0/65CE: 2901 AND #$01 C0/65D0: 4A LSR A C0/65D1: 6A ROR A C0/65D2: 6A ROR A C0/65D3: 0901 ORA #$01 C0/65D5: 198008 ORA $0880,Y C0/65D8: 851B STA $1B C0/65DA: B96808 LDA $0868,Y C0/65DD: 2960 AND #$60 C0/65DF: 4A LSR A C0/65E0: 4A LSR A C0/65E1: 4A LSR A C0/65E2: 4A LSR A C0/65E3: 4A LSR A C0/65E4: AA TAX C0/65E5: A545 LDA $45 C0/65E7: 4A LSR A C0/65E8: 4A LSR A C0/65E9: E00000 CPX #$0000 C0/65EC: F004 BEQ $65F2 C0/65EE: 4A LSR A C0/65EF: CA DEX C0/65F0: 80F7 BRA $65E9 C0/65F2: 851A STA $1A C0/65F4: B98C08 LDA $088C,Y C0/65F7: 2918 AND #$18 C0/65F9: 4A LSR A C0/65FA: 4A LSR A C0/65FB: 4A LSR A C0/65FC: AA TAX C0/65FD: A51A LDA $1A C0/65FF: 3F1D67C0 AND $C0671D,X C0/6603: 0A ASL A C0/6604: 851A STA $1A C0/6606: B97C08 LDA $087C,Y C0/6609: 2920 AND #$20 C0/660B: F002 BEQ $660F C0/660D: 061A ASL $1A C0/660F: B98908 LDA $0889,Y C0/6612: 0A ASL A C0/6613: 18 CLC C0/6614: 651A ADC $1A C0/6616: 851A STA $1A C0/6618: BB TYX C0/6619: B98C08 LDA $088C,Y C0/661C: 29C0 AND #$C0 C0/661E: F00A BEQ $662A C0/6620: C940 CMP #$40 C0/6622: D003 BNE $6627 C0/6624: 4C7B66 JMP $667B
C0/6627: 4CCC66 JMP $66CC
C0/662A unknow
C0/662A: C220 REP #$20 (16 bit accum./memory) C0/662C: A5D4 LDA $D4 C0/662E: 38 SEC C0/662F: E90400 SBC #$0004 C0/6632: 85D4 STA $D4 C0/6634: A8 TAY C0/6635: A51A LDA $1A C0/6637: 994203 STA $0342,Y C0/663A: 7B TDC C0/663B: E220 SEP #$20 (8 bit accum./memory) C0/663D: BD7C08 LDA $087C,X C0/6640: 2920 AND #$20 C0/6642: F004 BEQ $6648 C0/6644: B9007A LDA $7A00,Y C0/6647: 0A ASL A C0/6648: 851C STA $1C C0/664A: A51E LDA $1E C0/664C: 994003 STA $0340,Y C0/664F: A522 LDA $22 C0/6651: 994103 STA $0341,Y C0/6654: B90078 LDA $7800,Y C0/6657: AA TAX C0/6658: A51F LDA $1F C0/665A: 4A LSR A C0/665B: B00D BCS $666A C0/665D: BD0405 LDA $0504,X C0/6660: 390079 AND $7900,Y C0/6663: 051C ORA $1C C0/6665: 9D0405 STA $0504,X C0/6668: 800E BRA $6678 C0/666A: BD0405 LDA $0504,X C0/666D: 390079 AND $7900,Y C0/6670: 19007A ORA $7A00,Y C0/6673: 051C ORA $1C C0/6675: 9D0405 STA $0504,X C0/6678: 4C345B JMP $5B34
C0/667B unknow
C0/667B: C220 REP #$20 (16 bit accum./memory) C0/667D: A5D6 LDA $D6 C0/667F: 38 SEC C0/6680: E90400 SBC #$0004 C0/6683: 85D6 STA $D6 C0/6685: A8 TAY C0/6686: A51A LDA $1A C0/6688: 990203 STA $0302,Y C0/668B: 7B TDC C0/668C: E220 SEP #$20 (8 bit accum./memory) C0/668E: BD7C08 LDA $087C,X C0/6691: 2920 AND #$20 C0/6693: F004 BEQ $6699 C0/6695: B9007A LDA $7A00,Y C0/6698: 0A ASL A C0/6699: 851C STA $1C C0/669B: A51E LDA $1E C0/669D: 990003 STA $0300,Y C0/66A0: A522 LDA $22 C0/66A2: 990103 STA $0301,Y C0/66A5: B90078 LDA $7800,Y C0/66A8: AA TAX C0/66A9: A51F LDA $1F C0/66AB: 4A LSR A C0/66AC: B00D BCS $66BB C0/66AE: BD0005 LDA $0500,X C0/66B1: 390079 AND $7900,Y C0/66B4: 051C ORA $1C C0/66B6: 9D0005 STA $0500,X C0/66B9: 800E BRA $66C9 C0/66BB: BD0005 LDA $0500,X C0/66BE: 390079 AND $7900,Y C0/66C1: 19007A ORA $7A00,Y C0/66C4: 051C ORA $1C C0/66C6: 9D0005 STA $0500,X C0/66C9: 4C345B JMP $5B34
C0/66CC unknow
C0/66CC: C220 REP #$20 (16 bit accum./memory) C0/66CE: A5D8 LDA $D8 C0/66D0: 38 SEC C0/66D1: E90400 SBC #$0004 C0/66D4: 85D8 STA $D8 C0/66D6: A8 TAY C0/66D7: A51A LDA $1A C0/66D9: 99C204 STA $04C2,Y C0/66DC: 7B TDC C0/66DD: E220 SEP #$20 (8 bit accum./memory) C0/66DF: BD7C08 LDA $087C,X C0/66E2: 2920 AND #$20 C0/66E4: F004 BEQ $66EA C0/66E6: B9007A LDA $7A00,Y C0/66E9: 0A ASL A C0/66EA: 851C STA $1C C0/66EC: A51E LDA $1E C0/66EE: 99C004 STA $04C0,Y C0/66F1: A522 LDA $22 C0/66F3: 99C104 STA $04C1,Y C0/66F6: B90078 LDA $7800,Y C0/66F9: AA TAX C0/66FA: A51F LDA $1F C0/66FC: 4A LSR A C0/66FD: B00D BCS $670C C0/66FF: BD1C05 LDA $051C,X C0/6702: 390079 AND $7900,Y C0/6705: 051C ORA $1C C0/6707: 9D1C05 STA $051C,X C0/670A: 800E BRA $671A C0/670C: BD1C05 LDA $051C,X C0/670F: 390079 AND $7900,Y C0/6712: 19007A ORA $7A00,Y C0/6715: 051C ORA $1C C0/6717: 9D1C05 STA $051C,X C0/671A: 4C345B JMP $5B34
C0/671D unknow
C0/671D: 0000 C0/671F: 0103
C0/6721 unknow
C0/6721: 48 PHA C0/6722: DA PHX C0/6723: 5A PHY C0/6724: A52B LDA $2B C0/6726: 4A LSR A C0/6727: B00F BCS $6738 C0/6729: B90078 LDA $7800,Y C0/672C: AA TAX C0/672D: BD0405 LDA $0504,X C0/6730: 390079 AND $7900,Y C0/6733: 9D0405 STA $0504,X C0/6736: 8010 BRA $6748 C0/6738: B90078 LDA $7800,Y C0/673B: AA TAX C0/673C: BD0405 LDA $0504,X C0/673F: 390079 AND $7900,Y C0/6742: 19007A ORA $7A00,Y C0/6745: 9D0405 STA $0504,X C0/6748: 7A PLY C0/6749: FA PLX C0/674A: 68 PLA C0/674B: 60 RTS
C0/674C unknow
C0/674C: 48 PHA C0/674D: DA PHX C0/674E: 5A PHY C0/674F: A52B LDA $2B C0/6751: 4A LSR A C0/6752: B00F BCS $6763 C0/6754: B90078 LDA $7800,Y C0/6757: AA TAX C0/6758: BD1005 LDA $0510,X C0/675B: 390079 AND $7900,Y C0/675E: 9D1005 STA $0510,X C0/6761: 8010 BRA $6773 C0/6763: B90078 LDA $7800,Y C0/6766: AA TAX C0/6767: BD1005 LDA $0510,X C0/676A: 390079 AND $7900,Y C0/676D: 19007A ORA $7A00,Y C0/6770: 9D1005 STA $0510,X C0/6773: 7A PLY C0/6774: FA PLX C0/6775: 68 PLA C0/6776: 60 RTS
C0/6777 unknow
C0/6777: 000C BRK #$0C C0/6779: 18 CLC C0/677A: 249C BIT $9C C0/677C: 0C42A9 TSB $A942 C0/677F: 418D EOR ($8D,X) C0/6781: 0043 BRK #$43 C0/6783: A980 LDA #$80 C0/6785: 8D1521 STA $2115 C0/6788: A918 LDA #$18 C0/678A: 8D0143 STA $4301 C0/678D: A547 LDA $47 C0/678F: 2903 AND #$03 C0/6791: AA TAX C0/6792: BF7767C0 LDA $C06777,X C0/6796: 8548 STA $48 C0/6798: 6449 STZ $49 C0/679A: 8A TXA C0/679B: 0A ASL A C0/679C: AA TAX C0/679D: C220 REP #$20 (16 bit accum./memory) C0/679F: BF3C69C0 LDA $C0693C,X C0/67A3: 8514 STA $14 C0/67A5: A90600 LDA #$0006 C0/67A8: 8518 STA $18 C0/67AA: 9C0B42 STZ $420B (turn off DMA) C0/67AD: A648 LDX $48 C0/67AF: BCF710 LDY $10F7,X C0/67B2: C0B007 CPY #$07B0 C0/67B5: D003 BNE $67BA C0/67B7: 4C6668 JMP $6866
C0/67BA: B97908 LDA $0879,Y C0/67BD: 29FF00 AND #$00FF C0/67C0: 0A ASL A C0/67C1: AA TAX C0/67C2: BFF2D0C0 LDA $C0D0F2,X C0/67C6: 850E STA $0E C0/67C8: BF3CD2C0 LDA $C0D23C,X C0/67CC: 8510 STA $10 C0/67CE: A614 LDX $14 C0/67D0: BF4469C0 LDA $C06944,X C0/67D4: 8D1621 STA $2116 C0/67D7: 18 CLC C0/67D8: 690001 ADC #$0100 C0/67DB: 8516 STA $16 C0/67DD: B97608 LDA $0876,Y C0/67E0: 293F00 AND #$003F C0/67E3: 0A ASL A C0/67E4: 0A ASL A C0/67E5: 8512 STA $12 C0/67E7: 0A ASL A C0/67E8: 18 CLC C0/67E9: 6512 ADC $12 C0/67EB: AA TAX C0/67EC: A00100 LDY #$0001 C0/67EF: BF3ACEC0 LDA $C0CE3A,X C0/67F3: 18 CLC C0/67F4: 650E ADC $0E C0/67F6: 8D0243 STA $4302 C0/67F9: 7B TDC C0/67FA: 6510 ADC $10 C0/67FC: 8D0443 STA $4304 C0/67FF: 8C0B42 STY $420B C0/6802: BF3CCEC0 LDA $C0CE3C,X C0/6806: 18 CLC C0/6807: 650E ADC $0E C0/6809: 8D0243 STA $4302 C0/680C: 7B TDC C0/680D: 6510 ADC $10 C0/680F: 8D0443 STA $4304 C0/6812: 8C0B42 STY $420B C0/6815: BF42CEC0 LDA $C0CE42,X C0/6819: 18 CLC C0/681A: 650E ADC $0E C0/681C: 8D0243 STA $4302 C0/681F: 7B TDC C0/6820: 6510 ADC $10 C0/6822: 8D0443 STA $4304 C0/6825: 8C0B42 STY $420B C0/6828: BF44CEC0 LDA $C0CE44,X C0/682C: 18 CLC C0/682D: 650E ADC $0E C0/682F: 8D0243 STA $4302 C0/6832: 7B TDC C0/6833: 6510 ADC $10 C0/6835: 8D0443 STA $4304 C0/6838: 8C0B42 STY $420B C0/683B: A516 LDA $16 C0/683D: 8D1621 STA $2116 C0/6840: BF3ECEC0 LDA $C0CE3E,X C0/6844: 18 CLC C0/6845: 650E ADC $0E C0/6847: 8D0243 STA $4302 C0/684A: 7B TDC C0/684B: 6510 ADC $10 C0/684D: 8D0443 STA $4304 C0/6850: 8C0B42 STY $420B C0/6853: BF40CEC0 LDA $C0CE40,X C0/6857: 18 CLC C0/6858: 650E ADC $0E C0/685A: 8D0243 STA $4302 C0/685D: 7B TDC C0/685E: 6510 ADC $10 C0/6860: 8D0443 STA $4304 C0/6863: 8C0B42 STY $420B C0/6866: E614 INC $14 C0/6868: E614 INC $14 C0/686A: E648 INC $48 C0/686C: E648 INC $48 C0/686E: C618 DEC $18 C0/6870: F003 BEQ $6875 C0/6872: 4CAA67 JMP $67AA
C0/6875: 7B TDC C0/6876: E220 SEP #$20 (8 bit accum./memory) C0/6878: 60 RTS
C0/6879 unknow
C0/6879: 9C0C42 STZ $420C C0/687C: 8E1621 STX $2116 C0/687F: C220 REP #$20 (16 bit accum./memory) C0/6881: 293F00 AND #$003F C0/6884: 0A ASL A C0/6885: 0A ASL A C0/6886: 8512 STA $12 C0/6888: 0A ASL A C0/6889: 18 CLC C0/688A: 6512 ADC $12 C0/688C: 8512 STA $12 C0/688E: ADFB11 LDA $11FB C0/6891: 29FF00 AND #$00FF C0/6894: 0A ASL A C0/6895: AA TAX C0/6896: BFF2D0C0 LDA $C0D0F2,X C0/689A: 850E STA $0E C0/689C: BF3CD2C0 LDA $C0D23C,X C0/68A0: 8510 STA $10 C0/68A2: 7B TDC C0/68A3: E220 SEP #$20 (8 bit accum./memory) C0/68A5: 9C0B42 STZ $420B (turn off DMA) C0/68A8: A941 LDA #$41 C0/68AA: 8D0043 STA $4300 C0/68AD: A980 LDA #$80 C0/68AF: 8D1521 STA $2115 C0/68B2: A918 LDA #$18 C0/68B4: 8D0143 STA $4301 C0/68B7: C220 REP #$20 (16 bit accum./memory) C0/68B9: A612 LDX $12 C0/68BB: A00100 LDY #$0001 C0/68BE: BF3ACEC0 LDA $C0CE3A,X C0/68C2: 18 CLC C0/68C3: 650E ADC $0E C0/68C5: 8D0243 STA $4302 C0/68C8: 7B TDC C0/68C9: 6510 ADC $10 C0/68CB: 8D0443 STA $4304 C0/68CE: 8C0B42 STY $420B C0/68D1: BF3CCEC0 LDA $C0CE3C,X C0/68D5: 18 CLC C0/68D6: 650E ADC $0E C0/68D8: 8D0243 STA $4302 C0/68DB: 7B TDC C0/68DC: 6510 ADC $10 C0/68DE: 8D0443 STA $4304 C0/68E1: 8C0B42 STY $420B C0/68E4: BF3ECEC0 LDA $C0CE3E,X C0/68E8: 18 CLC C0/68E9: 650E ADC $0E C0/68EB: 8D0243 STA $4302 C0/68EE: 7B TDC C0/68EF: 6510 ADC $10 C0/68F1: 8D0443 STA $4304 C0/68F4: 8C0B42 STY $420B C0/68F7: BF40CEC0 LDA $C0CE40,X C0/68FB: 18 CLC C0/68FC: 650E ADC $0E C0/68FE: 8D0243 STA $4302 C0/6901: 7B TDC C0/6902: 6510 ADC $10 C0/6904: 8D0443 STA $4304 C0/6907: 8C0B42 STY $420B C0/690A: BF42CEC0 LDA $C0CE42,X C0/690E: 18 CLC C0/690F: 650E ADC $0E C0/6911: 8D0243 STA $4302 C0/6914: 7B TDC C0/6915: 6510 ADC $10 C0/6917: 8D0443 STA $4304 C0/691A: 8C0B42 STY $420B C0/691D: BF44CEC0 LDA $C0CE44,X C0/6921: 18 CLC C0/6922: 650E ADC $0E C0/6924: 8D0243 STA $4302 C0/6927: 7B TDC C0/6928: 6510 ADC $10 C0/692A: 8D0443 STA $4304 C0/692D: 8C0B42 STY $420B C0/6930: 7B TDC C0/6931: E220 SEP #$20 (8 bit accum./memory) C0/6933: 60 RTS
C0/6934 unknow
C0/6934: 0000 BRK #$00 C0/6936: F600 INC $00,X C0/6938: EC01E2 CPX $E201 C0/693B: 0200 COP #$00 C0/693D: 000C BRK #$0C C0/693F: 0018 BRK #$18 C0/6941: 0024 BRK #$24 C0/6943: 00 BRK #$00
C0/6944 unknow
C0/6944: 0060 C0/6946: 4060 C0/6948: 8060 C0/694A: C060 C0/694C: 0062 C0/694E: 4062 C0/6950: 8062 C0/6952: C062 C0/6954: 0064 C0/6956: 4064 C0/6958: 8064 C0/695A: C064 C0/695C: 0066 C0/695E: 4066 C0/6960: 8066 C0/6962: C066 C0/6964: 0068 C0/6966: 4068 C0/6968: 8068 C0/696A: C068 C0/696C: 006A C0/696E: 406A C0/6970: 806A C0/6972: C06A
C0/6974 unknow
C0/6974: A600 LDA #$00 C0/6976: 8A TXA C0/6977: 9F00607E STA $7E6000,X C0/697B: E8 INX C0/697C: E0006C CPX #$6C00 C0/697F: D0F6 BNE $6977 C0/6981: A600 LDX $00 C0/6983: 861E STX $1E C0/6985: 8622 STX $22 C0/6987: A20060 LDX #$6000 C0/698A: 8636 STX $36 C0/698C: A97E LDA #$7E C0/698E: 8538 STA $38 C0/6990: A61E LDX $1E C0/6992: BFF2D0C0 LDA $C0D0F2,X (Loads pointer to Map character graphics) C0/6996: 852A STA $2A C0/6998: 1A INC A C0/6999: 852D STA $2D C0/699B: 18 CLC C0/699C: 690F ADC #$0F C0/699E: 8530 STA $30 C0/69A0: 1A INC A C0/69A1: 8533 STA $33 C0/69A3: BFF3D0C0 LDA $C0D0F3,X (Loads pointer to Map character graphcis) C0/69A7: 852B STA $2B C0/69A9: 852E STA $2E C0/69AB: 8531 STA $31 C0/69AD: 8534 STA $34 C0/69AF: BF3CD2C0 LDA $C0D23C,X Map char gfx: bank pointers and number of bytes to copy C0/69B3: 852C STA $2C C0/69B5: 852F STA $2F C0/69B7: 8532 STA $32 C0/69B9: 8535 STA $35 C0/69BB: A600 LDX $00 C0/69BD: 8620 STX $20 C0/69BF: C220 REP #$20 (16 bit accum./memory) C0/69C1: A620 LDX $20 C0/69C3: BF46CEC0 LDA $C0CE46,X C0/69C7: 8524 STA $24 C0/69C9: 7B TDC C0/69CA: E220 SEP #$20 (8 bit accum./memory) C0/69CC: A908 LDA #$08 C0/69CE: 851A STA $1A C0/69D0: A424 LDY $24 C0/69D2: B72D LDA [$2D],Y C0/69D4: 1730 ORA [$30],Y C0/69D6: 1733 ORA [$33],Y C0/69D8: 4502 EOR $02 C0/69DA: 372A AND [$2A],Y C0/69DC: C8 INY C0/69DD: C8 INY C0/69DE: 8424 STY $24 C0/69E0: A422 LDY $22 C0/69E2: 9736 STA [$36],Y C0/69E4: C8 INY C0/69E5: C8 INY C0/69E6: 8422 STY $22 C0/69E8: C61A DEC $1A C0/69EA: D0E4 BNE $69D0 C0/69EC: C221 REP #$21 C0/69EE: A522 LDA $22 C0/69F0: 691000 ADC #$0010 C0/69F3: 8522 STA $22 C0/69F5: 7B TDC C0/69F6: E220 SEP #$20 (8 bit accum./memory) C0/69F8: A620 LDX $20 C0/69FA: E8 INX C0/69FB: E8 INX C0/69FC: 8620 STX $20 C0/69FE: E06C00 CPX #$006C C0/6A01: D0BC BNE $69BF C0/6A03: 60 RTS
C0/6A04 unknow
C0/6A04: AD8811 LDA $1188 C0/6A07: 2940 AND #$40 C0/6A09: D001 BNE $6A0C C0/6A0B: 60 RTS
C0/6A0C: AE8911 LDX $1189 C0/6A0F: 8E0442 STX $4204 C0/6A12: A93C LDA #$3C C0/6A14: 8D0642 STA $4206 C0/6A17: EA NOP C0/6A18: EA NOP C0/6A19: EA NOP C0/6A1A: EA NOP C0/6A1B: EA NOP C0/6A1C: EA NOP C0/6A1D: EA NOP C0/6A1E: AE1442 LDX $4214 C0/6A21: 8E0442 STX $4204 C0/6A24: A90A LDA #$0A C0/6A26: 8D0642 STA $4206 C0/6A29: EA NOP C0/6A2A: EA NOP C0/6A2B: EA NOP C0/6A2C: EA NOP C0/6A2D: EA NOP C0/6A2E: EA NOP C0/6A2F: EA NOP C0/6A30: AD1642 LDA $4216 C0/6A33: 851D STA $1D C0/6A35: AE1442 LDX $4214 C0/6A38: 8E0442 STX $4204 C0/6A3B: A906 LDA #$06 C0/6A3D: 8D0642 STA $4206 C0/6A40: EA NOP C0/6A41: EA NOP C0/6A42: EA NOP C0/6A43: EA NOP C0/6A44: EA NOP C0/6A45: EA NOP C0/6A46: EA NOP C0/6A47: AD1642 LDA $4216 C0/6A4A: 851C STA $1C C0/6A4C: AE1442 LDX $4214 C0/6A4F: 8E0442 STX $4204 C0/6A52: A90A LDA #$0A C0/6A54: 8D0642 STA $4206 C0/6A57: EA NOP C0/6A58: EA NOP C0/6A59: EA NOP C0/6A5A: EA NOP C0/6A5B: EA NOP C0/6A5C: EA NOP C0/6A5D: EA NOP C0/6A5E: AD1642 LDA $4216 C0/6A61: 851B STA $1B C0/6A63: AD1442 LDA $4214 C0/6A66: 851A STA $1A C0/6A68: A9CC LDA #$CC C0/6A6A: 8D0D03 STA $030D C0/6A6D: 8D1103 STA $0311 C0/6A70: 8D1503 STA $0315 C0/6A73: 8D1903 STA $0319 C0/6A76: 8D1D03 STA $031D C0/6A79: A9C8 LDA #$C8 C0/6A7B: 8D0C03 STA $030C C0/6A7E: A9D0 LDA #$D0 C0/6A80: 8D1003 STA $0310 C0/6A83: A9D8 LDA #$D8 C0/6A85: 8D1C03 STA $031C C0/6A88: A9E0 LDA #$E0 C0/6A8A: 8D1403 STA $0314 C0/6A8D: A9E8 LDA #$E8 C0/6A8F: 8D1803 STA $0318 C0/6A92: A931 LDA #$31 C0/6A94: 8D0F03 STA $030F C0/6A97: 8D1303 STA $0313 C0/6A9A: 8D1703 STA $0317 C0/6A9D: 8D1B03 STA $031B C0/6AA0: 8D1F03 STA $031F C0/6AA3: A984 LDA #$84 C0/6AA5: 8D1E03 STA $031E C0/6AA8: A51A LDA $1A C0/6AAA: AA TAX C0/6AAB: BFD16AC0 LDA $C06AD1,X C0/6AAF: 8D0E03 STA $030E C0/6AB2: A51B LDA $1B C0/6AB4: AA TAX C0/6AB5: BFD16AC0 LDA $C06AD1,X C0/6AB9: 8D1203 STA $0312 C0/6ABC: A51C LDA $1C C0/6ABE: AA TAX C0/6ABF: BFD16AC0 LDA $C06AD1,X C0/6AC3: 8D1603 STA $0316 C0/6AC6: A51D LDA $1D C0/6AC8: AA TAX C0/6AC9: BFD16AC0 LDA $C06AD1,X C0/6ACD: 8D1A03 STA $031A C0/6AD0: 60 RTS
C0/6AD1 unknow
C0/6AD1: 60 C0/6AD2: 62 C0/6AD3: 64 C0/6AD4: 66 C0/6AD5: 68 C0/6AD6: 6A C0/6AD7: 6C C0/6AD8: 6E C0/6AD9: 80 C0/6ADA: 82
C0/6ADB unknow
C0/6ADB: AD2105 LDA $0521 (from C0/BFA3) C0/6ADE: 3001 BMI $6AE1 C0/6AE0: 60 RTS
C0/6AE1 unknow
C0/6AE1: A980 LDA #$80 (from C0/6ADE) C0/6AE3: 8D1521 STA $2115 C0/6AE6: A20076 LDX #$7600 C0/6AE9: 8E1621 STX $2116 C0/6AEC: A600 LDX $00 C0/6AEE: BF008BC4 LDA $C48B00,X C0/6AF2: 5F018BC4 EOR $C48B01,X C0/6AF6: 8D1821 STA $2118 C0/6AF9: BF018BC4 LDA $C48B01,X C0/6AFD: 8D1921 STA $2119 C0/6B00: BF028BC4 LDA $C48B02,X C0/6B04: 5F038BC4 EOR $C48B03,X C0/6B08: 8D1821 STA $2118 C0/6B0B: BF038BC4 LDA $C48B03,X C0/6B0F: 8D1921 STA $2119 C0/6B12: BF048BC4 LDA $C48B04,X C0/6B16: 5F058BC4 EOR $C48B05,X C0/6B1A: 8D1821 STA $2118 C0/6B1D: BF058BC4 LDA $C48B05,X C0/6B21: 8D1921 STA $2119 C0/6B24: BF068BC4 LDA $C48B06,X C0/6B28: 5F078BC4 EOR $C48B07,X C0/6B2C: 8D1821 STA $2118 C0/6B2F: BF078BC4 LDA $C48B07,X C0/6B33: 8D1921 STA $2119 C0/6B36: BF088BC4 LDA $C48B08,X C0/6B3A: 5F098BC4 EOR $C48B09,X C0/6B3E: 8D1821 STA $2118 C0/6B41: BF098BC4 LDA $C48B09,X C0/6B45: 8D1921 STA $2119 C0/6B48: BF0A8BC4 LDA $C48B0A,X C0/6B4C: 5F0B8BC4 EOR $C48B0B,X C0/6B50: 8D1821 STA $2118 C0/6B53: BF0B8BC4 LDA $C48B0B,X C0/6B57: 8D1921 STA $2119 C0/6B5A: BF0C8BC4 LDA $C48B0C,X C0/6B5E: 5F0D8BC4 EOR $C48B0D,X C0/6B62: 8D1821 STA $2118 C0/6B65: BF0D8BC4 LDA $C48B0D,X C0/6B69: 8D1921 STA $2119 C0/6B6C: BF0E8BC4 LDA $C48B0E,X C0/6B70: 5F0F8BC4 EOR $C48B0F,X C0/6B74: 8D1821 STA $2118 C0/6B77: BF0F8BC4 LDA $C48B0F,X C0/6B7B: 8D1921 STA $2119 C0/6B7E: A01800 LDY #$0018 C0/6B81: 9C1821 STZ $2118 C0/6B84: 9C1921 STZ $2119 C0/6B87: 88 DEY C0/6B88: D0F7 BNE $6B81 C0/6B8A: C221 REP #$21 C0/6B8C: 8A TXA C0/6B8D: 691000 ADC #$0010 C0/6B90: AA TAX C0/6B91: 7B TDC C0/6B92: E220 SEP #$20 (8 bit accum./memory) C0/6B94: E08000 CPX #$0080 C0/6B97: F003 BEQ $6B9C C0/6B99: 4CEE6A JMP $6AEE
C0/6B9C: A00001 LDY #$0100 C0/6B9F: 9C1821 STZ $2118 C0/6BA2: 9C1921 STZ $2119 C0/6BA5: 88 DEY C0/6BA6: D0F7 BNE $6B9F C0/6BA8: BF008BC4 LDA $C48B00,X C0/6BAC: 5F018BC4 EOR $C48B01,X C0/6BB0: 8D1821 STA $2118 C0/6BB3: BF018BC4 LDA $C48B01,X C0/6BB7: 8D1921 STA $2119 C0/6BBA: BF028BC4 LDA $C48B02,X C0/6BBE: 5F038BC4 EOR $C48B03,X C0/6BC2: 8D1821 STA $2118 C0/6BC5: BF038BC4 LDA $C48B03,X C0/6BC9: 8D1921 STA $2119 C0/6BCC: BF048BC4 LDA $C48B04,X C0/6BD0: 5F058BC4 EOR $C48B05,X C0/6BD4: 8D1821 STA $2118 C0/6BD7: BF058BC4 LDA $C48B05,X C0/6BDB: 8D1921 STA $2119 C0/6BDE: BF068BC4 LDA $C48B06,X C0/6BE2: 5F078BC4 EOR $C48B07,X C0/6BE6: 8D1821 STA $2118 C0/6BE9: BF078BC4 LDA $C48B07,X C0/6BED: 8D1921 STA $2119 C0/6BF0: BF088BC4 LDA $C48B08,X C0/6BF4: 5F098BC4 EOR $C48B09,X C0/6BF8: 8D1821 STA $2118 C0/6BFB: BF098BC4 LDA $C48B09,X C0/6BFF: 8D1921 STA $2119 C0/6C02: BF0A8BC4 LDA $C48B0A,X C0/6C06: 5F0B8BC4 EOR $C48B0B,X C0/6C0A: 8D1821 STA $2118 C0/6C0D: BF0B8BC4 LDA $C48B0B,X C0/6C11: 8D1921 STA $2119 C0/6C14: BF0C8BC4 LDA $C48B0C,X C0/6C18: 5F0D8BC4 EOR $C48B0D,X C0/6C1C: 8D1821 STA $2118 C0/6C1F: BF0D8BC4 LDA $C48B0D,X C0/6C23: 8D1921 STA $2119 C0/6C26: BF0E8BC4 LDA $C48B0E,X C0/6C2A: 5F0F8BC4 EOR $C48B0F,X C0/6C2E: 8D1821 STA $2118 C0/6C31: BF0F8BC4 LDA $C48B0F,X C0/6C35: 8D1921 STA $2119 C0/6C38: A01800 LDY #$0018 C0/6C3B: 9C1821 STZ $2118 C0/6C3E: 9C1921 STZ $2119 C0/6C41: 88 DEY C0/6C42: D0F7 BNE $6C3B C0/6C44: C221 REP #$21 C0/6C46: 8A TXA C0/6C47: 691000 ADC #$0010 C0/6C4A: AA TAX C0/6C4B: 7B TDC C0/6C4C: E220 SEP #$20 (8 bit accum./memory) C0/6C4E: E0A000 CPX #$00A0 C0/6C51: F003 BEQ $6C56 C0/6C53: 4CA86B JMP $6BA8
C0/6C56: AFD08BC4 LDA $C48BD0 C0/6C5A: 4FD18BC4 EOR $C48BD1 C0/6C5E: 8D1821 STA $2118 C0/6C61: AFD18BC4 LDA $C48BD1 C0/6C65: 8D1921 STA $2119 C0/6C68: AFD28BC4 LDA $C48BD2 C0/6C6C: 4FD38BC4 EOR $C48BD3 C0/6C70: 8D1821 STA $2118 C0/6C73: AFD38BC4 LDA $C48BD3 C0/6C77: 8D1921 STA $2119 C0/6C7A: AFD48BC4 LDA $C48BD4 C0/6C7E: 4FD58BC4 EOR $C48BD5 C0/6C82: 8D1821 STA $2118 C0/6C85: AFD58BC4 LDA $C48BD5 C0/6C89: 8D1921 STA $2119 C0/6C8C: AFD68BC4 LDA $C48BD6 C0/6C90: 4FD78BC4 EOR $C48BD7 C0/6C94: 8D1821 STA $2118 C0/6C97: AFD78BC4 LDA $C48BD7 C0/6C9B: 8D1921 STA $2119 C0/6C9E: AFD88BC4 LDA $C48BD8 C0/6CA2: 4FD98BC4 EOR $C48BD9 C0/6CA6: 8D1821 STA $2118 C0/6CA9: AFD98BC4 LDA $C48BD9 C0/6CAD: 8D1921 STA $2119 C0/6CB0: AFDA8BC4 LDA $C48BDA C0/6CB4: 4FDB8BC4 EOR $C48BDB C0/6CB8: 8D1821 STA $2118 C0/6CBB: AFDB8BC4 LDA $C48BDB C0/6CBF: 8D1921 STA $2119 C0/6CC2: AFDC8BC4 LDA $C48BDC C0/6CC6: 4FDD8BC4 EOR $C48BDD C0/6CCA: 8D1821 STA $2118 C0/6CCD: AFDD8BC4 LDA $C48BDD C0/6CD1: 8D1921 STA $2119 C0/6CD4: AFDE8BC4 LDA $C48BDE C0/6CD8: 4FDF8BC4 EOR $C48BDF C0/6CDC: 8D1821 STA $2118 C0/6CDF: AFDF8BC4 LDA $C48BDF C0/6CE3: 8D1921 STA $2119 C0/6CE6: A0A001 LDY #$01A0 C0/6CE9: 9C1821 STZ $2118 C0/6CEC: 9C1921 STZ $2119 C0/6CEF: 88 DEY C0/6CF0: D0F7 BNE $6CE9 C0/6CF2: 60 RTS
C0/6CF3 unknow
C0/6CF3: 9CDF11 STZ $11DF (from C0/A032, C0/B094, C0/BF97) C0/6CF6: A400 LDY $00 C0/6CF8: 641B STZ $1B C0/6CFA: B96708 LDA $0867,Y C0/6CFD: 2940 AND #$40 C0/6CFF: F013 BEQ $6D14 C0/6D01: B96708 LDA $0867,Y C0/6D04: 2907 AND #$07 C0/6D06: CD6D1A CMP $1A6D (Is this the active party?) C0/6D09: D009 BNE $6D14 C0/6D0B: 5A PHY C0/6D0C: A51B LDA $1B (load current character) C0/6D0E: 220600C2 JSL $C20006 ("Equipment check function," enforces stat caps, etc) C0/6D12: 7B TDC C0/6D13: 7A PLY C0/6D14: C221 REP #$21 C0/6D16: 98 TYA C0/6D17: 692900 ADC #$0029 (increment for next character) C0/6D1A: A8 TAY C0/6D1B: 7B TDC C0/6D1C: E220 SEP #$20 (8 bit accum./memory) C0/6D1E: E61B INC $1B C0/6D20: C09002 CPY #$0290 (have we checked 16 characters?) C0/6D23: D0D5 BNE $6CFA (branch if not) C0/6D25: 60 RTS
C0/6D26 unknow
C0/6D26: ADB91E LDA $1EB9 C0/6D29: 2940 AND #$40 C0/6D2B: F049 BEQ $6D76 (Exit if party switching with Y disabled) C0/6D2D: AD8400 LDA $0084 C0/6D30: D044 BNE $6D76 C0/6D32: AD5E05 LDA $055E C0/6D35: D03F BNE $6D76 C0/6D37: A6E5 LDX $E5 C0/6D39: E00000 CPX #$0000 (CPX $00!) C0/6D3C: D038 BNE $6D76 C0/6D3E: A5E7 LDA $E7 C0/6D40: C9CA CMP #$CA C0/6D42: D032 BNE $6D76 C0/6D44: AC0308 LDY $0803 C0/6D47: B96908 LDA $0869,Y C0/6D4A: D02A BNE $6D76 C0/6D4C: B96A08 LDA $086A,Y C0/6D4F: 290F AND #$0F C0/6D51: D023 BNE $6D76 C0/6D53: B96C08 LDA $086C,Y C0/6D56: D01E BNE $6D76 C0/6D58: B96D08 LDA $086D,Y C0/6D5B: 290F AND #$0F C0/6D5D: D017 BNE $6D76 C0/6D5F: A507 LDA $07 C0/6D61: 2940 AND #$40 C0/6D63: D007 BNE $6D6C C0/6D65: A901 LDA #$01 C0/6D67: 8D6207 STA $0762 C0/6D6A: 800A BRA $6D76 C0/6D6C: AD6207 LDA $0762 C0/6D6F: F005 BEQ $6D76 C0/6D71: 9C6207 STZ $0762 C0/6D74: 8001 BRA $6D77 C0/6D76: 60 RTS
C0/6D77: AD6D1A LDA $1A6D (Load the active party) C0/6D7A: A8 TAY C0/6D7B: A5B2 LDA $B2 C0/6D7D: 99F31F STA $1FF3,Y C0/6D80: AD6D1A LDA $1A6D (Load the active party) C0/6D83: 1A INC A C0/6D84: C904 CMP #$04 C0/6D86: D002 BNE $6D8A C0/6D88: A901 LDA #$01 (Load 1) C0/6D8A: 8D6D1A STA $1A6D (Store this as the new active party) C0/6D8D: A920 LDA #$20 C0/6D8F: 851A STA $1A C0/6D91: A0D907 LDY #$07D9 C0/6D94: 8CFB07 STY $07FB C0/6D97: A400 LDY $00 C0/6D99: B96708 LDA $0867,Y C0/6D9C: 2940 AND #$40 C0/6D9E: C940 CMP #$40 C0/6DA0: D018 BNE $6DBA C0/6DA2: B96708 LDA $0867,Y C0/6DA5: 2907 AND #$07 C0/6DA7: CD6D1A CMP $1A6D (Is this the active party?) C0/6DAA: D00E BNE $6DBA C0/6DAC: B96708 LDA $0867,Y C0/6DAF: 2918 AND #$18 C0/6DB1: C51A CMP $1A C0/6DB3: B005 BCS $6DBA C0/6DB5: 851A STA $1A C0/6DB7: 8CFB07 STY $07FB C0/6DBA: C221 REP #$21 C0/6DBC: 98 TYA C0/6DBD: 692900 ADC #$0029 C0/6DC0: A8 TAY C0/6DC1: 7B TDC C0/6DC2: E220 SEP #$20 (8 bit accum./memory) C0/6DC4: C09002 CPY #$0290 C0/6DC7: D0D0 BNE $6D99 C0/6DC9: ACFB07 LDY $07FB C0/6DCC: C0D907 CPY #$07D9 C0/6DCF: F0A6 BEQ $6D77 C0/6DD1: ACFB07 LDY $07FB C0/6DD4: CC0308 CPY $0803 C0/6DD7: F06A BEQ $6E43 C0/6DD9: A2D907 LDX #$07D9 C0/6DDC: 8EFD07 STX $07FD C0/6DDF: 8EFF07 STX $07FF C0/6DE2: 8E0108 STX $0801 C0/6DE5: AE0308 LDX $0803 C0/6DE8: BD7C08 LDA $087C,X C0/6DEB: 997C08 STA $087C,Y C0/6DEE: 997D08 STA $087D,Y C0/6DF1: A900 LDA #$00 C0/6DF3: 9D7C08 STA $087C,X C0/6DF6: 9D7D08 STA $087D,X C0/6DF9: BD7F08 LDA $087F,X C0/6DFC: 0A ASL A C0/6DFD: 0A ASL A C0/6DFE: 0A ASL A C0/6DFF: 851A STA $1A C0/6E01: BD6808 LDA $0868,X C0/6E04: 29E7 AND #$E7 C0/6E06: 051A ORA $1A C0/6E08: 9D6808 STA $0868,X C0/6E0B: BE8D08 LDX $088D,Y C0/6E0E: E482 CPX $82 C0/6E10: D032 BNE $6E44 C0/6E12: A901 LDA #$01 C0/6E14: 8558 STA $58 C0/6E16: A980 LDA #$80 C0/6E18: 8DFA11 STA $11FA C0/6E1B: B97A08 LDA $087A,Y C0/6E1E: 8DC01F STA $1FC0 C0/6E21: 8D661F STA $1F66 C0/6E24: B97B08 LDA $087B,Y C0/6E27: 8DC11F STA $1FC1 C0/6E2A: 8D671F STA $1F67 C0/6E2D: 20560F JSR $0F56 C0/6E30: A901 LDA #$01 C0/6E32: 8584 STA $84 C0/6E34: 20886E JSR $6E88 C0/6E37: AD6D1A LDA $1A6D (Load the active party) C0/6E3A: A8 TAY C0/6E3B: B9F31F LDA $1FF3,Y C0/6E3E: 2903 AND #$03 C0/6E40: 8D4407 STA $0744 C0/6E43: 60 RTS
C0/6E44 unknow
C0/6E44: A980 LDA #$80 C0/6E46: 8DFA11 STA $11FA C0/6E49: C220 REP #$20 (16 bit accum./memory) C0/6E4B: B98D08 LDA $088D,Y C0/6E4E: 8D641F STA $1F64 C0/6E51: B96A08 LDA $086A,Y C0/6E54: 4A LSR A C0/6E55: 4A LSR A C0/6E56: 4A LSR A C0/6E57: 4A LSR A C0/6E58: E220 SEP #$20 (8 bit accum./memory) C0/6E5A: 8DC01F STA $1FC0 C0/6E5D: C220 REP #$20 (16 bit accum./memory) C0/6E5F: B96D08 LDA $086D,Y C0/6E62: 4A LSR A C0/6E63: 4A LSR A C0/6E64: 4A LSR A C0/6E65: 4A LSR A C0/6E66: E220 SEP #$20 (8 bit accum./memory) C0/6E68: 8DC11F STA $1FC1 C0/6E6B: 7B TDC C0/6E6C: 20560F JSR $0F56 C0/6E6F: A980 LDA #$80 C0/6E71: 8D4307 STA $0743 C0/6E74: A901 LDA #$01 C0/6E76: 8584 STA $84 C0/6E78: 20886E JSR $6E88 C0/6E7B: AD6D1A LDA $1A6D (Load the active party) C0/6E7E: A8 TAY C0/6E7F: B9F31F LDA $1FF3,Y C0/6E82: 2903 AND #$03 C0/6E84: 8D4407 STA $0744 C0/6E87: 60 RTS
C0/6E88 unknow
C0/6E88: A600 LDX $00 C0/6E8A: 9B TXY C0/6E8B: C221 REP #$21 C0/6E8D: BD8D08 LDA $088D,X C0/6E90: 99811F STA $1F81,Y C0/6E93: BD6A08 LDA $086A,X C0/6E96: 4A LSR A C0/6E97: 4A LSR A C0/6E98: 4A LSR A C0/6E99: 4A LSR A C0/6E9A: E220 SEP #$20 (8 bit accum./memory) C0/6E9C: 99D31F STA $1FD3,Y C0/6E9F: C220 REP #$20 (16 bit accum./memory) C0/6EA1: BD6D08 LDA $086D,X C0/6EA4: 4A LSR A C0/6EA5: 4A LSR A C0/6EA6: 4A LSR A C0/6EA7: 4A LSR A C0/6EA8: E220 SEP #$20 (8 bit accum./memory) C0/6EAA: 99D41F STA $1FD4,Y C0/6EAD: C221 REP #$21 C0/6EAF: 8A TXA C0/6EB0: 692900 ADC #$0029 C0/6EB3: AA TAX C0/6EB4: 7B TDC C0/6EB5: E220 SEP #$20 (8 bit accum./memory) C0/6EB7: C8 INY C0/6EB8: C8 INY C0/6EB9: C02000 CPY #$0020 C0/6EBC: D0CD BNE $6E8B C0/6EBE: 60 RTS
C0/6EBF unknow
C0/6EBF: A600 LDX $00 C0/6EC1: 9B TXY C0/6EC2: C221 REP #$21 C0/6EC4: B9811F LDA $1F81,Y C0/6EC7: 9D8D08 STA $088D,X C0/6ECA: 8A TXA C0/6ECB: 692900 ADC #$0029 C0/6ECE: AA TAX C0/6ECF: 7B TDC C0/6ED0: E220 SEP #$20 (8 bit accum./memory) C0/6ED2: C8 INY C0/6ED3: C8 INY C0/6ED4: C02000 CPY #$0020 C0/6ED7: D0E9 BNE $6EC2 C0/6ED9: 60 RTS
C0/6EDA unknow
C0/6EDA: A600 LDX $00 (from C0/BEF5) C0/6EDC: 9B TXY C0/6EDD: 7B TDC C0/6EDE: 9D6908 STA $0869,X C0/6EE1: 9D6C08 STA $086C,X C0/6EE4: BD8008 LDA $0880,X C0/6EE7: 0920 ORA #$20 C0/6EE9: 9D8008 STA $0880,X C0/6EEC: BD8108 LDA $0881,X C0/6EEF: 0920 ORA #$20 C0/6EF1: 9D8108 STA $0881,X C0/6EF4: C220 REP #$20 (16 bit accum./memory) C0/6EF6: B9D31F LDA $1FD3,Y C0/6EF9: 29FF00 AND #$00FF C0/6EFC: 0A ASL A C0/6EFD: 0A ASL A C0/6EFE: 0A ASL A C0/6EFF: 0A ASL A C0/6F00: 9D6A08 STA $086A,X C0/6F03: B9D41F LDA $1FD4,Y C0/6F06: 29FF00 AND #$00FF C0/6F09: 0A ASL A C0/6F0A: 0A ASL A C0/6F0B: 0A ASL A C0/6F0C: 0A ASL A C0/6F0D: 9D6D08 STA $086D,X C0/6F10: 8A TXA C0/6F11: 18 CLC C0/6F12: 692900 ADC #$0029 C0/6F15: AA TAX C0/6F16: 7B TDC C0/6F17: E220 SEP #$20 (8 bit accum./memory) C0/6F19: C8 INY C0/6F1A: C8 INY C0/6F1B: C02000 CPY #$0020 C0/6F1E: D0BD BNE $6EDD C0/6F20: 60 RTS
C0/6F21 unknow
C0/6F21: A600 LDX $00 C0/6F23: 9B TXY C0/6F24: BD8008 LDA $0880,X C0/6F27: 290E AND #$0E C0/6F29: 99701F STA $1F70,Y C0/6F2C: C221 REP #$21 C0/6F2E: 8A TXA C0/6F2F: 692900 ADC #$0029 C0/6F32: AA TAX C0/6F33: 7B TDC C0/6F34: E220 SEP #$20 (8 bit accum./memory) C0/6F36: C8 INY C0/6F37: C01000 CPY #$0010 C0/6F3A: D0E8 BNE $6F24 C0/6F3C: 60 RTS
C0/6F3D unknow
C0/6F3D: A600 LDX $00 (from C0/BD6E) C0/6F3F: 9B TXY C0/6F40: BD8008 LDA $0880,X C0/6F43: 29F1 AND #$F1 C0/6F45: 19701F ORA $1F70,Y C0/6F48: 9D8008 STA $0880,X C0/6F4B: BD8108 LDA $0881,X C0/6F4E: 29F1 AND #$F1 C0/6F50: 19701F ORA $1F70,Y C0/6F53: 9D8108 STA $0881,X C0/6F56: C221 REP #$21 C0/6F58: 8A TXA C0/6F59: 692900 ADC #$0029 C0/6F5C: AA TAX C0/6F5D: 7B TDC C0/6F5E: E220 SEP #$20 (8 bit accum./memory) C0/6F60: C8 INY C0/6F61: C01000 CPY #$0010 C0/6F64: D0DA BNE $6F40 C0/6F66: 60 RTS
C0/6F67 unknow
C0/6F67: AC0308 LDY $0803 (from C0/BF33) C0/6F6A: 841E STY $1E C0/6F6C: BE6A08 LDX $086A,Y C0/6F6F: 8626 STX $26 C0/6F71: BE6D08 LDX $086D,Y C0/6F74: 8628 STX $28 C0/6F76: A920 LDA #$20 C0/6F78: 851A STA $1A ($1A = #$20) C0/6F7A: A600 LDX $00 C0/6F7C: 9B TXY C0/6F7D: B95018 LDA $1850,Y (Get roster information for character) C0/6F80: 2907 AND #$07 (Isolate character party) C0/6F82: CD6D1A CMP $1A6D (if he/she is in the active party) C0/6F85: D032 BNE $6FB9 (Jump if not) C0/6F87: C220 REP #$20 (Set 16 bit operation) C0/6F89: A526 LDA $26 C0/6F8B: 9D6A08 STA $086A,X C0/6F8E: A528 LDA $28 C0/6F90: 9D6D08 STA $086D,X C0/6F93: BD7A08 LDA $087A,X C0/6F96: 8520 STA $20 C0/6F98: 7B TDC C0/6F99: E220 SEP #$20 (Set 8 bit operation) C0/6F9B: 9D6908 STA $0869,X C0/6F9E: 9D6C08 STA $086C,X C0/6FA1: DA PHX C0/6FA2: A620 LDX $20 C0/6FA4: A9FF LDA #$FF C0/6FA6: 9F00207E STA $7E2000,X C0/6FAA: FA PLX C0/6FAB: B95018 LDA $1850,Y (Get roster information for character) C0/6FAE: 2918 AND #$18 (Get character's position in party) C0/6FB0: C51A CMP $1A C0/6FB2: B005 BCS $6FB9 C0/6FB4: 851A STA $1A C0/6FB6: 8EFB07 STX $07FB C0/6FB9: C221 REP #$21 C0/6FBB: 8A TXA C0/6FBC: 692900 ADC #$0029 (X = X + #$0029) C0/6FBF: AA TAX C0/6FC0: 7B TDC C0/6FC1: E220 SEP #$20 (8 bit accum./memory) C0/6FC3: C8 INY (Y = Y + #$1) C0/6FC4: C01000 CPY #$0010 C0/6FC7: D0B4 BNE $6F7D (Repeat for all 16 characters) C0/6FC9: AEFB07 LDX $07FB C0/6FCC: BD6708 LDA $0867,X C0/6FCF: 0980 ORA #$80 C0/6FD1: 9D6708 STA $0867,X C0/6FD4: E41E CPX $1E C0/6FD6: D003 BNE $6FDB C0/6FD8: 4C6570 JMP $7065
C0/6FDB: A41E LDY $1E C0/6FDD: C220 REP #$20 (16 bit accum./memory) C0/6FDF: B97A08 LDA $087A,Y C0/6FE2: 9D7A08 STA $087A,X C0/6FE5: 7B TDC C0/6FE6: E220 SEP #$20 (8 bit accum./memory) C0/6FE8: B98008 LDA $0880,Y C0/6FEB: 2930 AND #$30 C0/6FED: 851A STA $1A C0/6FEF: BD8008 LDA $0880,X C0/6FF2: 29CF AND #$CF C0/6FF4: 051A ORA $1A C0/6FF6: 9D8008 STA $0880,X C0/6FF9: B98108 LDA $0881,Y C0/6FFC: 2930 AND #$30 C0/6FFE: 851A STA $1A C0/7000: BD8108 LDA $0881,X C0/7003: 29CF AND #$CF C0/7005: 051A ORA $1A C0/7007: 9D8108 STA $0881,X C0/700A: B96808 LDA $0868,Y C0/700D: 9D6808 STA $0868,X C0/7010: B97E08 LDA $087E,Y C0/7013: 9D7E08 STA $087E,X C0/7016: B97F08 LDA $087F,Y C0/7019: 9D7F08 STA $087F,X C0/701C: B97708 LDA $0877,Y C0/701F: 9D7708 STA $0877,X C0/7022: B97C08 LDA $087C,Y C0/7025: 9D7C08 STA $087C,X C0/7028: 9D7D08 STA $087D,X C0/702B: A900 LDA #$00 C0/702D: 997C08 STA $087C,Y C0/7030: 997D08 STA $087D,Y C0/7033: 8C0442 STY $4204 C0/7036: A929 LDA #$29 C0/7038: 8D0642 STA $4206 C0/703B: B96708 LDA $0867,Y C0/703E: 297F AND #$7F C0/7040: 996708 STA $0867,Y C0/7043: EA NOP C0/7044: EA NOP C0/7045: EA NOP C0/7046: AC1442 LDY $4214 C0/7049: 995018 STA $1850,Y C0/704C: 8E0442 STX $4204 C0/704F: A929 LDA #$29 C0/7051: 8D0642 STA $4206 ($4206 = #$29) C0/7054: BD6708 LDA $0867,X C0/7057: 0980 ORA #$80 C0/7059: 9D6708 STA $0867,X C0/705C: EA NOP C0/705D: EA NOP C0/705E: EA NOP C0/705F: AC1442 LDY $4214 C0/7062: 995018 STA $1850,Y C0/7065: A0D907 LDY #$07D9 C0/7068: 8CFD07 STY $07FD C0/706B: 8CFF07 STY $07FF C0/706E: 8C0108 STY $0801 C0/7071: A901 LDA #$01 C0/7073: 8D9807 STA $0798 C0/7076: 60 RTS