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 C2B: Difference between revisions
< Final Fantasy VI | ROM map
Jump to navigation
Jump to search
(clean up) |
m (Xkeeper moved page Final Fantasy VI:ROM map/Assembly C2B to Final Fantasy VI/ROM map/Assembly C2B: normalize subpages and titles) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{subpage|game=Final Fantasy VI:ROM map}} | |||
==C2/AF97 unknow== | ==C2/AF97 unknow== | ||
C2/AF97: 02 08 COP $08 | C2/AF97: 02 08 COP $08 |
Latest revision as of 02:41, 24 January 2024
This is a sub-page of Final Fantasy VI/ROM map.
C2/AF97 unknow
C2/AF97: 02 08 COP $08 C2/AF99: 20 80 03 JSR $0380 C2/AF9C: 0C 30 C0 TSB $C030 C2/AF9F: 01 04 ORA ($04,X) C2/AFA1: 10 40 BPL $AFE3 C2/AFA3: 7B TDC C2/AFA4: A8 TAY C2/AFA5: 64 10 STZ $10 C2/AFA7: A5 10 LDA $10 C2/AFA9: 4A LSR C2/AFAA: 4A LSR C2/AFAB: 99 7F A1 STA $A17F,Y C2/AFAE: 99 80 A1 STA $A180,Y C2/AFB1: 99 81 A1 STA $A181,Y C2/AFB4: 99 82 A1 STA $A182,Y C2/AFB7: A5 10 LDA $10 C2/AFB9: 29 03 AA AND #$AA03 C2/AFBC: BF 97 AF C2 LDA $C2AF97,X C2/AFC0: 99 7F A3 STA $A37F,Y C2/AFC3: 99 80 A3 STA $A380,Y C2/AFC6: 99 81 A3 STA $A381,Y C2/AFC9: 99 82 A3 STA $A382,Y C2/AFCC: BF 9B AF C2 LDA $C2AF9B,X C2/AFD0: 99 7F A5 STA $A57F,Y C2/AFD3: 99 80 A5 STA $A580,Y C2/AFD6: 99 81 A5 STA $A581,Y C2/AFD9: 99 82 A5 STA $A582,Y C2/AFDC: BF 9F AF C2 LDA $C2AF9F,X C2/AFE0: 99 7F A7 STA $A77F,Y C2/AFE3: 99 80 A7 STA $A780,Y C2/AFE6: 99 81 A7 STA $A781,Y C2/AFE9: 99 82 A7 STA $A782,Y C2/AFEC: E6 10 INC $10 C2/AFEE: C8 INY C2/AFEF: C8 INY C2/AFF0: C8 INY C2/AFF1: C8 INY C2/AFF2: C0 00 02 CPY #$0200 C2/AFF5: D0 B0 BNE $AFA7 C2/AFF7: 6B RTL C2/AFF8: A6 5B LDX $5B C2/AFFA: E8 INX C2/AFFB: 86 5B STX $5B C2/AFFD: AE F6 7A LDX $7AF6 C2/B000: BD 88 6F LDA $6F88,X C2/B003: 10 01 BPL $B006 C2/B005: 6B RTL C2/B006: A7 5B LDA [$5B] C2/B008: C2 20 REP #$20 C2/B00A: 85 22 STA $22 C2/B00C: A5 5B LDA $5B C2/B00E: 18 CLC C2/B00F: 65 22 ADC $22 C2/B011: 85 5B STA $5B C2/B013: 7B TDC C2/B014: E2 20 SEP #$20 C2/B016: 6B RTL C2/B017: AE F6 7A LDX $7AF6 C2/B01A: BD 39 6A LDA $6A39,X C2/B01D: 30 06 BMI $B025 C2/B01F: A8 TAY C2/B020: B9 AE 61 LDA $61AE,Y C2/B023: F0 13 BEQ $B038 C2/B025: A0 01 LDY #$01 C2/B027: 00 B7 BRK $B7 C2/B029: 5B TCD C2/B02A: C2 20 REP #$20 C2/B02C: 85 22 STA $22 C2/B02E: A5 5B LDA $5B C2/B030: 18 CLC C2/B031: 65 22 ADC $22 C2/B033: 85 5B STA $5B C2/B035: 7B TDC C2/B036: E2 20 SEP #$20 C2/B038: A6 5B LDX $5B C2/B03A: E8 INX C2/B03B: 86 5B STX $5B C2/B03D: 6B RTL C2/B03E: A6 5B LDX $5B C2/B040: E8 INX C2/B041: 86 5B STX $5B C2/B043: AE F6 7A LDX $7AF6 C2/B046: AD 10 EC LDA $EC10 C2/B049: D0 01 BNE $B04C C2/B04B: 6B RTL C2/B04C: A7 5B LDA [$5B] C2/B04E: C2 20 REP #$20 C2/B050: 85 22 STA $22 C2/B052: A5 5B LDA $5B C2/B054: 18 CLC C2/B055: 65 22 ADC $22 C2/B057: 85 5B STA $5B C2/B059: 7B TDC C2/B05A: E2 20 SEP #$20 C2/B05C: 6B RTL C2/B05D: 8C 31 01 STY $0131 C2/B060: 04 1F TSB $1F C2/B062: 7C 1D 74 JMP ($741D,X) C2/B065: 19 64 17 ORA $1764,Y C2/B068: 5C 15 54 13 JMP $135415 C2/B06C: 4C 11 44 JMP $4411 C2/B06F: 0F 3C 0D 34 ORA $340D3C C2/B073: 0B PHD C2/B074: 2C 09 24 BIT $2409 C2/B077: 07 1C ORA [$1C] C2/B079: 05 14 ORA $14 C2/B07B: 03 0C ORA $0C,S C2/B07D: 00 00 BRK $00 C2/B07F: 00 00 BRK $00 C2/B081: 1A INC C2/B082: 00 13 BRK $13 C2/B084: 00 0D BRK $0D C2/B086: 00 FE BRK $FE C2/B088: 7F 80 03 C0 ADC $C00380,X C2/B08C: 01 00 ORA ($00,X) C2/B08E: 00 00 BRK $00 C2/B090: 00 FE BRK $FE C2/B092: 7F 3A 37 95 ADC $95373A,X C2/B096: 22 8B 1D F2 JSR $F21D8B C2/B09A: 28 PLP C2/B09B: 6E 18 00 ROR $0018 C2/B09E: 00 00 BRK $00 C2/B0A0: 00 FE BRK $FE C2/B0A2: 7F 37 67 71 ADC $716737,X C2/B0A6: 4A LSR C2/B0A7: 89 29 F8 BIT #$F829 C2/B0AA: 2E 8F 09 ROL $098F C2/B0AD: AD 35 63 LDA $6335 C2/B0B0: 0C FF 6F TSB $6FFF C2/B0B3: 08 PHP C2/B0B4: 21 F8 AND ($F8,X) C2/B0B6: 31 26 AND ($26),Y C2/B0B8: 29 C6 18 AND #$18C6 C2/B0BB: 72 01 ADC ($01) C2/B0BD: 02 04 COP $04 C2/B0BF: 06 08 ASL $08 C2/B0C1: 0A ASL C2/B0C2: 0C 0E 10 TSB $100E C2/B0C5: 00 00 BRK $00 C2/B0C7: FF FF FE FF SBC $FFFEFF,X C2/B0CB: FD FF 3D SBC $3DFF,X C2/B0CE: B1 3D LDA ($3D),Y C2/B0D0: B1 3D LDA ($3D),Y C2/B0D2: B1 3D LDA ($3D),Y C2/B0D4: B1 3D LDA ($3D),Y C2/B0D6: B1 3D LDA ($3D),Y C2/B0D8: B1 3D LDA ($3D),Y C2/B0DA: B1 AD LDA ($AD),Y C2/B0DC: B1 3D LDA ($3D),Y C2/B0DE: B1 3D LDA ($3D),Y C2/B0E0: B1 3D LDA ($3D),Y C2/B0E2: B1 3D LDA ($3D),Y C2/B0E4: B1 3D LDA ($3D),Y C2/B0E6: B1 18 LDA ($18),Y C2/B0E8: B2 3D LDA ($3D) C2/B0EA: B1 B8 LDA ($B8),Y C2/B0EC: B1 3D LDA ($3D),Y C2/B0EE: B1 3D LDA ($3D),Y C2/B0F0: B1 3D LDA ($3D),Y C2/B0F2: B1 3D LDA ($3D),Y C2/B0F4: B1 3D LDA ($3D),Y C2/B0F6: B1 3D LDA ($3D),Y C2/B0F8: B1 3D LDA ($3D),Y C2/B0FA: B1 3D LDA ($3D),Y C2/B0FC: B1 3D LDA ($3D),Y C2/B0FE: B1 3D LDA ($3D),Y C2/B100: B1 3D LDA ($3D),Y C2/B102: B1 3D LDA ($3D),Y C2/B104: B1 3D LDA ($3D),Y C2/B106: B1 3D LDA ($3D),Y C2/B108: B1 3D LDA ($3D),Y C2/B10A: B1 E1 LDA ($E1),Y C2/B10C: B1 3D LDA ($3D),Y C2/B10E: B1 B8 LDA ($B8),Y C2/B110: B1 3D LDA ($3D),Y C2/B112: B1 3D LDA ($3D),Y C2/B114: B1 3D LDA ($3D),Y C2/B116: B1 3D LDA ($3D),Y C2/B118: B1 3D LDA ($3D),Y C2/B11A: B1 3D LDA ($3D),Y C2/B11C: B1 3D LDA ($3D),Y C2/B11E: B1 3D LDA ($3D),Y C2/B120: B1 3D LDA ($3D),Y C2/B122: B1 3D LDA ($3D),Y C2/B124: B1 C3 LDA ($C3),Y C2/B126: B1 3D LDA ($3D),Y C2/B128: B1 70 LDA ($70),Y C2/B12A: B1 3D LDA ($3D),Y C2/B12C: B1 3D LDA ($3D),Y C2/B12E: B1 3D LDA ($3D),Y C2/B130: B1 3D LDA ($3D),Y C2/B132: B1 3D LDA ($3D),Y C2/B134: B1 3D LDA ($3D),Y C2/B136: B1 3D LDA ($3D),Y C2/B138: B1 4E LDA ($4E),Y C2/B13A: B1 3D LDA ($3D),Y C2/B13C: B1 6B LDA ($6B),Y C2/B13E: 01 00 ORA ($00,X) C2/B140: 02 00 COP $00 C2/B142: 01 00 ORA ($00,X) C2/B144: 00 00 BRK $00 C2/B146: 01 00 ORA ($00,X) C2/B148: 02 00 COP $00 C2/B14A: 01 00 ORA ($00,X) C2/B14C: 02 00 COP $00 C2/B14E: A5 9A LDA $9A C2/B150: F0 1D BEQ $B16F C2/B152: A5 0E LDA $0E C2/B154: 29 07 00 AND #$0007 C2/B157: 0A ASL C2/B158: AA TAX C2/B159: BF 3E B1 C2 LDA $C2B13E,X C2/B15D: 48 PHA C2/B15E: 18 CLC C2/B15F: 69 F0 FF ADC #$FFF0 C2/B162: 8F B4 64 7E STA $7E64B4 C2/B166: 68 PLA C2/B167: 18 CLC C2/B168: 69 10 00 ADC #$0010 C2/B16B: 8D C3 80 STA $80C3 C2/B16E: 7B TDC C2/B16F: 6B RTL C2/B170: 7B TDC C2/B171: AA TAX C2/B172: BD 13 EC LDA $EC13,X C2/B175: 9D 71 EC STA $EC71,X C2/B178: 9D 81 EC STA $EC81,X C2/B17B: BD 53 EC LDA $EC53,X C2/B17E: 9D 91 EC STA $EC91,X C2/B181: 9D A1 EC STA $ECA1,X C2/B184: E8 INX C2/B185: E8 INX C2/B186: E0 10 CPX #$10 C2/B188: 00 D0 BRK $D0 C2/B18A: E7 A5 SBC [$A5] C2/B18C: 0E 4A 4A ASL $4A4A C2/B18F: 4A LSR C2/B190: 29 07 00 AND #$0007 C2/B193: 0A ASL C2/B194: AA TAX C2/B195: 7B TDC C2/B196: A8 TAY C2/B197: BD 71 EC LDA $EC71,X C2/B19A: 99 13 EC STA $EC13,Y C2/B19D: BD 91 EC LDA $EC91,X C2/B1A0: 99 53 EC STA $EC53,Y C2/B1A3: C8 INY C2/B1A4: C8 INY C2/B1A5: E8 INX C2/B1A6: E8 INX C2/B1A7: C0 10 00 CPY #$0010 C2/B1AA: D0 EB BNE $B197 C2/B1AC: 6B RTL C2/B1AD: AD B2 64 LDA $64B2 C2/B1B0: 18 CLC C2/B1B1: 69 06 00 ADC #$0006 C2/B1B4: 8D B2 64 STA $64B2 C2/B1B7: 6B RTL C2/B1B8: AD B0 64 LDA $64B0 C2/B1BB: 38 SEC C2/B1BC: E9 04 00 SBC #$0004 C2/B1BF: 8D B0 64 STA $64B0 C2/B1C2: 6B RTL C2/B1C3: AD B0 64 LDA $64B0 C2/B1C6: 38 SEC C2/B1C7: E9 08 00 SBC #$0008 C2/B1CA: 8D B0 64 STA $64B0 C2/B1CD: E2 20 SEP #$20 C2/B1CF: 20 E6 BB JSR $BBE6 C2/B1D2: C2 20 REP #$20 C2/B1D4: 29 03 00 AND #$0003 C2/B1D7: 0A ASL C2/B1D8: AA TAX C2/B1D9: BF C5 B0 C2 LDA $C2B0C5,X C2/B1DD: 8D B2 64 STA $64B2 C2/B1E0: 6B RTL C2/B1E1: 7B TDC C2/B1E2: AA TAX C2/B1E3: BD 13 EC LDA $EC13,X C2/B1E6: 9D 71 EC STA $EC71,X C2/B1E9: 9D 81 EC STA $EC81,X C2/B1EC: E8 INX C2/B1ED: E8 INX C2/B1EE: E0 10 CPX #$10 C2/B1F0: 00 D0 BRK $D0 C2/B1F2: F0 AD BEQ $B1A1 C2/B1F4: B2 64 LDA ($64) C2/B1F6: 18 CLC C2/B1F7: 69 06 00 ADC #$0006 C2/B1FA: 8D B2 64 STA $64B2 C2/B1FD: A5 0E LDA $0E C2/B1FF: 4A LSR C2/B200: 4A LSR C2/B201: 29 07 00 AND #$0007 C2/B204: 0A ASL C2/B205: AA TAX C2/B206: 7B TDC C2/B207: A8 TAY C2/B208: BD 71 EC LDA $EC71,X C2/B20B: 99 13 EC STA $EC13,Y C2/B20E: C8 INY C2/B20F: C8 INY C2/B210: E8 INX C2/B211: E8 INX C2/B212: C0 10 00 CPY #$0010 C2/B215: D0 F1 BNE $B208 C2/B217: 6B RTL C2/B218: 7B TDC C2/B219: AA TAX C2/B21A: BD 13 EC LDA $EC13,X C2/B21D: 9D 71 EC STA $EC71,X C2/B220: 9D 79 EC STA $EC79,X C2/B223: BD 1B EC LDA $EC1B,X C2/B226: 9D 81 EC STA $EC81,X C2/B229: 9D 89 EC STA $EC89,X C2/B22C: E8 INX C2/B22D: E8 INX C2/B22E: E0 08 CPX #$08 C2/B230: 00 D0 BRK $D0 C2/B232: E7 A5 SBC [$A5] C2/B234: 0E 4A 4A ASL $4A4A C2/B237: 4A LSR C2/B238: 29 03 00 AND #$0003 C2/B23B: 49 03 00 EOR #$0003 C2/B23E: 0A ASL C2/B23F: AA TAX C2/B240: 7B TDC C2/B241: A8 TAY C2/B242: BD 71 EC LDA $EC71,X C2/B245: 99 13 EC STA $EC13,Y C2/B248: BD 81 EC LDA $EC81,X C2/B24B: 99 1B EC STA $EC1B,Y C2/B24E: C8 INY C2/B24F: C8 INY C2/B250: E8 INX C2/B251: E8 INX C2/B252: C0 08 00 CPY #$0008 C2/B255: D0 EB BNE $B242 C2/B257: 6B RTL
C2/B258 unknow
C2/B258: E2 10 SEP #$10 C2/B25A: 7B TDC C2/B25B: AA TAX C2/B25C: BD A0 7E LDA $7EA0,X C2/B25F: 9D 11 EC STA $EC11,X C2/B262: BD C0 7E LDA $7EC0,X C2/B265: 9D 31 EC STA $EC31,X C2/B268: BD E0 7E LDA $7EE0,X C2/B26B: 9D 51 EC STA $EC51,X C2/B26E: E8 INX C2/B26F: E8 INX C2/B270: E0 20 CPX #$20 C2/B272: D0 E8 BNE $B25C C2/B274: C2 10 REP #$10 C2/B276: AD B8 EC LDA $ECB8 C2/B279: 29 3F 00 AND #$003F C2/B27C: 0A ASL C2/B27D: AA TAX C2/B27E: 7C CD B0 JMP ($B0CD,X) C2/B281: AE F6 7A LDX $7AF6 C2/B284: BD 38 6A LDA $6A38,X C2/B287: 48 PHA C2/B288: BD 39 6A LDA $6A39,X C2/B28B: 9D 38 6A STA $6A38,X C2/B28E: 68 PLA C2/B28F: 9D 39 6A STA $6A39,X C2/B292: C2 20 REP #$20 C2/B294: BD 7E 6F LDA $6F7E,X C2/B297: 48 PHA C2/B298: BD 80 6F LDA $6F80,X C2/B29B: 48 PHA C2/B29C: BD 82 6F LDA $6F82,X C2/B29F: 9D 7E 6F STA $6F7E,X C2/B2A2: BD 84 6F LDA $6F84,X C2/B2A5: 9D 80 6F STA $6F80,X C2/B2A8: 68 PLA C2/B2A9: 9D 84 6F STA $6F84,X C2/B2AC: 68 PLA C2/B2AD: 9D 82 6F STA $6F82,X C2/B2B0: 7B TDC C2/B2B1: E2 20 SEP #$20 C2/B2B3: 6B RTL C2/B2B4: 7B TDC C2/B2B5: AA TAX C2/B2B6: A8 TAY C2/B2B7: 9E C0 61 STZ $61C0,X C2/B2BA: BD BE 61 LDA $61BE,X C2/B2BD: 49 40 9D EOR #$9D40 C2/B2C0: BE 61 B9 LDX $B961,Y C2/B2C3: 10 7B BPL $B340 C2/B2C5: 49 01 99 EOR #$9901 C2/B2C8: 10 7B BPL $B345 C2/B2CA: C8 INY C2/B2CB: 8A TXA C2/B2CC: 18 CLC C2/B2CD: 69 20 AA ADC #$AA20 C2/B2D0: C9 80 D0 CMP #$D080 C2/B2D3: E3 6B SBC $6B,S C2/B2D5: 7B TDC C2/B2D6: AA TAX C2/B2D7: C2 20 REP #$20 C2/B2D9: BD C9 61 LDA $61C9,X C2/B2DC: 38 SEC C2/B2DD: E9 04 00 SBC #$0004 C2/B2E0: 9D C9 61 STA $61C9,X C2/B2E3: 7B TDC C2/B2E4: E2 20 SEP #$20 C2/B2E6: BD BD 2E LDA $2EBD,X C2/B2E9: 29 C0 D0 AND #$D0C0 C2/B2EC: 05 A9 ORA $A9 C2/B2EE: 04 9D TSB $9D C2/B2F0: C0 61 C2 CPY #$C261 C2/B2F3: 20 8A 18 JSR $188A C2/B2F6: 69 20 00 ADC #$0020 C2/B2F9: AA TAX C2/B2FA: E0 80 CPX #$80 C2/B2FC: 00 D0 BRK $D0 C2/B2FE: DA PHX C2/B2FF: 7B TDC C2/B300: E2 20 SEP #$20 C2/B302: 6B RTL C2/B303: 7B TDC C2/B304: AA TAX C2/B305: C2 20 REP #$20 C2/B307: BD C9 61 LDA $61C9,X C2/B30A: 18 CLC C2/B30B: 69 04 00 ADC #$0004 C2/B30E: 9D C9 61 STA $61C9,X C2/B311: 7B TDC C2/B312: E2 20 SEP #$20 C2/B314: BD BD 2E LDA $2EBD,X C2/B317: 29 C0 D0 AND #$D0C0 C2/B31A: 05 A9 ORA $A9 C2/B31C: 03 9D ORA $9D,S C2/B31E: C0 61 C2 CPY #$C261 C2/B321: 20 8A 18 JSR $188A C2/B324: 69 20 00 ADC #$0020 C2/B327: AA TAX C2/B328: E0 80 CPX #$80 C2/B32A: 00 D0 BRK $D0 C2/B32C: DA PHX C2/B32D: 7B TDC C2/B32E: E2 20 SEP #$20 C2/B330: 6B RTL C2/B331: 20 9F C2 JSR $C29F C2/B334: AE F6 7A LDX $7AF6 C2/B337: BD 39 6A LDA $6A39,X C2/B33A: 0A ASL C2/B33B: AA TAX C2/B33C: C2 20 REP #$20 C2/B33E: B9 B7 61 LDA $61B7,Y C2/B341: 9D 56 62 STA $6256,X C2/B344: B9 B9 61 LDA $61B9,Y C2/B347: 9D 5E 62 STA $625E,X C2/B34A: AE F6 7A LDX $7AF6 C2/B34D: BD 7E 6F LDA $6F7E,X C2/B350: 99 B7 61 STA $61B7,Y C2/B353: BD 80 6F LDA $6F80,X C2/B356: 38 SEC C2/B357: E9 30 00 SBC #$0030 C2/B35A: 99 B9 61 STA $61B9,Y C2/B35D: 7B TDC C2/B35E: E2 20 SEP #$20 C2/B360: 6B RTL C2/B361: 20 9F C2 JSR $C29F C2/B364: AE F6 7A LDX $7AF6 C2/B367: BD 39 6A LDA $6A39,X C2/B36A: 0A ASL C2/B36B: AA TAX C2/B36C: C2 20 REP #$20 C2/B36E: BD 56 62 LDA $6256,X C2/B371: 99 B7 61 STA $61B7,Y C2/B374: 7B TDC C2/B375: 99 C5 61 STA $61C5,Y C2/B378: 99 D4 61 STA $61D4,Y C2/B37B: BD 5E 62 LDA $625E,X C2/B37E: 99 B9 61 STA $61B9,Y C2/B381: 7B TDC C2/B382: 99 C7 61 STA $61C7,Y C2/B385: 99 D2 61 STA $61D2,Y C2/B388: 7B TDC C2/B389: E2 20 SEP #$20 C2/B38B: 6B RTL C2/B38C: AE F6 7A LDX $7AF6 C2/B38F: A0 01 LDY #$01 C2/B391: 00 B7 BRK $B7 C2/B393: 5B TCD C2/B394: 85 10 STA $10 C2/B396: 30 04 BMI $B39C C2/B398: 64 11 STZ $11 C2/B39A: 80 04 BRA $B3A0 C2/B39C: A9 FF 85 LDA #$85FF C2/B39F: 11 C2 ORA ($C2),Y C2/B3A1: 20 E6 5B JSR $5BE6 C2/B3A4: BD D9 74 LDA $74D9,X C2/B3A7: 18 CLC C2/B3A8: 65 10 ADC $10 C2/B3AA: 9D D9 74 STA $74D9,X C2/B3AD: 85 10 STA $10 C2/B3AF: 64 12 STZ $12 C2/B3B1: 64 16 STZ $16 C2/B3B3: A9 40 00 LDA #$0040 C2/B3B6: 85 18 STA $18 C2/B3B8: BD 87 6F LDA $6F87,X C2/B3BB: 29 FF 00 AND #$00FF C2/B3BE: F0 2F BEQ $B3EF C2/B3C0: BD 80 6F LDA $6F80,X C2/B3C3: 29 FF 00 AND #$00FF C2/B3C6: 0A ASL C2/B3C7: 0A ASL C2/B3C8: AA TAX C2/B3C9: A5 12 LDA $12 C2/B3CB: 18 CLC C2/B3CC: 65 10 ADC $10 C2/B3CE: 85 12 STA $12 C2/B3D0: A5 13 LDA $13 C2/B3D2: 29 FF 00 AND #$00FF C2/B3D5: 85 13 STA $13 C2/B3D7: A5 16 LDA $16 C2/B3D9: 38 SEC C2/B3DA: E5 13 SBC $13 C2/B3DC: 85 16 STA $16 C2/B3DE: 64 13 STZ $13 C2/B3E0: 9D F5 43 STA $43F5,X C2/B3E3: CA DEX C2/B3E4: CA DEX C2/B3E5: CA DEX C2/B3E6: CA DEX C2/B3E7: C6 18 DEC $18 C2/B3E9: D0 DE BNE $B3C9 C2/B3EB: 7B TDC C2/B3EC: E2 20 SEP #$20 C2/B3EE: 6B RTL C2/B3EF: BD 80 6F LDA $6F80,X C2/B3F2: 29 FF 00 AND #$00FF C2/B3F5: 0A ASL C2/B3F6: 0A ASL C2/B3F7: AA TAX C2/B3F8: A5 12 LDA $12 C2/B3FA: 18 CLC C2/B3FB: 65 10 ADC $10 C2/B3FD: 85 12 STA $12 C2/B3FF: A5 13 LDA $13 C2/B401: 29 FF 00 AND #$00FF C2/B404: 18 CLC C2/B405: 65 16 ADC $16 C2/B407: 85 16 STA $16 C2/B409: 64 13 STZ $13 C2/B40B: 9D F5 43 STA $43F5,X C2/B40E: CA DEX C2/B40F: CA DEX C2/B410: CA DEX C2/B411: CA DEX C2/B412: C6 18 DEC $18 C2/B414: D0 E2 BNE $B3F8 C2/B416: 7B TDC C2/B417: E2 20 SEP #$20 C2/B419: 6B RTL
C2/B41A unknow
C2/B41A: 7B TDC C2/B41B: AA TAX (clear A and X) C2/B41C: 8E 50 2F STX $2F50 C2/B41F: A2 03 00 LDX #$0003 C2/B422: BD 10 7B LDA $7B10,X C2/B425: 4A LSR C2/B426: 2E 50 2F ROL $2F50 C2/B429: CA DEX C2/B42A: 10 F6 BPL $B422 (loop for all 4 characters?) C2/B42C: 7B TDC C2/B42D: AA TAX (clear A and X) C2/B42E: A2 0A 00 LDX #$000A C2/B431: BD F3 80 LDA $80F3,X C2/B434: 5D 7E 61 EOR $617E,X C2/B437: 49 01 4A EOR #$4A01 C2/B43A: 2E 51 2F ROL $2F51 C2/B43D: CA DEX C2/B43E: CA DEX C2/B43F: 10 F0 BPL $B431 (loop for all 6 enemies?) C2/B441: 6B RTL
C2/B442 unknow
C2/B442: A6 18 LDX $18 C2/B444: C2 20 REP #$20 C2/B446: BD 00 7E LDA $7E00,X C2/B449: 85 10 STA $10 C2/B44B: 4A LSR C2/B44C: 4A LSR C2/B44D: 4A LSR C2/B44E: 4A LSR C2/B44F: 4A LSR C2/B450: 85 12 STA $12 C2/B452: 4A LSR C2/B453: 4A LSR C2/B454: 4A LSR C2/B455: 4A LSR C2/B456: 4A LSR C2/B457: 29 1F 00 AND #$001F C2/B45A: 85 14 STA $14 C2/B45C: A5 10 LDA $10 C2/B45E: 29 1F 00 AND #$001F C2/B461: 18 CLC C2/B462: 65 14 ADC $14 C2/B464: 85 14 STA $14 C2/B466: A5 12 LDA $12 C2/B468: 29 1F 00 AND #$001F C2/B46B: 18 CLC C2/B46C: 65 14 ADC $14 C2/B46E: 8F 04 42 00 STA $004204 C2/B472: E2 20 SEP #$20 C2/B474: A9 03 8F LDA #$8F03 C2/B477: 06 42 ASL $42 C2/B479: 00 7B BRK $7B C2/B47B: C2 20 REP #$20 C2/B47D: EA NOP C2/B47E: EA NOP C2/B47F: EA NOP C2/B480: EA NOP C2/B481: EA NOP C2/B482: EA NOP C2/B483: AF 14 42 00 LDA $004214 C2/B487: 85 10 STA $10 C2/B489: 0A ASL C2/B48A: 0A ASL C2/B48B: 0A ASL C2/B48C: 0A ASL C2/B48D: 0A ASL C2/B48E: 05 10 ORA $10 C2/B490: 9D 00 7E STA $7E00,X C2/B493: E8 INX C2/B494: E8 INX C2/B495: E4 1A CPX $1A C2/B497: D0 AD BNE $B446 C2/B499: 7B TDC C2/B49A: E2 20 SEP #$20 C2/B49C: 6B RTL C2/B49D: 01 02 ORA ($02,X) C2/B49F: 03 04 ORA $04,S C2/B4A1: 05 06 ORA $06
C2/B4A3 slot combination value
(Return a value based on our 3 slot results: 0 for 7-7-Bar, 7 when we don't have three matching symbols [Lagomorph], or Symbol value + 1 when we have a matching triplet) C2/B4A3: A5 36 LDA $36 (get slot 1 [aka reel 1] symbol) C2/B4A5: C5 37 CMP $37 (compare to slot 2 symbol) C2/B4A7: D0 06 BNE $B4AF (branch if they don't match) C2/B4A9: C5 38 CMP $38 (if they do, compare to slot 3 symbol) C2/B4AB: D0 02 BNE $B4AF (branch if that is different) C2/B4AD: 1A INC (if they're all the same, just return the symbol value + 1) C2/B4AE: 6B RTL C2/B4AF: 05 37 ORA $37 C2/B4B1: D0 08 BNE $B4BB (branch if either slot 1 or 2 isn't "7") C2/B4B3: A5 38 LDA $38 (only reach here if Slot 1 and 2 are both "7") C2/B4B5: C9 02 CMP #$02 C2/B4B7: D0 02 BNE $B4BB (branch if slot 3 isn't "Bar") C2/B4B9: 7B TDC (if it is, return 0) C2/B4BA: 6B RTL C2/B4BB: A9 07 LDA #$07 (return 7 for Lagomorph?) C2/B4BD: 6B RTL
C2/B4BE unknow
C2/B4BE: 7A PLY C2/B4BF: 0F C0 0F CE ORA $CE0FC0 C2/B4C3: 0F DC 0F EA ORA $EA0FDC C2/B4C7: 0F F8 0F 06 ORA $060FF8 C2/B4CB: 10 C2/B4CC: 1C 07 30 C2/B4CF: 10 3E BPL $B50F C2/B4D1: 10 4C BPL $B51F C2/B4D3: 10 5A BPL $B52F C2/B4D5: 10 C8 BPL $B49F C2/B4D7: 14 D6 TRB $D6 C2/B4D9: 14 1C TRB $1C C2/B4DB: 15 2A ORA $2A,X C2/B4DD: 15 38 ORA $38,X C2/B4DF: 15 F2 ORA $F2,X C2/B4E1: 06 0E ASL $0E C2/B4E3: 07 E4 ORA [$E4] C2/B4E5: 0D 10 11 ORA $1110 C2/B4E8: 1E 11 2C ASL $2C11,X C2/B4EB: 11 3A ORA ($3A),Y C2/B4ED: 11 48 ORA ($48),Y C2/B4EF: 11 56 ORA ($56),Y C2/B4F1: 11 64 ORA ($64),Y C2/B4F3: 11 72 ORA ($72),Y C2/B4F5: 11 80 ORA ($80),Y C2/B4F7: 11 8E ORA ($8E),Y C2/B4F9: 11 9C ORA ($9C),Y C2/B4FB: 11 AA ORA ($AA),Y C2/B4FD: 11 B8 ORA ($B8),Y C2/B4FF: 11 C6 ORA ($C6),Y C2/B501: 11 D4 ORA ($D4),Y C2/B503: 11 E2 ORA ($E2),Y C2/B505: 11 30 ORA ($30),Y C2/B507: 10 68 BPL $B571 C2/B509: 10 76 BPL $B581 C2/B50B: 10 84 BPL $B491 C2/B50D: 10 B2 BPL $B4C1 C2/B50F: 0F 92 10 00 ORA $001092 C2/B513: 0E 42 0F ASL $0F42 C2/B516: A0 10 LDY #$10 C2/B518: AE 10 BC LDX $BC10 C2/B51B: 10 CA BPL $B4E7 C2/B51D: 10 D8 BPL $B4F7 C2/B51F: 10 E6 BPL $B507 C2/B521: 10 F4 BPL $B517 C2/B523: 10 02 BPL $B527 C2/B525: 11 34 ORA ($34),Y C2/B527: 0F 26 0F 18 ORA $180F26 C2/B52B: 0F 0A 0F BA ORA $BA0F0A C2/B52F: 14 18 TRB $18 C2/B531: 16 C2 ASL $C2,X C2/B533: 20 BD 01 JSR $01BD C2/B536: 20 AA 7B JSR $7BAA C2/B539: E2 20 SEP #$20 C2/B53B: E0 06 CPX #$06 C2/B53D: 01 F0 ORA ($F0,X) C2/B53F: 01 6B ORA ($6B,X) C2/B541: A2 2C LDX #$2C C2/B543: 01 86 ORA ($86,X) C2/B545: 26 BF ROL $BF C2/B547: 03 00 ORA $00,S C2/B549: E7 0A SBC [$0A] C2/B54B: AA TAX C2/B54C: BF 48 18 E7 LDA $E71848,X C2/B550: 85 F3 STA $F3 C2/B552: BF 49 18 E7 LDA $E71849,X C2/B556: 85 F4 STA $F4 C2/B558: A9 E7 85 LDA #$85E7 C2/B55B: F5 A9 SBC $A9,X C2/B55D: 00 85 BRK $85 C2/B55F: F6 A9 INC $A9,X C2/B561: C4 85 CPY $85 C2/B563: F7 A9 SBC [$A9],Y C2/B565: 7F 85 F8 22 ADC $22F885,X C2/B569: 6D FF C2 ADC $C2FF C2/B56C: A6 26 LDX $26 C2/B56E: BF 00 00 E7 LDA $E70000,X C2/B572: 29 7F 85 AND #$857F C2/B575: 22 0A 18 65 JSR $65180A C2/B579: 22 AA BF 50 JSR $50BFAA C2/B57D: 16 E7 ASL $E7,X C2/B57F: 85 F3 STA $F3 C2/B581: BF 51 16 E7 LDA $E71651,X C2/B585: 85 F4 STA $F4 C2/B587: BF 52 16 E7 LDA $E71652,X C2/B58B: 85 F5 STA $F5 C2/B58D: A6 26 LDX $26 C2/B58F: BF 02 00 E7 LDA $E70002,X C2/B593: 29 7F 85 AND #$857F C2/B596: 22 0A 18 65 JSR $65180A C2/B59A: 22 AA BF 50 JSR $50BFAA C2/B59E: 16 E7 ASL $E7,X C2/B5A0: 85 F6 STA $F6 C2/B5A2: BF 51 16 E7 LDA $E71651,X C2/B5A6: 85 F7 STA $F7 C2/B5A8: BF 52 16 E7 LDA $E71652,X C2/B5AC: 85 F8 STA $F8 C2/B5AE: C2 20 REP #$20 C2/B5B0: 64 10 STZ $10 C2/B5B2: 7B TDC C2/B5B3: AA TAX C2/B5B4: BF 00 C4 7F LDA $7FC400,X C2/B5B8: 29 FF 01 AND #$01FF C2/B5BB: C9 00 01 CMP #$0100 C2/B5BE: 90 24 BCC $B5E4 C2/B5C0: 29 FF 00 AND #$00FF C2/B5C3: 38 SEC C2/B5C4: E9 80 00 SBC #$0080 C2/B5C7: 0A ASL C2/B5C8: 0A ASL C2/B5C9: 0A ASL C2/B5CA: 0A ASL C2/B5CB: 0A ASL C2/B5CC: A8 TAY C2/B5CD: DA PHX C2/B5CE: A9 10 00 LDA #$0010 C2/B5D1: 85 12 STA $12 C2/B5D3: A6 10 LDX $10 C2/B5D5: B7 F6 LDA [$F6],Y C2/B5D7: 9D 3F AE STA $AE3F,X C2/B5DA: C8 INY C2/B5DB: C8 INY C2/B5DC: E8 INX C2/B5DD: E8 INX C2/B5DE: C6 12 DEC $12 C2/B5E0: D0 F3 BNE $B5D5 C2/B5E2: 80 1B BRA $B5FF C2/B5E4: 0A ASL C2/B5E5: 0A ASL C2/B5E6: 0A ASL C2/B5E7: 0A ASL C2/B5E8: 0A ASL C2/B5E9: A8 TAY C2/B5EA: DA PHX C2/B5EB: A9 10 00 LDA #$0010 C2/B5EE: 85 12 STA $12 C2/B5F0: A6 10 LDX $10 C2/B5F2: B7 F3 LDA [$F3],Y C2/B5F4: 9D 3F AE STA $AE3F,X C2/B5F7: C8 INY C2/B5F8: C8 INY C2/B5F9: E8 INX C2/B5FA: E8 INX C2/B5FB: C6 12 DEC $12 C2/B5FD: D0 F3 BNE $B5F2 C2/B5FF: 86 10 STX $10 C2/B601: FA PLX C2/B602: E8 INX C2/B603: E8 INX C2/B604: E0 00 CPX #$00 C2/B606: 02 D0 COP $D0 C2/B608: AB PLB C2/B609: 7B TDC C2/B60A: E2 20 SEP #$20 C2/B60C: 6B RTL C2/B60D: A2 80 LDX #$80 C2/B60F: 02 86 COP $86 C2/B611: 10 A2 BPL $B5B5 C2/B613: 0F 89 86 14 ORA $148689 C2/B617: 20 2D B6 JSR $B62D C2/B61A: 20 41 B6 JSR $B641 C2/B61D: A6 10 LDX $10 C2/B61F: E8 INX C2/B620: 86 10 STX $10 C2/B622: A6 14 LDX $14 C2/B624: E8 INX C2/B625: 86 14 STX $14 C2/B627: E0 13 CPX #$13 C2/B629: 89 D0 EB BIT #$EBD0 C2/B62C: 6B RTL C2/B62D: 7B TDC C2/B62E: A8 TAY C2/B62F: 18 CLC C2/B630: 71 14 ADC ($14),Y C2/B632: C8 INY C2/B633: C8 INY C2/B634: C8 INY C2/B635: C8 INY C2/B636: C0 60 00 CPY #$0060 C2/B639: D0 F4 BNE $B62F C2/B63B: 49 FF 1A EOR #$1AFF C2/B63E: 91 10 STA ($10),Y C2/B640: 60 RTS C2/B641: A0 00 LDY #$00 C2/B643: 00 B1 BRK $B1 C2/B645: 14 91 TRB $91 C2/B647: 10 C8 BPL $B611 C2/B649: C8 INY C2/B64A: C8 INY C2/B64B: C8 INY C2/B64C: C0 60 00 CPY #$0060 C2/B64F: D0 F3 BNE $B644 C2/B651: 60 RTS
C2/B652 unknow
C2/B652: AD C6 2E LDA $2EC6 C2/B655: 8D 6B 89 STA $896B C2/B658: AD E6 2E LDA $2EE6 C2/B65B: 8D 6C 89 STA $896C C2/B65E: AD 06 2F LDA $2F06 C2/B661: 8D 6D 89 STA $896D C2/B664: AD 26 2F LDA $2F26 C2/B667: 8D 6E 89 STA $896E C2/B66A: A2 80 02 LDX #$0280 C2/B66D: 86 10 STX $10 C2/B66F: A2 0F 89 LDX #$890F C2/B672: 86 14 STX $14 C2/B674: 20 DE B6 JSR $B6DE C2/B677: 90 03 BCC $B67C C2/B679: 20 C6 B6 JSR $B6C6 C2/B67C: A6 10 E8 LDX $E810 C2/B67F: 86 10 STX $10 C2/B681: A6 14 E8 LDX $E814 C2/B684: 86 14 STX $14 C2/B686: E0 13 89 CPX #$8913 C2/B689: D0 E9 BNE ??? C2/B68B: 7B TDC C2/B68C: AA TAX C2/B68D: BD 6B 89 LDA $896B,X C2/B690: 20 9A B6 JSR $B69A C2/B693: E8 INX C2/B694: E0 04 00 CPX #$0004 C2/B697: D0 F4 BNE $B68D C2/B699: 6B RTL
C2/B69A unknow
C2/B69A: DA C2/B69B: 85 18 STA $18 C2/B69D: 7B TDC C2/B69E: A8 TAY C2/B69F: B9 DC 02 LDA $02DC,Y C2/B6A2: C5 18 CMP $18 C2/B6A4: F0 08 BEQ $B6AE C2/B6A6: C8 INY C2/B6A7: C0 04 00 CPY #$0004 C2/B6AA: D0 F3 BNE $B69F C2/B6AC: 80 16 BRA $B6C4 C2/B6AE: A9 17 85 LDA #$8517 C2/B6B1: 1A INC C2/B6B2: B9 80 02 LDA $0280,Y C2/B6B5: 9D 0F 89 STA $890F,X C2/B6B8: C8 INY C2/B6B9: C8 INY C2/B6BA: C8 INY C2/B6BB: C8 INY C2/B6BC: E8 INX C2/B6BD: E8 INX C2/B6BE: E8 INX C2/B6BF: E8 INX C2/B6C0: C6 1A DEC $1A C2/B6C2: D0 EE BNE $B6B2 C2/B6C4: FA PLX C2/B6C5: 60 RTS C2/B6C6: 7B TDC C2/B6C7: A8 TAY C2/B6C8: 91 10 STA ($10),Y C2/B6CA: C8 INY C2/B6CB: C8 INY C2/B6CC: C8 INY C2/B6CD: C8 INY C2/B6CE: C0 5C 00 CPY #$005C C2/B6D1: D0 F5 BNE $B6C8 C2/B6D3: A9 FF 91 LDA #$91FF C2/B6D6: 10 C8 BPL $B6A0 C2/B6D8: C8 INY C2/B6D9: C8 INY C2/B6DA: C8 INY C2/B6DB: 91 10 STA ($10),Y C2/B6DD: 60 RTS C2/B6DE: 7B TDC C2/B6DF: A8 TAY C2/B6E0: 18 CLC C2/B6E1: 71 10 ADC ($10),Y C2/B6E3: C8 INY C2/B6E4: C8 INY C2/B6E5: C8 INY C2/B6E6: C8 INY C2/B6E7: C0 60 00 CPY #$0060 C2/B6EA: D0 F4 BNE $B6E0 C2/B6EC: 49 FF 1A EOR #$1AFF C2/B6EF: D1 10 CMP ($10),Y C2/B6F1: F0 02 BEQ $B6F5 C2/B6F3: 38 SEC C2/B6F4: 60 RTS C2/B6F5: 18 CLC C2/B6F6: 60 RTS C2/B6F7: C2 20 REP #$20 C2/B6F9: 7B TDC C2/B6FA: AA TAX C2/B6FB: A9 00 20 LDA #$2000 C2/B6FE: 9D AD 5F STA $5FAD,X C2/B701: E8 INX C2/B702: E8 INX C2/B703: E0 80 CPX #$80 C2/B705: 00 D0 BRK $D0 C2/B707: F6 7B INC $7B,X C2/B709: AA TAX C2/B70A: 9D F5 43 STA $43F5,X C2/B70D: 9D 75 47 STA $4775,X C2/B710: 9D F5 4A STA $4AF5,X C2/B713: E8 INX C2/B714: E8 INX C2/B715: E0 80 CPX #$80 C2/B717: 03 D0 ORA $D0,S C2/B719: F0 A2 BEQ $B6BD C2/B71B: 5C 02 A9 A9 JMP $A9A902 C2/B71F: FF 85 12 A9 SBC $A91285,X C2/B723: 66 FF ROR $FF C2/B725: 85 14 STA $14 C2/B727: A5 12 LDA $12 C2/B729: 9D 77 47 STA $4777,X C2/B72C: A5 14 LDA $14 C2/B72E: 9D F7 4A STA $4AF7,X C2/B731: C6 12 DEC $12 C2/B733: C6 14 DEC $14 C2/B735: E8 INX C2/B736: E8 INX C2/B737: E8 INX C2/B738: E8 INX C2/B739: E0 80 CPX #$80 C2/B73B: 03 D0 ORA $D0,S C2/B73D: E9 A2 7C SBC #$7CA2 C2/B740: 02 A9 COP $A9 C2/B742: 64 00 STZ $00 C2/B744: 85 10 STA $10 C2/B746: A9 0C 00 LDA #$000C C2/B749: 85 12 STA $12 C2/B74B: A5 10 LDA $10 C2/B74D: 9D F7 4A STA $4AF7,X C2/B750: C6 12 DEC $12 C2/B752: D0 0D BNE $B761 C2/B754: A9 0C 00 LDA #$000C C2/B757: 85 12 STA $12 C2/B759: A5 10 LDA $10 C2/B75B: 18 CLC C2/B75C: 69 04 00 ADC #$0004 C2/B75F: 85 10 STA $10 C2/B761: E8 INX C2/B762: E8 INX C2/B763: E8 INX C2/B764: E8 INX C2/B765: E0 3C CPX #$3C C2/B767: 03 D0 ORA $D0,S C2/B769: E1 A2 SBC ($A2,X) C2/B76B: 5C 02 A9 68 JMP $68A902 C2/B76F: 00 9D BRK $9D C2/B771: 77 47 ADC [$47],Y C2/B773: E8 INX C2/B774: E8 INX C2/B775: E8 INX C2/B776: E8 INX C2/B777: E0 5C CPX #$5C C2/B779: 03 D0 ORA $D0,S C2/B77B: F4 7B AA PEA $AA7B C2/B77E: BD 51 4D LDA $4D51,X C2/B781: 9D 75 4E STA $4E75,X C2/B784: 9D 75 4F STA $4F75,X C2/B787: 9D 95 50 STA $5095,X C2/B78A: E8 INX C2/B78B: E8 INX C2/B78C: E0 00 CPX #$00 C2/B78E: 01 D0 ORA ($D0,X) C2/B790: ED BD 51 SBC $51BD C2/B793: 4D 9D 75 EOR $759D C2/B796: 4F 9D 95 50 EOR $50959D C2/B79A: E8 INX C2/B79B: E8 INX C2/B79C: E0 20 CPX #$20 C2/B79E: 01 D0 ORA ($D0,X) C2/B7A0: F0 BD BEQ $B75F C2/B7A2: 51 4D EOR ($4D),Y C2/B7A4: 9D 95 50 STA $5095,X C2/B7A7: E8 INX C2/B7A8: E8 INX C2/B7A9: E0 40 CPX #$40 C2/B7AB: 01 D0 ORA ($D0,X) C2/B7AD: F3 7B SBC ($7B,S),Y C2/B7AF: AA TAX C2/B7B0: BD 73 4D LDA $4D73,X C2/B7B3: 18 CLC C2/B7B4: 69 40 00 ADC #$0040 C2/B7B7: 9D 97 4E STA $4E97,X C2/B7BA: 18 CLC C2/B7BB: 69 40 00 ADC #$0040 C2/B7BE: 9D 97 4F STA $4F97,X C2/B7C1: 38 SEC C2/B7C2: E9 08 00 SBC #$0008 C2/B7C5: 9D B7 50 STA $50B7,X C2/B7C8: E8 INX C2/B7C9: E8 INX C2/B7CA: E8 INX C2/B7CB: E8 INX C2/B7CC: E0 C0 CPX #$C0 C2/B7CE: 00 D0 BRK $D0 C2/B7D0: DF 7B AA BD CMP $BDAA7B,X C2/B7D4: 53 4D EOR ($4D,S),Y C2/B7D6: 38 SEC C2/B7D7: E9 08 00 SBC #$0008 C2/B7DA: 9D 97 50 STA $5097,X C2/B7DD: BD 33 4E LDA $4E33,X C2/B7E0: 38 SEC C2/B7E1: E9 08 00 SBC #$0008 C2/B7E4: 9D 77 51 STA $5177,X C2/B7E7: E8 INX C2/B7E8: E8 INX C2/B7E9: E8 INX C2/B7EA: E8 INX C2/B7EB: E0 20 CPX #$20 C2/B7ED: 00 D0 BRK $D0 C2/B7EF: E3 7B SBC $7B,S C2/B7F1: AA TAX C2/B7F2: 9E D5 53 STZ $53D5,X C2/B7F5: A9 3C 01 LDA #$013C C2/B7F8: 9D D7 53 STA $53D7,X C2/B7FB: E8 INX C2/B7FC: E8 INX C2/B7FD: E8 INX C2/B7FE: E8 INX C2/B7FF: E0 A0 CPX #$A0 C2/B801: 00 D0 BRK $D0 C2/B803: EE 7B AA INC $AA7B C2/B806: A9 18 00 LDA #$0018 C2/B809: 85 12 STA $12 C2/B80B: A9 DC 00 LDA #$00DC C2/B80E: 85 10 STA $10 C2/B810: A9 00 01 LDA #$0100 C2/B813: 9D 75 54 STA $5475,X C2/B816: A5 10 LDA $10 C2/B818: 9D 77 54 STA $5477,X C2/B81B: C6 12 DEC $12 C2/B81D: D0 08 BNE $B827 C2/B81F: A5 10 LDA $10 C2/B821: 18 CLC C2/B822: 69 04 00 ADC #$0004 C2/B825: 85 10 STA $10 C2/B827: E8 INX C2/B828: E8 INX C2/B829: E8 INX C2/B82A: E8 INX C2/B82B: E0 C0 CPX #$C0 C2/B82D: 00 D0 BRK $D0 C2/B82F: E0 7B CPX #$7B C2/B831: AA TAX C2/B832: A9 60 00 LDA #$0060 C2/B835: 85 10 STA $10 C2/B837: A9 14 00 LDA #$0014 C2/B83A: 85 12 STA $12 C2/B83C: A9 00 01 LDA #$0100 C2/B83F: 9D D5 51 STA $51D5,X C2/B842: A5 10 LDA $10 C2/B844: 9D D7 51 STA $51D7,X C2/B847: C6 12 DEC $12 C2/B849: D0 0D BNE $B858 C2/B84B: A9 0C 00 LDA #$000C C2/B84E: 85 12 STA $12 C2/B850: A5 10 LDA $10 C2/B852: 18 CLC C2/B853: 69 04 00 ADC #$0004 C2/B856: 85 10 STA $10 C2/B858: E8 INX C2/B859: E8 INX C2/B85A: E8 INX C2/B85B: E8 INX C2/B85C: E0 E0 CPX #$E0 C2/B85E: 00 D0 BRK $D0 C2/B860: DB STP C2/B861: 7B TDC C2/B862: 9D D5 51 STA $51D5,X C2/B865: 9D D7 51 STA $51D7,X C2/B868: E8 INX C2/B869: E8 INX C2/B86A: E0 00 CPX #$00 C2/B86C: 01 D0 ORA ($D0,X) C2/B86E: F3 7B SBC ($7B,S),Y C2/B870: AA TAX C2/B871: A9 60 00 LDA #$0060 C2/B874: 85 10 STA $10 C2/B876: A9 0C 00 LDA #$000C C2/B879: 85 12 STA $12 C2/B87B: A9 00 01 LDA #$0100 C2/B87E: 9D 05 43 STA $4305,X C2/B881: A5 10 LDA $10 C2/B883: 9D 07 43 STA $4307,X C2/B886: C6 12 DEC $12 C2/B888: D0 0D BNE $B897 C2/B88A: A9 0C 00 LDA #$000C C2/B88D: 85 12 STA $12 C2/B88F: A5 10 LDA $10 C2/B891: 18 CLC C2/B892: 69 04 00 ADC #$0004 C2/B895: 85 10 STA $10 C2/B897: E8 INX C2/B898: E8 INX C2/B899: E8 INX C2/B89A: E8 INX C2/B89B: E0 F0 CPX #$F0 C2/B89D: 00 D0 BRK $D0 C2/B89F: DB STP C2/B8A0: 7B TDC C2/B8A1: E2 20 SEP #$20 C2/B8A3: 6B RTL C2/B8A4: AD F6 E9 LDA $E9F6 C2/B8A7: F0 47 BEQ $B8F0 C2/B8A9: AD F9 E9 LDA $E9F9 C2/B8AC: 29 0F C9 AND #$C90F C2/B8AF: 0F F0 04 1A ORA $1A04F0 C2/B8B3: 8D F9 E9 STA $E9F9 C2/B8B6: E2 10 SEP #$10 C2/B8B8: AD F7 E9 LDA $E9F7 C2/B8BB: 0A ASL C2/B8BC: A8 TAY C2/B8BD: AD F8 E9 LDA $E9F8 C2/B8C0: 0A ASL C2/B8C1: AA TAX C2/B8C2: A9 E0 99 LDA #$99E0 C2/B8C5: 31 EA AND ($EA),Y C2/B8C7: 99 33 EA STA $EA33,Y C2/B8CA: 9D CB EA STA $EACB,X C2/B8CD: 9D CD EA STA $EACD,X C2/B8D0: C9 FF F0 CMP #$F0FF C2/B8D3: 01 1A ORA ($1A,X) C2/B8D5: E8 INX C2/B8D6: E8 INX C2/B8D7: E8 INX C2/B8D8: E8 INX C2/B8D9: 88 DEY C2/B8DA: 88 DEY C2/B8DB: 88 DEY C2/B8DC: 88 DEY C2/B8DD: D0 E5 BNE $B8C4 C2/B8DF: EE F8 E9 INC $E9F8 C2/B8E2: EE F8 E9 INC $E9F8 C2/B8E5: CE F7 E9 DEC $E9F7 C2/B8E8: CE F7 E9 DEC $E9F7 C2/B8EB: D0 03 BNE $B8F0 C2/B8ED: 9C F6 E9 STZ $E9F6 C2/B8F0: C2 10 REP #$10 C2/B8F2: 6B RTL
C2/B8F3 division function
(Division Function: divide 16-bit Variable $2C by 16-bit $2E. Put Quotient in 16-bit $30, and Remainder in 16-bit $32.) C2/B8F3: DA PHX C2/B8F4: C2 20 REP #$20 (Set 16-bit Accumulator) C2/B8F6: 64 30 STZ $30 (zero the quotient) C2/B8F8: 64 32 STZ $32 (zero the remainder) C2/B8FA: A5 2C LDA $2C (load dividend) C2/B8FC: F0 20 BEQ $B91E (branch if zero) C2/B8FE: A5 2E LDA $2E (load divisor) C2/B900: F0 1C BEQ $B91E (branch if zero) C2/B902: A2 10 00 LDX #$0010 C2/B905: 26 2C ROL $2C C2/B906: 26 32 ROL $32 C2/B909: A5 32 LDA $32 C2/B90B: 38 SEC C2/B90C: E5 2E SBC $2E C2/B90E: 85 32 STA $32 C2/B910: B0 07 BCS $B919 C2/B912: A5 32 LDA $32 C2/B914: 65 2E ADC $2E C2/B916: 85 32 STA $32 C2/B918: 18 CLC C2/B919: 26 30 ROL $30 C2/B91B: CA DEX C2/B91C: D0 E7 BNE $B905 (loop 16 times, as there are 16 bits in dividend) C2/B91E: A9 00 00 LDA #$0000 (TDC would work here) C2/B921: E2 20 SEP #$20 (Set 8-bit Accumulator) C2/B923: FA PLX C2/B924: 60 RTS
C2/B925 unknow
(called from Bank C1) C2/B925: AD EF EC LDA $ECEF C2/B928: 29 40 AND #$40 C2/B92A: D0 01 BNE $B92D C2/B92C: 6B RTL C2/B92D: AD 8F 62 LDA $628F C2/B930: F0 04 BEQ $B936 C2/B932: CE 8F 62 DEC $628F C2/B935: 6B RTL
C2/B936 format timer for display
(Breaks a timer into minutes and seconds and prepares it for display. Is called in battles on escape from Floating Continent, for instance.) C2/B936: A9 3C LDA #$3C C2/B938: 8D 8F 62 STA $628F C2/B93B: AF 89 11 00 LDA $001189 (bottom byte of timer. the FC timer starts at 5460h, and counts down each frame.) C2/B93F: 85 2C STA $2C C2/B941: AF 8A 11 00 LDA $00118A (top byte of timer) C2/B945: 85 2D STA $2D C2/B947: A2 3C 00 LDX #$003C C2/B94A: 86 2E STX $2E (we're going to divide by 60) C2/B94C: 20 F3 B8 JSR $B8F3 (Divide 16-bit Variable $2C by 16-bit $2E. Put Quotient in 16-bit $30, and Remainder in 16-bit $32.) C2/B94F: A6 30 LDX $30 C2/B951: 86 2C STX $2C (put quotient into variable $2C) C2/B953: A2 3C 00 LDX #$003C C2/B956: 86 2E STX $2E (we'll be dividing by 60 again) C2/B958: 20 F3 B8 JSR $B8F3 (Divide 16-bit Variable $2C by 16-bit $2E. Put Quotient in 16-bit $30, and Remainder in 16-bit $32.) C2/B95B: 7B TDC C2/B95C: AA TAX (zero X, which we'll use as a temporary tens digit.) C2/B95D: A5 30 LDA $30 (we divided by 60 twice, so i'm calling this variable our Minutes [and variable $32 our Seconds], though i'm not familiar with what calls this function.) C2/B95F: 38 SEC C2/B960: E9 0A SBC #$0A (subtract 10 from Minutes) C2/B962: 90 03 BCC $B967 (if the Minutes had been < 10, branch) C2/B964: E8 INX (Minutes were >=10, so increment our tens digit.) C2/B965: 80 F8 BRA $B95F (loop and do it again, until we finally get Minutes < 10 [iow, single-digit Minutes].) C2/B967: 18 CLC C2/B968: 69 BE ADC #$BE (add BEh to ones digit of our Minutes) C2/B96A: 8D 92 62 STA $6292 (save it) C2/B96D: 8A TXA (put tens digit in A) C2/B96E: D0 04 BNE $B974 (branch if tens digit is nonzero) C2/B970: A9 FF LDA #$FF C2/B972: 80 03 BRA $B977 (branch and store null where tens digit of Minutes would appear.) C2/B974: 18 CLC C2/B975: 69 B4 ADC #$B4 (add B4h to tens digit of our Minutes) C2/B977: 8D 90 62 STA $6290 (save it) C2/B97A: 7B TDC C2/B97B: AA TAX (zero X, which we'll use as a temporary tens digit.) C2/B97C: A5 32 LDA $32 (get our Seconds, or that's what i assume it is.) C2/B97E: 38 SEC C2/B97F: E9 0A SBC #$0A (subtract 10 from Seconds) C2/B981: 90 03 BCC $B986 (if the Seconds had been < 10, branch) C2/B983: E8 INX (Seconds were >=10, so increment our tens digit.) C2/B984: 80 F8 BRA $B97E (loop and do it again, until we finally get Seconds < 10 [iow, single-digit Seconds].) C2/B986: 18 CLC C2/B987: 69 BE ADC #$BE (add BEh to ones digit of our Seconds) C2/B989: 8D 98 62 STA $6298 (save it) C2/B98C: 8A TXA (put tens digit in A) C2/B98D: 18 CLC C2/B98E: 69 B4 ADC #$B4 (add B4h to tens digit of our Seconds) C2/B991: 8D 96 62 STA $6296 (save it. note that we're not bothering to check for a zero tens digit of Seconds, as blanking the digit would make no sense given we're displaying Minutes directly to the left of it.) C2/B993: A9 C1 LDA #$C1 C2/B996: 8D 94 62 STA $6294 C2/B998: 6B RTL
C2/B999 unknow
C2/B999: AE F6 7A LDX $7AF6 C2/B99C: BD D3 74 LDA $74D3,X C2/B99F: C2 20 REP #$20 C2/B9A1: 0A ASL C2/B9A2: 0A ASL C2/B9A3: 85 10 STA $10 C2/B9A5: BD 30 6A LDA $6A30,X C2/B9A8: 29 FF 00 AND #$00FF C2/B9AB: 0A ASL C2/B9AC: 0A ASL C2/B9AD: 0A ASL C2/B9AE: 85 12 STA $12 C2/B9B0: BD 3C 6A LDA $6A3C,X C2/B9B3: 18 CLC C2/B9B4: 65 12 ADC $12 C2/B9B6: 38 SEC C2/B9B7: E5 10 SBC $10 C2/B9B9: 9D 3C 6A STA $6A3C,X C2/B9BC: 7B TDC C2/B9BD: E2 20 SEP #$20 C2/B9BF: 6B RTL
C2/B9C0 unknow
C2/B9C0: AE F6 7A LDX $7AF6 C2/B9C3: BD D3 74 LDA $74D3,X C2/B9C6: C2 20 REP #$20 C2/B9C8: 0A ASL C2/B9C9: 0A ASL C2/B9CA: 85 10 STA $10 C2/B9CC: BD 30 6A LDA $6A30,X C2/B9CF: 29 FF 00 AND #$00FF C2/B9D2: 0A ASL C2/B9D3: 0A ASL C2/B9D4: 0A ASL C2/B9D5: 85 12 STA $12 C2/B9D7: BD 3C 6A LDA $6A3C,X C2/B9DA: 18 CLC C2/B9DB: 65 10 ADC $10 C2/B9DD: 38 SEC C2/B9DE: E5 12 SBC $12 C2/B9E0: 9D 3C 6A STA $6A3C,X C2/B9E3: 7B TDC C2/B9E4: E2 20 SEP #$20 C2/B9E6: 6B RTL
C2/B9E7 data: handle of monsters sub-sprites
(Picture a 4x4 grid of 32x32-pixel monster subsprites with 16 possible positions on it: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F The structures below are for each of those 16 positions, and the positions are used by the monster formation molds.) (1st byte: horizontal grid position * 32 ? 2nd byte: vertical grid position * 32 ? 3rd byte: position's offset in terms of 8x8-pixel tile units 4th byte: always 01 ??) (Position 00) C2/B9E7: 00 00 C2/B9E9: 00 01 (Position 01) C2/B9EB: 20 00 C2/B9ED: 04 01 (Position 02) C2/B9EF: 40 00 C2/B9F1: 08 01 (Position 03) C2/B9F3: 60 00 C2/B9F5: 0C 01 (Position 04) C2/B9F7: 00 20 C2/B9F9: 40 01 (Position 05) C2/B9FB: 20 20 C2/B9FD: 44 01 (Position 06) C2/B9FF: 40 20 C2/BA01: 48 01 (Position 07) C2/BA03: 60 20 C2/BA05: 4C 01 (Position 08) C2/BA07: 00 40 C2/BA09: 80 01 (Position 09) C2/BA0B: 20 40 C2/BA0D: 84 01 (Position 0A) C2/BA0F: 40 40 C2/BA11: 88 01 (Position 0B) C2/BA13: 60 40 C2/BA15: 8C 01 (Position 0C) C2/BA17: 00 60 C2/BA19: C0 01 (Position 0D) C2/BA1B: 20 60 C2/BA1D: C4 01 (Position 0E) C2/BA1F: 40 60 C2/BA21: C8 01 (Position 0F) C2/BA23: 60 60 C2/BA25: CC 01
C2/BA27 unknow
C2/BA27: A0 01 00 LDY #$0001 C2/BA2A: B7 8F LDA [$8F],Y C2/BA2C: 29 7F AND #$7F C2/BA2F: 85 10 STA $10 C2/BA31: 64 12 STZ $12 C2/BA33: 7B TDC C2/BA34: AA TAX C2/BA35: A5 10 LDA $10 C2/BA37: DD C6 2E CMP $2EC6,X C2/BA39: F0 0E BEQ $BA49 C2/BA3B: E6 12 INC $12 C2/BA3D: 8A TXA C2/BA3E: 18 CLC C2/BA3F: 69 20 ADC #$20 C2/BA41: AA TAX C2/BA42: E0 80 00 CPX #$0080 C2/BA44: D0 ED BNE $BA34 C2/BA46: 18 CLC C2/BA47: 60 RTS C2/BA49: 38 SEC C2/BA4A: 60 RTS
C2/BA4B unknow
C2/BA4B: 20 27 BA JSR $BA27 C2/BA4E: 90 1D BCC $BA6D C2/BA50: B7 8F LDA [$8F],Y C2/BA52: 10 2D BPL $BA81 C2/BA54: AE D6 64 LDX $64D6 C2/BA57: 86 14 STX $14 C2/BA59: AE D8 64 LDX $64D8 C2/BA5C: 86 16 STX $16 C2/BA5E: 7B TDC C2/BA5F: AA TAX C2/BA60: A5 12 LDA $12 C2/BA62: DD D6 64 CMP $64D6,X C2/BA65: F0 09 BEQ $BA70 C2/BA67: E8 INX C2/BA68: E0 04 00 CPX #$0004 C2/BA6B: D0 F5 BNE $BA62 C2/BA6D: 4C C8 BA JMP $BAC8
C2/BA70 unknow
C2/BA70: A9 FF LDA #$FF C2/BA73: 9D 14 00 STA $0014,X C2/BA75: A2 FF FF LDX #$FFFF C2/BA77: 8E D6 64 STX $64D6 C2/BA7B: 8E D8 64 STX $64D8 C2/BA7E: 4C B6 BA JMP $BAB6
C2/BA81 unknow
C2/BA81: 7B TDC C2/BA82: AA TAX C2/BA83: A5 12 LDA $12 C2/BA85: DD D6 64 CMP $64D6,X C2/BA88: F0 3E BEQ $BAC8 C2/BA8A: E8 INX C2/BA8B: E0 04 00 CPX #$0004 C2/BA8E: D0 F5 BNE $BA85 C2/BA90: A2 FF FF LDX #$FFFF C2/BA91: DA PHX C2/BA92: 86 14 STX $14 C2/BA94: 86 16 STX $16 C2/BA96: 7B TDC C2/BA99: AA TAX C2/BA9A: BD D6 64 LDA $64D6,X C2/BA9D: 30 04 BMI $BAA3 C2/BA9F: A8 TAY C2/BAA0: 99 14 00 STA $0014,Y C2/BAA3: E8 INX C2/BAA4: E0 04 00 CPX #$0004 C2/BAA7: D0 F1 BNE $BA9A C2/BAA9: A5 12 LDA $12 C2/BAAB: A8 TAY C2/BAAC: 99 14 00 STA $0014,Y C2/BAAF: FA PLX C2/BAB0: 8E D6 64 STX $64D6 C2/BAB3: 8E D8 64 STX $64D8 C2/BAB6: 7B TDC C2/BAB7: AA TAX C2/BAB8: A8 TAY C2/BAB9: B9 14 00 LDA $0014,Y C2/BABC: 30 04 BMI $BAC2 C2/BABE: 9D D6 64 STA $64D6,X C2/BAC1: E8 INX C2/BAC2: C8 INY C2/BAC3: C0 04 00 CPY #$0004 C2/BAC6: D0 F1 BNE $BAB9 C2/BAC8: A6 8F LDX $8F C2/BACA: E8 INX C2/BACB: 86 8F STX $8F C2/BACD: 7B TDC C2/BACE: AA TAX C2/BACF: C2 20 REP #$20 C2/BAD1: A9 FF 21 LDA #$21FF C2/BAD4: 9D 95 5B STA $5B95,X C2/BAD7: E8 INX C2/BAD8: E8 INX C2/BAD9: E0 70 00 CPX #$0070 C2/BADC: D0 F6 BNE $BAD4 C2/BADE: 7B TDC C2/BADF: E2 20 SEP #$20 C2/BAE1: 6B RTL
C2/BAE2 unknow
C2/BAE2: 20 27 BA JSR $BA27 C2/BAE5: 90 24 BCC $BB0B C2/BAE7: A5 12 LDA $12 C2/BAE9: AA TAX C2/BAEA: BF 01 1A C1 LDA $C11A01,X C2/BAEE: 85 12 STA $12 C2/BAF0: B7 8F LDA [$8F],Y C2/BAF2: 30 0A BMI $BAFE C2/BAF4: AD 4E 2F LDA $2F4E C2/BAF7: 05 12 ORA $12 C2/BAF9: 8D 4E 2F STA $2F4E C2/BAFC: 80 0D BRA $BB0B C2/BAFE: AD 4C 2F LDA $2F4C C2/BB01: 05 12 ORA $12 C2/BB03: 8D 4C 2F STA $2F4C C2/BB06: A9 FF LDA #$FF C2/BB08: 9D 01 40 STA $4001,X C2/BB0B: A6 8F LDX $8F C2/BB0D: E8 INX C2/BB0E: 86 8F STX $8F C2/BB10: 6B RTL C2/BB11: 29 0F AND #$0F C2/BB13: 0A ASL C2/BB14: AA TAX C2/BB15: 7C 18 BB JMP ($BB18,X)
C2/BB18 pointers
(Data - function pointers) C2/BB18: 46 BB C2/BB1A: 1C BB
C2/BB1C unknow
C2/BB1C: A0 02 00 LDY #$0002 C2/BB1F: B1 76 LDA ($76),Y C2/BB21: 85 22 STA $22 C2/BB23: A9 0C LDA #$0C (SwdTech name length) C2/BB25: 85 24 STA $24 C2/BB27: 22 D5 18 C1 JSL $C118D5 (Multiplier function) C2/BB2B: A6 26 LDX $26 C2/BB2D: 7B TDC C2/BB2E: A8 TAY C2/BB2F: BF 40 3C CF LDA $CF3C40,X (SwdTech names) C2/BB33: C9 FF CMP #$FF C2/BB35: F0 0A BEQ $BB41 C2/BB37: 99 D5 57 STA $57D5,Y C2/BB3A: E8 INX C2/BB3B: C8 INY C2/BB3C: C0 0C 00 CPY #$000C C2/BB3F: D0 EE BNE $BB2F C2/BB41: 7B TDC C2/BB42: 99 D5 57 STA $57D5,Y C2/BB45: 6B RTL
C2/BB46 unknow
C2/BB46: A0 02 00 LDY #$0002 C2/BB49: B1 76 LDA ($76),Y C2/BB4B: 85 22 STA $22 C2/BB4D: A9 0A LDA #$0A (Esper attack name length) C2/BB4F: 85 24 STA $24 C2/BB51: 22 D5 18 C1 JSL $C118D5 (Multiplier function) C2/BB55: A6 26 LDX $26 C2/BB57: 7B TDC C2/BB58: A8 TAY C2/BB59: BF 8F FE E6 LDA $E6FE8F,X (Esper attack names) C2/BB5D: C9 FF CMP #$FF C2/BB5F: F0 0A BEQ $BB6B C2/BB61: 99 D5 57 STA $57D5,Y C2/BB64: E8 INX C2/BB65: C8 INY C2/BB66: C0 0A 00 CPY #$000A C2/BB69: D0 EE BNE $BB59 C2/BB6B: 7B TDC C2/BB6C: 99 D5 57 STA $57D5,Y C2/BB6F: 6B RTL
C2/BB70 data: centering of imp sprite for monsters
(Number of bytes to shift enemy's Imp sprite forward in the monster graphics buffer, so that it's centered properly. Provides the bottom byte of a 2-byte pointer, and is indexed from Bank C1 by [original enemy's width / 8] * 2. Keep in mind that an 8x8-pixel tile is 32 bytes.) C2/BB70: 00 00 (if 0 pixels wide) (don't shift right) C2/BB72: 00 00 (if 8 pixels wide) C2/BB74: 00 00 (if 16 pixels wide) C2/BB76: 00 00 (if 24 pixels wide) C2/BB78: 00 00 (if 32 pixels wide) C2/BB7A: 20 00 (if 40 pixels wide) (shift right 1 tile) C2/BB7C: 20 00 (if 48 pixels wide) C2/BB7E: 40 00 (if 56 pixels wide) (shift right 2 tiles) C2/BB80: 40 00 (if 64 pixels wide) C2/BB82: 60 00 (if 72 pixels wide) (shift right 3 tiles) C2/BB84: 60 00 (if 80 pixels wide) C2/BB86: 80 00 (if 88 pixels wide) (shift right 4 tiles) C2/BB88: 80 00 (if 96 pixels wide) C2/BB8A: A0 00 (if 104 pixels wide) (shift right 5 tiles) C2/BB8C: A0 00 (if 112 pixels wide) C2/BB8E: C0 00 (if 120 pixels wide) (shift right 6 tiles) C2/BB90: C0 00 (if 128 pixels wide)
C2/BB92 data: centering of imp sprite for monsters
(Number of bytes to shift enemy's Imp sprite forward in the monster graphics buffer, so that it's centered properly. Provides the top byte of a 2-byte pointer, and is indexed from Bank C1 by original [enemy's height / 8] * 2. Keep in mind that an 8x8-pixel tile is 32 bytes, and each row in the buffer has 16 tiles.) C2/BB92: 00 00 (if 0 pixels tall) (don't shift down) C2/BB94: 00 00 (if 8 pixels tall) C2/BB96: 00 00 (if 16 pixels tall) C2/BB98: 00 00 (if 24 pixels tall) C2/BB9A: 00 00 (if 32 pixels tall) C2/BB9C: 00 02 (if 40 pixels tall) (shift down 1 tile) C2/BB9E: 00 02 (if 48 pixels tall) C2/BBA0: 00 04 (if 56 pixels tall) (shift down 2 tiles) C2/BBA2: 00 04 (if 64 pixels tall) C2/BBA4: 00 06 (if 72 pixels tall) (shift down 3 tiles) C2/BBA6: 00 06 (if 80 pixels tall) C2/BBA8: 00 08 (if 88 pixels tall) (shift down 4 tiles) C2/BBAA: 00 08 (if 96 pixels tall) C2/BBAC: 00 0A (if 104 pixels tall) (shift down 5 tiles) C2/BBAE: 00 0A (if 112 pixels tall) C2/BBB0: 00 0C (if 120 pixels tall) (shift down 6 tiles) C2/BBB2: 00 0C (if 128 pixels tall)
C2/BBB4 unknow
C2/BBB4: AE F6 7A LDX $7AF6 (animation ID) C2/BBB7: DA PHX C2/BBB8: 22 69 24 C1 JSR $C12469 C2/BBBC: 7B TDC C2/BBBD: AA TAX C2/BBBE: BD 60 7E LDA $7E60,X C2/BBC1: 9D C0 7F STA $7FC0,X C2/BBC4: E8 INX C2/BBC5: E0 20 00 CPX #$0020 C2/BBC8: D0 F4 BNE $BBBE C2/BBCA: EE B0 62 INC $62B0 C2/BBCC: FA PLX C2/BBCD: 6B RTL
C2/BBCF unknow
(Used by Crusader, for Purifier/Collapse of Heaven and Earth/Apocalypse attack) C2/BBCF: AE 69 61 LDX $6169 (from C1/CBD6) C2/BBD2: 7B TDC (set accumulator to 0) C2/BBD3: A8 TAY (set Y to 0) C2/BBD4: BF 40 78 D2 LDA $D27840,X C2/BBD8: 99 E0 7F STA $7FE0,Y (write over reflect's barrier palette, set's left sprite palette) C2/BBDB: 99 E0 7D STA $7DE0,Y C2/BBDE: E8 INX C2/BBDF: C8 INY C2/BBE0: C0 20 00 CPY #$0020 C2/BBE3: D0 EF BNE $BBD4 C2/BBE5: 6B RTL
C2/BBE6 random number generator
(Random number generator) C2/BBE6: DA PHX (from C2/B1CF) C2/BBE7: A5 72 LDA $72 C2/BBE9: AA TAX C2/BBEA: E6 72 INC $72 C2/BBEC: BF 00 FD C0 LDA $C0FD00,X (get a random number) C2/BBF0: FA PLX C2/BBF1: 60 RTS
C2/BBF2 data
C2/BBF2: C0 C2/BBF3: C1 C2/BBF4: C2 C2/BBF5: C3 C2/BBF6: C4 C2/BBF7: C5 C2/BBF8: C1 C2/BBF9: C3
C2/BBFA unknow
C2/BBFA: AE F6 7A LDX $7AF6 (animation ID) C2/BBFD: C2 20 REP #$20 C2/BBFF: 9E CE 74 STZ $74CE,X C2/BC02: 9E D0 74 STZ $74D0,X C2/BC05: E2 20 SEP #$20 C2/BC07: 6B RTL
C2/BC08 unknow
C2/BC08: A5 0E LDA $0E C2/BC0A: 29 07 AND #$07 C2/BC0C: D0 29 BNE $5C37 C2/BC0E: 20 E6 BB JSR $BBE6 (random number generator) C2/BC11: 29 07 AND #$07 C2/BC13: AA TAX C2/BC14: BF F2 BB C2 LDA $C2BBF2,X C2/BC18: C2 20 REP #$20 C2/BC1A: 0A ASL C2/BC1B: 0A ASL C2/BC1C: 0A ASL C2/BC1D: 0A ASL C2/BC1E: AA TAX C2/BC1F: 7B TDC C2/BC20: A8 TAY C2/BC21: BF 00 60 D2 LDA $D26000,X C2/BC25: 99 60 7F STA $7F60,Y C2/BC28: 99 70 7F STA $7F70,Y C2/BC2B: E8 INX C2/BC2C: E8 INX C2/BC2D: C8 INY C2/BC2E: C8 INY C2/BC2F: C0 10 00 CPY #$0010 C2/BC32: D0 ED BNE $BC21 C2/BC34: 7B TDC C2/BC35: E2 20 SEP #$20 C2/BC37: 6B RTL
C2/BC38 unknow
C2/BC38: A0 01 LDY #$01 C2/BC3A: 00 AD BRK $AD C2/BC3C: AE 62 18 LDX $1862 C2/BC3F: 77 5B ADC [$5B],Y C2/BC41: 8D AE 62 STA $62AE C2/BC44: 85 12 STA $12 C2/BC46: A9 E0 8D LDA #$8DE0 C2/BC49: 96 89 STX $89,Y C2/BC4B: A2 5C LDX #$5C C2/BC4D: 02 A0 COP $A0 C2/BC4F: 04 00 TSB $00 C2/BC51: 64 10 STZ $10 C2/BC53: A5 10 LDA $10 C2/BC55: 4A LSR C2/BC56: 4A LSR C2/BC57: 38 SEC C2/BC58: E5 12 SBC $12 C2/BC5A: 10 01 BPL $BC5D C2/BC5C: 7B TDC C2/BC5D: 09 80 99 ORA #$9980 C2/BC60: 96 89 STX $89,Y C2/BC62: 9D 96 89 STA $8996,X C2/BC65: CA DEX C2/BC66: CA DEX C2/BC67: CA DEX C2/BC68: CA DEX C2/BC69: C8 INY C2/BC6A: C8 INY C2/BC6B: C8 INY C2/BC6C: C8 INY C2/BC6D: E6 10 INC $10 C2/BC6F: A5 10 LDA $10 C2/BC71: C9 4C D0 CMP #$D04C C2/BC74: DE A4 5B DEC $5BA4,X C2/BC77: C8 INY C2/BC78: 84 5B STY $5B C2/BC7A: EE AD 62 INC $62AD C2/BC7D: AE F6 7A LDX $7AF6 C2/BC80: 6B RTL C2/BC81: C2 20 REP #$20 C2/BC83: 7B TDC C2/BC84: AA TAX C2/BC85: 9D F5 44 STA $44F5,X C2/BC88: 9D 75 44 STA $4475,X C2/BC8B: 9D B0 63 STA $63B0,X C2/BC8E: E8 INX C2/BC8F: E8 INX C2/BC90: E0 80 CPX #$80 C2/BC92: 00 D0 BRK $D0 C2/BC94: F0 7B BEQ $BD11 C2/BC96: E2 20 SEP #$20 C2/BC98: 6B RTL C2/BC99: 7B TDC C2/BC9A: AA TAX C2/BC9B: BF 00 FD C0 LDA $C0FD00,X C2/BC9F: 29 1F 9D AND #$9D1F C2/BCA2: F5 44 SBC $44,X C2/BCA4: 9E F6 44 STZ $44F6,X C2/BCA7: 9E 75 44 STZ $4475,X C2/BCAA: 9E 76 44 STZ $4476,X C2/BCAD: E8 INX C2/BCAE: E8 INX C2/BCAF: E8 INX C2/BCB0: E8 INX C2/BCB1: E0 80 CPX #$80 C2/BCB3: 00 D0 BRK $D0 C2/BCB5: E5 6B SBC $6B C2/BCB7: C2 20 REP #$20 C2/BCB9: 7B TDC C2/BCBA: AA TAX C2/BCBB: BD F5 44 LDA $44F5,X C2/BCBE: F0 05 BEQ $BCC5 C2/BCC0: DE F5 44 DEC $44F5,X C2/BCC3: 80 11 BRA $BCD6 C2/BCC5: BD 75 44 LDA $4475,X C2/BCC8: 38 SEC C2/BCC9: E9 08 00 SBC #$0008 C2/BCCC: 9D 75 44 STA $4475,X C2/BCCF: 18 CLC C2/BCD0: 7D B0 63 ADC $63B0,X C2/BCD3: 9D B0 63 STA $63B0,X C2/BCD6: E8 INX C2/BCD7: E8 INX C2/BCD8: E8 INX C2/BCD9: E8 INX C2/BCDA: E0 80 CPX #$80 C2/BCDC: 00 D0 BRK $D0 C2/BCDE: DC 7B E2 JMP [$E27B] C2/BCE1: 20 6B A0 JSR $A06B C2/BCE4: 01 00 ORA ($00,X) C2/BCE6: B7 5B LDA [$5B],Y C2/BCE8: D0 15 BNE $BCFF C2/BCEA: 7B TDC C2/BCEB: AA TAX C2/BCEC: C2 20 REP #$20 C2/BCEE: A9 08 F7 LDA #$F708 C2/BCF1: 9D 21 9A STA $9A21,X C2/BCF4: E8 INX C2/BCF5: E8 INX C2/BCF6: E8 INX C2/BCF7: E8 INX C2/BCF8: E0 5C CPX #$5C C2/BCFA: 02 D0 COP $D0 C2/BCFC: F4 80 3B PEA $3B80 C2/BCFF: C2 20 REP #$20 C2/BD01: 0A ASL C2/BD02: 0A ASL C2/BD03: 85 10 STA $10 C2/BD05: 7B TDC C2/BD06: AA TAX C2/BD07: A0 5C LDY #$5C C2/BD09: 02 A9 COP $A9 C2/BD0B: FF 00 9D 21 SBC $219D00,X C2/BD0F: 9A TXS C2/BD10: 99 21 9A STA $9A21,Y C2/BD13: E8 INX C2/BD14: E8 INX C2/BD15: E8 INX C2/BD16: E8 INX C2/BD17: 88 DEY C2/BD18: 88 DEY C2/BD19: 88 DEY C2/BD1A: 88 DEY C2/BD1B: E4 10 CPX $10 C2/BD1D: D0 EE BNE $BD0D C2/BD1F: E0 30 CPX #$30 C2/BD21: 01 F0 ORA ($F0,X) C2/BD23: 16 A9 ASL $A9,X C2/BD25: 08 PHP C2/BD26: F7 9D SBC [$9D],Y C2/BD28: 21 9A AND ($9A,X) C2/BD2A: 99 21 9A STA $9A21,Y C2/BD2D: E8 INX C2/BD2E: E8 INX C2/BD2F: E8 INX C2/BD30: E8 INX C2/BD31: 88 DEY C2/BD32: 88 DEY C2/BD33: 88 DEY C2/BD34: 88 DEY C2/BD35: E0 30 CPX #$30 C2/BD37: 01 D0 ORA ($D0,X) C2/BD39: ED E6 5B SBC $5BE6 C2/BD3C: 7B TDC C2/BD3D: E2 20 SEP #$20 C2/BD3F: EE 97 61 INC $6197 C2/BD42: 6B RTL C2/BD43: A9 FF 8D LDA #$8DFF C2/BD46: 9D 62 9C STA $9C62,X C2/BD49: 47 2F EOR [$2F] C2/BD4B: 9C 92 61 STZ $6192 C2/BD4E: C2 20 REP #$20 C2/BD50: 7B TDC C2/BD51: AA TAX C2/BD52: A9 FF FF LDA #$FFFF C2/BD55: 9D 46 62 STA $6246,X C2/BD58: E8 INX C2/BD59: E8 INX C2/BD5A: E0 10 CPX #$10 C2/BD5C: 00 D0 BRK $D0 C2/BD5E: F6 7B INC $7B,X C2/BD60: E2 20 SEP #$20 C2/BD62: AD 49 2F LDA $2F49 C2/BD65: 10 2E BPL $BD95 C2/BD67: AD 4A 2F LDA $2F4A C2/BD6A: 85 22 STA $22 C2/BD6C: A9 18 85 LDA #$8518 C2/BD6F: 24 22 BIT $22 C2/BD71: D5 18 CMP $18,X C2/BD73: C1 A6 CMP ($A6,X) C2/BD75: 26 BF ROL $BF C2/BD77: 01 FD ORA ($FD,X) C2/BD79: D0 C9 BNE $BD44 C2/BD7B: FF F0 06 8D SBC $8D06F0,X C2/BD7F: B8 CLV C2/BD80: EC 9C B9 CPX $B99C C2/BD83: EC BF 02 CPX $02BF C2/BD86: FD D0 8D SBC $8DD0,X C2/BD89: 46 2F LSR $2F C2/BD8B: BF 03 FD D0 LDA $D0FD03,X C2/BD8F: 8D 9D 62 STA $629D C2/BD92: 20 6E BE JSR $BE6E C2/BD95: AD 4B 2F LDA $2F4B C2/BD98: 30 36 BMI $BDD0 C2/BD9A: EE ED E9 INC $E9ED C2/BD9D: A9 10 8D LDA #$8D10 C2/BDA0: 00 13 BRK $13 C2/BDA2: A9 FF 8D LDA #$8DFF C2/BDA5: 02 13 COP $13 C2/BDA7: AD 9D 62 LDA $629D C2/BDAA: C9 FF D0 CMP #$D0FF C2/BDAD: 11 AD ORA ($AD),Y C2/BDAF: 4B PHK C2/BDB0: 2F 29 38 4A AND $4A3829 C2/BDB4: 4A LSR C2/BDB5: 4A LSR C2/BDB6: AA TAX C2/BDB7: BF 3B BF C2 LDA $C2BF3B,X C2/BDBB: C9 FF F0 CMP #$F0FF C2/BDBE: 0E 8D 01 ASL $018D C2/BDC1: 13 AD ORA ($AD,S),Y C2/BDC3: E4 11 CPX $11 C2/BDC5: 29 08 D0 AND #$D008 C2/BDC8: 04 22 TSB $22 C2/BDCA: 04 00 TSB $00 C2/BDCC: C5 9C CMP $9C C2/BDCE: ED E9 7B SBC $7BE9 C2/BDD1: AA TAX C2/BDD2: A8 TAY C2/BDD3: C2 20 REP #$20 C2/BDD5: 9E C7 2E STZ $2EC7,X C2/BDD8: B9 46 62 LDA $6246,Y C2/BDDB: C9 FF FF CMP #$FFFF C2/BDDE: F0 03 BEQ $BDE3 C2/BDE0: FE C7 2E INC $2EC7,X C2/BDE3: 98 TYA C2/BDE4: 18 CLC C2/BDE5: 69 04 00 ADC #$0004 C2/BDE8: A8 TAY C2/BDE9: 8A TXA C2/BDEA: 18 CLC C2/BDEB: 69 20 00 ADC #$0020 C2/BDEE: AA TAX C2/BDEF: E0 80 CPX #$80 C2/BDF1: 00 D0 BRK $D0 C2/BDF3: E1 7B SBC ($7B,X) C2/BDF5: E2 20 SEP #$20 C2/BDF7: A9 01 85 LDA #$8501 C2/BDFA: 10 7B BPL $BE77 C2/BDFC: AA TAX C2/BDFD: BD C6 2E LDA $2EC6,X C2/BE00: C9 2F D0 CMP #$D02F C2/BE03: 08 PHP C2/BE04: AD 92 61 LDA $6192 C2/BE07: 05 10 ORA $10 C2/BE09: 8D 92 61 STA $6192 C2/BE0C: 06 10 ASL $10 C2/BE0E: 8A TXA C2/BE0F: 18 CLC C2/BE10: 69 20 AA ADC #$AA20 C2/BE13: C9 80 D0 CMP #$D080 C2/BE16: E6 AD INC $AD C2/BE18: 92 61 STA ($61) C2/BE1A: 49 FF 8D EOR #$8DFF C2/BE1D: 92 61 STA ($61) C2/BE1F: EE ED E9 INC $E9ED C2/BE22: A9 82 8D LDA #$8D82 C2/BE25: 00 13 BRK $13 C2/BE27: 7B TDC C2/BE28: 8D 01 13 STA $1301 C2/BE2B: 3A DEC C2/BE2C: 8D 02 13 STA $1302 C2/BE2F: AD E4 11 LDA $11E4 C2/BE32: 29 08 D0 AND #$D008 C2/BE35: 04 22 TSB $22 C2/BE37: 04 00 TSB $00 C2/BE39: C5 9C CMP $9C C2/BE3B: ED E9 AF SBC $AFE9 C2/BE3E: 4F 1D 00 29 EOR $29001D C2/BE42: 40 RTI C2/BE43: 8D 9C 62 STA $629C C2/BE46: AF 54 1D 00 LDA $001D54 C2/BE4A: 10 19 BPL $BE65 C2/BE4C: AF 4F 1D 00 LDA $001D4F C2/BE50: 85 10 STA $10 C2/BE52: 7B TDC C2/BE53: AA TAX C2/BE54: A5 10 LDA $10 C2/BE56: 29 01 9D AND #$9D01 C2/BE59: 98 TYA C2/BE5A: 61 46 ADC ($46,X) C2/BE5C: 10 E8 BPL $BE46 C2/BE5E: E0 04 CPX #$04 C2/BE60: 00 D0 BRK $D0 C2/BE62: F1 80 SBC ($80),Y C2/BE64: 08 PHP C2/BE65: 7B TDC C2/BE66: AA TAX C2/BE67: 8E 98 61 STX $6198 C2/BE6A: 8E 9A 61 STX $619A C2/BE6D: 6B RTL C2/BE6E: DA PHX C2/BE6F: BF 00 FD D0 LDA $D0FD00,X C2/BE73: 30 74 BMI $BEE9 C2/BE75: A9 04 85 LDA #$8504 C2/BE78: 10 BF BPL $BE39 C2/BE7A: 04 FD TSB $FD C2/BE7C: D0 C9 BNE $BE47 C2/BE7E: FF F0 66 29 SBC $2966F0,X C2/BE82: 3F 85 12 64 AND $641285,X C2/BE86: 14 7B TRB $7B C2/BE88: A8 TAY C2/BE89: A9 01 85 LDA #$8501 C2/BE8C: 18 CLC C2/BE8D: B9 C6 2E LDA $2EC6,Y C2/BE90: C5 12 CMP $12 C2/BE92: D0 3D BNE $BED1 C2/BE94: BF 04 FD D0 LDA $D0FD04,X C2/BE98: 29 40 F0 AND #$F040 C2/BE9B: 05 A5 ORA $A5 C2/BE9D: 18 CLC C2/BE9E: 8D 47 2F STA $2F47 C2/BEA1: BF 04 FD D0 LDA $D0FD04,X C2/BEA5: 10 08 BPL $BEAF C2/BEA7: A5 18 LDA $18 C2/BEA9: 0D 92 61 ORA $6192 C2/BEAC: 8D 92 61 STA $6192 C2/BEAF: A5 14 LDA $14 C2/BEB1: 0A ASL C2/BEB2: 0A ASL C2/BEB3: A8 TAY C2/BEB4: BF 07 FD D0 LDA $D0FD07,X C2/BEB8: C9 FF F0 CMP #$F0FF C2/BEBB: 22 C2 20 0A JSR $0A20C2 C2/BEBF: 99 46 62 STA $6246,Y C2/BEC2: BF 08 FD D0 LDA $D0FD08,X C2/BEC6: 29 FF 00 AND #$00FF C2/BEC9: 0A ASL C2/BECA: 99 48 62 STA $6248,Y C2/BECD: E2 20 SEP #$20 C2/BECF: 80 0D BRA $BEDE C2/BED1: 06 18 ASL $18 C2/BED3: E6 14 INC $14 C2/BED5: 98 TYA C2/BED6: 18 CLC C2/BED7: 69 20 A8 ADC #$A820 C2/BEDA: C9 80 D0 CMP #$D080 C2/BEDD: AF E8 E8 E8 LDA $E8E8E8 C2/BEE1: E8 INX C2/BEE2: E8 INX C2/BEE3: C6 10 DEC $10 C2/BEE5: D0 92 BNE $BE79 C2/BEE7: FA PLX C2/BEE8: 60 RTS C2/BEE9: 7B TDC C2/BEEA: A8 TAY C2/BEEB: A9 01 85 LDA #$8501 C2/BEEE: 10 BF BPL $BEAF C2/BEF0: 04 FD TSB $FD C2/BEF2: D0 C9 BNE $BEBD C2/BEF4: FF F0 17 29 SBC $2917F0,X C2/BEF8: 40 RTI C2/BEF9: F0 05 BEQ $BF00 C2/BEFB: A5 10 LDA $10 C2/BEFD: 8D 47 2F STA $2F47 C2/BF00: BF 04 FD D0 LDA $D0FD04,X C2/BF04: 10 08 BPL $BF0E C2/BF06: A5 10 LDA $10 C2/BF08: 0D 92 61 ORA $6192 C2/BF0B: 8D 92 61 STA $6192 C2/BF0E: BF 07 FD D0 LDA $D0FD07,X C2/BF12: C9 FF F0 CMP #$F0FF C2/BF15: 13 C2 ORA ($C2,S),Y C2/BF17: 20 0A 99 JSR $990A C2/BF1A: 46 62 LSR $62 C2/BF1C: BF 08 FD D0 LDA $D0FD08,X C2/BF20: 29 FF 00 AND #$00FF C2/BF23: 0A ASL C2/BF24: 99 48 62 STA $6248,Y C2/BF27: E2 20 SEP #$20 C2/BF29: 06 10 ASL $10 C2/BF2B: C8 INY C2/BF2C: C8 INY C2/BF2D: C8 INY C2/BF2E: C8 INY C2/BF2F: E8 INX C2/BF30: E8 INX C2/BF31: E8 INX C2/BF32: E8 INX C2/BF33: E8 INX C2/BF34: C0 10 00 CPY #$0010 C2/BF37: D0 B6 BNE $BEEF C2/BF39: FA PLX C2/BF3A: 60 RTS C2/BF3B: 24 14 BIT $14 C2/BF3D: 33 2E AND ($2E,S),Y C2/BF3F: 1A INC C2/BF40: 3B TSC C2/BF41: FF FF
C2/BF43 data
(Data - indexed by C1/1105, pointer between 0 and 7) C2/BF43: 00 C2/BF44: C2 C2/BF45: 40 C2/BF46: C2 C2/BF47: 80 C2/BF48: C2 C2/BF49: C0 C2/BF4A: C2 C2/BF4B: 00 C2/BF4C: C3 40 CMP $40,S C2/BF4E: C3 80 CMP $80,S C2/BF50: C3 C0 CMP $C0,S C2/BF52: C3 AD CMP $AD,S C2/BF54: DB STP C2/BF55: E9 29 03 SBC #$0329 C2/BF58: D0 30 BNE $BF8A C2/BF5A: AD DB E9 LDA $E9DB C2/BF5D: 4A LSR C2/BF5E: 4A LSR C2/BF5F: 29 03 AA AND #$AA03 C2/BF62: BD 2A 20 LDA $202A,X C2/BF65: F0 05 BEQ $BF6C C2/BF67: 20 8E BF JSR $BF8E C2/BF6A: 80 1E BRA $BF8A C2/BF6C: 8A TXA C2/BF6D: 0A ASL C2/BF6E: AA TAX C2/BF6F: C2 20 REP #$20 C2/BF71: BF 43 BF C2 LDA $C2BF43,X C2/BF75: AA TAX C2/BF76: 7B TDC C2/BF77: A0 20 LDY #$20 C2/BF79: 00 9F BRK $9F C2/BF7B: 00 00 BRK $00 C2/BF7D: 7F 9F 00 01 ADC $01009F,X C2/BF81: 7F E8 E8 88 ADC $88E8E8,X C2/BF85: D0 F3 BNE $BF7A C2/BF87: 7B TDC C2/BF88: E2 20 SEP #$20 C2/BF8A: EE DB E9 INC $E9DB C2/BF8D: 6B RTL C2/BF8E: A0 00 LDY #$00 C2/BF90: 00 BD BRK $BD C2/BF92: 2A ROL C2/BF93: 20 3A 38 JSR $383A C2/BF96: E9 0A 90 SBC #$900A C2/BF99: 03 C8 ORA $C8,S C2/BF9B: 80 F8 BRA $BF95 C2/BF9D: 18 CLC C2/BF9E: 69 0A 85 ADC #$850A C2/BFA1: 10 84 BPL $BF27 C2/BFA3: 12 8B ORA ($8B) C2/BFA5: A9 7F 48 LDA #$487F C2/BFA8: AB PLB C2/BFA9: 8A TXA C2/BFAA: 0A ASL C2/BFAB: AA TAX C2/BFAC: C2 20 REP #$20 C2/BFAE: DA PHX C2/BFAF: BF 43 BF C2 LDA $C2BF43,X C2/BFB3: AA TAX C2/BFB4: A5 12 LDA $12 C2/BFB6: 20 DF BF JSR $BFDF C2/BFB9: A5 10 LDA $10 C2/BFBB: 20 DF BF JSR $BFDF C2/BFBE: FA PLX C2/BFBF: BF 4B BF C2 LDA $C2BF4B,X C2/BFC3: AA TAX C2/BFC4: A5 10 LDA $10 C2/BFC6: 20 D3 BF JSR $BFD3 C2/BFC9: A5 12 LDA $12 C2/BFCB: 20 D3 BF JSR $BFD3 C2/BFCE: 7B TDC C2/BFCF: E2 20 SEP #$20 C2/BFD1: AB PLB C2/BFD2: 60 RTS C2/BFD3: DA PHX C2/BFD4: 29 FF 00 AND #$00FF C2/BFD7: 0A ASL C2/BFD8: AA TAX C2/BFD9: BF 13 C0 C2 LDA $C2C013,X C2/BFDD: 80 0A BRA $BFE9 C2/BFDF: DA PHX C2/BFE0: 29 FF 00 AND #$00FF C2/BFE3: 0A ASL C2/BFE4: AA TAX C2/BFE5: BF FF BF C2 LDA $C2BFFF,X C2/BFE9: A8 TAY C2/BFEA: FA PLX C2/BFEB: A9 10 00 LDA #$0010 C2/BFEE: 85 14 STA $14 C2/BFF0: B9 00 00 LDA $0000,Y C2/BFF3: 9D 00 00 STA $0000,X C2/BFF6: E8 INX C2/BFF7: E8 INX C2/BFF8: C8 INY C2/BFF9: C8 INY C2/BFFA: C6 14 DEC $14 C2/BFFC: D0 F2 BNE $BFF0 C2/BFFE: 60 RTS C2/BFFF: 00 BE BRK $BE