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.
SoM-Bank01
Jump to navigation
Jump to search
This is an incorrectly used {{subpage}} template.
[Bank 1] [Table of Contents] [0100~2256: AI Commands and related subroutines] [015B~01F6: $E146/7,Y bit manipulators] [06C5~????: Plus Sub. UPTs] [20A4~210D: Char. Data 2-Byte Comparisons] [2257~2456: AI Command Pointers/Uber Pointer Table] [61BA~6517: Boss Graphics Scripts] [??~88C6?: Spell Header Subroutines] [950D~B032: VRAM Sprite Placement] {Character group update/Combat Zone Flag shit} [E76D~E8DF: Subroutines Related to Event System] [E8E0~E9C3: Event Command Pointer Jumper and Table] [E9C4~F2E8: Event Command Subroutines] C1/0000: FFFFFFFF SBC $FFFFFF,X C1/0004: FFFFFFFF SBC $FFFFFF,X C1/0008: FFFFFFFF SBC $FFFFFF,X [Initial jump in this bank?] C1/000C: 204000 JSR $0040 C1/000F: 6B RTL [Jumped to by Reset code $8008] C1/0010: 5CE54CC1 JMP $C14CE5 [Jump to Reset 1-1] [] C1/0014: 20304C JSR $4C30 [Jump to Reset 1-2] C1/0017: 6B RTL C1/0018: 5CFA4CC1 JMP $C14CFA C1/001C: 00000000 [Section 1-1] C1/0020: 20B625 JSR $25B6 C1/0023: 6B RTL [Section 1-2] C1/0024: 209826 JSR $2698 C1/0027: 6B RTL [Section 1-3] C1/0028: 205225 JSR $2552 C1/002B: 6B RTL C1/002C: FFFFFFFF SBC $FFFFFF,X [Section 2-1] C1/0030: 201F48 JSR $481F C1/0033: 6B RTL [Section 2-2] C1/0034: 209248 JSR $4892 C1/0037: 6B RTL [Section 2-3] C1/0038: 203C3B JSR $3B3C C1/003B: 6B RTL C1/003C: FFFFFFFF SBC $FFFFFF,X [JSRd to from C1/000C. Assuming $0100, etc. are actually character info offsets] C1/0040: 0B PHD C1/0041: 08 PHP C1/0042: C220 REP #$20 C1/0044: E220 SEP #$20 {Compiler artifacts, probably} C1/0046: 8B PHB C1/0047: 48 PHA C1/0048: A900 LDA #$00 C1/004A: 48 PHA C1/004B: AB PLB C1/004C: 68 PLA C1/004D: C210 REP #$10 C1/004F: DA PHX C1/0050: 48 PHA C1/0051: EB XBA C1/0052: 48 PHA C1/0053: AD0001 LDA $0100 C1/0056: EB XBA C1/0057: A940 LDA #$40 C1/0059: 8D0001 STA $0100 C1/005C: - CB WAI C1/005D: A20000 LDX #$0000 C1/0060: -- CA DEX C1/0061: D0FD -- BNE $0060 C1/0063: AD1B42 LDA $421B [Load Controller 2 Data 1 (High)] C1/0066: AD1A42 LDA $421A [Load Controller 2 Data 1 (Low)] C1/0069: 2910 AND #$10 {Check for Start being pressed} C1/006B: F0EF - BEQ $005C C1/006D: EB XBA C1/006E: 8D0001 STA $0100 [Store into Master Activation Byte] {...what?} C1/0071: 68 PLA C1/0072: EB XBA C1/0073: FA PLX C1/0074: 68 PLA C1/0075: AB PLB C1/0076: 28 PLP C1/0077: 2B PLD C1/0078: 60 RTS C1/0079: FFFFFFFF SBC $FFFFFF,X C1/007D: FFFFFF [] C1/0080: 5A PHY C1/0081: BB TYX C1/0082: B98001 LDA $0180,Y [Load enemy type] C1/0085: 20E026 JSR $26E0 {} C1/0088: 7A PLY C1/0089: A900 LDA #$00 C1/008B: 994001 STA $0140,Y C1/008E: A900 LDA #$00 C1/0090: 60 RTS ;-------Incrementers A------- #DefineSection "Incrementers" [Increment command by variable amount?] C1/0091: C220 REP #$20 C1/0093: 29FF00 AND #$00FF C1/0096: 18 CLC C1/0097: 794401 ADC $0144,Y C1/009A: 994401 STA $0144,Y C1/009D: A90000 LDA #$0000 C1/00A0: 60 RTS [Transfer Y to X, increment command] C1/00A1: C220 REP #$20 C1/00A3: BB TYX C1/00A4: FE4401 INC $0144,X C1/00A7: A9FFFF LDA #$FFFF C1/00AA: 60 RTS [Increment command by 2 and save it] C1/00AB: C220 REP #$20 C1/00AD: B94401 LDA $0144,Y C1/00B0: 18 CLC C1/00B1: 690200 ADC #$0002 C1/00B4: 994401 STA $0144,Y C1/00B7: A9FFFF LDA #$FFFF C1/00BA: 60 RTS [Increment command by 3 and save it] C1/00BB: C220 REP #$20 C1/00BD: B94401 LDA $0144,Y C1/00C0: 18 CLC C1/00C1: 690300 ADC #$0003 C1/00C4: 994401 STA $0144,Y C1/00C7: A9FFFF LDA #$FFFF C1/00CA: 60 RTS [Increment command by 4 and save it] C1/00CB: C220 REP #$20 C1/00CD: B94401 LDA $0144,Y C1/00D0: 18 CLC C1/00D1: 690400 ADC #$0004 C1/00D4: 994401 STA $0144,Y C1/00D7: A9FFFF LDA #$FFFF C1/00DA: 60 RTS #EndSection "Incrementers" [Logical AND $E146,Y for #$0F] C1/00DB: 0B PHD C1/00DC: 08 PHP C1/00DD: C220 REP #$20 C1/00DF: E220 SEP #$20 C1/00E1: B94601 LDA $0146,Y C1/00E4: 290F AND #$0F C1/00E6: 28 PLP C1/00E7: 2B PLD C1/00E8: 60 RTS [Divide $E146,Y by 8] C1/00E9: 0B PHD C1/00EA: 08 PHP C1/00EB: C220 REP #$20 C1/00ED: E220 SEP #$20 C1/00EF: B94601 LDA $0146,Y C1/00F2: 4A LSR A C1/00F3: 4A LSR A C1/00F4: 4A LSR A C1/00F5: 4A LSR A C1/00F6: 28 PLP C1/00F7: 2B PLD C1/00F8: 60 RTS [A large number of UPT #s jump to $0100, but that's in the middle of an instruction...] [On the other hand, it might just flat out be an invalid instruction] C1/00F9: 0B PHD C1/00FA: 08 PHP C1/00FB: C220 REP #$20 C1/00FD: E220 SEP #$20 C1/00FF: B9 Invalid? ;------------------------------------------------------------------------------; ; AI Commands and related subroutines [0100~2256] C1/0100: 5A PHY C1/0101: BB TYX C1/0102: B98001 LDA $0180,Y [Load character type] C1/0105: 203C26 JSR $263C [IMPORTANT] C1/0108: 7A PLY C1/0109: A900 LDA #$00 C1/010B: 994001 STA $0140,Y C1/010E: A900 LDA #$00 C1/0110: 60 RTS ;-------Incrementers B------- #DefineSection "Incrementers B" [Something about having #$0000 or #$FFFF in the accumulator...] [AI Command Offset Variable Increase] C1/0111: C220 REP #$20 [Disable 8-Bit Emulation] C1/0113: 29FF00 AND #$00FF [Logical AND Accumulator with #$00FF] C1/0116: 18 CLC [Clear Carry] C1/0117: 794401 ADC $0144,Y [Add AI file pointer] C1/011A: 994401 STA $0144,Y [Store back into AI pointer] C1/011D: A90000 LDA #$0000 [Load #$0000 into Accumulator] C1/0120: 60 RTS [Return] [This series of routines increments the AI file pointer and loads #$FFFF, eh?] [Command Offset += 1] C1/0121: C220 REP #$20 C1/0123: BB TYX C1/0124: FE4401 INC $0144,X [Increment command] C1/0127: A9FFFF LDA #$FFFF [Load #$FFFF into Accumulator] C1/012A: 60 RTS [Command Offset += 2] C1/012B: C220 REP #$20 C1/012D: B94401 LDA $0144,Y C1/0130: 18 CLC C1/0131: 690200 ADC #$0002 C1/0134: 994401 STA $0144,Y C1/0137: A9FFFF LDA #$FFFF C1/013A: 60 RTS [Command Offset += 3] C1/013B: C220 REP #$20 C1/013D: B94401 LDA $0144,Y C1/0140: 18 CLC C1/0141: 690300 ADC #$0003 C1/0144: 994401 STA $0144,Y C1/0147: A9FFFF LDA #$FFFF C1/014A: 60 RTS [Command Offset += 4] C1/014B: C220 REP #$20 C1/014D: B94401 LDA $0144,Y C1/0150: 18 CLC C1/0151: 690400 ADC #$0004 C1/0154: 994401 STA $0144,Y C1/0157: A9FFFF LDA #$FFFF C1/015A: 60 RTS #EndSection "Incrementers C" [015B~01F6: $E146/7,Y bit manipulators] #DefineSection "Bit Manipulators" ;-------Getters------- [Why does a SEP #$20 follow REP #$20 here? What is this shit?] [The following four subs grab low or high bits and, if the latter, put them into the low bits of the accumulator] [Grab $E146,Y Low Bits] C1/015B: 0B PHD C1/015C: 08 PHP C1/015D: C220 REP #$20 C1/015F: E220 SEP #$20 C1/0161: B94601 LDA $0146,Y C1/0164: 290F AND #$0F C1/0166: 28 PLP C1/0167: 2B PLD C1/0168: 60 RTS [Get $E146,Y High Bits] C1/0169: 0B PHD C1/016A: 08 PHP C1/016B: C220 REP #$20 C1/016D: E220 SEP #$20 C1/016F: B94601 LDA $0146,Y C1/0172: 4A LSR A C1/0173: 4A LSR A C1/0174: 4A LSR A C1/0175: 4A LSR A C1/0176: 28 PLP C1/0177: 2B PLD C1/0178: 60 RTS [Get $E147,Y Low Bits] C1/0179: 0B PHD C1/017A: 08 PHP C1/017B: C220 REP #$20 C1/017D: E220 SEP #$20 C1/017F: B94701 LDA $0147,Y C1/0182: 290F AND #$0F C1/0184: 28 PLP C1/0185: 2B PLD C1/0186: 60 RTS [Get $E147,Y High Bits] C1/0187: 0B PHD C1/0188: 08 PHP C1/0189: C220 REP #$20 C1/018B: E220 SEP #$20 C1/018D: B94701 LDA $0147,Y C1/0190: 4A LSR A C1/0191: 4A LSR A C1/0192: 4A LSR A C1/0193: 4A LSR A C1/0194: 28 PLP C1/0195: 2B PLD C1/0196: 60 RTS ;-------Setters------- [The following four subs take the accumulator low bits and set them into $E146/7,Y's low/high bits] [Accumulator Low Bits Into $E146,Y Low Bits] C1/0197: 0B PHD [Push DirectPage onto Stack] C1/0198: 08 PHP [Push ProcessorStatus onto Stack] C1/0199: C230 REP #$30 [Disable 8-Bit Accumulator, Registers] C1/019B: E220 SEP #$20 [Enable 8-Bit Accumulator] {What the fuck} C1/019D: 290F AND #$0F [Logical AND Accumulator with #$0F] C1/019F: 48 PHA [Push Accumulator onto Stack] C1/01A0: B94601 LDA $0146,Y C1/01A3: 29F0 AND #$F0 C1/01A5: 0301 ORA $01,S {Slick maneuvering with stack, I gotta say} C1/01A7: 994601 STA $0146,Y C1/01AA: 68 PLA C1/01AB: 28 PLP C1/01AC: 2B PLD C1/01AD: 60 RTS [Accumulator Low Bits Into $E146,Y High Bits] C1/01AE: 0B PHD C1/01AF: 08 PHP C1/01B0: C230 REP #$30 [Disable 8-Bit Emulation, Registers] C1/01B2: E220 SEP #$20 [Enable 8-Bit Emulation] C1/01B4: 0A ASL A C1/01B5: 0A ASL A C1/01B6: 0A ASL A C1/01B7: 0A ASL A C1/01B8: 48 PHA C1/01B9: B94601 LDA $0146,Y C1/01BC: 290F AND #$0F [Logical AND Accumulator with #$0F] C1/01BE: 0301 ORA $01,S C1/01C0: 994601 STA $0146,Y [Store here] C1/01C3: 68 PLA [Pull Accumulator from Stack] C1/01C4: 28 PLP [Pull ProcessorStatus from Stack] C1/01C5: 2B PLD [Pull DirectPage from Stack] C1/01C6: 60 RTS [Return] [Accumulator Low Bits Into $E147,Y Low Bits] C1/01C7: 0B PHD C1/01C8: 08 PHP C1/01C9: C230 REP #$30 C1/01CB: E220 SEP #$20 C1/01CD: 290F AND #$0F C1/01CF: 48 PHA C1/01D0: B94701 LDA $0147,Y C1/01D3: 29F0 AND #$F0 C1/01D5: 0301 ORA $01,S C1/01D7: 994701 STA $0147,Y C1/01DA: 68 PLA C1/01DB: 28 PLP C1/01DC: 2B PLD C1/01DD: 60 RTS [Accumulator Low Bits Into $E147,Y High Bits] C1/01DE: 0B PHD C1/01DF: 08 PHP C1/01E0: C230 REP #$30 C1/01E2: E220 SEP #$20 C1/01E4: 0A ASL A C1/01E5: 0A ASL A C1/01E6: 0A ASL A C1/01E7: 0A ASL A C1/01E8: 48 PHA C1/01E9: B94701 LDA $0147,Y C1/01EC: 290F AND #$0F C1/01EE: 0301 ORA $01,S C1/01F0: 994701 STA $0147,Y C1/01F3: 68 PLA [Pull Accumulator] C1/01F4: 28 PLP [Pull ProcessorStatus] C1/01F5: 2B PLD [Pull DirectPage] C1/01F6: 60 RTS [Return] #EndSection "Bit Manipulators" ;-------Incrementers C------- #DefineSection "Incrementers C" [Increment Once Or Twice] [Note about renaming this: this skips the jump bytes.] [AI Command Offset += 1~2] [Increment AI Command Offset Once if next command has Bit #$80 set, twice if it doesn't] C1/01F7: 0B PHD [Push DataBank] C1/01F8: 08 PHP [Push ProcessorStatus] C1/01F9: C220 REP #$20 [Disable 8-Bit Emulation] C1/01FB: E220 SEP #$20 [Enable 8-Bit Emulation] C1/01FD: BF154FD0 LDA $D04F15,X [Load current AI byte] C1/0201: 8980 BIT #$80 [Bit test for #$80] C1/0203: D001 + BNE $0206 [Branch ahead if it's there] C1/0205: E8 INX [Increment X] C1/0206: + E8 INX [Increment X] C1/0207: C220 REP #$20 [Disable 8-Bit Emulation] C1/0209: 8A TXA [Transfer X to Accumulator] C1/020A: 994401 STA $0144,Y [Store into AI Command Offset] C1/020D: A9FFFF LDA #$FFFF [Load #$FFFF into Accumulator] {Compared at C1\257D} C1/0210: 28 PLP [Pull ProcessorStatus] C1/0211: 2B PLD [Pull DataBank] C1/0212: 60 RTS [Return] [AI Command Offset += 2~3] C1/0213: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0216: E8 INX C1/0217: 20F701 JSR $01F7 [Jump to Increment Once or Twice] C1/021A: 60 RTS [AI Command Offset += 3~4] C1/021B: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/021E: E8 INX C1/021F: E8 INX C1/0220: 20F701 JSR $01F7 [Jump to Increment Once or Twice] C1/0223: 60 RTS [AI Command Offset += 4~5] C1/0224: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0227: E8 INX C1/0228: E8 INX C1/0229: E8 INX C1/022A: 20F701 JSR $01F7 [Jump to Increment Once or Twice] C1/022D: 60 RTS [AI Command Offset += 5~6] C1/022E: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0231: E8 INX C1/0232: E8 INX C1/0233: E8 INX C1/0234: E8 INX C1/0235: 20F701 JSR $01F7 [Jump to Increment Once or Twice] C1/0238: 60 RTS [AI Command Offset += 6~7] C1/0239: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/023C: E8 INX C1/023D: E8 INX C1/023E: E8 INX C1/023F: E8 INX C1/0240: E8 INX C1/0241: 20F701 JSR $01F7 [Jump to Increment Once or Twice] C1/0244: 60 RTS #EndSection "Incrementers C" [Script Jump] [#$80 is a positive jump, #$C0 is a negative jump, #$40 is a huge negative jump, none set is a positive jump] C1/0245: 0B PHD [Push DirectPage] C1/0246: 08 PHP [Push ProcessorStatus] C1/0247: C220 REP #$20 [Disable 8-Bit Emulation] C1/0249: DA PHX [Push X onto Stack] C1/024A: 3B TSC [Transfer Stack Pointer to Accumulator] C1/024B: 5B TCD [Transfer Accumulator to DirectPage] C1/024C: BF154FD0 LDA $D04F15,X [Load AI Command] C1/0250: E220 SEP #$20 [Enable 8-Bit Emulation] C1/0252: 8980 BIT #$80 [Test for bit #$80] C1/0254: F010 + BEQ $0266 [Branch ahead if it's not there] C1/0256: 8940 BIT #$40 [Test for bit #$40] C1/0258: D007 ++ BNE $0261 [Branch ahead if it is there] {Bit #$80: Positive jump} C1/025A: 297F AND #$7F [Logical AND Accumulator with #$7F] C1/025C: EB XBA [Switch Accumulator bytes] {Save it in upper half} C1/025D: A900 LDA #$00 [Load #$00 into Accumulator] {Clear out other part} C1/025F: 800C +! BRA $026D [Branch ahead to...] {Bits #$C0: Negative jump} C1/0261: ++ EB XBA [Switch A and B] C1/0262: A9FF LDA #$FF [Load #$FF into Accumulator] C1/0264: 8007 +! BRA $026D [Branch ahead to...] {Bit #$80 is clear, check Bit $$40} C1/0266: + E8 INX [Increment X] C1/0267: 8940 BIT #$40 [Check for #$01000000] C1/0269: F002 +! BEQ $026D [Branch ahead if it isn't there] {Bit #$40: Huge negative jump} C1/026B: 0980 ORA #$80 [Logical OR Accumulator with #$80] {End} C1/026D: +! EB XBA [Switch A and B] C1/026E: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/0270: 1A INC A [Increment Accumulator] C1/0271: 8601 STX $01 [Store X into TempOffset] C1/0273: 18 CLC [Clear Carry] C1/0274: 6501 ADC $01 [Add TempOffset] C1/0276: 994401 STA $0144,Y [Store into AI Command Offset] C1/0279: A9FFFF LDA #$FFFF [Load #$FFFF into Accumulator] C1/027C: E220 SEP #$20 [Enable 8-Bit Emulation] C1/027E: 8302 STA $02,S [Store into Stack Pointer + 2] {To not let it intefere with...} C1/0280: 68 PLA [Pull Accumulator from Stack] C1/0281: 68 PLA [Pull Accumulator from Stack] C1/0282: 28 PLP [Pull ProcessorStatus from Stack] C1/0283: 2B PLD [Pull DirectPage from Stack] C1/0284: 60 RTS [Return] ;-------Incrementers D------- #DefineSection "Incrementers D" [Subroutines that all increment X by increasing amounts. Fucking Nasir Gebelli. What calls these?] [UPT 01: Used for unconditional jumps] [AI Command Offset += 1, Script Jump] C1/0285: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0288: E8 INX C1/0289: 204502 JSR $0245 [Jump to Script Jump] C1/028C: 60 RTS [AI Command Offset += 2, Script Jump] C1/028D: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0290: E8 INX C1/0291: E8 INX C1/0292: 204502 JSR $0245 C1/0295: 60 RTS [AI Command Offset += 3, Script Jump] C1/0296: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0299: E8 INX C1/029A: E8 INX C1/029B: E8 INX C1/029C: 204502 JSR $0245 [Jump to Script Jump] C1/029F: 60 RTS [AI Command Offset += 4, Script Jump] C1/02A0: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/02A3: E8 INX C1/02A4: E8 INX C1/02A5: E8 INX C1/02A6: E8 INX C1/02A7: 204502 JSR $0245 [Jump to Script Jump] C1/02AA: 60 RTS [AI Command Offset += 5, Script Jump] C1/02AB: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/02AE: E8 INX C1/02AF: E8 INX C1/02B0: E8 INX C1/02B1: E8 INX C1/02B2: E8 INX C1/02B3: 204502 JSR $0245 [Jump to Script Jump] C1/02B6: 60 RTS #EndSection "Incrementers D" [UPT FF] C1/02B7: 0B PHD C1/02B8: 08 PHP C1/02B9: C220 REP #$20 [Disable 8-Bit Emulation] C1/02BB: DA PHX C1/02BC: 3B TSC C1/02BD: 5B TCD C1/02BE: B94F01 LDA $014F,Y [Load...Call Depth?] {$E14F} C1/02C1: 0A ASL A [Multiply by 2] C1/02C2: 29FF00 AND #$00FF [Throw out low byte] C1/02C5: 18 CLC [Clear Carry] C1/02C6: 695001 ADC #$0150 [Add #$0150 to Accumulator] C1/02C9: 8501 STA $01 [Store...here] {!} C1/02CB: B94401 LDA $0144,Y [Command held?] C1/02CE: AA TAX [Transfer to X register] C1/02CF: 18 CLC [Clear Carry] C1/02D0: 690300 ADC #$0003 [Add #$0003] C1/02D3: 9101 STA ($01),Y [Store it into whatever address is pointed to by $E150,Y] {!} C1/02D5: BF164FD0 LDA $D04F16,X [Load second and third operands] C1/02D9: EB XBA [Switch AI byte command over to B] C1/02DA: 994401 STA $0144,Y [Store into Character AI Pointer] C1/02DD: E220 SEP #$20 [Enable 8-bit emulation mode] C1/02DF: B94F01 LDA $014F,Y [Load Character AI Stack Pointer?] C1/02E2: 1A INC A [Increment Accumulator] C1/02E3: C910 CMP #$10 [Compare with #$10] C1/02E5: B007 + BCS $02EE [Branch ahead if Accumulator >= #$10] C1/02E7: 994F01 STA $014F,Y [Store into Character AI Stack Pointer?] C1/02EA: A9FF LDA #$FF [Load #$FF into Accumulator] C1/02EC: 8003 ++ BRA $02F1 C1/02EE: + 200001 JSR $0100 {This does not make sense} [Theoretically, clean up Character AI Stack?] C1/02F1: ++ 8302 STA $02,S [Store into third free Stack slot?] C1/02F3: 68 PLA C1/02F4: 68 PLA C1/02F5: 28 PLP C1/02F6: 2B PLD C1/02F7: 60 RTS [UPT 00] C1/02F8: 0B PHD C1/02F9: 08 PHP C1/02FA: C220 REP #$20 C1/02FC: DA PHX C1/02FD: 3B TSC C1/02FE: 5B TCD C1/02FF: E220 SEP #$20 C1/0301: B94F01 LDA $014F,Y C1/0304: 3A DEC A C1/0305: C910 CMP #$10 C1/0307: B019 BCS $0322 C1/0309: 994F01 STA $014F,Y C1/030C: 0A ASL A C1/030D: C220 REP #$20 C1/030F: 29FF00 AND #$00FF C1/0312: 18 CLC C1/0313: 695001 ADC #$0150 C1/0316: 8501 STA $01 C1/0318: B101 LDA ($01),Y C1/031A: 994401 STA $0144,Y C1/031D: A9FFFF LDA #$FFFF C1/0320: 8003 BRA $0325 C1/0322: 200001 JSR $0100 C1/0325: E220 SEP #$20 C1/0327: 8302 STA $02,S C1/0329: 68 PLA C1/032A: 68 PLA C1/032B: 28 PLP C1/032C: 2B PLD C1/032D: 60 RTS [$0045, with Y] {CHANGE} C1/032E: 0B PHD C1/032F: 08 PHP C1/0330: C220 REP #$20 C1/0332: B94500 LDA $0045,Y C1/0335: 29FF00 AND #$00FF C1/0338: 49FFFF EOR #$FFFF C1/033B: 1A INC A C1/033C: 18 CLC C1/033D: 792200 ADC $0022,Y C1/0340: 28 PLP C1/0341: 2B PLD C1/0342: 60 RTS [$0045, with X] C1/0343: 0B PHD C1/0344: 08 PHP C1/0345: C220 REP #$20 C1/0347: BD4500 LDA $0045,X C1/034A: 29FF00 AND #$00FF C1/034D: 49FFFF EOR #$FFFF C1/0350: 1A INC A C1/0351: 18 CLC C1/0352: 7D2200 ADC $0022,X C1/0355: 28 PLP C1/0356: 2B PLD C1/0357: 60 RTS C1/0358: 0B PHD C1/0359: 08 PHP C1/035A: C220 REP #$20 C1/035C: 3B TSC C1/035D: 38 SEC C1/035E: E90400 SBC #$0004 C1/0361: 5B TCD C1/0362: 1B TCS C1/0363: BD2000 LDA $0020,X C1/0366: 38 SEC C1/0367: F92000 SBC $0020,Y C1/036A: F002 BEQ $036E C1/036C: B004 BCS $0372 C1/036E: 49FFFF EOR #$FFFF C1/0371: 1A INC A C1/0372: 8900FF BIT #$FF00 C1/0375: D075 BNE $03EC C1/0377: 8501 STA $01 C1/0379: E220 SEP #$20 C1/037B: EB XBA C1/037C: A501 LDA $01 C1/037E: C220 REP #$20 C1/0380: 8F024200 STA $004202 C1/0384: 48 PHA C1/0385: 68 PLA C1/0386: AF164200 LDA $004216 C1/038A: 8503 STA $03 C1/038C: 202E03 JSR $032E [$0045, with Y] C1/038F: 8501 STA $01 C1/0391: 204303 JSR $0343 C1/0394: 38 SEC C1/0395: E501 SBC $01 C1/0397: F002 BEQ $039B C1/0399: B004 BCS $039F C1/039B: 49FFFF EOR #$FFFF C1/039E: 1A INC A C1/039F: 8900FF BIT #$FF00 C1/03A2: D048 BNE $03EC C1/03A4: 8501 STA $01 C1/03A6: E220 SEP #$20 C1/03A8: EB XBA C1/03A9: A501 LDA $01 C1/03AB: C220 REP #$20 C1/03AD: 8F024200 STA $004202 C1/03B1: 48 PHA C1/03B2: 68 PLA C1/03B3: AF164200 LDA $004216 C1/03B7: 18 CLC C1/03B8: 6503 ADC $03 C1/03BA: C90024 CMP #$2400 C1/03BD: F002 BEQ $03C1 C1/03BF: B035 BCS $03F6 C1/03C1: C90010 CMP #$1000 C1/03C4: F002 BEQ $03C8 C1/03C6: B029 BCS $03F1 C1/03C8: C90009 CMP #$0900 C1/03CB: F002 BEQ $03CF C1/03CD: B01D BCS $03EC C1/03CF: C90004 CMP #$0400 C1/03D2: F002 BEQ $03D6 C1/03D4: B011 BCS $03E7 C1/03D6: C90001 CMP #$0100 C1/03D9: F002 BEQ $03DD C1/03DB: B005 BCS $03E2 C1/03DD: A90100 LDA #$0001 C1/03E0: 8017 BRA $03F9 C1/03E2: A90200 LDA #$0002 C1/03E5: 8012 BRA $03F9 C1/03E7: A90400 LDA #$0004 C1/03EA: 800D BRA $03F9 C1/03EC: A90800 LDA #$0008 C1/03EF: 8008 BRA $03F9 C1/03F1: A91000 LDA #$0010 C1/03F4: 8003 BRA $03F9 C1/03F6: A93000 LDA #$0030 C1/03F9: E220 SEP #$20 C1/03FB: 8304 STA $04,S C1/03FD: 68 PLA C1/03FE: 68 PLA C1/03FF: 68 PLA C1/0400: 68 PLA C1/0401: 28 PLP C1/0402: 2B PLD C1/0403: 60 RTS [What the hell does this do?] C1/0404: 0B PHD C1/0405: 08 PHP C1/0406: C220 REP #$20 C1/0408: 3B TSC C1/0409: 38 SEC C1/040A: E90E00 SBC #$000E C1/040D: 5B TCD C1/040E: 1B TCS C1/040F: 640B STZ $0B C1/0411: BD2000 LDA $0020,X C1/0414: 38 SEC C1/0415: F92000 SBC $0020,Y C1/0418: B00B BCS $0425 C1/041A: 49FFFF EOR #$FFFF C1/041D: 1A INC A C1/041E: 48 PHA C1/041F: A90300 LDA #$0003 C1/0422: 850B STA $0B C1/0424: 68 PLA C1/0425: 8900FF BIT #$FF00 C1/0428: F010 BEQ $043A C1/042A: 0900FF ORA #$FF00 C1/042D: 49FFFF EOR #$FFFF C1/0430: 1A INC A C1/0431: 48 PHA C1/0432: A50B LDA $0B C1/0434: 490300 EOR #$0003 C1/0437: 850B STA $0B C1/0439: 68 PLA C1/043A: 8501 STA $01 C1/043C: 202E03 JSR $032E [$0045, with Y] C1/043F: 850D STA $0D C1/0441: 204303 JSR $0343 C1/0444: 38 SEC C1/0445: E50D SBC $0D C1/0447: B00D BCS $0456 C1/0449: 49FFFF EOR #$FFFF C1/044C: 1A INC A C1/044D: 48 PHA C1/044E: A50B LDA $0B C1/0450: 090C00 ORA #$000C C1/0453: 850B STA $0B C1/0455: 68 PLA C1/0456: 8900FF BIT #$FF00 C1/0459: F010 BEQ $046B C1/045B: 0900FF ORA #$FF00 C1/045E: 49FFFF EOR #$FFFF C1/0461: 1A INC A C1/0462: 48 PHA C1/0463: A50B LDA $0B C1/0465: 490C00 EOR #$000C C1/0468: 850B STA $0B C1/046A: 68 PLA C1/046B: C501 CMP $01 C1/046D: F002 BEQ $0471 C1/046F: B00F BCS $0480 C1/0471: 8505 STA $05 C1/0473: A501 LDA $01 C1/0475: 8503 STA $03 C1/0477: A90300 LDA #$0003 C1/047A: 8509 STA $09 C1/047C: 8507 STA $07 C1/047E: 800D BRA $048D C1/0480: 8503 STA $03 C1/0482: A501 LDA $01 C1/0484: 8505 STA $05 C1/0486: A90C00 LDA #$000C C1/0489: 8509 STA $09 C1/048B: 8507 STA $07 C1/048D: A503 LDA $03 C1/048F: 38 SEC C1/0490: E505 SBC $05 C1/0492: 4A LSR A C1/0493: 8501 STA $01 C1/0495: 4A LSR A C1/0496: 18 CLC C1/0497: 6501 ADC $01 C1/0499: C505 CMP $05 C1/049B: B005 BCS $04A2 C1/049D: A90F00 LDA #$000F C1/04A0: 8509 STA $09 C1/04A2: E220 SEP #$20 C1/04A4: A905 LDA #$05 C1/04A6: 450B EOR $0B C1/04A8: 2507 AND $07 C1/04AA: 8501 STA $01 C1/04AC: A505 LDA $05 C1/04AE: 29F0 AND #$F0 C1/04B0: 0501 ORA $01 C1/04B2: EB XBA C1/04B3: A905 LDA #$05 C1/04B5: 450B EOR $0B C1/04B7: 2509 AND $09 C1/04B9: 8501 STA $01 C1/04BB: A905 LDA #$05 C1/04BD: 450B EOR $0B C1/04BF: 0A ASL A C1/04C0: 0A ASL A C1/04C1: 0A ASL A C1/04C2: 0A ASL A C1/04C3: 0501 ORA $01 C1/04C5: C220 REP #$20 C1/04C7: 830D STA $0D,S C1/04C9: 3B TSC C1/04CA: 18 CLC C1/04CB: 690C00 ADC #$000C C1/04CE: 1B TCS C1/04CF: 68 PLA C1/04D0: 28 PLP C1/04D1: 2B PLD C1/04D2: 60 RTS [] C1/04D3: 0B PHD C1/04D4: 08 PHP C1/04D5: C230 REP #$30 C1/04D7: 290300 AND #$0003 C1/04DA: AA TAX C1/04DB: BFD90000 LDA $0000D9,X C1/04DF: 290700 AND #$0007 C1/04E2: AA TAX C1/04E3: 5A PHY C1/04E4: 201027 JSR $2710 C1/04E7: 7A PLY C1/04E8: A20000 LDX #$0000 C1/04EB: E220 SEP #$20 C1/04ED: C9FF CMP #$FF C1/04EF: F00E BEQ $04FF C1/04F1: C220 REP #$20 C1/04F3: 290300 AND #$0003 C1/04F6: EB XBA C1/04F7: 0A ASL A C1/04F8: 18 CLC C1/04F9: 6900E0 ADC #$E000 C1/04FC: AA TAX C1/04FD: E220 SEP #$20 C1/04FF: 28 PLP C1/0500: 2B PLD C1/0501: 60 RTS [] C1/0502: 0B PHD C1/0503: 08 PHP C1/0504: C220 REP #$20 C1/0506: E220 SEP #$20 C1/0508: B91000 LDA $0010,Y C1/050B: F00C BEQ $0519 C1/050D: C901 CMP #$01 C1/050F: F00C BEQ $051D C1/0511: C902 CMP #$02 C1/0513: F00C BEQ $0521 C1/0515: A902 LDA #$02 C1/0517: 800A BRA $0523 C1/0519: A908 LDA #$08 C1/051B: 8006 BRA $0523 C1/051D: A904 LDA #$04 C1/051F: 8002 BRA $0523 C1/0521: A901 LDA #$01 C1/0523: 28 PLP C1/0524: 2B PLD C1/0525: 60 RTS [Gets the zero flag set, or sets #$FF if a failure?] C1/0526: BD0000 LDA $0000,X [Load Target Master Activation Byte] C1/0529: C901 CMP #$01 [Compare with #$01] C1/052B: D01C + BNE $0549 [Branch ahead if it's anything but that] C1/052D: C220 REP #$20 [Disable 8-Bit Emulation] C1/052F: BD2000 LDA $0020,X [Load $E020,Y] C1/0532: C90001 CMP #$0100 [Compare with #$0100] C1/0535: B00E ++ BCS $0545 C1/0537: 204303 JSR $0343 C1/053A: C9E000 CMP #$00E0 C1/053D: B006 BCS $0545 C1/053F: E220 SEP #$20 C1/0541: 2900 AND #$00 C1/0543: 8004 + BRA $0549 C1/0545: ++ E220 SEP #$20 [Enable 8-Bit Emulation] C1/0547: 09FF ORA #$FF C1/0549: + 60 RTS [Return] [Lesse] C1/054A: BD0000 LDA $0000,X [Load Master Activation Byte] C1/054D: C901 CMP #$01 [Compare with #$01] C1/054F: D02C + BNE $057D [Go home if it isn't 0] C1/0551: C220 REP #$20 [Disable 8-bit Accumulator] C1/0553: DA PHX [Push X] C1/0554: 98 TYA [Transfer Y to Accumulator] C1/0555: C301 CMP $01,S [] C1/0557: F01F ++ BEQ $0578 C1/0559: FA PLX [Pull X] C1/055A: BD2000 LDA $0020,X {Load...this thing} C1/055D: C90001 CMP #$0100 C1/0560: B017 +! BCS $0579 C1/0562: 204303 JSR $0343 C1/0565: C9E000 CMP #$00E0 C1/0568: B00F +! BCS $0579 C1/056A: BD9001 LDA $0190,X [Load Status Effects] C1/056D: 296084 AND #$8460 [Check for Confuse/Tangle/Engulfed/Poison] C1/0570: D007 +! BNE $0579 C1/0572: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/0574: 2900 AND #$00 C1/0576: 8005 + BRA $057D C1/0578: ++ FA PLX C1/0579: +! E220 SEP #$20 C1/057B: 09FF ORA #$FF C1/057D: + 60 RTS C1/057E: 202605 JSR $0526 C1/0581: D006 BNE $0589 C1/0583: BD8001 LDA $0180,X C1/0586: C980 CMP #$80 C1/0588: 60 RTS C1/0589: 38 SEC C1/058A: 60 RTS [Called by UPT EA] C1/058B: 204A05 JSR $054A C1/058E: D006 + BNE $0596 C1/0590: BD8001 LDA $0180,X [Load Character Type] C1/0593: C980 CMP #$80 [Compare with #$80 to determine if it's an NPC or not] C1/0595: 60 RTS [Return] C1/0596: + 38 SEC C1/0597: 60 RTS C1/0598: 204A05 JSR $054A C1/059B: D006 BNE $05A3 C1/059D: BD8001 LDA $0180,X C1/05A0: C983 CMP #$83 C1/05A2: 60 RTS C1/05A3: 18 CLC C1/05A4: 60 RTS [Checking to see if it's hit a FF? (cleansed)] C1/05A5: B9AC01 LDA $01AC,Y [Load Current Attack Target] C1/05A8: C9FF CMP #$FF [Compare with #$FF] C1/05AA: F00B + BEQ $05B7 [Branch ahead if it's equal] C1/05AC: 0A ASL A [Multiply it by 2] {Target Data Index} C1/05AD: 18 CLC [Clear Carry] C1/05AE: 69E0 ADC #$E0 [Add #$E0] C1/05B0: EB XBA [Switch A and B] {Target Data Offset} C1/05B1: A900 LDA #$00 [Load #$00 into Accumulator] C1/05B3: AA TAX [Transfer Accumulator to X] C1/05B4: 4C2605 JMP $0526 C1/05B7: + 09FF ORA #$FF [ C1/05B9: 60 RTS [Return] [Checks $E1AD, relevant to NPC spellcasting (cleansed)] C1/05BA: B9AD01 LDA $01AD,Y C1/05BD: C9FF CMP #$FF [Compare with #$FF] C1/05BF: F00B + BEQ $05CC [Branch ahead if it's equal] C1/05C1: 0A ASL A [Multiply it by 2] {Target Data Index} C1/05C2: 18 CLC [Clear Carry] C1/05C3: 69E0 ADC #$E0 [Add #$E0] C1/05C5: EB XBA [Switch A and B] {Target Data Offset} C1/05C6: A900 LDA #$00 [Load #$00 into Accumulator] C1/05C8: AA TAX [Transfer Accumulator to X] C1/05C9: 4C2605 JMP $0526 C1/05CC: + 09FF ORA #$FF C1/05CE: 60 RTS C1/05CF: C220 REP #$20 C1/05D1: 8A TXA C1/05D2: E220 SEP #$20 C1/05D4: EB XBA C1/05D5: 38 SEC C1/05D6: E9E0 SBC #$E0 C1/05D8: 4A LSR A C1/05D9: 60 RTS ;-------Incrementers------- [UPT 1A: Increment $E146,Y Low Bits] C1/05DA: 205B01 JSR $015B [Jump to Grab Low $E146,Y Bits] C1/05DD: 1A INC A [Increment Accumulator] C1/05DE: 209701 JSR $0197 [Jump to Accumulator Low Bits Into $E146,Y Low Bits] C1/05E1: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 1B: Increment $E146,Y High Bits] C1/05E4: 206901 JSR $0169 [Jump to Grab High $E146,Y Bits] C1/05E7: 1A INC A [Increment Accumulator] C1/05E8: 20AE01 JSR $01AE [Jump to Accumulator Low Bits Into $E146,Y High Bits] C1/05EB: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 1C: Increment $E147,Y Low Bits] C1/05EE: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/05F1: 1A INC A [Increment Accumulator] C1/05F2: 20C701 JSR $01C7 [Jump to Accumulator Low Bits Into $E147,Y Low Bits] C1/05F5: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 1D: Increment $E147,Y High Bits] C1/05F8: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/05FB: 1A INC A [Increment Accumulator] C1/05FC: 20DE01 JSR $01DE [Jump to Accumulator Low Bits Into $E147,Y High Bits] C1/05FF: 4C2101 JMP $0121 [Jump to Command Offset += 1] ;-------Decrementers------- [UPT 1E: Decrement $E146,Y Low Bits] C1/0602: 205B01 JSR $015B [Jump to Grab Low $E146,Y Bits] C1/0605: 3A DEC A [Decrement Accumulator] C1/0606: 209701 JSR $0197 [Jump to Accumulator Low Bits Into $E146,Y Low Bits] C1/0609: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 1F: Decrement $E146,Y High Bits] C1/060C: 206901 JSR $0169 [Jump to Grab High $E146,Y Bits] C1/060F: 3A DEC A [Decrement Accumulator] C1/0610: 20AE01 JSR $01AE [Jump to Accumulator Low Bits Into $E146,Y High Bits] C1/0613: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 20: Decrement $E147,Y Low Bits] C1/0616: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/0619: 3A DEC A [Decrement Accumulator] C1/061A: 20C701 JSR $01C7 [Jump to Accumulator Low Bits Into $E147,Y Low Bits] C1/061D: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 21: Decrement $E147,Y High Bits] C1/0620: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/0623: 3A DEC A [Decrement Accumulator] C1/0624: 20DE01 JSR $01DE [Jump to Accumulator Low Bits Into $E147,Y High Bits] C1/0627: 4C2101 JMP $0121 [Jump to Command Offset += 1] ;-------$E146,Y Low Bits Copying------- [UPT 22: $E146,Y Low Bits into $E146,Y High Bits] C1/062A: 205B01 JSR $015B [Jump to Get $E146,Y Low Bits] C1/062D: 20AE01 JSR $01AE [Jump to Accumulator Low Bits Into $E146,Y High Bits] C1/0630: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 23: $E146,Y Low Bits into $E147,Y Low Bits] C1/0633: 205B01 JSR $015B [Jump to Get $E146,Y Low Bits] C1/0636: 20C701 JSR $01C7 [Jump to Accumulator Low Bits Into $E147,Y Low Bits] C1/0639: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 24: $E146,Y Low Bits into $E147,Y High Bits] C1/063C: 205B01 JSR $015B [Jump to Get $E146,Y Low Bits] C1/063F: 20DE01 JSR $01DE [Jump to Accumulator Low Bits Into $E147,Y High Bits] C1/0642: 4C2101 JMP $0121 [Jump to Command Offset += 1] ;-------Zero Comparisons------- ;-------Not Equal------- [UPT 02: Script Jump if $E146,Y Low Bits != 0] C1/0645: 205B01 JSR $015B [Jump to Get $E146,Y Low Bits] C1/0648: C900 CMP #$00 [Compare with #$00] C1/064A: D005 + BNE $0651 C1/064C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/064F: 8003 ++ BRA $0654 C1/0651: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0654: ++ 60 RTS [Return] [UPT 03: Script Jump if $E146,Y High Bits != 0] C1/0655: 206901 JSR $0169 [Jump to Get $E146,Y High Bits] C1/0658: C900 CMP #$00 C1/065A: D005 + BNE $0661 C1/065C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/065F: 8003 ++ BRA $0664 C1/0661: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0664: ++ 60 RTS [UPT 04: Script Jump if $E147,Y Low Bits != 0] C1/0665: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/0668: C900 CMP #$00 C1/066A: D005 + BNE $0671 C1/066C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/066F: 8003 ++ BRA $0674 C1/0671: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0674: ++ 60 RTS [UPT 05: Script Jump if $E147,Y High Bits != 0] C1/0675: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/0678: C900 CMP #$00 [Compare with #$00] C1/067A: D005 + BNE $0681 C1/067C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/067F: 8003 ++ BRA $0684 C1/0681: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0684: ++ 60 RTS ;-------Equal------- [UPT 06: Script Jump if $E146,Y Low Bits == 0] C1/0685: 205B01 JSR $015B [Jump to Grab Low $E146,Y Bits] C1/0688: C900 CMP #$00 C1/068A: F005 + BEQ $0691 C1/068C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/068F: 8003 ++ BRA $0694 C1/0691: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0694: ++ 60 RTS [UPT 07: Script Jump if $E146,Y High Bits == 0] C1/0695: 206901 JSR $0169 [Jump to Grab High $E146,Y Bits] C1/0698: C900 CMP #$00 C1/069A: F005 + BEQ $06A1 C1/069C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/069F: 8003 ++ BRA $06A4 C1/06A1: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/06A4: ++ 60 RTS [UPT 08: Script Jump if $E147,Y Low Bits == 0] C1/06A5: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/06A8: C900 CMP #$00 C1/06AA: F005 + BEQ $06B1 C1/06AC: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/06AF: 8003 ++ BRA $06B4 C1/06B1: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/06B4: ++ 60 RTS [UPT 09: Script Jump if $E147,Y High Bits == 0] C1/06B5: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/06B8: C900 CMP #$00 C1/06BA: F005 + BEQ $06C1 C1/06BC: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/06BF: 8003 ++ BRA $06C4 C1/06C1: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/06C4: ++ 60 RTS ;-------Plus Sub. UPTs------- [Enemy AI commands that all have their own special subroutine they reference] [??] C1/06C5: 0B PHD C1/06C6: 08 PHP C1/06C7: C220 REP #$20 C1/06C9: 8B PHB C1/06CA: 3B TSC C1/06CB: 5B TCD C1/06CC: E220 SEP #$20 C1/06CE: A903 LDA #$03 C1/06D0: 8501 STA $01 C1/06D2: A200E0 LDX #$E000 C1/06D5: 204A05 JSR $054A C1/06D8: D008 BNE $06E2 C1/06DA: 200404 JSR $0404 C1/06DD: EB XBA C1/06DE: 89F3 BIT #$F3 C1/06E0: F012 BEQ $06F4 C1/06E2: 18 CLC C1/06E3: C220 REP #$20 C1/06E5: 8A TXA C1/06E6: 690002 ADC #$0200 C1/06E9: AA TAX C1/06EA: E220 SEP #$20 C1/06EC: C601 DEC $01 C1/06EE: D0E5 BNE $06D5 C1/06F0: A9FF LDA #$FF C1/06F2: 8003 BRA $06F7 C1/06F4: 20CF05 JSR $05CF C1/06F7: 8301 STA $01,S C1/06F9: 68 PLA C1/06FA: 28 PLP C1/06FB: 2B PLD C1/06FC: 60 RTS [UPT 63] C1/06FD: 20C506 JSR $06C5 C1/0700: C9FF CMP #$FF C1/0702: D005 + BNE $0709 C1/0704: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0707: 8003 ++ BRA $070C C1/0709: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/070C: ++ 60 RTS C1/070D: 0B PHD C1/070E: 08 PHP C1/070F: C220 REP #$20 C1/0711: 8B PHB C1/0712: 3B TSC C1/0713: 5B TCD C1/0714: E220 SEP #$20 C1/0716: A903 LDA #$03 C1/0718: 8501 STA $01 C1/071A: A200E0 LDX #$E000 C1/071D: 204A05 JSR $054A C1/0720: D008 BNE $072A C1/0722: 200404 JSR $0404 C1/0725: EB XBA C1/0726: 89FC BIT #$FC C1/0728: F012 BEQ $073C C1/072A: 18 CLC C1/072B: C220 REP #$20 C1/072D: 8A TXA C1/072E: 690002 ADC #$0200 C1/0731: AA TAX C1/0732: E220 SEP #$20 C1/0734: C601 DEC $01 C1/0736: D0E5 BNE $071D C1/0738: A9FF LDA #$FF C1/073A: 8003 BRA $073F C1/073C: 20CF05 JSR $05CF C1/073F: 8301 STA $01,S C1/0741: 68 PLA C1/0742: 28 PLP C1/0743: 2B PLD C1/0744: 60 RTS [UPT 6C] C1/0745: 200D07 JSR $070D C1/0748: C9FF CMP #$FF C1/074A: D005 + BNE $0751 C1/074C: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/074F: 8003 ++ BRA $0754 C1/0751: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0754: ++ 60 RTS C1/0755: 0B PHD C1/0756: 08 PHP C1/0757: C220 REP #$20 C1/0759: 8B PHB C1/075A: 3B TSC C1/075B: 5B TCD C1/075C: E220 SEP #$20 C1/075E: A903 LDA #$03 C1/0760: 8501 STA $01 C1/0762: A206E0 LDX #$E006 C1/0765: 208B05 JSR $058B C1/0768: B008 BCS $0772 C1/076A: 200404 JSR $0404 C1/076D: EB XBA C1/076E: 89F3 BIT #$F3 C1/0770: F012 BEQ $0784 C1/0772: 18 CLC C1/0773: C220 REP #$20 C1/0775: 8A TXA C1/0776: 690002 ADC #$0200 C1/0779: AA TAX C1/077A: E220 SEP #$20 C1/077C: C601 DEC $01 C1/077E: D0E5 BNE $0765 C1/0780: A9FF LDA #$FF C1/0782: 8003 BRA $0787 C1/0784: 20CF05 JSR $05CF C1/0787: 8301 STA $01,S C1/0789: 68 PLA C1/078A: 28 PLP C1/078B: 2B PLD C1/078C: 60 RTS [UPT 64] C1/078D: 205507 JSR $0755 C1/0790: C9FF CMP #$FF C1/0792: D005 + BNE $0799 C1/0794: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0797: 8003 ++ BRA $079C C1/0799: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/079C: ++ 60 RTS C1/079D: 0B PHD C1/079E: 08 PHP C1/079F: C220 REP #$20 C1/07A1: 8B PHB C1/07A2: 3B TSC C1/07A3: 5B TCD C1/07A4: E220 SEP #$20 C1/07A6: A903 LDA #$03 C1/07A8: 8501 STA $01 C1/07AA: A206E0 LDX #$E006 C1/07AD: 208B05 JSR $058B C1/07B0: B008 BCS $07BA C1/07B2: 200404 JSR $0404 C1/07B5: EB XBA C1/07B6: 89FC BIT #$FC C1/07B8: F012 BEQ $07CC C1/07BA: 18 CLC C1/07BB: C220 REP #$20 C1/07BD: 8A TXA C1/07BE: 690002 ADC #$0200 C1/07C1: AA TAX C1/07C2: E220 SEP #$20 C1/07C4: C601 DEC $01 C1/07C6: D0E5 BNE $07AD C1/07C8: A9FF LDA #$FF C1/07CA: 8003 BRA $07CF C1/07CC: 20CF05 JSR $05CF C1/07CF: 8301 STA $01,S C1/07D1: 68 PLA C1/07D2: 28 PLP C1/07D3: 2B PLD C1/07D4: 60 RTS [UPT 6D] C1/07D5: 209D07 JSR $079D C1/07D8: C9FF CMP #$FF C1/07DA: D005 + BNE $07E1 C1/07DC: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/07DF: 8003 ++ BRA $07E4 C1/07E1: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/07E4: ++ 60 RTS C1/07E5: 0B PHD C1/07E6: 08 PHP C1/07E7: C220 REP #$20 C1/07E9: 8B PHB C1/07EA: 3B TSC C1/07EB: 5B TCD C1/07EC: E220 SEP #$20 C1/07EE: A90C LDA #$0C C1/07F0: 8501 STA $01 C1/07F2: A200E0 LDX #$E000 C1/07F5: 209805 JSR $0598 C1/07F8: 9008 BCC $0802 C1/07FA: 200404 JSR $0404 C1/07FD: EB XBA C1/07FE: 89F3 BIT #$F3 C1/0800: F012 BEQ $0814 C1/0802: 18 CLC C1/0803: C220 REP #$20 C1/0805: 8A TXA C1/0806: 690002 ADC #$0200 C1/0809: AA TAX C1/080A: E220 SEP #$20 C1/080C: C601 DEC $01 C1/080E: D0E5 BNE $07F5 C1/0810: A9FF LDA #$FF C1/0812: 8003 BRA $0817 C1/0814: 20CF05 JSR $05CF C1/0817: 8301 STA $01,S C1/0819: 68 PLA C1/081A: 28 PLP C1/081B: 2B PLD C1/081C: 60 RTS [UPT 65] C1/081D: 20E507 JSR $07E5 C1/0820: C9FF CMP #$FF C1/0822: D005 + BNE $0829 C1/0824: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0827: 8003 ++ BRA $082C C1/0829: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/082C: ++ 60 RTS C1/082D: 0B PHD C1/082E: 08 PHP C1/082F: C220 REP #$20 C1/0831: 8B PHB C1/0832: 3B TSC C1/0833: 5B TCD C1/0834: E220 SEP #$20 C1/0836: A90C LDA #$0C C1/0838: 8501 STA $01 C1/083A: A200E0 LDX #$E000 C1/083D: 209805 JSR $0598 C1/0840: 9008 BCC $084A C1/0842: 200404 JSR $0404 C1/0845: EB XBA C1/0846: 89FC BIT #$FC C1/0848: F012 BEQ $085C C1/084A: 18 CLC C1/084B: C220 REP #$20 C1/084D: 8A TXA C1/084E: 690002 ADC #$0200 C1/0851: AA TAX C1/0852: E220 SEP #$20 C1/0854: C601 DEC $01 C1/0856: D0E5 BNE $083D C1/0858: A9FF LDA #$FF C1/085A: 8003 BRA $085F C1/085C: 20CF05 JSR $05CF C1/085F: 8301 STA $01,S C1/0861: 68 PLA C1/0862: 28 PLP C1/0863: 2B PLD C1/0864: 60 RTS [UPT 6E] C1/0865: 202D08 JSR $082D C1/0868: C9FF CMP #$FF C1/086A: D005 + BNE $0871 C1/086C: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/086F: 8003 ++ BRA $0874 C1/0871: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0874: ++ 60 RTS [] C1/0875: 0B PHD C1/0876: 08 PHP C1/0877: C220 REP #$20 C1/0879: 8B PHB C1/087A: 3B TSC C1/087B: 5B TCD C1/087C: E220 SEP #$20 C1/087E: A903 LDA #$03 C1/0880: 8501 STA $01 [Store into LoopCounter] C1/0882: A200E0 LDX #$E000 {Character Data Thingy} C1/0885: - 204A05 JSR $054A C1/0888: D007 + BNE $0891 C1/088A: 205803 JSR $0358 C1/088D: C901 CMP #$01 C1/088F: F012 ++ BEQ $08A3 C1/0891: + 18 CLC C1/0892: C220 REP #$20 C1/0894: 8A TXA C1/0895: 690002 ADC #$0200 C1/0898: AA TAX C1/0899: E220 SEP #$20 C1/089B: C601 DEC $01 C1/089D: D0E6 - BNE $0885 C1/089F: A9FF LDA #$FF C1/08A1: 8003 BRA $08A6 C1/08A3: ++ 20CF05 JSR $05CF C1/08A6: 8301 STA $01,S C1/08A8: 68 PLA C1/08A9: 28 PLP C1/08AA: 2B PLD C1/08AB: 60 RTS [UPT 31] C1/08AC: 207508 JSR $0875 C1/08AF: C9FF CMP #$FF C1/08B1: D005 + BNE $08B8 C1/08B3: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/08B6: 8003 ++ BRA $08BB C1/08B8: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/08BB: ++ 60 RTS C1/08BC: 0B PHD C1/08BD: 08 PHP C1/08BE: C220 REP #$20 C1/08C0: 8B PHB C1/08C1: 3B TSC C1/08C2: 5B TCD C1/08C3: E220 SEP #$20 C1/08C5: A903 LDA #$03 C1/08C7: 8501 STA $01 C1/08C9: A200E0 LDX #$E000 C1/08CC: 204A05 JSR $054A C1/08CF: D007 BNE $08D8 C1/08D1: 205803 JSR $0358 C1/08D4: C902 CMP #$02 C1/08D6: F012 BEQ $08EA C1/08D8: 18 CLC C1/08D9: C220 REP #$20 C1/08DB: 8A TXA C1/08DC: 690002 ADC #$0200 C1/08DF: AA TAX C1/08E0: E220 SEP #$20 C1/08E2: C601 DEC $01 C1/08E4: D0E6 BNE $08CC C1/08E6: A9FF LDA #$FF C1/08E8: 8003 BRA $08ED C1/08EA: 20CF05 JSR $05CF C1/08ED: 8301 STA $01,S C1/08EF: 68 PLA C1/08F0: 28 PLP C1/08F1: 2B PLD C1/08F2: 60 RTS [UPT 37 (cleansed)] C1/08F3: 20BC08 JSR $08BC C1/08F6: C9FF CMP #$FF C1/08F8: D005 + BNE $08FF C1/08FA: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/08FD: 8003 ++ BRA $0902 C1/08FF: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0902: ++ 60 RTS C1/0903: 0B PHD C1/0904: 08 PHP C1/0905: C220 REP #$20 C1/0907: 8B PHB C1/0908: 3B TSC C1/0909: 5B TCD C1/090A: E220 SEP #$20 C1/090C: A903 LDA #$03 C1/090E: 8501 STA $01 C1/0910: A200E0 LDX #$E000 C1/0913: 204A05 JSR $054A C1/0916: D007 BNE $091F C1/0918: 205803 JSR $0358 C1/091B: C904 CMP #$04 C1/091D: F012 BEQ $0931 C1/091F: 18 CLC C1/0920: C220 REP #$20 C1/0922: 8A TXA C1/0923: 690002 ADC #$0200 C1/0926: AA TAX C1/0927: E220 SEP #$20 C1/0929: C601 DEC $01 C1/092B: D0E6 BNE $0913 C1/092D: A9FF LDA #$FF C1/092F: 8003 BRA $0934 C1/0931: 20CF05 JSR $05CF C1/0934: 8301 STA $01,S C1/0936: 68 PLA C1/0937: 28 PLP C1/0938: 2B PLD C1/0939: 60 RTS [UPT 3D] C1/093A: 200309 JSR $0903 C1/093D: C9FF CMP #$FF C1/093F: D005 + BNE $0946 C1/0941: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0944: 8003 ++ BRA $0949 C1/0946: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0949: ++ 60 RTS C1/094A: 0B PHD C1/094B: 08 PHP C1/094C: C220 REP #$20 C1/094E: 8B PHB C1/094F: 3B TSC C1/0950: 5B TCD C1/0951: E220 SEP #$20 C1/0953: A903 LDA #$03 C1/0955: 8501 STA $01 C1/0957: A200E0 LDX #$E000 C1/095A: 204A05 JSR $054A C1/095D: D007 BNE $0966 C1/095F: 205803 JSR $0358 C1/0962: C908 CMP #$08 C1/0964: F012 BEQ $0978 C1/0966: 18 CLC C1/0967: C220 REP #$20 C1/0969: 8A TXA C1/096A: 690002 ADC #$0200 C1/096D: AA TAX C1/096E: E220 SEP #$20 C1/0970: C601 DEC $01 C1/0972: D0E6 BNE $095A C1/0974: A9FF LDA #$FF C1/0976: 8003 BRA $097B C1/0978: 20CF05 JSR $05CF C1/097B: 8301 STA $01,S C1/097D: 68 PLA C1/097E: 28 PLP C1/097F: 2B PLD C1/0980: 60 RTS [UPT 43] C1/0981: 204A09 JSR $094A C1/0984: C9FF CMP #$FF C1/0986: D005 BNE $098D C1/0988: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/098B: 8003 BRA $0990 C1/098D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0990: 60 RTS C1/0991: 0B PHD C1/0992: 08 PHP C1/0993: C220 REP #$20 C1/0995: 8B PHB C1/0996: 3B TSC C1/0997: 5B TCD C1/0998: E220 SEP #$20 C1/099A: A903 LDA #$03 C1/099C: 8501 STA $01 C1/099E: A200E0 LDX #$E000 C1/09A1: 204A05 JSR $054A C1/09A4: D007 BNE $09AD C1/09A6: 205803 JSR $0358 C1/09A9: 8910 BIT #$10 C1/09AB: D012 BNE $09BF C1/09AD: 18 CLC C1/09AE: C220 REP #$20 C1/09B0: 8A TXA C1/09B1: 690002 ADC #$0200 C1/09B4: AA TAX C1/09B5: E220 SEP #$20 C1/09B7: C601 DEC $01 C1/09B9: D0E6 BNE $09A1 C1/09BB: A9FF LDA #$FF C1/09BD: 8003 BRA $09C2 C1/09BF: 20CF05 JSR $05CF C1/09C2: 8301 STA $01,S C1/09C4: 68 PLA C1/09C5: 28 PLP C1/09C6: 2B PLD C1/09C7: 60 RTS C1/09C8: 0B PHD C1/09C9: 08 PHP C1/09CA: C220 REP #$20 C1/09CC: 8B PHB C1/09CD: 3B TSC C1/09CE: 5B TCD C1/09CF: E220 SEP #$20 C1/09D1: A903 LDA #$03 C1/09D3: 8501 STA $01 C1/09D5: A200E0 LDX #$E000 C1/09D8: 204A05 JSR $054A C1/09DB: D009 BNE $09E6 C1/09DD: 205803 JSR $0358 C1/09E0: C902 CMP #$02 C1/09E2: F014 BEQ $09F8 C1/09E4: 9012 BCC $09F8 C1/09E6: 18 CLC C1/09E7: C220 REP #$20 C1/09E9: 8A TXA C1/09EA: 690002 ADC #$0200 C1/09ED: AA TAX C1/09EE: E220 SEP #$20 C1/09F0: C601 DEC $01 C1/09F2: D0E4 BNE $09D8 C1/09F4: A9FF LDA #$FF C1/09F6: 8003 BRA $09FB C1/09F8: 20CF05 JSR $05CF C1/09FB: 8301 STA $01,S C1/09FD: 68 PLA C1/09FE: 28 PLP C1/09FF: 2B PLD C1/0A00: 60 RTS [UPT 49] C1/0A01: 20C809 JSR $09C8 C1/0A04: C9FF CMP #$FF C1/0A06: D005 BNE $0A0D C1/0A08: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0A0B: 8003 BRA $0A10 C1/0A0D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0A10: 60 RTS C1/0A11: 0B PHD C1/0A12: 08 PHP C1/0A13: C220 REP #$20 C1/0A15: 8B PHB C1/0A16: 3B TSC C1/0A17: 5B TCD C1/0A18: E220 SEP #$20 C1/0A1A: A903 LDA #$03 C1/0A1C: 8501 STA $01 C1/0A1E: A200E0 LDX #$E000 C1/0A21: 204A05 JSR $054A C1/0A24: D009 BNE $0A2F C1/0A26: 205803 JSR $0358 C1/0A29: C904 CMP #$04 C1/0A2B: F014 BEQ $0A41 C1/0A2D: 9012 BCC $0A41 C1/0A2F: 18 CLC C1/0A30: C220 REP #$20 C1/0A32: 8A TXA C1/0A33: 690002 ADC #$0200 C1/0A36: AA TAX C1/0A37: E220 SEP #$20 C1/0A39: C601 DEC $01 C1/0A3B: D0E4 BNE $0A21 C1/0A3D: A9FF LDA #$FF C1/0A3F: 8003 BRA $0A44 C1/0A41: 20CF05 JSR $05CF C1/0A44: 8301 STA $01,S C1/0A46: 68 PLA C1/0A47: 28 PLP C1/0A48: 2B PLD C1/0A49: 60 RTS [UPT 4E] C1/0A4A: 20110A JSR $0A11 C1/0A4D: C9FF CMP #$FF C1/0A4F: D005 + BNE $0A56 C1/0A51: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0A54: 8003 ++ BRA $0A59 C1/0A56: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0A59: ++ 60 RTS [What does this do?] C1/0A5A: 0B PHD C1/0A5B: 08 PHP C1/0A5C: C220 REP #$20 C1/0A5E: 8B PHB C1/0A5F: 3B TSC C1/0A60: 5B TCD C1/0A61: E220 SEP #$20 C1/0A63: A903 LDA #$03 C1/0A65: 8501 STA $01 C1/0A67: A200E0 LDX #$E000 C1/0A6A: 204A05 JSR $054A C1/0A6D: D009 BNE $0A78 C1/0A6F: 205803 JSR $0358 C1/0A72: C908 CMP #$08 C1/0A74: F014 BEQ $0A8A C1/0A76: 9012 BCC $0A8A C1/0A78: 18 CLC C1/0A79: C220 REP #$20 C1/0A7B: 8A TXA C1/0A7C: 690002 ADC #$0200 C1/0A7F: AA TAX C1/0A80: E220 SEP #$20 C1/0A82: C601 DEC $01 C1/0A84: D0E4 BNE $0A6A C1/0A86: A9FF LDA #$FF C1/0A88: 8003 BRA $0A8D C1/0A8A: 20CF05 JSR $05CF C1/0A8D: 8301 STA $01,S C1/0A8F: 68 PLA C1/0A90: 28 PLP C1/0A91: 2B PLD C1/0A92: 60 RTS [UPT 53] C1/0A93: 205A0A JSR $0A5A C1/0A96: C9FF CMP #$FF C1/0A98: D005 BNE $0A9F C1/0A9A: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0A9D: 8003 BRA $0AA2 C1/0A9F: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0AA2: 60 RTS C1/0AA3: 0B PHD C1/0AA4: 08 PHP C1/0AA5: C220 REP #$20 C1/0AA7: 8B PHB C1/0AA8: 3B TSC C1/0AA9: 5B TCD C1/0AAA: E220 SEP #$20 C1/0AAC: A903 LDA #$03 C1/0AAE: 8501 STA $01 C1/0AB0: A200E0 LDX #$E000 C1/0AB3: 204A05 JSR $054A C1/0AB6: D009 BNE $0AC1 C1/0AB8: 205803 JSR $0358 C1/0ABB: C930 CMP #$30 C1/0ABD: F014 BEQ $0AD3 C1/0ABF: 9012 BCC $0AD3 C1/0AC1: 18 CLC C1/0AC2: C220 REP #$20 C1/0AC4: 8A TXA C1/0AC5: 690002 ADC #$0200 C1/0AC8: AA TAX C1/0AC9: E220 SEP #$20 C1/0ACB: C601 DEC $01 C1/0ACD: D0E4 BNE $0AB3 C1/0ACF: A9FF LDA #$FF C1/0AD1: 8003 BRA $0AD6 C1/0AD3: 20CF05 JSR $05CF C1/0AD6: 8301 STA $01,S C1/0AD8: 68 PLA C1/0AD9: 28 PLP C1/0ADA: 2B PLD C1/0ADB: 60 RTS [UPT 58] C1/0ADC: 20A30A JSR $0AA3 C1/0ADF: C9FF CMP #$FF C1/0AE1: D005 BNE $0AE8 C1/0AE3: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0AE6: 8003 BRA $0AEB C1/0AE8: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0AEB: 60 RTS [Something to do with enemies] C1/0AEC: 0B PHD C1/0AED: 08 PHP C1/0AEE: C220 REP #$20 C1/0AF0: 8B PHB C1/0AF1: 3B TSC C1/0AF2: 5B TCD C1/0AF3: E220 SEP #$20 C1/0AF5: A903 LDA #$03 C1/0AF7: 8501 STA $01 C1/0AF9: A200E6 LDX #$E600 C1/0AFC: 208B05 JSR $058B C1/0AFF: B007 BCS $0B08 C1/0B01: 205803 JSR $0358 C1/0B04: C901 CMP #$01 C1/0B06: F012 BEQ $0B1A C1/0B08: 18 CLC C1/0B09: C220 REP #$20 C1/0B0B: 8A TXA C1/0B0C: 690002 ADC #$0200 C1/0B0F: AA TAX C1/0B10: E220 SEP #$20 C1/0B12: C601 DEC $01 C1/0B14: D0E6 BNE $0AFC C1/0B16: A9FF LDA #$FF C1/0B18: 8003 BRA $0B1D C1/0B1A: 20CF05 JSR $05CF C1/0B1D: 8301 STA $01,S C1/0B1F: 68 PLA C1/0B20: 28 PLP C1/0B21: 2B PLD C1/0B22: 60 RTS [UPT 32] C1/0B23: 20EC0A JSR $0AEC C1/0B26: C9FF CMP #$FF C1/0B28: D005 BNE $0B2F C1/0B2A: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0B2D: 8003 BRA $0B32 C1/0B2F: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0B32: 60 RTS C1/0B33: 0B PHD C1/0B34: 08 PHP C1/0B35: C220 REP #$20 C1/0B37: 8B PHB C1/0B38: 3B TSC C1/0B39: 5B TCD C1/0B3A: E220 SEP #$20 C1/0B3C: A903 LDA #$03 C1/0B3E: 8501 STA $01 C1/0B40: A200E6 LDX #$E600 C1/0B43: 208B05 JSR $058B C1/0B46: B007 BCS $0B4F C1/0B48: 205803 JSR $0358 C1/0B4B: C902 CMP #$02 C1/0B4D: F012 BEQ $0B61 C1/0B4F: 18 CLC C1/0B50: C220 REP #$20 C1/0B52: 8A TXA C1/0B53: 690002 ADC #$0200 C1/0B56: AA TAX C1/0B57: E220 SEP #$20 C1/0B59: C601 DEC $01 C1/0B5B: D0E6 BNE $0B43 C1/0B5D: A9FF LDA #$FF C1/0B5F: 8003 BRA $0B64 C1/0B61: 20CF05 JSR $05CF C1/0B64: 8301 STA $01,S C1/0B66: 68 PLA C1/0B67: 28 PLP C1/0B68: 2B PLD C1/0B69: 60 RTS [UPT 38] C1/0B6A: 20330B JSR $0B33 C1/0B6D: C9FF CMP #$FF C1/0B6F: D005 BNE $0B76 C1/0B71: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0B74: 8003 BRA $0B79 C1/0B76: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0B79: 60 RTS C1/0B7A: 0B PHD C1/0B7B: 08 PHP C1/0B7C: C220 REP #$20 C1/0B7E: 8B PHB C1/0B7F: 3B TSC C1/0B80: 5B TCD C1/0B81: E220 SEP #$20 C1/0B83: A903 LDA #$03 C1/0B85: 8501 STA $01 C1/0B87: A200E6 LDX #$E600 C1/0B8A: 208B05 JSR $058B C1/0B8D: B007 BCS $0B96 C1/0B8F: 205803 JSR $0358 C1/0B92: C904 CMP #$04 C1/0B94: F012 BEQ $0BA8 C1/0B96: 18 CLC C1/0B97: C220 REP #$20 C1/0B99: 8A TXA C1/0B9A: 690002 ADC #$0200 C1/0B9D: AA TAX C1/0B9E: E220 SEP #$20 C1/0BA0: C601 DEC $01 C1/0BA2: D0E6 BNE $0B8A C1/0BA4: A9FF LDA #$FF C1/0BA6: 8003 BRA $0BAB C1/0BA8: 20CF05 JSR $05CF C1/0BAB: 8301 STA $01,S C1/0BAD: 68 PLA C1/0BAE: 28 PLP C1/0BAF: 2B PLD C1/0BB0: 60 RTS [UPT 3E] C1/0BB1: 207A0B JSR $0B7A C1/0BB4: C9FF CMP #$FF C1/0BB6: D005 BNE $0BBD C1/0BB8: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0BBB: 8003 BRA $0BC0 C1/0BBD: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0BC0: 60 RTS [Jumped to from next subroutine] C1/0BC1: 0B PHD C1/0BC2: 08 PHP C1/0BC3: C220 REP #$20 C1/0BC5: 8B PHB C1/0BC6: 3B TSC C1/0BC7: 5B TCD C1/0BC8: E220 SEP #$20 C1/0BCA: A903 LDA #$03 C1/0BCC: 8501 STA $01 C1/0BCE: A200E6 LDX #$E600 C1/0BD1: 208B05 JSR $058B C1/0BD4: B007 BCS $0BDD C1/0BD6: 205803 JSR $0358 C1/0BD9: C908 CMP #$08 C1/0BDB: F012 BEQ $0BEF C1/0BDD: 18 CLC C1/0BDE: C220 REP #$20 C1/0BE0: 8A TXA C1/0BE1: 690002 ADC #$0200 C1/0BE4: AA TAX C1/0BE5: E220 SEP #$20 C1/0BE7: C601 DEC $01 C1/0BE9: D0E6 BNE $0BD1 C1/0BEB: A9FF LDA #$FF C1/0BED: 8003 BRA $0BF2 C1/0BEF: 20CF05 JSR $05CF C1/0BF2: 8301 STA $01,S C1/0BF4: 68 PLA C1/0BF5: 28 PLP C1/0BF6: 2B PLD C1/0BF7: 60 RTS [UPT 44] C1/0BF8: 20C10B JSR $0BC1 C1/0BFB: C9FF CMP #$FF C1/0BFD: D005 BNE $0C04 C1/0BFF: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0C02: 8003 BRA $0C07 C1/0C04: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0C07: 60 RTS C1/0C08: 0B PHD C1/0C09: 08 PHP C1/0C0A: C220 REP #$20 C1/0C0C: 8B PHB C1/0C0D: 3B TSC C1/0C0E: 5B TCD C1/0C0F: E220 SEP #$20 C1/0C11: A903 LDA #$03 C1/0C13: 8501 STA $01 C1/0C15: A200E6 LDX #$E600 C1/0C18: 208B05 JSR $058B C1/0C1B: B009 BCS $0C26 C1/0C1D: 205803 JSR $0358 C1/0C20: C902 CMP #$02 C1/0C22: F014 BEQ $0C38 C1/0C24: 9012 BCC $0C38 C1/0C26: 18 CLC C1/0C27: C220 REP #$20 C1/0C29: 8A TXA C1/0C2A: 690002 ADC #$0200 C1/0C2D: AA TAX C1/0C2E: E220 SEP #$20 C1/0C30: C601 DEC $01 C1/0C32: D0E4 BNE $0C18 C1/0C34: A9FF LDA #$FF C1/0C36: 8003 BRA $0C3B C1/0C38: 20CF05 JSR $05CF C1/0C3B: 8301 STA $01,S C1/0C3D: 68 PLA C1/0C3E: 28 PLP C1/0C3F: 2B PLD C1/0C40: 60 RTS [UPT 4A] C1/0C41: 20080C JSR $0C08 C1/0C44: C9FF CMP #$FF C1/0C46: D005 BNE $0C4D C1/0C48: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0C4B: 8003 BRA $0C50 C1/0C4D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0C50: 60 RTS C1/0C51: 0B PHD C1/0C52: 08 PHP C1/0C53: C220 REP #$20 C1/0C55: 8B PHB C1/0C56: 3B TSC C1/0C57: 5B TCD C1/0C58: E220 SEP #$20 C1/0C5A: A903 LDA #$03 C1/0C5C: 8501 STA $01 C1/0C5E: A200E6 LDX #$E600 C1/0C61: 208B05 JSR $058B C1/0C64: B009 BCS $0C6F C1/0C66: 205803 JSR $0358 C1/0C69: C904 CMP #$04 C1/0C6B: F014 BEQ $0C81 C1/0C6D: 9012 BCC $0C81 C1/0C6F: 18 CLC C1/0C70: C220 REP #$20 C1/0C72: 8A TXA C1/0C73: 690002 ADC #$0200 C1/0C76: AA TAX C1/0C77: E220 SEP #$20 C1/0C79: C601 DEC $01 C1/0C7B: D0E4 BNE $0C61 C1/0C7D: A9FF LDA #$FF C1/0C7F: 8003 BRA $0C84 C1/0C81: 20CF05 JSR $05CF C1/0C84: 8301 STA $01,S C1/0C86: 68 PLA C1/0C87: 28 PLP C1/0C88: 2B PLD C1/0C89: 60 RTS [UPT 4F] C1/0C8A: 20510C JSR $0C51 C1/0C8D: C9FF CMP #$FF C1/0C8F: D005 BNE $0C96 C1/0C91: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0C94: 8003 BRA $0C99 C1/0C96: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0C99: 60 RTS C1/0C9A: 0B PHD C1/0C9B: 08 PHP C1/0C9C: C220 REP #$20 C1/0C9E: 8B PHB C1/0C9F: 3B TSC C1/0CA0: 5B TCD C1/0CA1: E220 SEP #$20 C1/0CA3: A903 LDA #$03 C1/0CA5: 8501 STA $01 C1/0CA7: A200E6 LDX #$E600 C1/0CAA: 208B05 JSR $058B C1/0CAD: B009 BCS $0CB8 C1/0CAF: 205803 JSR $0358 C1/0CB2: C908 CMP #$08 C1/0CB4: F014 BEQ $0CCA C1/0CB6: 9012 BCC $0CCA C1/0CB8: 18 CLC C1/0CB9: C220 REP #$20 C1/0CBB: 8A TXA C1/0CBC: 690002 ADC #$0200 C1/0CBF: AA TAX C1/0CC0: E220 SEP #$20 C1/0CC2: C601 DEC $01 C1/0CC4: D0E4 BNE $0CAA C1/0CC6: A9FF LDA #$FF C1/0CC8: 8003 BRA $0CCD C1/0CCA: 20CF05 JSR $05CF C1/0CCD: 8301 STA $01,S C1/0CCF: 68 PLA C1/0CD0: 28 PLP C1/0CD1: 2B PLD C1/0CD2: 60 RTS [UPT 54] C1/0CD3: 209A0C JSR $0C9A C1/0CD6: C9FF CMP #$FF C1/0CD8: D005 BNE $0CDF C1/0CDA: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0CDD: 8003 BRA $0CE2 C1/0CDF: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0CE2: 60 RTS C1/0CE3: 0B PHD C1/0CE4: 08 PHP C1/0CE5: C220 REP #$20 C1/0CE7: 8B PHB C1/0CE8: 3B TSC C1/0CE9: 5B TCD C1/0CEA: E220 SEP #$20 C1/0CEC: A903 LDA #$03 C1/0CEE: 8501 STA $01 C1/0CF0: A200E6 LDX #$E600 C1/0CF3: 208B05 JSR $058B C1/0CF6: B00D BCS $0D05 C1/0CF8: 205803 JSR $0358 C1/0CFB: C920 CMP #$20 C1/0CFD: 3004 BMI $0D03 C1/0CFF: 7016 BVS $0D17 C1/0D01: 8002 BRA $0D05 C1/0D03: 5012 BVC $0D17 C1/0D05: 18 CLC C1/0D06: C220 REP #$20 C1/0D08: 8A TXA C1/0D09: 690002 ADC #$0200 C1/0D0C: AA TAX C1/0D0D: E220 SEP #$20 C1/0D0F: C601 DEC $01 C1/0D11: D0E0 BNE $0CF3 C1/0D13: A9FF LDA #$FF C1/0D15: 8003 BRA $0D1A C1/0D17: 20CF05 JSR $05CF C1/0D1A: 8301 STA $01,S C1/0D1C: 68 PLA C1/0D1D: 28 PLP C1/0D1E: 2B PLD C1/0D1F: 60 RTS [UPT D6] C1/0D20: 20E30C JSR $0CE3 C1/0D23: C9FF CMP #$FF C1/0D25: D005 BNE $0D2C C1/0D27: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0D2A: 8006 BRA $0D32 C1/0D2C: 99AC01 STA $01AC,Y C1/0D2F: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0D32: 60 RTS C1/0D33: 0B PHD C1/0D34: 08 PHP C1/0D35: C220 REP #$20 C1/0D37: DA PHX C1/0D38: 3B TSC C1/0D39: 5B TCD C1/0D3A: E220 SEP #$20 C1/0D3C: A903 LDA #$03 C1/0D3E: 8501 STA $01 C1/0D40: 6402 STZ $02 C1/0D42: A200E6 LDX #$E600 C1/0D45: 202605 JSR $0526 C1/0D48: D002 BNE $0D4C C1/0D4A: E602 INC $02 C1/0D4C: 18 CLC C1/0D4D: C220 REP #$20 C1/0D4F: 8A TXA C1/0D50: 690002 ADC #$0200 C1/0D53: AA TAX C1/0D54: E220 SEP #$20 C1/0D56: C601 DEC $01 C1/0D58: D0EB BNE $0D45 C1/0D5A: A502 LDA $02 C1/0D5C: 8302 STA $02,S C1/0D5E: 68 PLA C1/0D5F: 68 PLA C1/0D60: 28 PLP C1/0D61: 2B PLD C1/0D62: 60 RTS [UPT F5: Increments command by 2 (cleansed)] C1/0D63: 20330D JSR $0D33 C1/0D66: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/0D69: DF164FD0 CMP $D04F16,X C1/0D6D: F007 BEQ $0D76 C1/0D6F: 9005 BCC $0D76 C1/0D71: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/0D74: 8003 BRA $0D79 C1/0D76: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/0D79: 60 RTS [] C1/0D7A: 0B PHD C1/0D7B: 08 PHP C1/0D7C: C220 REP #$20 C1/0D7E: 8B PHB C1/0D7F: 3B TSC C1/0D80: 5B TCD C1/0D81: E220 SEP #$20 C1/0D83: A90C LDA #$0C C1/0D85: 8501 STA $01 C1/0D87: A200E0 LDX #$E000 C1/0D8A: 209805 JSR $0598 C1/0D8D: 9007 BCC $0D96 C1/0D8F: 205803 JSR $0358 C1/0D92: C901 CMP #$01 C1/0D94: F012 BEQ $0DA8 C1/0D96: 18 CLC C1/0D97: C220 REP #$20 C1/0D99: 8A TXA C1/0D9A: 690002 ADC #$0200 C1/0D9D: AA TAX C1/0D9E: E220 SEP #$20 C1/0DA0: C601 DEC $01 C1/0DA2: D0E6 BNE $0D8A C1/0DA4: A9FF LDA #$FF C1/0DA6: 8003 BRA $0DAB C1/0DA8: 20CF05 JSR $05CF C1/0DAB: 8301 STA $01,S C1/0DAD: 68 PLA C1/0DAE: 28 PLP C1/0DAF: 2B PLD C1/0DB0: 60 RTS [UPT 33] C1/0DB1: 207A0D JSR $0D7A C1/0DB4: C9FF CMP #$FF C1/0DB6: D005 BNE $0DBD C1/0DB8: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0DBB: 8003 BRA $0DC0 C1/0DBD: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0DC0: 60 RTS C1/0DC1: 0B PHD C1/0DC2: 08 PHP C1/0DC3: C220 REP #$20 C1/0DC5: 8B PHB C1/0DC6: 3B TSC C1/0DC7: 5B TCD C1/0DC8: E220 SEP #$20 C1/0DCA: A90C LDA #$0C C1/0DCC: 8501 STA $01 C1/0DCE: A200E0 LDX #$E000 C1/0DD1: 209805 JSR $0598 C1/0DD4: 9007 BCC $0DDD C1/0DD6: 205803 JSR $0358 C1/0DD9: C902 CMP #$02 C1/0DDB: F012 BEQ $0DEF C1/0DDD: 18 CLC C1/0DDE: C220 REP #$20 C1/0DE0: 8A TXA C1/0DE1: 690002 ADC #$0200 C1/0DE4: AA TAX C1/0DE5: E220 SEP #$20 C1/0DE7: C601 DEC $01 C1/0DE9: D0E6 BNE $0DD1 C1/0DEB: A9FF LDA #$FF C1/0DED: 8003 BRA $0DF2 C1/0DEF: 20CF05 JSR $05CF C1/0DF2: 8301 STA $01,S C1/0DF4: 68 PLA C1/0DF5: 28 PLP C1/0DF6: 2B PLD C1/0DF7: 60 RTS [UPT 39] C1/0DF8: 20C10D JSR $0DC1 C1/0DFB: C9FF CMP #$FF C1/0DFD: D005 BNE $0E04 C1/0DFF: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0E02: 8003 BRA $0E07 C1/0E04: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0E07: 60 RTS C1/0E08: 0B PHD C1/0E09: 08 PHP C1/0E0A: C220 REP #$20 C1/0E0C: 8B PHB C1/0E0D: 3B TSC C1/0E0E: 5B TCD C1/0E0F: E220 SEP #$20 C1/0E11: A90C LDA #$0C C1/0E13: 8501 STA $01 C1/0E15: A200E0 LDX #$E000 C1/0E18: 209805 JSR $0598 C1/0E1B: 9007 BCC $0E24 C1/0E1D: 205803 JSR $0358 C1/0E20: C904 CMP #$04 C1/0E22: F012 BEQ $0E36 C1/0E24: 18 CLC C1/0E25: C220 REP #$20 C1/0E27: 8A TXA C1/0E28: 690002 ADC #$0200 C1/0E2B: AA TAX C1/0E2C: E220 SEP #$20 C1/0E2E: C601 DEC $01 C1/0E30: D0E6 BNE $0E18 C1/0E32: A9FF LDA #$FF C1/0E34: 8003 BRA $0E39 C1/0E36: 20CF05 JSR $05CF C1/0E39: 8301 STA $01,S C1/0E3B: 68 PLA C1/0E3C: 28 PLP C1/0E3D: 2B PLD C1/0E3E: 60 RTS [UPT 3F] C1/0E3F: 20080E JSR $0E08 C1/0E42: C9FF CMP #$FF C1/0E44: D005 BNE $0E4B C1/0E46: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0E49: 8003 BRA $0E4E C1/0E4B: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0E4E: 60 RTS C1/0E4F: 0B PHD C1/0E50: 08 PHP C1/0E51: C220 REP #$20 C1/0E53: 8B PHB C1/0E54: 3B TSC C1/0E55: 5B TCD C1/0E56: E220 SEP #$20 C1/0E58: A90C LDA #$0C C1/0E5A: 8501 STA $01 C1/0E5C: A200E0 LDX #$E000 C1/0E5F: 209805 JSR $0598 C1/0E62: 9007 BCC $0E6B C1/0E64: 205803 JSR $0358 C1/0E67: C908 CMP #$08 C1/0E69: F012 BEQ $0E7D C1/0E6B: 18 CLC C1/0E6C: C220 REP #$20 C1/0E6E: 8A TXA C1/0E6F: 690002 ADC #$0200 C1/0E72: AA TAX C1/0E73: E220 SEP #$20 C1/0E75: C601 DEC $01 C1/0E77: D0E6 BNE $0E5F C1/0E79: A9FF LDA #$FF C1/0E7B: 8003 BRA $0E80 C1/0E7D: 20CF05 JSR $05CF C1/0E80: 8301 STA $01,S C1/0E82: 68 PLA C1/0E83: 28 PLP C1/0E84: 2B PLD C1/0E85: 60 RTS [UPT 45] C1/0E86: 204F0E JSR $0E4F C1/0E89: C9FF CMP #$FF C1/0E8B: D005 BNE $0E92 C1/0E8D: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0E90: 8003 BRA $0E95 C1/0E92: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0E95: 60 RTS C1/0E96: 0B PHD C1/0E97: 08 PHP C1/0E98: C220 REP #$20 C1/0E9A: 8B PHB C1/0E9B: 3B TSC C1/0E9C: 5B TCD C1/0E9D: E220 SEP #$20 C1/0E9F: A90C LDA #$0C C1/0EA1: 8501 STA $01 C1/0EA3: A200E0 LDX #$E000 C1/0EA6: 209805 JSR $0598 C1/0EA9: 9009 BCC $0EB4 C1/0EAB: 205803 JSR $0358 C1/0EAE: C902 CMP #$02 C1/0EB0: F014 BEQ $0EC6 C1/0EB2: 9012 BCC $0EC6 C1/0EB4: 18 CLC C1/0EB5: C220 REP #$20 C1/0EB7: 8A TXA C1/0EB8: 690002 ADC #$0200 C1/0EBB: AA TAX C1/0EBC: E220 SEP #$20 C1/0EBE: C601 DEC $01 C1/0EC0: D0E4 BNE $0EA6 C1/0EC2: A9FF LDA #$FF C1/0EC4: 8003 BRA $0EC9 C1/0EC6: 20CF05 JSR $05CF C1/0EC9: 8301 STA $01,S C1/0ECB: 68 PLA C1/0ECC: 28 PLP C1/0ECD: 2B PLD C1/0ECE: 60 RTS [UPT 4B] C1/0ECF: 20960E JSR $0E96 C1/0ED2: C9FF CMP #$FF C1/0ED4: D005 BNE $0EDB C1/0ED6: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0ED9: 8003 BRA $0EDE C1/0EDB: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0EDE: 60 RTS C1/0EDF: 0B PHD C1/0EE0: 08 PHP C1/0EE1: C220 REP #$20 C1/0EE3: 8B PHB C1/0EE4: 3B TSC C1/0EE5: 5B TCD C1/0EE6: E220 SEP #$20 C1/0EE8: A90C LDA #$0C C1/0EEA: 8501 STA $01 C1/0EEC: A200E0 LDX #$E000 C1/0EEF: 209805 JSR $0598 C1/0EF2: 9009 BCC $0EFD C1/0EF4: 205803 JSR $0358 C1/0EF7: C904 CMP #$04 C1/0EF9: F014 BEQ $0F0F C1/0EFB: 9012 BCC $0F0F C1/0EFD: 18 CLC C1/0EFE: C220 REP #$20 C1/0F00: 8A TXA C1/0F01: 690002 ADC #$0200 C1/0F04: AA TAX C1/0F05: E220 SEP #$20 C1/0F07: C601 DEC $01 C1/0F09: D0E4 BNE $0EEF C1/0F0B: A9FF LDA #$FF C1/0F0D: 8003 BRA $0F12 C1/0F0F: 20CF05 JSR $05CF C1/0F12: 8301 STA $01,S C1/0F14: 68 PLA C1/0F15: 28 PLP C1/0F16: 2B PLD C1/0F17: 60 RTS [UPT 50] C1/0F18: 20DF0E JSR $0EDF C1/0F1B: C9FF CMP #$FF C1/0F1D: D005 BNE $0F24 C1/0F1F: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0F22: 8003 BRA $0F27 C1/0F24: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0F27: 60 RTS C1/0F28: 0B PHD C1/0F29: 08 PHP C1/0F2A: C220 REP #$20 C1/0F2C: 8B PHB C1/0F2D: 3B TSC C1/0F2E: 5B TCD C1/0F2F: E220 SEP #$20 C1/0F31: A90C LDA #$0C C1/0F33: 8501 STA $01 C1/0F35: A200E0 LDX #$E000 C1/0F38: 209805 JSR $0598 C1/0F3B: 9009 BCC $0F46 C1/0F3D: 205803 JSR $0358 C1/0F40: C908 CMP #$08 C1/0F42: F014 BEQ $0F58 C1/0F44: 9012 BCC $0F58 C1/0F46: 18 CLC C1/0F47: C220 REP #$20 C1/0F49: 8A TXA C1/0F4A: 690002 ADC #$0200 C1/0F4D: AA TAX C1/0F4E: E220 SEP #$20 C1/0F50: C601 DEC $01 C1/0F52: D0E4 BNE $0F38 C1/0F54: A9FF LDA #$FF C1/0F56: 8003 BRA $0F5B C1/0F58: 20CF05 JSR $05CF C1/0F5B: 8301 STA $01,S C1/0F5D: 68 PLA C1/0F5E: 28 PLP C1/0F5F: 2B PLD C1/0F60: 60 RTS [UPT 55] C1/0F61: 20280F JSR $0F28 C1/0F64: C9FF CMP #$FF C1/0F66: D005 BNE $0F6D C1/0F68: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0F6B: 8003 BRA $0F70 C1/0F6D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0F70: 60 RTS ;$05A5 / $0404 / $0358 section [UPT 66] C1/0F71: 20A505 JSR $05A5 C1/0F74: D011 BNE $0F87 C1/0F76: 200404 JSR $0404 C1/0F79: EB XBA C1/0F7A: 89F3 BIT #$F3 C1/0F7C: D009 BNE $0F87 C1/0F7E: 205803 JSR $0358 C1/0F81: C908 CMP #$08 C1/0F83: F007 BEQ $0F8C C1/0F85: 9005 BCC $0F8C C1/0F87: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0F8A: 8003 BRA $0F8F C1/0F8C: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0F8F: 60 RTS [UPT 68] C1/0F90: 20A505 JSR $05A5 C1/0F93: D011 BNE $0FA6 C1/0F95: 200404 JSR $0404 C1/0F98: EB XBA C1/0F99: 89F3 BIT #$F3 C1/0F9B: D009 BNE $0FA6 C1/0F9D: 205803 JSR $0358 C1/0FA0: C904 CMP #$04 C1/0FA2: F007 BEQ $0FAB C1/0FA4: 9005 BCC $0FAB C1/0FA6: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0FA9: 8003 BRA $0FAE C1/0FAB: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0FAE: 60 RTS [UPT 6A] C1/0FAF: 20A505 JSR $05A5 [] C1/0FB2: D011 + BNE $0FC5 C1/0FB4: 200404 JSR $0404 [] C1/0FB7: EB XBA C1/0FB8: 89F3 BIT #$F3 C1/0FBA: D009 + BNE $0FC5 C1/0FBC: 205803 JSR $0358 C1/0FBF: C930 CMP #$30 C1/0FC1: F007 ++ BEQ $0FCA C1/0FC3: 9005 ++ BCC $0FCA C1/0FC5: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0FC8: 8003 +! BRA $0FCD C1/0FCA: ++ 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0FCD: +! 60 RTS [UPT 6F] C1/0FCE: 20A505 JSR $05A5 C1/0FD1: D011 BNE $0FE4 C1/0FD3: 200404 JSR $0404 C1/0FD6: EB XBA C1/0FD7: 89FC BIT #$FC C1/0FD9: D009 BNE $0FE4 C1/0FDB: 205803 JSR $0358 C1/0FDE: C908 CMP #$08 C1/0FE0: F007 BEQ $0FE9 C1/0FE2: 9005 BCC $0FE9 C1/0FE4: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/0FE7: 8003 BRA $0FEC C1/0FE9: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/0FEC: 60 RTS [UPT 71] C1/0FED: 20A505 JSR $05A5 C1/0FF0: D011 BNE $1003 C1/0FF2: 200404 JSR $0404 C1/0FF5: EB XBA C1/0FF6: 89FC BIT #$FC C1/0FF8: D009 BNE $1003 C1/0FFA: 205803 JSR $0358 C1/0FFD: C904 CMP #$04 C1/0FFF: F007 BEQ $1008 C1/1001: 9005 BCC $1008 C1/1003: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1006: 8003 BRA $100B C1/1008: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/100B: 60 RTS [UPT 73] C1/100C: 20A505 JSR $05A5 C1/100F: D011 BNE $1022 C1/1011: 200404 JSR $0404 C1/1014: EB XBA C1/1015: 89FC BIT #$FC C1/1017: D009 BNE $1022 C1/1019: 205803 JSR $0358 C1/101C: C930 CMP #$30 C1/101E: F007 BEQ $1027 C1/1020: 9005 BCC $1027 C1/1022: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1025: 8003 BRA $102A C1/1027: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/102A: 60 RTS [UPT 67] C1/102B: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/102E: D011 + BNE $1041 C1/1030: 200404 JSR $0404 C1/1033: EB XBA C1/1034: 89F3 BIT #$F3 C1/1036: D009 + BNE $1041 C1/1038: 205803 JSR $0358 C1/103B: C908 CMP #$08 C1/103D: F007 ++ BEQ $1046 C1/103F: 9005 ++ BCC $1046 C1/1041: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1044: 8003 + BRA $1049 C1/1046: ++ 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1049: + 60 RTS [UPT 69] C1/104A: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/104D: D011 + BNE $1060 C1/104F: 200404 JSR $0404 C1/1052: EB XBA C1/1053: 89F3 BIT #$F3 C1/1055: D009 BNE $1060 C1/1057: 205803 JSR $0358 C1/105A: C904 CMP #$04 C1/105C: F007 BEQ $1065 C1/105E: 9005 BCC $1065 C1/1060: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1063: 8003 BRA $1068 C1/1065: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1068: 60 RTS [UPT 6B] C1/1069: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/106C: D011 BNE $107F C1/106E: 200404 JSR $0404 C1/1071: EB XBA C1/1072: 89F3 BIT #$F3 C1/1074: D009 BNE $107F C1/1076: 205803 JSR $0358 C1/1079: C930 CMP #$30 C1/107B: F007 BEQ $1084 C1/107D: 9005 BCC $1084 C1/107F: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1082: 8003 BRA $1087 C1/1084: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1087: 60 RTS [UPT 70] C1/1088: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/108B: D011 BNE $109E C1/108D: 200404 JSR $0404 C1/1090: EB XBA C1/1091: 89FC BIT #$FC C1/1093: D009 BNE $109E C1/1095: 205803 JSR $0358 C1/1098: C908 CMP #$08 C1/109A: F007 BEQ $10A3 C1/109C: 9005 BCC $10A3 C1/109E: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/10A1: 8003 BRA $10A6 C1/10A3: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/10A6: 60 RTS [UPT 72] C1/10A7: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/10AA: D011 BNE $10BD C1/10AC: 200404 JSR $0404 C1/10AF: EB XBA C1/10B0: 89FC BIT #$FC C1/10B2: D009 BNE $10BD C1/10B4: 205803 JSR $0358 C1/10B7: C904 CMP #$04 C1/10B9: F007 BEQ $10C2 C1/10BB: 9005 BCC $10C2 C1/10BD: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/10C0: 8003 BRA $10C5 C1/10C2: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/10C5: 60 RTS [UPT 74] C1/10C6: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/10C9: D011 BNE $10DC C1/10CB: 200404 JSR $0404 C1/10CE: EB XBA C1/10CF: 89FC BIT #$FC C1/10D1: D009 BNE $10DC C1/10D3: 205803 JSR $0358 C1/10D6: C930 CMP #$30 C1/10D8: F007 BEQ $10E1 C1/10DA: 9005 BCC $10E1 C1/10DC: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/10DF: 8003 BRA $10E4 C1/10E1: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/10E4: 60 RTS ;$05A5 / $0404 section [UPT 75] C1/10E5: 20A505 JSR $05A5 C1/10E8: D008 BNE $10F2 C1/10EA: 200404 JSR $0404 C1/10ED: EB XBA C1/10EE: 8908 BIT #$08 C1/10F0: D005 BNE $10F7 C1/10F2: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/10F5: 8003 BRA $10FA C1/10F7: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/10FA: 60 RTS [UPT 77] C1/10FB: 20A505 JSR $05A5 C1/10FE: D008 BNE $1108 C1/1100: 200404 JSR $0404 C1/1103: EB XBA C1/1104: 8904 BIT #$04 C1/1106: D005 BNE $110D C1/1108: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/110B: 8003 BRA $1110 C1/110D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1110: 60 RTS [UPT 79] C1/1111: 20A505 JSR $05A5 C1/1114: D008 BNE $111E C1/1116: 200404 JSR $0404 C1/1119: EB XBA C1/111A: 8902 BIT #$02 C1/111C: D005 BNE $1123 C1/111E: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1121: 8003 BRA $1126 C1/1123: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1126: 60 RTS [UPT 7B] C1/1127: 20A505 JSR $05A5 C1/112A: D008 BNE $1134 C1/112C: 200404 JSR $0404 C1/112F: EB XBA C1/1130: 8901 BIT #$01 C1/1132: D005 BNE $1139 C1/1134: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1137: 8003 BRA $113C C1/1139: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/113C: 60 RTS [UPT 76] C1/113D: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1140: D008 BNE $114A C1/1142: 200404 JSR $0404 C1/1145: EB XBA C1/1146: 8903 BIT #$03 C1/1148: D005 BNE $114F C1/114A: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/114D: 8003 BRA $1152 C1/114F: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1152: 60 RTS [UPT 78] C1/1153: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1156: D008 BNE $1160 C1/1158: 200404 JSR $0404 C1/115B: EB XBA C1/115C: 8903 BIT #$03 C1/115E: D005 BNE $1165 C1/1160: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1163: 8003 BRA $1168 C1/1165: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1168: 60 RTS [UPT 7A] C1/1169: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/116C: D008 BNE $1176 C1/116E: 200404 JSR $0404 C1/1171: EB XBA C1/1172: 8903 BIT #$03 C1/1174: D005 BNE $117B C1/1176: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1179: 8003 BRA $117E C1/117B: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/117E: 60 RTS [UPT 7C] C1/117F: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1182: D008 + BNE $118C C1/1184: 200404 JSR $0404 C1/1187: EB XBA C1/1188: 8903 BIT #$03 C1/118A: D005 ++ BNE $1191 C1/118C: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/118F: 8003 + BRA $1194 C1/1191: ++ 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1194: + 60 RTS ;$05A5 / $0358 section [UPT 34] C1/1195: 20A505 JSR $05A5 C1/1198: D007 BNE $11A1 C1/119A: 205803 JSR $0358 C1/119D: C901 CMP #$01 C1/119F: F005 BEQ $11A6 C1/11A1: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/11A4: 8003 BRA $11A9 C1/11A6: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/11A9: 60 RTS [UPT 3A] C1/11AA: 20A505 JSR $05A5 C1/11AD: D007 BNE $11B6 C1/11AF: 205803 JSR $0358 C1/11B2: C902 CMP #$02 C1/11B4: F005 BEQ $11BB C1/11B6: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/11B9: 8003 BRA $11BE C1/11BB: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/11BE: 60 RTS [UPT 40] C1/11BF: 20A505 JSR $05A5 C1/11C2: D007 BNE $11CB C1/11C4: 205803 JSR $0358 C1/11C7: C904 CMP #$04 C1/11C9: F005 BEQ $11D0 C1/11CB: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/11CE: 8003 BRA $11D3 C1/11D0: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/11D3: 60 RTS [UPT 46] C1/11D4: 20A505 JSR $05A5 C1/11D7: D007 BNE $11E0 C1/11D9: 205803 JSR $0358 C1/11DC: C908 CMP #$08 C1/11DE: F005 BEQ $11E5 C1/11E0: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/11E3: 8003 BRA $11E8 C1/11E5: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/11E8: 60 RTS [UPT 4C] C1/11E9: 20A505 JSR $05A5 C1/11EC: D009 + BNE $11F7 C1/11EE: 205803 JSR $0358 C1/11F1: C902 CMP #$02 C1/11F3: F007 ++ BEQ $11FC C1/11F5: 9005 ++ BCC $11FC C1/11F7: + 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/11FA: 8003 + BRA $11FF C1/11FC: ++ 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/11FF: + 60 RTS [UPT 51] C1/1200: 20A505 JSR $05A5 C1/1203: D009 BNE $120E C1/1205: 205803 JSR $0358 C1/1208: C904 CMP #$04 C1/120A: F007 BEQ $1213 C1/120C: 9005 BCC $1213 C1/120E: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1211: 8003 BRA $1216 C1/1213: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1216: 60 RTS [UPT 56] C1/1217: 20A505 JSR $05A5 C1/121A: D009 BNE $1225 C1/121C: 205803 JSR $0358 C1/121F: C908 CMP #$08 C1/1221: F007 BEQ $122A C1/1223: 9005 BCC $122A C1/1225: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1228: 8003 BRA $122D C1/122A: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/122D: 60 RTS [UPT 59] C1/122E: 20A505 JSR $05A5 C1/1231: D009 BNE $123C C1/1233: 205803 JSR $0358 C1/1236: C930 CMP #$30 C1/1238: F007 BEQ $1241 C1/123A: 9005 BCC $1241 C1/123C: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/123F: 8003 BRA $1244 C1/1241: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1244: 60 RTS [UPT 5A] C1/1245: 20A505 JSR $05A5 C1/1248: D007 BNE $1251 C1/124A: 205803 JSR $0358 C1/124D: 8910 BIT #$10 C1/124F: D005 BNE $1256 C1/1251: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1254: 8003 BRA $1259 C1/1256: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1259: 60 RTS ;$05BA / $0358 section [UPT 5B] C1/125A: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/125D: D009 BNE $1268 C1/125F: 205803 JSR $0358 C1/1262: C930 CMP #$30 C1/1264: F007 BEQ $126D C1/1266: 9005 BCC $126D C1/1268: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/126B: 8003 BRA $1270 C1/126D: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1270: 60 RTS [UPT 5C] C1/1271: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1274: D007 BNE $127D C1/1276: 205803 JSR $0358 C1/1279: 8910 BIT #$10 C1/127B: D005 BNE $1282 C1/127D: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1280: 8003 BRA $1285 C1/1282: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1285: 60 RTS [UPT 35] C1/1286: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1289: D007 BNE $1292 C1/128B: 205803 JSR $0358 C1/128E: C901 CMP #$01 C1/1290: F005 BEQ $1297 C1/1292: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1295: 8003 BRA $129A C1/1297: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/129A: 60 RTS [UPT 3B] C1/129B: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/129E: D007 BNE $12A7 C1/12A0: 205803 JSR $0358 C1/12A3: C902 CMP #$02 C1/12A5: F005 BEQ $12AC C1/12A7: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/12AA: 8003 BRA $12AF C1/12AC: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/12AF: 60 RTS [UPT 41] C1/12B0: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/12B3: D007 BNE $12BC C1/12B5: 205803 JSR $0358 C1/12B8: C904 CMP #$04 C1/12BA: F005 BEQ $12C1 C1/12BC: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/12BF: 8003 BRA $12C4 C1/12C1: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/12C4: 60 RTS [UPT 47] C1/12C5: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/12C8: D007 BNE $12D1 C1/12CA: 205803 JSR $0358 C1/12CD: C908 CMP #$08 C1/12CF: F005 BEQ $12D6 C1/12D1: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/12D4: 8003 BRA $12D9 C1/12D6: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/12D9: 60 RTS [UPT 4D] C1/12DA: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/12DD: D009 BNE $12E8 C1/12DF: 205803 JSR $0358 C1/12E2: C902 CMP #$02 C1/12E4: F007 BEQ $12ED C1/12E6: 9005 BCC $12ED C1/12E8: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/12EB: 8003 BRA $12F0 C1/12ED: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/12F0: 60 RTS [UPT 52] C1/12F1: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/12F4: D009 BNE $12FF C1/12F6: 205803 JSR $0358 C1/12F9: C904 CMP #$04 C1/12FB: F007 BEQ $1304 C1/12FD: 9005 BCC $1304 C1/12FF: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1302: 8003 BRA $1307 C1/1304: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1307: 60 RTS [UPT 57] C1/1308: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/130B: D009 BNE $1316 C1/130D: 205803 JSR $0358 C1/1310: C908 CMP #$08 C1/1312: F007 BEQ $131B C1/1314: 9005 BCC $131B C1/1316: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1319: 8003 BRA $131E C1/131B: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/131E: 60 RTS [UPT A5] C1/131F: A9FF LDA #$FF C1/1321: 99AC01 STA $01AC,Y C1/1324: 207508 JSR $0875 C1/1327: C9FF CMP #$FF C1/1329: F003 BEQ $132E C1/132B: 99AC01 STA $01AC,Y C1/132E: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A8] C1/1331: A9FF LDA #$FF C1/1333: 99AC01 STA $01AC,Y C1/1336: 20BC08 JSR $08BC C1/1339: C9FF CMP #$FF C1/133B: F003 BEQ $1340 C1/133D: 99AC01 STA $01AC,Y C1/1340: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AB] C1/1343: A9FF LDA #$FF C1/1345: 99AC01 STA $01AC,Y C1/1348: 200309 JSR $0903 C1/134B: C9FF CMP #$FF C1/134D: F003 BEQ $1352 C1/134F: 99AC01 STA $01AC,Y C1/1352: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AE] C1/1355: A9FF LDA #$FF C1/1357: 99AC01 STA $01AC,Y C1/135A: 204A09 JSR $094A C1/135D: C9FF CMP #$FF C1/135F: F003 BEQ $1364 C1/1361: 99AC01 STA $01AC,Y C1/1364: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 5D] C1/1367: A9FF LDA #$FF C1/1369: 99AC01 STA $01AC,Y C1/136C: 209109 JSR $0991 C1/136F: C9FF CMP #$FF C1/1371: F003 BEQ $1376 C1/1373: 99AC01 STA $01AC,Y C1/1376: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B1] C1/1379: A9FF LDA #$FF C1/137B: 99AC01 STA $01AC,Y C1/137E: 20C809 JSR $09C8 C1/1381: C9FF CMP #$FF C1/1383: F003 BEQ $1388 C1/1385: 99AC01 STA $01AC,Y C1/1388: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B4] C1/138B: A9FF LDA #$FF C1/138D: 99AC01 STA $01AC,Y [Store into Current Target] C1/1390: 20110A JSR $0A11 C1/1393: C9FF CMP #$FF C1/1395: F003 BEQ $139A C1/1397: 99AC01 STA $01AC,Y [Store into Current Target] C1/139A: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B7] C1/139D: A9FF LDA #$FF C1/139F: 99AC01 STA $01AC,Y C1/13A2: 205A0A JSR $0A5A C1/13A5: C9FF CMP #$FF C1/13A7: F003 BEQ $13AC C1/13A9: 99AC01 STA $01AC,Y C1/13AC: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A6] C1/13AF: A9FF LDA #$FF C1/13B1: 99AC01 STA $01AC,Y C1/13B4: 20EC0A JSR $0AEC C1/13B7: C9FF CMP #$FF C1/13B9: F003 + BEQ $13BE C1/13BB: 99AC01 STA $01AC,Y C1/13BE: + 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A9] C1/13C1: A9FF LDA #$FF C1/13C3: 99AC01 STA $01AC,Y C1/13C6: 20330B JSR $0B33 C1/13C9: C9FF CMP #$FF C1/13CB: F003 + BEQ $13D0 C1/13CD: 99AC01 STA $01AC,Y C1/13D0: + 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AC] C1/13D3: A9FF LDA #$FF C1/13D5: 99AC01 STA $01AC,Y C1/13D8: 207A0B JSR $0B7A C1/13DB: C9FF CMP #$FF C1/13DD: F003 + BEQ $13E2 C1/13DF: 99AC01 STA $01AC,Y C1/13E2: + 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AF] C1/13E5: A9FF LDA #$FF C1/13E7: 99AC01 STA $01AC,Y C1/13EA: 20C10B JSR $0BC1 C1/13ED: C9FF CMP #$FF C1/13EF: F003 BEQ $13F4 C1/13F1: 99AC01 STA $01AC,Y C1/13F4: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B2] C1/13F7: A9FF LDA #$FF C1/13F9: 99AC01 STA $01AC,Y C1/13FC: 20080C JSR $0C08 C1/13FF: C9FF CMP #$FF C1/1401: F003 BEQ $1406 C1/1403: 99AC01 STA $01AC,Y C1/1406: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B5] C1/1409: A9FF LDA #$FF C1/140B: 99AC01 STA $01AC,Y C1/140E: 20510C JSR $0C51 C1/1411: C9FF CMP #$FF C1/1413: F003 BEQ $1418 C1/1415: 99AC01 STA $01AC,Y C1/1418: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B8] C1/141B: A9FF LDA #$FF C1/141D: 99AC01 STA $01AC,Y C1/1420: 209A0C JSR $0C9A C1/1423: C9FF CMP #$FF C1/1425: F003 BEQ $142A C1/1427: 99AC01 STA $01AC,Y C1/142A: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A7] C1/142D: A9FF LDA #$FF C1/142F: 99AC01 STA $01AC,Y C1/1432: 207A0D JSR $0D7A C1/1435: C9FF CMP #$FF C1/1437: F003 BEQ $143C C1/1439: 99AC01 STA $01AC,Y C1/143C: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AA] C1/143F: A9FF LDA #$FF C1/1441: 99AC01 STA $01AC,Y C1/1444: 20C10D JSR $0DC1 C1/1447: C9FF CMP #$FF C1/1449: F003 BEQ $144E C1/144B: 99AC01 STA $01AC,Y C1/144E: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT AD] C1/1451: A9FF LDA #$FF C1/1453: 99AC01 STA $01AC,Y C1/1456: 20080E JSR $0E08 C1/1459: C9FF CMP #$FF C1/145B: F003 BEQ $1460 C1/145D: 99AC01 STA $01AC,Y C1/1460: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B0] C1/1463: A9FF LDA #$FF C1/1465: 99AC01 STA $01AC,Y C1/1468: 204F0E JSR $0E4F C1/146B: C9FF CMP #$FF C1/146D: F003 BEQ $1472 C1/146F: 99AC01 STA $01AC,Y C1/1472: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B3] C1/1475: A9FF LDA #$FF C1/1477: 99AC01 STA $01AC,Y C1/147A: 20960E JSR $0E96 C1/147D: C9FF CMP #$FF C1/147F: F003 BEQ $1484 C1/1481: 99AC01 STA $01AC,Y C1/1484: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B6] C1/1487: A9FF LDA #$FF C1/1489: 99AC01 STA $01AC,Y C1/148C: 20DF0E JSR $0EDF C1/148F: C9FF CMP #$FF C1/1491: F003 BEQ $1496 C1/1493: 99AC01 STA $01AC,Y C1/1496: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT B9] C1/1499: A9FF LDA #$FF C1/149B: 99AC01 STA $01AC,Y C1/149E: 20280F JSR $0F28 C1/14A1: C9FF CMP #$FF C1/14A3: F003 BEQ $14A8 C1/14A5: 99AC01 STA $01AC,Y C1/14A8: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A4: Set Current Target to Self?] C1/14AB: C220 REP #$20 [Disable 8-Bit Emulation] C1/14AD: 98 TYA [Transfer Y to Accumulator] C1/14AE: 38 SEC [Set Carry] C1/14AF: E900E0 SBC #$E000 [Subtract $E000] {Character Data Offset} C1/14B2: E220 SEP #$20 [Enable 8-Bit Emulation] C1/14B4: EB XBA [Switch A and B] C1/14B5: 4A LSR A [Shift Accumulator Right] C1/14B6: 99AC01 STA $01AC,Y [Store into Current Target] C1/14B9: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A1: Load Previous Target?] C1/14BC: B9AD01 LDA $01AD,Y C1/14BF: 99AC01 STA $01AC,Y C1/14C2: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT A0] C1/14C5: A9FF LDA #$FF C1/14C7: 99AC01 STA $01AC,Y C1/14CA: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C5] C1/14CD: A9FF LDA #$FF C1/14CF: 99AD01 STA $01AD,Y C1/14D2: 207508 JSR $0875 C1/14D5: C9FF CMP #$FF C1/14D7: F003 BEQ $14DC C1/14D9: 99AD01 STA $01AD,Y C1/14DC: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C8] C1/14DF: A9FF LDA #$FF C1/14E1: 99AD01 STA $01AD,Y C1/14E4: 20BC08 JSR $08BC C1/14E7: C9FF CMP #$FF C1/14E9: F003 BEQ $14EE C1/14EB: 99AD01 STA $01AD,Y C1/14EE: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CB] C1/14F1: A9FF LDA #$FF C1/14F3: 99AD01 STA $01AD,Y C1/14F6: 200309 JSR $0903 C1/14F9: C9FF CMP #$FF C1/14FB: F003 BEQ $1500 C1/14FD: 99AD01 STA $01AD,Y C1/1500: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CE] C1/1503: A9FF LDA #$FF C1/1505: 99AD01 STA $01AD,Y C1/1508: 204A09 JSR $094A C1/150B: C9FF CMP #$FF C1/150D: F003 BEQ $1512 C1/150F: 99AD01 STA $01AD,Y C1/1512: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 5E] C1/1515: A9FF LDA #$FF C1/1517: 99AD01 STA $01AD,Y C1/151A: 209109 JSR $0991 C1/151D: C9FF CMP #$FF C1/151F: F003 BEQ $1524 C1/1521: 99AD01 STA $01AD,Y C1/1524: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPS D1] C1/1527: A9FF LDA #$FF C1/1529: 99AD01 STA $01AD,Y C1/152C: 20C809 JSR $09C8 C1/152F: C9FF CMP #$FF C1/1531: F003 BEQ $1536 C1/1533: 99AD01 STA $01AD,Y C1/1536: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPS D4] C1/1539: A9FF LDA #$FF C1/153B: 99AD01 STA $01AD,Y C1/153E: 20110A JSR $0A11 C1/1541: C9FF CMP #$FF C1/1543: F003 BEQ $1548 C1/1545: 99AD01 STA $01AD,Y C1/1548: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPS D7] C1/154B: A9FF LDA #$FF C1/154D: 99AD01 STA $01AD,Y C1/1550: 205A0A JSR $0A5A C1/1553: C9FF CMP #$FF C1/1555: F003 BEQ $155A C1/1557: 99AD01 STA $01AD,Y C1/155A: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C6] C1/155D: A9FF LDA #$FF C1/155F: 99AD01 STA $01AD,Y C1/1562: 20EC0A JSR $0AEC C1/1565: C9FF CMP #$FF C1/1567: F003 BEQ $156C C1/1569: 99AD01 STA $01AD,Y C1/156C: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C9] C1/156F: A9FF LDA #$FF C1/1571: 99AD01 STA $01AD,Y C1/1574: 20330B JSR $0B33 C1/1577: C9FF CMP #$FF C1/1579: F003 BEQ $157E C1/157B: 99AD01 STA $01AD,Y C1/157E: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CC] C1/1581: A9FF LDA #$FF C1/1583: 99AD01 STA $01AD,Y C1/1586: 207A0B JSR $0B7A C1/1589: C9FF CMP #$FF C1/158B: F003 BEQ $1590 C1/158D: 99AD01 STA $01AD,Y C1/1590: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CF] C1/1593: A9FF LDA #$FF C1/1595: 99AD01 STA $01AD,Y C1/1598: 20C10B JSR $0BC1 C1/159B: C9FF CMP #$FF C1/159D: F003 BEQ $15A2 C1/159F: 99AD01 STA $01AD,Y C1/15A2: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT D2] C1/15A5: A9FF LDA #$FF C1/15A7: 99AD01 STA $01AD,Y C1/15AA: 20080C JSR $0C08 C1/15AD: C9FF CMP #$FF C1/15AF: F003 BEQ $15B4 C1/15B1: 99AD01 STA $01AD,Y C1/15B4: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT D5] C1/15B7: A9FF LDA #$FF C1/15B9: 99AD01 STA $01AD,Y C1/15BC: 20510C JSR $0C51 C1/15BF: C9FF CMP #$FF C1/15C1: F003 BEQ $15C6 C1/15C3: 99AD01 STA $01AD,Y C1/15C6: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT D8] C1/15C9: A9FF LDA #$FF C1/15CB: 99AD01 STA $01AD,Y C1/15CE: 209A0C JSR $0C9A C1/15D1: C9FF CMP #$FF C1/15D3: F003 BEQ $15D8 C1/15D5: 99AD01 STA $01AD,Y C1/15D8: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C7] C1/15DB: A9FF LDA #$FF C1/15DD: 99AD01 STA $01AD,Y C1/15E0: 207A0D JSR $0D7A C1/15E3: C9FF CMP #$FF C1/15E5: F003 BEQ $15EA C1/15E7: 99AD01 STA $01AD,Y C1/15EA: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CA] C1/15ED: A9FF LDA #$FF C1/15EF: 99AD01 STA $01AD,Y C1/15F2: 20C10D JSR $0DC1 C1/15F5: C9FF CMP #$FF C1/15F7: F003 BEQ $15FC C1/15F9: 99AD01 STA $01AD,Y C1/15FC: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT CD] C1/15FF: A9FF LDA #$FF C1/1601: 99AD01 STA $01AD,Y C1/1604: 20080E JSR $0E08 C1/1607: C9FF CMP #$FF C1/1609: F003 BEQ $160E C1/160B: 99AD01 STA $01AD,Y C1/160E: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT D0] C1/1611: A9FF LDA #$FF C1/1613: 99AD01 STA $01AD,Y C1/1616: 204F0E JSR $0E4F C1/1619: C9FF CMP #$FF C1/161B: F003 BEQ $1620 C1/161D: 99AD01 STA $01AD,Y C1/1620: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT D3] C1/1623: A9FF LDA #$FF C1/1625: 99AD01 STA $01AD,Y C1/1628: 20960E JSR $0E96 C1/162B: C9FF CMP #$FF C1/162D: F003 BEQ $1632 C1/162F: 99AD01 STA $01AD,Y C1/1632: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C4: ] C1/1635: C220 REP #$20 C1/1637: 98 TYA C1/1638: 38 SEC C1/1639: E900E0 SBC #$E000 C1/163C: E220 SEP #$20 C1/163E: EB XBA C1/163F: 4A LSR A C1/1640: 99AD01 STA $01AD,Y C1/1643: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C1: Store $01AC,Y into Current Target] C1/1646: B9AC01 LDA $01AC,Y C1/1649: 99AD01 STA $01AD,Y C1/164C: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT C0: Store #$FF into Current Target (cleansed)] C1/164F: A9FF LDA #$FF C1/1651: 99AD01 STA $01AD,Y C1/1654: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT FB] C1/1657: 205B01 JSR $015B [Jump to Grab Low $E146,Y Bits] C1/165A: 999B01 STA $019B,Y C1/165D: 4C2101 JMP $0121 [Jump to Command Offset += 1] C1/1660: 0B PHD C1/1661: 08 PHP C1/1662: C220 REP #$20 C1/1664: E220 SEP #$20 C1/1666: 8B PHB C1/1667: A97E LDA #$7E C1/1669: 48 PHA C1/166A: AB PLB C1/166B: 223C00C0 JSR $C0003C C1/166F: AB PLB C1/1670: 28 PLP C1/1671: 2B PLD C1/1672: 60 RTS [UPT FC] C1/1673: B99101 LDA $0191,Y [Load Status Effects Low] C1/1676: 29DF AND #$DF [Logical AND for C1/1678: D03B BNE $16B5 C1/167A: B9E901 LDA $01E9,Y C1/167D: 99E301 STA $01E3,Y C1/1680: EB XBA C1/1681: B9E401 LDA $01E4,Y C1/1684: 2980 AND #$80 C1/1686: 4980 EOR #$80 C1/1688: 99E401 STA $01E4,Y C1/168B: D007 BNE $1694 C1/168D: B9E801 LDA $01E8,Y C1/1690: 99E301 STA $01E3,Y C1/1693: EB XBA C1/1694: A90C LDA #$0C C1/1696: C220 REP #$20 C1/1698: 8F024200 STA $004202 C1/169C: 48 PHA C1/169D: 68 PLA C1/169E: AF164200 LDA $004216 C1/16A2: E220 SEP #$20 C1/16A4: AA TAX C1/16A5: BF0010D0 LDA $D01000,X C1/16A9: 19E401 ORA $01E4,Y [] C1/16AC: 99E401 STA $01E4,Y [Store into Weapon Type] {Woah} C1/16AF: BB TYX C1/16B0: 5A PHY C1/16B1: 206016 JSR $1660 C1/16B4: 7A PLY C1/16B5: 4C2101 JMP $0121 [Jump to Command Offset += 1] ;-------Operand Low Bits Copying------- [UPT 25: 25nn: Store Low Bits of nn into $E146,Y Low Bits] C1/16B8: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/16BB: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/16BF: 290F AND #$0F [AND with #$0F] C1/16C1: 209701 JSR $0197 [Jump to Accumulator Low Bits Into $E146,Y Low Bits] C1/16C4: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 26: 26nn: Store Low Bits of nn into $E146,Y High Bits] C1/16C7: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/16CA: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/16CE: 290F AND #$0F [AND with #$0F] C1/16D0: 20AE01 JSR $01AE [Jump to Accumulator Low Bits Into $E146,Y High Bits] C1/16D3: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 27: 27nn: Store Low Bits of nn into $E147,Y Low Bits] C1/16D6: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/16D9: BF164FD0 LDA $D04F16,X C1/16DD: 290F AND #$0F C1/16DF: 20C701 JSR $01C7 [Jump to Accumulator Low Bits Into $E147,Y Low Bits] C1/16E2: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 28: 28nn: Store Low Bits of nn into $E147,Y High Bits] C1/16E5: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/16E8: BF164FD0 LDA $D04F16,X C1/16EC: 290F AND #$0F C1/16EE: 20DE01 JSR $01DE [Jump to Accumulator Low Bits Into $E147,Y High Bits] C1/16F1: 4C2B01 JMP $012B [Jump to Command Offset += 2] [xxnn: ] C1/16F4: 0B PHD [Push Direct Page Register] C1/16F5: 08 PHP [Push Processor Status] C1/16F6: C220 REP #$20 [Disable 8-Bit Accumulator] C1/16F8: 8B PHB [Push Data Bank] C1/16F9: 3B TSC [Transfer Stack Pointer to Accumulator] {!} C1/16FA: 5B TCD [Transfer Accumulator to Direct Page Register] C1/16FB: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/16FD: 5A PHY [Push Y] C1/16FE: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1701: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/1705: 290F AND #$0F [Logical AND with #$0F] C1/1707: F00D + BEQ $1716 [Branch ahead if it's zero] C1/1709: 8501 STA $01 [Store into TempBits] C1/170B: - 20FB26 JSR $26FB [Jump to...??] C1/170E: 290F AND #$0F C1/1710: C501 CMP $01 C1/1712: F002 + BEQ $1716 C1/1714: B0F5 - BCS $170B {If it was <= to the operand} C1/1716: + 7A PLY C1/1717: 8301 STA $01,S C1/1719: 68 PLA C1/171A: 28 PLP C1/171B: 2B PLD C1/171C: 60 RTS [Update $03F0 table if Operand Low Bits are set] [Do other crazy shit] [UPT 29: 29nn] C1/171D: 20F416 JSR $16F4 C1/1720: 209701 JSR $0197 [Jump to Accumulator Low Bits Into $E146,Y Low Bits] C1/1723: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 2A: 2Ann] C1/1726: 20F416 JSR $16F4 C1/1729: 20AE01 JSR $01AE [Jump to Accumulator Low Bits Into $E146,Y High Bits] C1/172C: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 2B: 2Bnn] C1/172F: 20F416 JSR $16F4 C1/1732: 20C701 JSR $01C7 [Jump to Accumulator Low Bits Into $E147,Y Low Bits] C1/1735: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT 2C: 2Cnn] C1/1738: 20F416 JSR $16F4 [Check C1/173B: 20DE01 JSR $01DE [Jump to Accumulator Low Bits Into $E147,Y High Bits] C1/173E: 4C2B01 JMP $012B [Jump to Command Offset += 2] ;-------Comparison Operators------- ;-------Not Equal------- [UPT 0A: 0Ann: Script Jump if $E146,Y Low Bits != nn] C1/1741: 205B01 JSR $015B [Jump to Get $E146,Y Low Bits] C1/1744: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1747: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/174B: D005 + BNE $1752 C1/174D: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1750: 8003 ++ BRA $1755 C1/1752: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1755: ++ 60 RTS [UPT 0B: 0Bnn: Script Jump if $E146,Y High Bits != nn] C1/1756: 206901 JSR $0169 [Jump to Grab High $E146,Y Bits] C1/1759: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/175C: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/1760: D005 + BNE $1767 C1/1762: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1765: 8003 ++ BRA $176A C1/1767: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/176A: ++ 60 RTS [UPT 0C: 0Cnn: Script Jump if $E147,Y Low Bits != nn] C1/176B: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/176E: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1771: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/1775: D005 + BNE $177C C1/1777: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/177A: 8003 ++ BRA $177F C1/177C: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/177F: ++ 60 RTS [UPT 0D: 0Dnn: Script Jump if $E147,Y High Bits != nn] C1/1780: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/1783: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1786: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/178A: D005 + BNE $1791 C1/178C: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/178F: 8003 ++ BRA $1794 C1/1791: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1794: ++ 60 RTS ;-------Equal------- [UPT 0E: 0Enn: Script Jump if $E146,Y Low Bits == nn] C1/1795: 205B01 JSR $015B [Jump to Grab $E146,Y Low Bits] C1/1798: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/179B: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/179F: F005 + BEQ $17A6 C1/17A1: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/17A4: 8003 ++ BRA $17A9 C1/17A6: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/17A9: ++ 60 RTS [UPT 0F: 0Fnn: Script Jump if $E146,Y High Bits == nn] C1/17AA: 206901 JSR $0169 [Jump to Grab $E146,Y High Bits] C1/17AD: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/17B0: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/17B4: F005 + BEQ $17BB C1/17B6: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/17B9: 8003 ++ BRA $17BE C1/17BB: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/17BE: ++ 60 RTS [UPT 10: 10nn: Script Jump if $E147,Y Low Bits == nn] C1/17BF: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/17C2: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/17C5: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/17C9: F005 + BEQ $17D0 C1/17CB: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/17CE: 8003 ++ BRA $17D3 C1/17D0: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/17D3: ++ 60 RTS [Return] [UPT 11: 11nn: Script Jump if $E147,Y High Bits == nn] C1/17D4: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/17D7: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/17DA: DF164FD0 CMP $D04F16,X [Compare Accumulator with AI Command Operand] C1/17DE: F005 + BEQ $17E5 C1/17E0: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/17E3: 8003 ++ BRA $17E8 C1/17E5: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/17E8: ++ 60 RTS ;-------Greater Than------- [UPT 12: 12nn: Script Jump if $E146,Y Low Bits > nn] C1/17E9: 205B01 JSR $015B [Jump to Grab Low $E146,Y Bits] C1/17EC: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/17EF: DF164FD0 CMP $D04F16,X [Compare with AI Command Operand] C1/17F3: F002 + BEQ $17F7 C1/17F5: B005 ++ BCS $17FC C1/17F7: + 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/17FA: 8003 + BRA $17FF C1/17FC: ++ 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/17FF: + 60 RTS [UPT 13: 13nn: Script Jump if $E146,Y High Bits > nn] C1/1800: 206901 JSR $0169 [Jump to Grab High $E146,Y Bits] C1/1803: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1806: DF164FD0 CMP $D04F16,X [Compare with AI Command Operand] C1/180A: F002 + BEQ $180E C1/180C: B005 ++ BCS $1813 C1/180E: + 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1811: 8003 + BRA $1816 C1/1813: ++ 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1816: + 60 RTS [UPT 14: 14nn: Script Jump if $E147,Y Low Bits > nn] C1/1817: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/181A: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/181D: DF164FD0 CMP $D04F16,X [Compare with AI Command Operand] C1/1821: F002 + BEQ $1825 C1/1823: B005 ++ BCS $182A C1/1825: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1828: + 8003 + BRA $182D C1/182A: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/182D: + 60 RTS [Return] [UPT 15: 15nn: Script Jump if $E147,Y High Bits > nn] C1/182E: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/1831: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1834: DF164FD0 CMP $D04F16,X [Compare with AI Command Operand] C1/1838: F002 + BEQ $183C C1/183A: B005 ++ BCS $1841 C1/183C: + 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/183F: 8003 + BRA $1844 C1/1841: ++ 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1844: + 60 RTS [Return] ;-------Less Than------- [UPT 16: 16nn: Script Jump if $E146,Y Low Bits < nn] C1/1845: 205B01 JSR $015B [Jump to Grab $E146,Y Low Bits] C1/1848: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/184B: DF164FD0 CMP $D04F16,X [Compare with AI Command Operand] C1/184F: 9005 + BCC $1856 C1/1851: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1854: 8003 ++ BRA $1859 C1/1856: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1859: ++ 60 RTS [Return] [UPT 17: 17nn: Script Jump if $E146,Y High Bits < nn] C1/185A: 206901 JSR $0169 [Jump to Grab $E146,Y High Bits] C1/185D: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1860: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/1864: 9005 + BCC $186B C1/1866: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1869: 8003 ++ BRA $186E C1/186B: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/186E: ++ 60 RTS [UPT 18: 18nn: Script Jump if $E147,Y Low Bits < nn] C1/186F: 207901 JSR $0179 [Jump to Get $E147,Y Low Bits] C1/1872: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1875: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/1879: 9005 + BCC $1880 C1/187B: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/187E: 8003 ++ BRA $1883 C1/1880: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1883: ++ 60 RTS [UPT 19: 19nn: Script Jump if $E147,Y High Bits < nn] C1/1884: 208701 JSR $0187 [Jump to Get $E147,Y High Bits] C1/1887: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/188A: DF164FD0 CMP $D04F16,X [Load AI Command Operand] C1/188E: 9005 + BCC $1895 C1/1890: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1893: 8003 ++ BRA $1898 C1/1895: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1898: ++ 60 RTS [UPT 36: Increments command by 2 (uh)] C1/1899: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/189C: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/18A0: 0A ASL A [Shift Accumulator Left] C1/18A1: EB XBA [Switch A and B] C1/18A2: A900 LDA #$00 [Load #$00 into Accumulator] C1/18A4: C220 REP #$20 [Disable 8-Bit Emulation] C1/18A6: 18 CLC [Clear Carry] C1/18A7: 6900E0 ADC #$E000 [Add #$E000 to Accumulator] C1/18AA: AA TAX [Transfer Accumulator to X] C1/18AB: E220 SEP #$20 [Enable 8-Bit Emulation] C1/18AD: BD0000 LDA $0000,X [Load Target Master Control Byte] C1/18B0: C901 CMP #$01 [Compare with #$01] C1/18B2: D00C + BNE $18C0 C1/18B4: 205803 JSR $0358 {What the hell does this do?} C1/18B7: C901 CMP #$01 C1/18B9: D005 + BNE $18C0 C1/18BB: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/18BE: 8003 ++ BRA $18C3 C1/18C0: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/18C3: ++ 60 RTS [UPT 3C: Increments command by 2] C1/18C4: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/18C7: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/18CB: 0A ASL A C1/18CC: EB XBA C1/18CD: A900 LDA #$00 C1/18CF: C220 REP #$20 C1/18D1: 18 CLC C1/18D2: 6900E0 ADC #$E000 C1/18D5: AA TAX C1/18D6: E220 SEP #$20 C1/18D8: BD0000 LDA $0000,X C1/18DB: C901 CMP #$01 C1/18DD: D00C BNE $18EB C1/18DF: 205803 JSR $0358 C1/18E2: C902 CMP #$02 C1/18E4: D005 BNE $18EB C1/18E6: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/18E9: 8003 BRA $18EE C1/18EB: 208D02 JSR $028D [Jump to AI Command Offset += 2 , Script Jump] C1/18EE: 60 RTS [UPT 42: Increments command by 2 (cleansed)] C1/18EF: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/18F2: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/18F6: 0A ASL A C1/18F7: EB XBA C1/18F8: A900 LDA #$00 C1/18FA: C220 REP #$20 C1/18FC: 18 CLC C1/18FD: 6900E0 ADC #$E000 C1/1900: AA TAX C1/1901: E220 SEP #$20 C1/1903: BD0000 LDA $0000,X C1/1906: C901 CMP #$01 C1/1908: D00C BNE $1916 C1/190A: 205803 JSR $0358 C1/190D: C904 CMP #$04 C1/190F: D005 BNE $1916 C1/1911: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1914: 8003 BRA $1919 C1/1916: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1919: 60 RTS [UPT 48: Increments command by 2 (cleansed)] C1/191A: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/191D: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/1921: 0A ASL A C1/1922: EB XBA C1/1923: A900 LDA #$00 C1/1925: C220 REP #$20 C1/1927: 18 CLC C1/1928: 6900E0 ADC #$E000 C1/192B: AA TAX C1/192C: E220 SEP #$20 C1/192E: BD0000 LDA $0000,X C1/1931: C901 CMP #$01 C1/1933: D00C BNE $1941 C1/1935: 205803 JSR $0358 C1/1938: C908 CMP #$08 C1/193A: D005 BNE $1941 C1/193C: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/193F: 8003 BRA $1944 C1/1941: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/1944: 60 RTS [Unused? (cleansed)] C1/1945: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1948: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/194C: 0A ASL A C1/194D: EB XBA C1/194E: A900 LDA #$00 C1/1950: C220 REP #$20 C1/1952: 18 CLC C1/1953: 6900E0 ADC #$E000 C1/1956: AA TAX C1/1957: E220 SEP #$20 C1/1959: BD0000 LDA $0000,X C1/195C: C901 CMP #$01 C1/195E: D00C BNE $196C C1/1960: 205803 JSR $0358 C1/1963: C901 CMP #$01 C1/1965: F005 BEQ $196C C1/1967: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/196A: 8003 BRA $196F C1/196C: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/196F: 60 RTS [Unused?] C1/1970: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1973: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/1977: 0A ASL A C1/1978: EB XBA C1/1979: A900 LDA #$00 C1/197B: C220 REP #$20 C1/197D: 18 CLC C1/197E: 6900E0 ADC #$E000 C1/1981: AA TAX C1/1982: E220 SEP #$20 C1/1984: BD0000 LDA $0000,X C1/1987: C901 CMP #$01 C1/1989: D00C BNE $1997 C1/198B: 205803 JSR $0358 C1/198E: C902 CMP #$02 C1/1990: F005 BEQ $1997 C1/1992: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/1995: 8003 BRA $199A C1/1997: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/199A: 60 RTS [Unused?] C1/199B: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/199E: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/19A2: 0A ASL A C1/19A3: EB XBA C1/19A4: A900 LDA #$00 C1/19A6: C220 REP #$20 C1/19A8: 18 CLC C1/19A9: 6900E0 ADC #$E000 C1/19AC: AA TAX C1/19AD: E220 SEP #$20 C1/19AF: BD0000 LDA $0000,X C1/19B2: C901 CMP #$01 C1/19B4: D00C BNE $19C2 C1/19B6: 205803 JSR $0358 C1/19B9: C904 CMP #$04 C1/19BB: F005 BEQ $19C2 C1/19BD: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/19C0: 8003 BRA $19C5 C1/19C2: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/19C5: 60 RTS [Unused?] C1/19C6: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/19C9: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/19CD: 0A ASL A C1/19CE: EB XBA C1/19CF: A900 LDA #$00 C1/19D1: C220 REP #$20 C1/19D3: 18 CLC C1/19D4: 6900E0 ADC #$E000 C1/19D7: AA TAX C1/19D8: E220 SEP #$20 C1/19DA: BD0000 LDA $0000,X C1/19DD: C901 CMP #$01 C1/19DF: D00C BNE $19ED C1/19E1: 205803 JSR $0358 C1/19E4: C908 CMP #$08 C1/19E6: F005 BEQ $19ED C1/19E8: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/19EB: 8003 BRA $19F0 C1/19ED: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/19F0: 60 RTS [UPT F9] C1/19F1: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/19F4: BF164FD0 LDA $D04F16,X C1/19F8: 999B01 STA $019B,Y C1/19FB: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT E4: E4xxyy] C1/19FE: 20A505 JSR $05A5 C1/1A01: D02D + BNE $1A30 C1/1A03: 200404 JSR $0404 C1/1A06: 290F AND #$0F C1/1A08: 994101 STA $0141,Y C1/1A0B: A9C1 LDA #$C1 C1/1A0D: 994001 STA $0140,Y C1/1A10: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1A13: BF164FD0 LDA $D04F16,X C1/1A17: 994201 STA $0142,Y C1/1A1A: BF174FD0 LDA $D04F17,X C1/1A1E: 994301 STA $0143,Y C1/1A21: C220 REP #$20 C1/1A23: 8A TXA C1/1A24: 18 CLC C1/1A25: 690300 ADC #$0003 C1/1A28: 994401 STA $0144,Y C1/1A2B: A90000 LDA #$0000 C1/1A2E: 800F BRA $1A3F C1/1A30: + C220 REP #$20 C1/1A32: B94401 LDA $0144,Y C1/1A35: 18 CLC C1/1A36: 690300 ADC #$0003 C1/1A39: 994401 STA $0144,Y C1/1A3C: A9FFFF LDA #$FFFF C1/1A3F: 60 RTS [Nothing after this point seems to do B94401. Possibly. RTI, eh?] [UPT E5] C1/1A40: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1A43: D02D BNE $1A72 C1/1A45: 200404 JSR $0404 C1/1A48: 290F99 AND #$990F C1/1A4B: 4101 EOR ($01,X) C1/1A4D: A9C199 LDA #$99C1 C1/1A50: 40 RTI C1/1A51: 01BE ORA ($BE,X) C1/1A53: 4401BF MVP $01,$BF C1/1A56: 164F ASL $4F,X C1/1A58: D099 BNE $19F3 C1/1A5A: 4201 WDM #$01 C1/1A5C: BF174FD0 LDA $D04F17,X C1/1A60: 994301 STA $0143,Y C1/1A63: C220 REP #$20 C1/1A65: 8A TXA C1/1A66: 18 CLC C1/1A67: 690300 ADC #$0003 C1/1A6A: 994401 STA $0144,Y C1/1A6D: A90000 LDA #$0000 C1/1A70: 800F BRA $1A81 C1/1A72: C220 REP #$20 C1/1A74: B94401 LDA $0144,Y C1/1A77: 18 CLC C1/1A78: 690300 ADC #$0003 C1/1A7B: 994401 STA $0144,Y C1/1A7E: A9FFFF LDA #$FFFF C1/1A81: 60 RTS [UPT E6: E6xxyy. Returns either #$0000 or #$FFFF] C1/1A82: 20A505 JSR $05A5 C1/1A85: D031 + BNE $1AB8 C1/1A87: DA PHX C1/1A88: BB TYX C1/1A89: 7A PLY C1/1A8A: 200404 JSR $0404 C1/1A8D: 290F9B AND #$9B0F C1/1A90: 994101 STA $0141,Y C1/1A93: A9C1 LDA #$C1 994001 STA $0140,Y BE4401 LDX $0144,Y BF164FD0 STA $D04F16,X C1/1A9F: 994201 STA $0142,Y C1/1AA2: BF174FD0 LDA $D04F17,X C1/1AA6: 994301 STA $0143,Y C1/1AA9: C220 REP #$20 C1/1AAB: 8A TXA C1/1AAC: 18 CLC C1/1AAD: 690300 ADC #$0003 C1/1AB0: 994401 STA $0144,Y C1/1AB3: A90000 LDA #$0000 C1/1AB6: 800F ++ BRA $1AC7 C1/1AB8: + C220 REP #$20 C1/1ABA: B94401 LDA $0144,Y C1/1ABD: 18 CLC C1/1ABE: 690300 ADC #$0003 C1/1AC1: 994401 STA $0144,Y C1/1AC4: A9FFFF LDA #$FFFF C1/1AC7: ++ 60 RTS [UPT E7] C1/1AC8: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1ACB: D031 BNE $1AFE C1/1ACD: DA PHX C1/1ACE: BB TYX C1/1ACF: 7A PLY C1/1AD0: 200404 JSR $0404 C1/1AD3: 290F9B AND #$9B0F C1/1AD6: 994101 STA $0141,Y C1/1AD9: A9C199 LDA #$99C1 C1/1ADC: 40 RTI C1/1ADD: 01BE ORA ($BE,X) C1/1ADF: 4401BF MVP $01,$BF C1/1AE2: 164F ASL $4F,X C1/1AE4: D099 BNE $1A7F C1/1AE6: 4201 WDM #$01 C1/1AE8: BF174FD0 LDA $D04F17,X C1/1AEC: 994301 STA $0143,Y C1/1AEF: C220 REP #$20 C1/1AF1: 8A TXA C1/1AF2: 18 CLC C1/1AF3: 690300 ADC #$0003 C1/1AF6: 994401 STA $0144,Y C1/1AF9: A90000 LDA #$0000 C1/1AFC: 800F BRA $1B0D C1/1AFE: C220 REP #$20 C1/1B00: B94401 LDA $0144,Y C1/1B03: 18 CLC C1/1B04: 690300 ADC #$0003 C1/1B07: 994401 STA $0144,Y C1/1B0A: A9FFFF LDA #$FFFF C1/1B0D: 60 RTS [UPT BE] C1/1B0E: 20A505 JSR $05A5 C1/1B11: D02E BNE $1B41 C1/1B13: 200404 JSR $0404 C1/1B16: EB XBA C1/1B17: 290F99 AND #$990F C1/1B1A: 4101 EOR ($01,X) C1/1B1C: A9C199 LDA #$99C1 C1/1B1F: 40 RTI C1/1B20: 01BE ORA ($BE,X) C1/1B22: 4401BF MVP $01,$BF C1/1B25: 164F ASL $4F,X C1/1B27: D099 BNE $1AC2 C1/1B29: 4201 WDM #$01 C1/1B2B: BF174FD0 LDA $D04F17,X C1/1B2F: 994301 STA $0143,Y C1/1B32: C220 REP #$20 C1/1B34: 8A TXA C1/1B35: 18 CLC C1/1B36: 690300 ADC #$0003 C1/1B39: 994401 STA $0144,Y C1/1B3C: A90000 LDA #$0000 C1/1B3F: 800F BRA $1B50 C1/1B41: C220 REP #$20 C1/1B43: B94401 LDA $0144,Y C1/1B46: 18 CLC C1/1B47: 690300 ADC #$0003 C1/1B4A: 994401 STA $0144,Y C1/1B4D: A9FFFF LDA #$FFFF C1/1B50: 60 RTS [UPT BF] C1/1B51: 20A505 JSR $05A5 C1/1B54: D032 BNE $1B88 C1/1B56: DA PHX C1/1B57: BB TYX C1/1B58: 7A PLY C1/1B59: 200404 JSR $0404 C1/1B5C: 9B TXY C1/1B5D: EB XBA C1/1B5E: 290F 994101 EOR ($01,X) C1/1B63: A9C1 994001 BE4401 BF164FD0 LDA $D04F16,X C1/1B6E: 994201 C1/1B72: BF174FD0 LDA $D04F17,X C1/1B76: 994301 STA $0143,Y C1/1B79: C220 REP #$20 C1/1B7B: 8A TXA C1/1B7C: 18 CLC C1/1B7D: 690300 ADC #$0003 C1/1B80: 994401 STA $0144,Y C1/1B83: A90000 LDA #$0000 C1/1B86: 800F BRA $1B97 [] C1/1B88: C220 REP #$20 C1/1B8A: B94401 LDA $0144,Y C1/1B8D: 18 CLC C1/1B8E: 690300 ADC #$0003 C1/1B91: 994401 STA $0144,Y C1/1B94: A9FFFF LDA #$FFFF C1/1B97: 60 RTS [UPT FD] C1/1B98: 20A505 JSR $05A5 C1/1B9B: D02F + BNE $1BCC [Branch ahead if subroutine result wasn't zero] C1/1B9D: 200404 JSR $0404 C1/1BA0: 4A LSR A C1/1BA1: 4A LSR A C1/1BA2: 4A LSR A C1/1BA3: 4A LSR A C1/1BA4: 994101 STA $0141,Y C1/1BA7: A9C1 LDA #$C1 C1/1BA9: 994001 STA $0140,Y C1/1BAC: BE4401 LDX $0144,Y C1/1BAF: BF164FD0 LDA $D04F16,X C1/1BB3: 994201 STA $0142,Y C1/1BB6: BF174FD0 LDA $D04F17,X C1/1BBA: 994301 STA $0143,Y C1/1BBD: C220 REP #$20 C1/1BBF: 8A TXA C1/1BC0: 18 CLC C1/1BC1: 690300 ADC #$0003 C1/1BC4: 994401 STA $0144,Y C1/1BC7: A90000 LDA #$0000 C1/1BCA: 800F ++ BRA $1BDB C1/1BCC: + C220 REP #$20 C1/1BCE: B94401 LDA $0144,Y C1/1BD1: 18 CLC C1/1BD2: 690300 ADC #$0003 C1/1BD5: 994401 STA $0144,Y C1/1BD8: A9FFFF LDA #$FFFF C1/1BDB: ++ 60 RTS [UPT FE: FExxyy] C1/1BDC: 20A505 JSR $05A5 C1/1BDF: D033 BNE $1C14 C1/1BE1: DA PHX C1/1BE2: BB TYX C1/1BE3: 7A PLY C1/1BE4: 200404 JSR $0404 C1/1BE7: 4A LSR A C1/1BE8: 4A LSR A C1/1BE9: 4A LSR A C1/1BEA: 4A LSR A C1/1BEB: 9B TXY C1/1BEC: 994101 STA $0141,Y C1/1BEF: A9C1 LDA #$C1 C1/1BF1: 994001 STA $0140,Y C1/1BF4: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1BF7: BF164FD0 LDA $D04F16,X [Load second operand] C1/1BBB: 994201 STA $0142,Y C1/1BFE: BF174FD0 LDA $D04F17,X [Load third operand] C1/1C02: 994301 STA $0143,Y C1/1C05: C220 REP #$20 C1/1C07: 8A TXA C1/1C08: 18 CLC C1/1C09: 690300 ADC #$0003 C1/1C0C: 994401 STA $0144,Y C1/1C0F: A90000 LDA #$0000 C1/1C12: 800F BRA $1C23 C1/1C14: C220 REP #$20 C1/1C16: B94401 LDA $0144,Y C1/1C19: 18 CLC C1/1C1A: 690300 ADC #$0003 C1/1C1D: 994401 STA $0144,Y C1/1C20: A9FFFF LDA #$FFFF C1/1C23: 60 RTS [UPT E3: Related to player character attacks somehow? Need to check this with AI characters] C1/1C24: 0B PHD C1/1C25: 08 PHP C1/1C26: C220 REP #$20 C1/1C28: 8B PHB C1/1C29: 3B TSC C1/1C2A: 5B TCD C1/1C2B: E220 SEP #$20 C1/1C2D: 6401 STZ $01 C1/1C2F: B90600 LDA $0006,Y C1/1C32: F00E BEQ $1C42 C1/1C34: 2480 BIT $80 C1/1C36: F006 BEQ $1C3E C1/1C38: A902 LDA #$02 C1/1C3A: 8501 STA $01 C1/1C3C: 8004 BRA $1C42 C1/1C3E: A901 LDA #$01 C1/1C40: 8501 STA $01 C1/1C42: B90700 LDA $0007,Y C1/1C45: F012 BEQ $1C59 C1/1C47: 2480 BIT $80 C1/1C49: F008 BEQ $1C53 C1/1C4B: A501 LDA $01 C1/1C4D: 0908 ORA #$08 C1/1C4F: 8501 STA $01 C1/1C51: 8006 BRA $1C59 C1/1C53: A501 LDA $01 C1/1C55: 0904 ORA #$04 C1/1C57: 8501 STA $01 C1/1C59: A501 LDA $01 C1/1C5B: D003 BNE $1C60 C1/1C5D: 200205 JSR $0502 C1/1C60: 994101 STA $0141,Y [Store into Animation?] C1/1C63: A9C1 LDA #$C1 C1/1C65: 994001 STA $0140,Y C1/1C68: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1C6B: BF164FD0 LDA $D04F16,X [The first two arguments are paired, eh?] C1/1C6F: 994201 STA $0142,Y C1/1C72: BF174FD0 LDA $D04F17,X [See above] C1/1C76: 994301 STA $0143,Y C1/1C79: C220 REP #$20 C1/1C7B: 8A TXA C1/1C7C: 18 CLC C1/1C7D: 690300 ADC #$0003 C1/1C80: 994401 STA $0144,Y C1/1C83: A90000 LDA #$0000 C1/1C86: E220 SEP #$20 C1/1C88: 8301 STA $01,S C1/1C8A: 68 PLA C1/1C8B: 28 PLP C1/1C8C: 2B PLD C1/1C8D: 60 RTS [UPT E0] C1/1C8E: A9C1 LDA #$C1 C1/1C90: 994001 STA $0140,Y C1/1C93: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1C96: BF164FD0 LDA $D04F16,X [And then the first three...] C1/1C9A: 994101 STA $0141,Y C1/1C9D: BF174FD0 LDA $D04F17,X C1/1CA1: 994201 STA $0142,Y C1/1CA4: BF184FD0 LDA $D04F18,X C1/1CA8: 994301 STA $0143,Y C1/1CAB: A904 LDA #$04 C1/1CAD: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT 62] C1/1CB0: 0B PHD C1/1CB1: 08 PHP C1/1CB2: C220 REP #$20 C1/1CB4: 8B PHB C1/1CB5: 3B TSC C1/1CB6: 5B TCD C1/1CB7: E220 SEP #$20 C1/1CB9: A903 LDA #$03 C1/1CBB: 8501 STA $01 C1/1CBD: A200E6 LDX #$E600 C1/1CC0: 208B05 JSR $058B C1/1CC3: 9010 BCC $1CD5 C1/1CC5: 18 CLC C1/1CC6: C220 REP #$20 C1/1CC8: 8A TXA C1/1CC9: 690002 ADC #$0200 C1/1CCC: AA TAX C1/1CCD: E220 SEP #$20 C1/1CCF: C601 DEC $01 C1/1CD1: D0ED BNE $1CC0 C1/1CD3: 8021 BRA $1CF6 C1/1CD5: A903 LDA #$03 C1/1CD7: 8501 STA $01 C1/1CD9: A903 LDA #$03 C1/1CDB: 38 SEC C1/1CDC: E501 SBC $01 C1/1CDE: 20D304 JSR $04D3 C1/1CE1: E00000 CPX #$0000 C1/1CE4: F007 BEQ $1CED C1/1CE6: 205803 JSR $0358 C1/1CE9: 8920 BIT #$20 C1/1CEB: D009 BNE $1CF6 C1/1CED: C601 DEC $01 C1/1CEF: D0E8 BNE $1CD9 C1/1CF1: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1CF4: 8003 BRA $1CF9 C1/1CF6: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1CF9: 8301 STA $01,S C1/1CFB: 68 PLA C1/1CFC: 28 PLP C1/1CFD: 2B PLD C1/1CFE: 60 RTS [UPT F6] C1/1CFF: 0B PHD C1/1D00: 08 PHP C1/1D01: C220 REP #$20 C1/1D03: 8B PHB C1/1D04: 3B TSC C1/1D05: 5B TCD C1/1D06: E220 SEP #$20 C1/1D08: A903 LDA #$03 C1/1D0A: 8501 STA $01 C1/1D0C: A200E6 LDX #$E600 C1/1D0F: 208B05 JSR $058B C1/1D12: 9012 BCC $1D26 C1/1D14: 18 CLC C1/1D15: C220 REP #$20 C1/1D17: 8A TXA C1/1D18: 690002 ADC #$0200 C1/1D1B: AA TAX C1/1D1C: E220 SEP #$20 C1/1D1E: E220 SEP #$20 C1/1D20: C601 DEC $01 C1/1D22: D0EB BNE $1D0F C1/1D24: 801E BRA $1D44 C1/1D26: E220 SEP #$20 C1/1D28: A903 LDA #$03 C1/1D2A: 8501 STA $01 C1/1D2C: A903 LDA #$03 C1/1D2E: 38 SEC C1/1D2F: E501 SBC $01 C1/1D31: 20D304 JSR $04D3 C1/1D34: E00000 CPX #$0000 C1/1D37: F007 BEQ $1D40 C1/1D39: 205803 JSR $0358 C1/1D3C: 8920 BIT #$20 C1/1D3E: F009 BEQ $1D49 C1/1D40: C601 DEC $01 C1/1D42: D0E8 BNE $1D2C C1/1D44: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/1D47: 8003 BRA $1D4C C1/1D49: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/1D4C: 8301 STA $01,S C1/1D4E: 68 PLA C1/1D4F: 28 PLP C1/1D50: 2B PLD C1/1D51: 60 RTS [UPT E1] C1/1D52: A901 LDA #$01 C1/1D54: 994001 STA $0140,Y C1/1D57: A901 LDA #$01 C1/1D59: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT E8: Normal Physical Attack] C1/1D5C: B9ED01 LDA $01ED,Y [Load Attack Bar/Niceness] C1/1D5F: F003 + BEQ $1D64 C1/1D61: 4C2101 JMP $0121 [Jump to Command Offset += 1] C1/1D64: + B9C001 LDA $01C0,Y [Load Enemy Weapon Level] C1/1D67: 999B01 STA $019B,Y [Store into Accumulation Level] C1/1D6A: A902 LDA #$02 C1/1D6C: 994001 STA $0140,Y C1/1D6F: A901 LDA #$01 C1/1D71: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT DF: ?? Physical Attack] C1/1D74: B9ED01 LDA $01ED,Y C1/1D77: F003 BEQ $1D7C C1/1D79: 4C2101 JMP $0121 [Jump to Command Offset += 1] C1/1D7C: B94C01 LDA $014C,Y C1/1D7F: 29FE AND #$FE C1/1D81: 994C01 STA $014C,Y C1/1D84: A902 LDA #$02 C1/1D86: 994001 STA $0140,Y C1/1D89: A901 LDA #$01 C1/1D8B: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT FA: FAnn: Physical Attack With Weapon Level nn] C1/1D8E: B9ED01 LDA $01ED,Y C1/1D91: F003 + BEQ $1D96 C1/1D93: 4C2B01 JMP $012B [Jump to Command Offset += 2] C1/1D96: + BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1D99: BF164FD0 LDA $D04F16,X C1/1D9D: 999B01 STA $019B,Y C1/1DA0: A902 LDA #$02 C1/1DA2: 994001 STA $0140,Y C1/1DA5: A902 LDA #$02 C1/1DA7: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT EC] C1/1DAA: A903 LDA #$03 C1/1DAC: 994001 STA $0140,Y C1/1DAF: A901 LDA #$01 C1/1DB1: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT F4] C1/1DB4: B94C01 LDA $014C,Y C1/1DB7: 8901 BIT #$01 C1/1DB9: F00F BEQ $1DCA C1/1DBB: 29FE AND #$FE C1/1DBD: 994C01 STA $014C,Y C1/1DC0: A907 LDA #$07 C1/1DC2: 994001 STA $0140,Y C1/1DC5: A901 LDA #$01 C1/1DC7: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] C1/1DCA: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT F3] C1/1DCD: C220 REP #$20 C1/1DCF: 98 TYA C1/1DD0: 38 SEC C1/1DD1: E900E0 SBC #$E000 C1/1DD4: 4A LSR A C1/1DD5: EB XBA C1/1DD6: AA TAX C1/1DD7: E220 SEP #$20 C1/1DD9: BF7DCC7E LDA $7ECC7D,X [What is this?] C1/1DDD: F016 + BEQ $1DF5 C1/1DDF: B94C01 LDA $014C,Y C1/1DE2: 8901 BIT #$01 C1/1DE4: D00F + BNE $1DF5 C1/1DE6: 0901 ORA #$01 C1/1DE8: 994C01 STA $014C,Y C1/1DEB: A906 LDA #$06 C1/1DED: 994001 STA $0140,Y C1/1DF0: A901 LDA #$01 C1/1DF2: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] C1/1DF5: + 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT EE: Destroys the mob?] C1/1DF8: A904 LDA #$04 C1/1DFA: 994001 STA $0140,Y C1/1DFD: A901 LDA #$01 C1/1DFF: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT E2: E2nn] C1/1E02: A940 LDA #$40 C1/1E04: 994001 STA $0140,Y C1/1E07: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1E0A: BF164FD0 LDA $D04F16,X [Load operand] {Often 00?} C1/1E0E: 994101 STA $0141,Y [Store into this] C1/1E11: A902 LDA #$02 C1/1E13: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] C1/1E16: 0B PHD C1/1E17: 08 PHP C1/1E18: C220 REP #$20 C1/1E1A: E220 SEP #$20 C1/1E1C: 8B PHB C1/1E1D: A97E LDA #$7E C1/1E1F: 48 PHA C1/1E20: AB PLB C1/1E21: 5A PHY C1/1E22: BB TYX C1/1E23: 221B00C0 JSR $C0001B C1/1E27: 7A PLY C1/1E28: AB PLB C1/1E29: 28 PLP C1/1E2A: 2B PLD C1/1E2B: 60 RTS [Subtract Spell Cost (cleansed)] C1/1E2C: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1E2F: BF174FD0 LDA $D04F17,X [Load AI Second Operand] {Spell to be cast} C1/1E33: C220 REP #$20 [Disable 8-Bit Emulation] C1/1E35: 29FF00 AND #$00FF [Throw out high byte, keep second operand] C1/1E38: EB XBA [Switch Accumulator bytes] C1/1E39: 4A LSR A [Divide by 2] C1/1E3A: 4A LSR A [Again, by 2] C1/1E3B: AA TAX [Transfer Accumulator to X] C1/1E3C: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/1E3E: B98601 LDA $0186,Y [Load Current MP into Accumulator] C1/1E41: 38 SEC [Set Carry] C1/1E42: FFDF2AD0 SBC $D02ADF,X [Load Spell Cost] C1/1E46: 60 RTS [Return] [UPT E9: Cast a goddamn spell. Finally!] C1/1E47: 20BA05 JSR $05BA [Checks $E1AD,Y] C1/1E4A: D044 + BNE $1E90 C1/1E4C: 202C1E JSR $1E2C [Jump to Subtract Spell Cost] C1/1E4F: 903F + BCC $1E90 C1/1E51: B99001 LDA $0190,Y [Load Status Effects(low) into Accumulator] C1/1E54: 2980 AND #$80 [Check for Confuse] C1/1E56: D038 + BNE $1E90 C1/1E58: B96000 LDA $0060,Y C1/1E5B: C9E0 CMP #$E0 C1/1E5D: F031 BEQ $1E90 C1/1E5F: A944 LDA #$44 [Load #$44 into Accumulator] C1/1E61: 994001 STA $0140,Y C1/1E64: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1E67: BF164FD0 LDA $D04F16,X [Load first operand] C1/1E6B: 994101 STA $0141,Y C1/1E6E: BF174FD0 LDA $D04F17,X [Load second operand] {Spell being cast} C1/1E72: 997001 STA $0170,Y [Store into SpellCast?] C1/1E75: BB TYX [Transfer Y to X] C1/1E76: 9E7701 STZ $0177,X [Store zero here] C1/1E79: BDAD01 LDA $01AD,X [Load Current Target] C1/1E7C: 1A INC A [Increment Accumulator] C1/1E7D: 9D7801 STA $0178,X [Store into Primary Spell Target] C1/1E80: 9E7901 STZ $0179,X [Store zero into Secondary Spell Target] C1/1E83: 9E7A01 STZ $017A,X [Store zero into Tertiary Spell Target] C1/1E86: A901 LDA #$01 [Load #$01 into Accumulator] C1/1E88: 9D7601 STA $0176,X [Store into Number of Spell Targets] C1/1E8B: 20161E JSR $1E16 C1/1E8E: 8003 BRA $1E93 C1/1E90: + 203425 JSR $2534 C1/1E93: A903 LDA #$03 C1/1E95: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT EA: Cast a goddamn spell without checking $E1AD,Y] C1/1E98: 202C1E JSR $1E2C [Subtract Spell Cost] C1/1E9B: B011 BCS $1EAE C1/1E9D: B96000 LDA $0060,Y C1/1EA0: C9E0 CMP #$E0 C1/1EA2: F007 + BEQ $1EAB C1/1EA4: B99001 LDA $0190,Y C1/1EA7: 2980 AND #$80 [Check for Confuse] C1/1EA9: F003 ++ BEQ $1EAE [Branch ahead if it isn't there] C1/1EAB: + 4C2F1F JMP $1F2F [Otherwise, jump way far ahead] C1/1EAE: ++ BB TYX [Transfer Y to X] C1/1EAF: 9E7601 STZ $0176,X [Store zero into] C1/1EB2: 9E7701 STZ $0177,X C1/1EB5: 9E7801 STZ $0178,X C1/1EB8: 9E7901 STZ $0179,X C1/1EBB: 9E7A01 STZ $017A,X C1/1EBE: A200E0 LDX #$E000 C1/1EC1: 5A PHY C1/1EC2: A903 LDA #$03 [Load #$03 into Accumulator] C1/1EC4: 48 PHA [Push Accumulator(#$03)] C1/1EC5: D9AD01 CMP $01AD,Y [Compare #$03 with SpellCastEnable?] C1/1EC8: F002 + BEQ $1ECC [Branch ahead if they're equal] C1/1ECA: B01A ++ BCS $1EE6 C1/1ECC: + A200E6 LDX #$E600 C1/1ECF: - 208B05 JSR $058B [Check if it's an NPC? C1/1ED2: B009 + BCS $1EDD [Branch ahead if it's an NPC and not a monster] C1/1ED4: A907 LDA #$07 [Load #$07 into Accumulator] C1/1ED6: 38 SEC [Set Carry] C1/1ED7: E301 SBC $01,S [Subtract whatever's here] C1/1ED9: 997801 STA $0178,Y [Store into Spell Target] C1/1EDC: C8 INY [Increment Y] C1/1EDD: + 68 PLA [Pull Accumulator(#$03)] C1/1EDE: 3A DEC A [Decrement Accumulator] C1/1EDF: 48 PHA [Push Accumulator(#$03)] C1/1EE0: D0ED - BNE $1ECF [Loop back if #$03 hasn't been reduced to zero yet] C1/1EE2: 68 PLA [Pull Accumulator from Stack] C1/1EE3: 7A PLY [Pull Y from Stack] C1/1EE4: 8015 + BRA $1EFB C1/1EE6: ++ 204A05 JSR $054A C1/1EE9: D009 BNE $1EF4 C1/1EEB: A904 LDA #$04 C1/1EED: 38 SEC C1/1EEE: E301 SBC $01,S C1/1EF0: 997801 STA $0178,Y C1/1EF3: C8 INY [Increment Y] C1/1EF4: 68 PLA C1/1EF5: 3A DEC A C1/1EF6: 48 PHA C1/1EF7: D0ED BNE $1EE6 C1/1EF9: 68 PLA C1/1EFA: 7A PLY C1/1EFB: + B97801 LDA $0178,Y [Load SpellCounter?] C1/1EFE: F02F + BEQ $1F2F C1/1F00: BB TYX C1/1F01: FE7601 INC $0176,X [Increment number of spell targets] C1/1F04: B97901 LDA $0179,Y [Load Secondary Spell Target] C1/1F07: F00B + BEQ $1F14 [Branch ahead if it isn't there] C1/1F09: FE7601 INC $0176,X [Otherwise, increment number of spell targets] C1/1F0C: B97A01 LDA $017A,Y [Load Tertiary Spell Target] C1/1F0F: F003 + BEQ $1F14 [Branch ahead if it isn't there] C1/1F11: FE7601 INC $0176,X [Otherwise, increment number of spell targets] C1/1F14: + A944 LDA #$44 [ C1/1F16: 994001 STA $0140,Y C1/1F19: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1F1C: BF164FD0 LDA $D04F16,X C1/1F20: 994101 STA $0141,Y C1/1F23: BF174FD0 LDA $D04F17,X C1/1F27: 997001 STA $0170,Y C1/1F2A: 20161E JSR $1E16 C1/1F2D: 8003 BRA $1F32 {Arrived here if you were Confused} C1/1F2F: + 203425 JSR $2534 C1/1F32: A903 LDA #$03 [Load #$03 into Accumulator] {For Variable Increase} C1/1F34: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT ED: EDnn (cleansed)] C1/1F37: A943 LDA #$43 [Load #$43 into Accumulator] C1/1F39: 994001 STA $0140,Y [Store into this thing] C1/1F3C: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1F3F: BF164FD0 LDA $D04F16,X [Load AI Command Operand] C1/1F43: 994101 STA $0141,Y C1/1F46: A902 LDA #$02 [Load #$02 into Accumulator] C1/1F48: 4C1101 JMP $0111 [Jump to AI Command Offset Variable Increase] [UPT EF: EFnnxx] C1/1F4B: A981 LDA #$81 C1/1F4D: 994001 STA $0140,Y C1/1F50: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1F53: BF164FD0 LDA $D04F16,X C1/1F57: 994101 STA $0141,Y C1/1F5A: BF174FD0 LDA $D04F17,X C1/1F5E: 994201 STA $0142,Y C1/1F61: A903 LDA #$03 C1/1F63: 4C1101 JMP $0111 [Jump to Variable AI File Pointer Increase] [UPT EB] C1/1F66: A9C0 LDA #$C0 C1/1F68: 994001 STA $0140,Y C1/1F6B: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1F6E: BF164FD0 LDA $D04F16,X C1/1F72: 994101 STA $0141,Y C1/1F75: BF174FD0 LDA $D04F17,X C1/1F79: 994201 STA $0142,Y C1/1F7C: B92000 LDA $0020,Y C1/1F7F: 4A LSR A C1/1F80: 18 CLC C1/1F81: 6904 ADC #$04 C1/1F83: 4A LSR A C1/1F84: 4A LSR A C1/1F85: 4A LSR A C1/1F86: D002 BNE $1F8A C1/1F88: A901 LDA #$01 C1/1F8A: C910 CMP #$10 C1/1F8C: 9002 BCC $1F90 C1/1F8E: A90F LDA #$0F C1/1F90: 994301 STA $0143,Y C1/1F93: A903 LDA #$03 C1/1F95: 4C1101 JMP $0111 [Jump to Variable AI File Pointer Increase] [UPT F7] C1/1F98: A982 LDA #$82 C1/1F9A: 994001 STA $0140,Y C1/1F9D: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1FA0: BF164FD0 LDA $D04F16,X C1/1FA4: 994101 STA $0141,Y C1/1FA7: BF174FD0 LDA $D04F17,X C1/1FAB: 994201 STA $0142,Y C1/1FAE: A903 LDA #$03 C1/1FB0: 4C1101 JMP $0111 [Jump to Variable AI File Pointer Increase] C1/1FB3: 0B PHD C1/1FB4: 08 PHP C1/1FB5: C220 REP #$20 C1/1FB7: E220 SEP #$20 C1/1FB9: 8B PHB C1/1FBA: A97E LDA #$7E C1/1FBC: 48 PHA C1/1FBD: AB PLB C1/1FBE: 5A PHY C1/1FBF: 222400C0 JSR $C00024 C1/1FC3: 7A PLY C1/1FC4: AB PLB C1/1FC5: 28 PLP C1/1FC6: 2B PLD C1/1FC7: 60 RTS [UPT 61] C1/1FC8: 20A505 JSR $05A5 C1/1FCB: 20B31F JSR $1FB3 C1/1FCE: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT F0] C1/1FD1: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1FD4: BF164FD0 LDA $D04F16,X C1/1FD8: 99AC01 STA $01AC,Y C1/1FDB: 4C2B01 JMP $012B [Jump to Command Offset += 2] [UPT F1: Enable NPC spellcast??] C1/1FDE: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1FE1: BF164FD0 LDA $D04F16,X C1/1FE5: 99AD01 STA $01AD,Y C1/1FE8: 4C2B01 JMP $012B [Jump to Command Offset += 2] [GetCharDataOffset(int type, int mod)] [Some kinna targeting bullshit, too] C1/1FEB: 0B PHD [Push Direct Page] C1/1FEC: 08 PHP [Push Processor Status] C1/1FED: C220 REP #$20 [Disable 8-Bit Accumulator] C1/1FEF: DA PHX [Push X onto Stack] C1/1FF0: 3B TSC [Transfer Stack to Accumulator] C1/1FF1: 5B TCD [Transfer Accumulator to Direct Page] C1/1FF2: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/1FF5: BF174FD0 LDA $D04F17,X [Load AI Second Operand] C1/1FF9: 29FF00 AND #$00FF [Logical AND with #$00FF] C1/1FFC: 8501 STA $01 [Store into TempSecond] C1/1FFE: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/2000: BF164FD0 LDA $D04F16,X [Load AI First Operand] C1/2004: C980 CMP #$80 [Compare with #$80] C1/2006: 901E + BCC $2026 [If less, branch to First Operand < #$80] C1/2008: F028 ++ BEQ $2032 [If equal, branch to First Operand == #$80] [First Operand > #$80] C1/200A: C982 CMP #$82 [Compare with #$82] C1/200C: 9015 +! BCC $2023 [If less, branch to First Operand < #$82] C1/200E: F00E +@ BEQ $201E [If equal, branch to First Operand == #$82] [First Operand > #$82] C1/2010: C220 REP #$20 [Disable 8-Bit Emulation] C1/2012: 98 TYA [Transfer Y to Accumulator] C1/2013: 290006 AND #$0600 [Logical AND with #$0600] C1/2016: 4A LSR A [Shift Accumulator Right] C1/2017: EB XBA [Switch A and B] C1/2018: 18 CLC [Clear Carry] C1/2019: 6980CA ADC #$CA80 [What the fuck is at 7ECA80.] C1/201C: 8017 BRA $2035 [First Operand == #$82] {Current ability target?} C1/201E: +@ B9AD01 LDA $01AD,Y C1/2021: 8003 + BRA $2026 [First Operand < #$82, i.e. #$81] {Current target} C1/2023: +! B9AC01 LDA $01AC,Y [Load current target?] [First Operand < #$80] {i.e., normal character/NPC crap normally, but other } C1/2026: + 0A ASL A [Shift Accumulator Left] C1/2027: EB XBA [Switch A and B] C1/2028: A900 LDA #$00 [Load #$00 into Accumulator] C1/202A: C220 REP #$20 [Disable 8-Bit Emulation] C1/202C: 18 CLC [Clear Carry] C1/202D: 6900E0 ADC #$E000 [Add #$E000] C1/2030: 8003 + BRA $2035 [First Operand == #$80] {Current character} C1/2032: ++ C220 REP #$20 [Disable 8-Bit Accumulator] C1/2034: 98 TYA [Transfer Y to Accumulator] C1/2035: + 18 CLC [Clear Carry] C1/2036: 6501 ADC $01 [Add TempSecond] C1/2038: AA TAX [Transfer Accumulator to X] C1/2039: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/203B: 8302 STA $02,S C1/203D: 68 PLA C1/203E: 68 PLA C1/203F: 28 PLP C1/2040: 2B PLD C1/2041: 60 RTS ;-------Character Data Comparisons------- [UTP 2D: 2Dxxyynn: Script Jump if Char xx Data: yy != nn] C1/2042: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/2045: BD8001 LDA $0180,X C1/2048: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/204B: 3F184FD0 AND $D04F18,X C1/204F: D005 + BNE $2056 C1/2051: 202E02 JSR $022E [Jump to AI Command Offset += 5~6] C1/2054: 8003 ++ BRA $2059 C1/2056: + 20A002 JSR $02A0 [Jump to AI Command Offset += 4, Script Jump] C1/2059: ++ 60 RTS [UPT 2E: 2Exxyynn: Script Jump if Char xx Data: yy == nn] C1/205A: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/205D: BD8001 LDA $0180,X C1/2060: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2063: 3F184FD0 AND $D04F18,X C1/2067: F005 + BEQ $206E C1/2069: 202E02 JSR $022E C1/206C: 8003 ++ BRA $2071 C1/206E: + 20A002 JSR $02A0 [Jump to AI Command Offset += 4 , Script Jump] C1/2071: ++ 60 RTS [UPT 2F: 2Fxxyynn: Script Jump if Char xx Data: yy < nn] C1/2072: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/2075: BD8001 LDA $0180,X [Load Character Data] C1/2078: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/207B: DF184FD0 CMP $D04F18,X C1/207F: 9005 + BCC $2086 C1/2081: 202E02 JSR $022E C1/2084: 8003 ++ BRA $2089 C1/2086: + 20A002 JSR $02A0 [Jump to AI Command Offset += 4 , Script Jump] C1/2089: ++ 60 RTS [UPT 30: 30xxyynn: Script Jump if Char xx Data: yy > nn] C1/208A: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/208D: BD8001 LDA $0180,X C1/2090: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2093: DF184FD0 CMP $D04F18,X [Compare with AI Third Operand] C1/2097: F002 + BEQ $209B C1/2099: B005 ++ BCS $20A0 C1/209B: + 202E02 JSR $022E [Jump to AI Command Offset += 5~6] C1/209E: 8003 + BRA $20A3 C1/20A0: ++ 20A002 JSR $02A0 [Jump to AI Command Offset += 4, Script Jump] C1/20A3: + 60 RTS [Return] ;-------Char. Data 2-Byte Comparisons------- [UPT BA: Incs X by 5 !=] C1/20A4: C220 REP #$20 C1/20A6: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/20A9: BD8001 LDA $0180,X [Load Character Type] C1/20AC: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/20AF: 3F184FD0 AND $D04F18,X C1/20B3: D005 + BNE $20BA C1/20B5: 203902 JSR $0239 [AI Command Offset += 6~7] C1/20B8: 8003 ++ BRA $20BD C1/20BA: + 20AB02 JSR $02AB [Jump to AI Command Offset += 5, Script Jump] C1/20BD: ++ 60 RTS [UPT BB: Incs X by 5 ==] C1/20BE: C220 REP #$20 C1/20C0: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/20C3: BD8001 LDA $0180,X C1/20C6: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/20C9: 3F184FD0 AND $D04F18,X C1/20CD: F005 + BEQ $20D4 C1/20CF: 203902 JSR $0239 [AI Command Offset += 6~7] C1/20D2: 8003 BRA $20D7 C1/20D4: + 20AB02 JSR $02AB [Jump to AI Command Offset += 5, Script Jump] C1/20D7: 60 RTS [UPT BC: Incs X by 5 <] C1/20D8: C220 REP #$20 C1/20DA: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/20DD: BD8001 LDA $0180,X C1/20E0: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/20E3: DF184FD0 CMP $D04F18,X C1/20E7: 9005 BCC $20EE + C1/20E9: 203902 JSR $0239 [Jump to AI Command Offset += 6~7] C1/20EC: 8003 BRA $20F1 ++ C1/20EE: + 20AB02 JSR $02AB [Jump to AI Command Offset += 5, Script Jump] C1/20F1: ++ 60 RTS [UPT BD: BDnnxxyy >] C1/20F2: C220 REP #$20 [Disable 8-Bit Emulation] C1/20F4: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/20F7: BD8001 LDA $0180,X [Load Target Character Type] C1/20FA: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/20FD: DF184FD0 CMP $D04F18,X [Compare with AI Third Operand] C1/2101: F002 + BEQ $2105 [Branch ahead if it's equal] C1/2103: B005 ++ BCS $210A C1/2105: + 203902 JSR $0239 [Jump to AI Command Offset += 6~7] C1/2108: 8003 +! BRA $210D C1/210A: ++ 20AB02 JSR $02AB [Jump to AI Command Offset += 5, Script Jump] C1/210D: +! 60 RTS ;-------Char. Data Setters? [UPT DA: Increments command by 4] C1/210E: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/2111: DA PHX C1/2112: BD8001 LDA $0180,X C1/2115: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2118: 1F184FD0 ORA $D04F18,X C1/211C: FA PLX C1/211D: 9D8001 STA $0180,X C1/2120: 4C4B01 JMP $014B [Jump to Command Offset += 4] C1/2123: 60 RTS [UPT DB: Increments command by 4] C1/2124: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/2127: DA PHX C1/2128: BD8001 LDA $0180,X C1/212B: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/212E: 3F184FD0 AND $D04F18,X C1/2132: FA PLX C1/2133: 9D8001 STA $0180,X C1/2136: 4C4B01 JMP $014B [Jump to Command Offset += 4] C1/2139: 60 RTS [UPT DC: Increments command by 4] C1/213A: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/213D: DA PHX C1/213E: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2141: BF184FD0 LDA $D04F18,X C1/2145: FA PLX C1/2146: 9D8001 STA $0180,X C1/2149: 4C4B01 JMP $014B [Jump to Command Offset += 4] C1/214C: 60 RTS [UPT 9D: ??] C1/214D: C220 REP #$20 C1/214F: B92000 LDA $0020,Y C1/2152: D94801 CMP $0148,Y C1/2155: D00D + BNE $2164 C1/2157: 202E03 JSR $032E [$0045, with Y] C1/215A: D94A01 CMP $014A,Y C1/215D: D005 + BNE $2164 C1/215F: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/2162: 8003 ++ BRA $2167 C1/2164: + 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/2167: ++ 60 RTS [UPT 9E] C1/2168: C220 REP #$20 C1/216A: B92000 LDA $0020,Y C1/216D: D94801 CMP $0148,Y C1/2170: D00D BNE $217F C1/2172: 202E03 JSR $032E [$0045, with Y] C1/2175: D94A01 CMP $014A,Y C1/2178: D005 BNE $217F C1/217A: 201302 JSR $0213 [Jump to AI Command Offset += 2~3] C1/217D: 8003 BRA $2182 C1/217F: 208502 JSR $0285 [Jump to AI Command Offset += 1, Script Jump] C1/2182: 60 RTS [UPT 9F] C1/2183: C220 REP #$20 C1/2185: B92000 LDA $0020,Y C1/2188: 994801 STA $0148,Y C1/218B: 202E03 JSR $032E [$0045, with Y] C1/218E: 994A01 STA $014A,Y C1/2191: 4C2101 JMP $0121 [Jump to Command Offset += 1] [UPT 5F] C1/2194: C220 REP #$20 C1/2196: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/2199: 8A TXA C1/219A: 2900FE AND #$FE00 C1/219D: AA TAX C1/219E: BD2000 LDA $0020,X C1/21A1: C90800 CMP #$0008 C1/21A4: 3004 BMI $21AA C1/21A6: 7031 BVS $21D9 C1/21A8: 8002 BRA $21AC C1/21AA: 502D BVC $21D9 {} C1/21AC: C9F800 CMP #$00F8 C1/21AF: F008 BEQ $21B9 C1/21B1: 3004 BMI $21B7 C1/21B3: 5024 BVC $21D9 C1/21B5: 8002 BRA $21B9 C1/21B7: 7020 BVS $21D9 C1/21B9: 204303 JSR $0343 {} C1/21BC: C90800 CMP #$0008 C1/21BF: 3004 BMI $21C5 C1/21C1: 7016 BVS $21D9 C1/21C3: 8002 BRA $21C7 C1/21C5: 5012 BVC $21D9 {} C1/21C7: C9D800 CMP #$00D8 C1/21CA: F008 BEQ $21D4 C1/21CC: 3004 BMI $21D2 C1/21CE: 5009 BVC $21D9 C1/21D0: 8002 BRA $21D4 C1/21D2: 7005 BVS $21D9 C1/21D4: 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/21D7: 8003 BRA $21DC C1/21D9: 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/21DC: 60 RTS [UPT 60] C1/21DD: C220 REP #$20 [Disable 8-Bit Accumulator] C1/21DF: 20EB1F JSR $1FEB [Jump to GetCharDataOffset] C1/21E2: 8A TXA [Transfer X to Accumulator] C1/21E3: 2900FE AND #$FE00 [And with #$FE00] {Cut off char data offset} C1/21E6: AA TAX [Transfer Accumulator to X] C1/21E7: BD2000 LDA $0020,X {0x08: Move on to 0xF8. Fail if N && v, or n && V} C1/21EA: C90800 CMP #$0008 C1/21ED: 3004 + BMI $21F3 C1/21EF: 7031 ++ BVS $2222 C1/21F1: 8002 +! BRA $21F5 C1/21F3: + 502D ++ BVC $2222 {0xF8: Do sub. Fail if N && V, or n && v} C1/21F5: +! C9F800 CMP #$00F8 C1/21F8: F008 + BEQ $2202 C1/21FA: 3004 +! BMI $2200 C1/21FC: 5024 ++ BVC $2222 C1/21FE: 8002 + BRA $2202 C1/2200: +! 7020 ++ BVS $2222 C1/2202: + 204303 JSR $0343 {0x08: Move on to 0xF8. Fail if N && v, or n && V} C1/2205: C90800 CMP #$0008 C1/2208: 3004 + BMI $220E C1/220A: 7016 ++ BVS $2222 C1/220C: 8002 +! BRA $2210 C1/220E: + 5012 BVC $2222 {0xF8: Script Jump. Fail if N && V, or n && v} C1/2210: +! C9D800 CMP #$00D8 C1/2213: F008 + BEQ $221D C1/2215: 3004 +! BMI $221B C1/2217: 5009 ++ BVC $2222 C1/2219: 8002 + BRA $221D C1/221B: +! 7005 ++ BVS $2222 {End} C1/221D: + 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/2220: 8003 BRA $2225 C1/2222: ++ 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/2225: 60 RTS [UPT F2: F2nn: Script Jump: If nn != 00 && Acc. Level <= nn, or nn == 00 && Acc. Level >= nn] C1/2226: C220 REP #$20 C1/2228: 98 TYA C1/2229: 290006 AND #$0600 C1/222C: 4A LSR A C1/222D: EB XBA C1/222E: AA TAX C1/222F: E220 SEP #$20 C1/2231: BD7DCC LDA $CC7D,X C1/2234: EB XBA C1/2235: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2238: BF164FD0 LDA $D04F16,X C1/223C: F00D + BEQ $224B {} C1/223E: EB XBA C1/223F: D99B01 CMP $019B,Y [Compare Accumulation Level] C1/2242: F00F ++ BEQ $2253 C1/2244: 900D ++ BCC $2253 {Accumulation Level greater than argument} C1/2246: - 201B02 JSR $021B [Jump to AI Command Offset += 3~4] C1/2249: 800B BRA $2256 {Accumulation Level } C1/224B: + EB XBA C1/224C: D99B01 CMP $019B,Y [Compare Accumulation Level] C1/224F: F0F5 - BEQ $2246 C1/2251: 90F3 - BCC $2246 C1/2253: ++ 208D02 JSR $028D [Jump to AI Command Offset += 2, Script Jump] C1/2256: 60 RTS ;------------------------------------------------------------------------------; ; AI Command Pointers [2257~2456] [Uber Pointer Table, related to enemy movement scripts] C1/2257: F802 [00] C1/2259: 8502 [01: Unconditional Jump] C1/225B: 4506 [02] C1/225D: 5506 [03] C1/225F: 6506 [04] C1/2261: 7506 [05] C1/2263: 8506 [06] C1/2265: 9506 [07] C1/2267: A506 [08] C1/2269: B506 [09] C1/226B: 4117 [0A] C1/226D: 5617 [0B] C1/226F: 6B17 [0C] C1/2271: 8017 [0D] C1/2273: 9517 [0E] C1/2275: AA17 [0F] C1/2277: BF17 [10] C1/2279: D417 [11] C1/227B: E917 [12] C1/227D: 0018 [13] C1/227F: 1718 [14] C1/2281: 2E18 [15] C1/2283: 4518 [16] C1/2285: 5A18 [17] C1/2287: 6F18 [18] C1/2289: 8418 [19] C1/228B: DA05 [1A] C1/228D: E405 [1B] C1/228F: EE05 [1C] C1/2291: F805 [1D] C1/2293: 0206 [1E] C1/2295: 0C06 [1F] C1/2297: 1606 [20] C1/2299: 2006 [21] C1/229B: 2A06 [22] C1/229D: 3306 [23] C1/229F: 3C06 [24] C1/22A1: B816 [25] C1/22A3: C716 [26] C1/22A5: D616 [27] C1/22A7: E516 [28] C1/22A9: 1D17 [29] C1/22AB: 2617 [2A] C1/22AD: 2F17 [2B] C1/22AF: 3817 [2C] C1/22B1: 4220 [2D] C1/22B3: 5A20 [2E] C1/22B5: 7220 [2F] C1/22B7: 8A20 [30] C1/22B9: AC08 [31] C1/22BB: 230B [32] C1/22BD: B10D [33] C1/22BF: 9511 [34] C1/22C1: 8612 [35] C1/22C3: 9918 [36] C1/22C5: F308 [37] C1/22C7: 6A0B [38] C1/22C9: F80D [39] C1/22CB: AA11 [3A] C1/22CD: 9B12 [3B] C1/22CF: C418 [3C] C1/22D1: 3A09 [3D] C1/22D3: B10B [3E] C1/22D5: 3F0E [3F] C1/22D7: BF11 [40] C1/22D9: B012 [41] C1/22DB: EF18 [42] C1/22DD: 8109 [43] C1/22DF: F80B [44] C1/22E1: 860E [45] C1/22E3: D411 [46] C1/22E5: C512 [47] C1/22E7: 1A19 [48] C1/22E9: 010A [49] C1/22EB: 410C [4A] C1/22ED: CF0E [4B] C1/22EF: E911 [4C] C1/22F1: DA12 [4D] C1/22F3: 4A0A [4E] C1/22F5: 8A0C [4F] C1/22F7: 180F [50] C1/22F9: 0012 [51] C1/22FB: F112 [52] C1/22FD: 930A [53] C1/22FF: D30C [54] C1/2301: 610F [55] C1/2303: 1712 [56] C1/2305: 0813 [57] C1/2307: DC0A [58] C1/2309: 2E12 [59] C1/230B: 4512 [5A] C1/230D: 5A12 [5B] C1/230F: 7112 [5C] C1/2311: 6713 [5D] C1/2313: 1515 [5E] C1/2315: 9421 [5F] C1/2317: DD21 [60] C1/2319: C81F [61] C1/231B: B01C [62] C1/231D: FD06 [63] C1/231F: 8D07 [64] C1/2321: 1D08 [65] C1/2323: 710F [66] C1/2325: 2B10 [67] C1/2327: 900F [68] C1/2329: 4A10 [69] C1/232B: AF0F [6A] C1/232D: 6910 [6B] C1/232F: 4507 [6C] C1/2331: D507 [6D] C1/2333: 6508 [6E] C1/2335: CE0F [6F] C1/2337: 8810 [70] C1/2339: ED0F [71] C1/233B: A710 [72] C1/233D: 0C10 [73] C1/233F: C610 [74] C1/2341: E510 [75] C1/2343: 3D11 [76] C1/2345: FB10 [77] C1/2347: 5311 [78] C1/2349: 1111 [79] C1/234B: 6911 [7A] C1/234D: 2711 [7B] C1/234F: 7F11 [7C] C1/2351: 0001 [7D: Beginning of huge stretch of bogus UPTs] C1/2353: 0001 [7E] C1/2355: 0001 [7F] C1/2357: 0001 [80] C1/2359: 0001 [81] C1/235B: 0001 [82] C1/235D: 0001 [83] C1/235F: 0001 [84] C1/2361: 0001 [85] C1/2363: 0001 [86] C1/2365: 0001 [87] C1/2367: 0001 [88] C1/2369: 0001 [89] C1/236B: 0001 [8A] C1/236D: 0001 [8B] C1/236F: 0001 [8C] C1/2371: 0001 [8D] C1/2373: 0001 [8E] C1/2375: 0001 [8F] C1/2377: 0001 [90] C1/2379: 0001 [91] C1/237B: 0001 [92] C1/237D: 0001 [93] C1/237F: 0001 [94] C1/2381: 0001 [95] C1/2383: 0001 [96] C1/2385: 0001 [97] C1/2387: 0001 [98] C1/2389: 0001 [99] C1/238B: 0001 [9A] C1/238D: 0001 [9B] C1/238F: 0001 [9C: End of bogus UPTs] C1/2391: 4D21 [9D] C1/2393: 6821 [9E] C1/2395: 8321 [9F] C1/2397: C514 [A0] C1/2399: BC14 [A1] C1/239B: 0001 [A2] C1/239D: 0001 [A3] C1/239F: AB14 [A4] C1/23A1: 1F13 [A5] C1/23A3: AF13 [A6] C1/23A5: 2D14 [A7] C1/23A7: 3113 [A8] C1/23A9: C113 [A9] C1/23AB: 3F14 [AA] C1/23AD: 4313 [AB] C1/23AF: D313 [AC] C1/23B1: 5114 [AD] C1/23B3: 5513 [AE] C1/23B5: E513 [AF] C1/23B7: 6314 [B0] C1/23B9: 7913 [B1] C1/23BB: F713 [B2] C1/23BD: 7514 [B3] C1/23BF: 8B13 [B4] C1/23C1: 0914 [B5] C1/23C3: 8714 [B6] C1/23C5: 9D13 [B7] C1/23C7: 1B14 [B8] C1/23C9: 9914 [B9] C1/23CB: A420 [BA] C1/23CD: BE20 [BB] C1/23CF: D820 [BC] C1/23D1: F220 [BD] C1/23D3: 0E1B [BE] C1/23D5: 511B [BF] C1/23D7: 4F16 [C0] C1/23D9: 4616 [C1] C1/23DB: 0001 [C2] C1/23DD: 0001 [C3] C1/23DF: 3516 [C4] C1/23E1: CD14 [C5] C1/23E3: 5D15 [C6] C1/23E5: DB15 [C7] C1/23E7: DF14 [C8] C1/23E9: 6F15 [C9] C1/23EB: ED15 [CA] C1/23ED: F114 [CB] C1/23EF: 8115 [CC] C1/23F1: FF15 [CD] C1/23F3: 0315 [CE] C1/23F5: 9315 [CF] C1/23F7: 1116 [D0] C1/23F9: 2715 [D1] C1/23FB: A515 [D2] C1/23FD: 2316 [D3] C1/23FF: 3915 [D4] C1/2401: B715 [D5] C1/2403: 200D [D6] C1/2405: 4B15 [D7] C1/2407: C915 [D8] C1/2409: 0001 [D9] C1/240B: 0E21 [DA] C1/240D: 2421 [DB] C1/240F: 3A21 [DC] C1/2411: 0001 [DD] C1/2413: 0001 [DE] C1/2415: 741D [DF] C1/2417: 8E1C [E0] C1/2419: 521D [E1] C1/241B: 021E [E2] C1/241D: 241C [E3] C1/241F: FE19 [E4] C1/2421: 401A [E5] C1/2423: 821A [E6] C1/2425: C81A [E7] C1/2427: 5C1D [E8] C1/2429: 471E [E9] C1/242B: 981E [EA] C1/242D: 661F [EB] C1/242F: AA1D [EC] C1/2431: 371F [ED] C1/2433: F81D [EE] C1/2435: 4B1F [EF] C1/2437: D11F [F0] C1/2439: DE1F [F1] C1/243B: 2622 [F2] C1/243D: CD1D [F3] C1/243F: B41D [F4] C1/2441: 630D [F5] C1/2443: FF1C [F6] C1/2445: 981F [F7] C1/2447: 0001 [F8] C1/2449: F119 [F9] C1/244B: 8E1D [FA] C1/244D: 5716 [FB] C1/244F: 7316 [FC] C1/2451: 981B [FD] C1/2453: DC1B [FE] C1/2455: B702 [FF] [Huh] C1/2457: 0B PHD C1/2458: 08 PHP C1/2459: C220 REP #$20 C1/245B: DA PHX C1/245C: 3B TSC C1/245D: 5B TCD C1/245E: A90300 LDA #$0003 {Three characters, after all} C1/2461: 8501 STA $01 [Store into LoopCounter] C1/2463: A200E0 LDX #$E000 {Character Data Offset} C1/2466: - BD9001 LDA $0190,X [Load Status Effects] C1/2469: 297BC5 AND #$C57B [Logical AND with #1100 0101 0111 1011, !frst, !uncn, !par, !dmmy2, !ghst, !barr] C1/246C: D02F + BNE $249D C1/246E: 18 CLC C1/246F: 8A TXA C1/2470: 690002 ADC #$0200 C1/2473: AA TAX C1/2474: C601 DEC $01 C1/2476: D0EE - BNE $2466 {} C1/2478: E220 SEP #$20 C1/247A: A903 LDA #$03 C1/247C: 8501 STA $01 [Store into LoopCounter] {Loop} C1/247E: - A903 LDA #$03 C1/2480: 38 SEC C1/2481: E501 SBC $01 [Subtract LoopCounter from Accumulator] C1/2483: 20D304 JSR $04D3 C1/2486: E00000 CPX #$0000 C1/2489: F00E ++ BEQ $2499 C1/248B: BD1100 LDA $0011,X C1/248E: C902 CMP #$02 C1/2490: D007 ++ BNE $2499 C1/2492: BD1C00 LDA $001C,X C1/2495: C900 CMP #$00 C1/2497: F012 +! BEQ $24AB C1/2499: C601 DEC $01 C1/249B: D0E1 - BNE $247E {} C1/249D: + E220 SEP #$20 C1/249F: B94C01 LDA $014C,Y C1/24A2: 29FD AND #$FD C1/24A4: 994C01 STA $014C,Y C1/24A7: A9FF LDA #$FF C1/24A9: 8025 BRA $24D0 [] C1/24AB: B94C01 LDA $014C,Y C1/24AE: 48 PHA C1/24AF: B98001 LDA $0180,Y [Yeah, character type] C1/24B2: BB TYX [Transfer Y to X] C1/24B3: 5A PHY [Push Y] C1/24B4: 203C26 JSR $263C [IMPORTANT] C1/24B7: 7A PLY C1/24B8: 68 PLA C1/24B9: 8902 BIT #$02 C1/24BB: F004 BEQ $24C1 C1/24BD: A901 LDA #$01 C1/24BF: 8002 BRA $24C3 C1/24C1: A907 LDA #$07 [Load #$07 into Accumulator] C1/24C3: 994001 STA $0140,Y [Store it into this thing] C1/24C6: B94C01 LDA $014C,Y C1/24C9: 0902 ORA #$02 C1/24CB: 994C01 STA $014C,Y C1/24CE: A900 LDA #$00 {} C1/24D0: 8302 STA $02,S C1/24D2: 68 PLA C1/24D3: 68 PLA C1/24D4: 28 PLP C1/24D5: 2B PLD C1/24D6: 60 RTS C1/24D7: 0B PHD C1/24D8: 08 PHP C1/24D9: C220 REP #$20 C1/24DB: 8B PHB C1/24DC: 3B TSC C1/24DD: 5B TCD C1/24DE: E220 SEP #$20 C1/24E0: B94001 LDA $0140,Y C1/24E3: C9C1 CMP #$C1 C1/24E5: F004 + BEQ $24EB C1/24E7: C940 CMP #$40 C1/24E9: D029 * BNE $2514 C1/24EB: + B99001 LDA $0190,Y [Load Status Effects[Low]] C1/24EE: 2980 AND #$80 [Logical AND with #$80 [Confuse]] C1/24F0: F022 * BEQ $2514 [Branch ahead if character is confused] C1/24F2: 6401 STZ $01 C1/24F4: B94101 LDA $0141,Y C1/24F7: 890C BIT #$0C C1/24F9: F007 BEQ $2502 C1/24FB: A90C LDA #$0C C1/24FD: 8501 STA $01 C1/24FF: B94101 LDA $0141,Y C1/2502: 8903 BIT #$03 C1/2504: F009 BEQ $250F C1/2506: A903 LDA #$03 C1/2508: 0501 ORA $01 C1/250A: 8501 STA $01 C1/250C: B94101 LDA $0141,Y C1/250F: 4501 EOR $01 C1/2511: 994101 STA $0141,Y C1/2514: 8301 STA $01,S C1/2516: 68 PLA C1/2517: 28 PLP C1/2518: 2B PLD C1/2519: 60 RTS [Load AI command (cleansed)] C1/251A: 0B PHD [Push DirectPage] C1/251B: 08 PHP [Push ProcessorStatus] C1/251C: C220 REP #$20 [Disable 8-Bit Emulation] C1/251E: BE4401 LDX $0144,Y [Load AI Command Offset into X] C1/2521: BF154FD0 LDA $D04F15,X [Load AI Command] C1/2525: 29FF00 AND #$00FF [Logical AND with #$00FF] C1/2528: 0A ASL A [Multiply it by 2] C1/2529: AA TAX [Transfer it to X] C1/252A: E220 SEP #$20 [Enable 8-Bit Emulation] C1/252C: FC5722 JSR ($2257,X) [Jump to UPT,X] C1/252F: C220 REP #$20 [Disable 8-Bit Emulation] C1/2531: 28 PLP [Pull ProcessorStatus] C1/2532: 2B PLD [Pull DirectPage] C1/2533: 60 RTS [Return] [Huh] C1/2534: 0B PHD C1/2535: 08 PHP C1/2536: C220 REP #$20 C1/2538: E220 SEP #$20 C1/253A: A9C1 LDA #$C1 [Memory Bank?] C1/253C: 994001 STA $0140,Y C1/253F: 200205 JSR $0502 C1/2542: 994101 STA $0141,Y C1/2545: A900 LDA #$00 C1/2547: 994201 STA $0142,Y C1/254A: A905 LDA #$05 C1/254C: 994301 STA $0143,Y C1/254F: 28 PLP C1/2550: 2B PLD C1/2551: 60 RTS [] C1/2552: 0B PHD C1/2553: 08 PHP C1/2554: C220 REP #$20 C1/2556: DA PHX C1/2557: 3B TSC C1/2558: 5B TCD C1/2559: E220 SEP #$20 C1/255B: 8B PHB C1/255C: A97E LDA #$7E [Load #$7E into Accumulator] C1/255E: 48 PHA [Push Accumulator onto Stack] C1/255F: AB PLB [Pull #$7E off of Stack into Bank Register] C1/2560: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/2562: 8A TXA [Transfer X to Accumulator] C1/2563: 29FF1F AND #$1FFF C1/2566: 0900E0 ORA #$E000 C1/2569: A8 TAY C1/256A: C900E6 CMP #$E600 [Compare with #$E600 to see if it's an enemy or a player] C1/256D: E220 SEP #$20 C1/256F: B007 + BCS $2578 C1/2571: 205724 JSR $2457 C1/2574: C900 CMP #$00 {End Command} C1/2576: F010 ++ BEQ $2588 C1/2578: + 6401 STZ $01 [Store 0 into LoopCounter] C1/257A: - 201A25 JSR $251A [Load command] C1/257D: C900 CMP #$00 {End Command} C1/257F: F007 ++ BEQ $2588 C1/2581: C601 DEC $01 [Decrement LoopCounter] C1/2583: D0F5 - BNE $257A C1/2585: 200001 JSR $0100 C1/2588: ++ 20D724 JSR $24D7 C1/258B: B94001 LDA $0140,Y [What is this?] C1/258E: 994D01 STA $014D,Y C1/2591: AB PLB C1/2592: 8302 STA $02,S C1/2594: 68 PLA C1/2595: 68 PLA C1/2596: 28 PLP C1/2597: 2B PLD C1/2598: 60 RTS C1/2599: 0B PHD C1/259A: 08 PHP C1/259B: C230 REP #$30 C1/259D: E220 SEP #$20 C1/259F: 8B PHB C1/25A0: 48 PHA C1/25A1: A97E LDA #$7E C1/25A3: 48 PHA C1/25A4: AB PLB C1/25A5: 68 PLA C1/25A6: 18 CLC C1/25A7: 6980 ADC #$80 C1/25A9: C903 CMP #$03 C1/25AB: B005 BCS $25B2 C1/25AD: BB TYX C1/25AE: 223600C0 JSR $C00036 C1/25B2: AB PLB C1/25B3: 28 PLP C1/25B4: 2B PLD C1/25B5: 60 RTS C1/25B6: 0B PHD C1/25B7: 08 PHP C1/25B8: C230 REP #$30 C1/25BA: 48 PHA C1/25BB: 3B TSC C1/25BC: 38 SEC C1/25BD: E90200 SBC #$0002 C1/25C0: 5B TCD C1/25C1: 1B TCS C1/25C2: A303 LDA $03,S C1/25C4: E220 SEP #$20 C1/25C6: 8B PHB C1/25C7: 48 PHA C1/25C8: A97E LDA #$7E C1/25CA: 48 PHA C1/25CB: AB PLB C1/25CC: 68 PLA C1/25CD: C220 REP #$20 C1/25CF: 8501 STA $01 C1/25D1: 8A TXA C1/25D2: 29FF1F AND #$1FFF C1/25D5: 0900E0 ORA #$E000 C1/25D8: 8503 STA $03 C1/25DA: A8 TAY C1/25DB: A9FFFF LDA #$FFFF C1/25DE: 99AC01 STA $01AC,Y C1/25E1: A501 LDA $01 C1/25E3: E220 SEP #$20 C1/25E5: EB XBA C1/25E6: A910 LDA #$10 C1/25E8: C220 REP #$20 C1/25EA: 8F024200 STA $004202 C1/25EE: 48 PHA C1/25EF: 68 PLA C1/25F0: AF164200 LDA $004216 C1/25F4: AA TAX C1/25F5: BF0900D0 LDA $D00009,X {What is this table?} C1/25F9: 994401 STA $0144,Y C1/25FC: A90000 LDA #$0000 C1/25FF: 994601 STA $0146,Y C1/2602: 994C01 STA $014C,Y C1/2605: E220 SEP #$20 C1/2607: 994E01 STA $014E,Y C1/260A: 994F01 STA $014F,Y C1/260D: C220 REP #$20 C1/260F: A501 LDA $01 C1/2611: 38 SEC C1/2612: E98000 SBC #$0080 C1/2615: C90300 CMP #$0003 C1/2618: B00F BCS $2629 C1/261A: B99001 LDA $0190,Y [Load Status Effects] C1/261D: 296057 AND #$5760 [Logical AND with #5760 (Petr, Uncnsc, Tangled, Dummy2, Dummy1, Englf, Psnd)] C1/2620: F007 BEQ $2629 [Branch ahead if none of those are found] C1/2622: BB TYX [Transfer Y to X] C1/2623: A90100 LDA #$0001 [Load #$0001 into Accumulator] C1/2626: 209826 JSR $2698 C1/2629: A501 LDA $01 C1/262B: A403 LDY $03 C1/262D: 209925 JSR $2599 C1/2630: AB PLB C1/2631: E220 SEP #$20 C1/2633: 8304 STA $04,S C1/2635: 68 PLA C1/2636: 68 PLA C1/2637: 68 PLA C1/2638: 68 PLA C1/2639: 28 PLP C1/263A: 2B PLD C1/263B: 60 RTS [What is the relationship between this and character type? Always sets AI pointer ahead by 3?] C1/263C: 0B PHD [Push Data Bank onto Stack] C1/263D: 08 PHP [Push Processor Status onto Stack] C1/263E: C230 REP #$30 [Disable 8-bit Emulation Mode, Indexed Registers] C1/2640: 48 PHA [Push Accumulator($E180) onto Stack] C1/2641: 3B TSC [Transfer Stack Pointer to Accumulator] C1/2642: 5B TCD [Transfer Accumulator(SP) to Direct Page Register] C1/2643: 68 PLA [Pull Accumulator($E180) from Stack] C1/2644: DA PHX [Push X onto Stack] C1/2645: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/2647: 8B PHB [Push Data Bank onto Stack] C1/2648: 48 PHA [Push Accumulator($E180) onto Stack] C1/2649: A97E LDA #$7E [Load #$7E into Accumulator] C1/264B: 48 PHA [Push Accumulator(#$7E) onto Stack] C1/264C: AB PLB [Pull Data Bank from Stack] C1/264D: 68 PLA [Pull Accumulator($E180) from Stack] C1/264E: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/2650: 8501 STA $01 [Store Character Type into TempCharType] C1/2652: 8A TXA [Transfer X to Accumulator] C1/2653: 29FF1F AND #$1FFF [Logical AND Accumulator for valid Character Data offset] C1/2656: 0900E0 ORA #$E000 [Logical OR Accumulator for Character Data offset start] C1/2659: A8 TAY [Transfer Accumulator to Y] C1/265A: A9FFFF LDA #$FFFF [Load #$FFFF into Accumulator] C1/265D: 99AC01 STA $01AC,Y [Well, well, what is this?] C1/2660: A501 LDA $01 [Load TempCharType] C1/2662: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/2664: EB XBA [Switch Accumulator bytes] C1/2665: A910 LDA #$10 [Load #$10 into Accumulator] C1/2667: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/2669: 8F024200 STA $004202 [Store High(TempCharType) and Low(#$10) as Multiplicands A & B] C1/266D: 48 PHA [Push Accumulator(CharType&#$10)] C1/266E: 68 PLA [Pull Accumulator] C1/266F: AF164200 LDA $004216 [Load Multiplication Product] C1/2673: AA TAX [Transfer Accumulator to X] C1/2674: BF0900D0 LDA $D00009,X [Load Char Abil Offset into Accumulator] C1/2678: 18 CLC [Clear Carry] C1/2679: 690300 ADC #$0003 [Add 3] C1/267C: 994401 STA $0144,Y [Store into Character AI File Pointer] C1/267F: A90000 LDA #$0000 [Load #$0000] C1/2682: 994601 STA $0146,Y [Store into this] C1/2685: 994C01 STA $014C,Y [Store into this] C1/2688: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/268A: 994E01 STA $014E,Y [Store #$00 into this] C1/268D: 994F01 STA $014F,Y [Store #$00 into this] C1/2690: AB PLB [Pull Data Bank from Stack] C1/2691: 8302 STA $02,S [Store 2 ahead on Stack] C1/2693: 68 PLA [Pull Accumulator from Stack] C1/2694: 68 PLA [Pull Accumulator from Stack] C1/2695: 28 PLP [Pull Processor Status from Stack] C1/2696: 2B PLD [Pull Direct Page from Stack] C1/2697: 60 RTS [Return] [] C1/2698: 0B PHD C1/2699: 08 PHP C1/269A: C230 REP #$30 C1/269C: 48 PHA C1/269D: 3B TSC C1/269E: 38 SEC C1/269F: E90200 SBC #$0002 C1/26A2: 5B TCD C1/26A3: 1B TCS C1/26A4: A303 LDA $03,S C1/26A6: E220 SEP #$20 C1/26A8: 8B PHB C1/26A9: 48 PHA C1/26AA: A97E LDA #$7E C1/26AC: 48 PHA C1/26AD: AB PLB C1/26AE: 68 PLA C1/26AF: C220 REP #$20 C1/26B1: 8501 STA $01 C1/26B3: 8A TXA C1/26B4: 29FF1F AND #$1FFF C1/26B7: 0900E0 ORA #$E000 C1/26BA: A8 TAY C1/26BB: B94F01 LDA $014F,Y C1/26BE: 0A ASL A C1/26BF: 29FF00 AND #$00FF C1/26C2: 18 CLC C1/26C3: 695001 ADC #$0150 C1/26C6: 8503 STA $03 C1/26C8: B94401 LDA $0144,Y C1/26CB: 9103 STA ($03),Y C1/26CD: A501 LDA $01 C1/26CF: 0A ASL A C1/26D0: 29FF00 AND #$00FF C1/26D3: AA TAX C1/26D4: BFD34ED0 LDA $D04ED3,X [What IS that table, anyways?] C1/26D8: 994401 STA $0144,Y [Character AI File Pointer] C1/26DB: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/26DD: B94F01 LDA $014F,Y {} C1/26E0: 1A INC A C1/26E1: C910 CMP #$10 C1/26E3: B005 + BCS $26EA C1/26E5: 994F01 STA $014F,Y C1/26E8: 8007 ++ BRA $26F1 C1/26EA: + B98001 LDA $0180,Y [Load Character Type] C1/26ED: BB TYX [Transfer Y to X] C1/26EE: 203C26 JSR $263C [IMPORTANT] C1/26F1: ++ AB PLB C1/26F2: 8304 STA $04,S C1/26F4: 68 PLA C1/26F5: 68 PLA C1/26F6: 68 PLA C1/26F7: 68 PLA C1/26F8: 28 PLP C1/26F9: 2B PLD C1/26FA: 60 RTS [Used by UPT 29~2C?] C1/26FB: 0B PHD [Push Direct Page Register] C1/26FC: 08 PHP [Push Processor Status] C1/26FD: C230 REP #$30 [Disable 8-Bit Accumulator, Registers] C1/26FF: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/2701: 8B PHB [Push Data Bank] C1/2702: 48 PHA [Push Accumulator] C1/2703: A97E LDA #$7E [Load #$7E] C1/2705: 48 PHA [Push Accumulator] C1/2706: AB PLB [Pull Data bank] C1/2707: 68 PLA [Pull Accumulator] C1/2708: 221800C0 JSR $C00018 {$03F0~$03FF nonsense} C1/270C: AB PLB C1/270D: 28 PLP C1/270E: 2B PLD C1/270F: 60 RTS C1/2710: 0B PHD C1/2711: 08 PHP C1/2712: C230 REP #$30 C1/2714: 8A TXA C1/2715: A21000 LDX #$0010 C1/2718: 0A ASL A C1/2719: B008 BCS $2723 C1/271B: CA DEX C1/271C: D0FA BNE $2718 C1/271E: A9FF00 LDA #$00FF C1/2721: 8002 BRA $2725 C1/2723: 8A TXA C1/2724: 3A DEC A C1/2725: 28 PLP C1/2726: 2B PLD C1/2727: 60 RTS C1/2728: 60 RTS C1/2729: 0B PHD C1/272A: 08 PHP C1/272B: C230 REP #$30 C1/272D: 8A TXA C1/272E: A21000 LDX #$0010 C1/2731: 0A ASL A C1/2732: B008 BCS $273C C1/2734: CA DEX C1/2735: D0FA BNE $2731 C1/2737: A9FF00 LDA #$00FF C1/273A: 8002 BRA $273E C1/273C: 8A TXA C1/273D: 3A DEC A C1/273E: 28 PLP C1/273F: 2B PLD C1/2740: 60 RTS C1/2741: 10B0 BPL $26F3 C1/2743: 0599 ORA $99 C1/2745: 4F018007 EOR $078001 C1/2749: B98001 LDA $0180,Y C1/274C: BB TYX C1/274D: 209B26 JSR $269B C1/2750: AB PLB C1/2751: 8304 STA $04,S C1/2753: 68 PLA C1/2754: 68 PLA C1/2755: 68 PLA C1/2756: 68 PLA C1/2757: 28 PLP C1/2758: 2B PLD C1/2759: 60 RTS C1/275A: 0B PHD C1/275B: 08 PHP C1/275C: C230 REP #$30 C1/275E: E220 SEP #$20 C1/2760: 8B PHB C1/2761: 48 PHA C1/2762: A97E LDA #$7E C1/2764: 48 PHA C1/2765: AB PLB C1/2766: 68 PLA C1/2767: 221800C0 JSR $C00018 C1/276B: AB PLB C1/276C: 28 PLP C1/276D: 2B PLD C1/276E: 60 RTS C1/276F: 0B PHD C1/2770: 08 PHP C1/2771: C230 REP #$30 C1/2773: 8A TXA C1/2774: A21000 LDX #$0010 C1/2777: 0A ASL A C1/2778: B008 BCS $2782 C1/277A: CA DEX C1/277B: D0FA BNE $2777 C1/277D: A9FF00 LDA #$00FF C1/2780: 8002 BRA $2784 C1/2782: 8A TXA C1/2783: 3A DEC A C1/2784: 28 PLP C1/2785: 2B PLD C1/2786: 60 RTS C1/2787: B005 BCS $278E C1/2789: 994F01 STA $014F,Y C1/278C: 8007 BRA $2795 C1/278E: B98001 LDA $0180,Y C1/2791: BB TYX C1/2792: 20E026 JSR $26E0 C1/2795: AB PLB C1/2796: 8304 STA $04,S C1/2798: 68 PLA C1/2799: 68 PLA C1/279A: 68 PLA C1/279B: 68 PLA C1/279C: 28 PLP C1/279D: 2B PLD C1/279E: 60 RTS C1/279F: 0B PHD C1/27A0: 08 PHP C1/27A1: C230 REP #$30 C1/27A3: E220 SEP #$20 C1/27A5: 8B PHB C1/27A6: 48 PHA C1/27A7: A97E LDA #$7E C1/27A9: 48 PHA C1/27AA: AB PLB C1/27AB: 68 PLA C1/27AC: 221800C0 JSR $C00018 C1/27B0: AB PLB C1/27B1: 28 PLP C1/27B2: 2B PLD C1/27B3: 60 RTS C1/27B4: 0B PHD C1/27B5: 08 PHP C1/27B6: C230 REP #$30 C1/27B8: 8A TXA C1/27B9: A21000 LDX #$0010 C1/27BC: 0A ASL A C1/27BD: B008 BCS $27C7 C1/27BF: CA DEX C1/27C0: D0FA BNE $27BC C1/27C2: A9FF00 LDA #$00FF C1/27C5: 8002 BRA $27C9 C1/27C7: 8A TXA C1/27C8: 3A DEC A C1/27C9: 28 PLP C1/27CA: 2B PLD C1/27CB: 60 RTS C1/27CC: FFFFFFFF SBC $FFFFFF,X C1/27D0: FFFFFFFF SBC $FFFFFF,X C1/27D4: FFFFFFFF SBC $FFFFFF,X C1/27D8: FFFFFFFF SBC $FFFFFF,X C1/27DC: FFFFFFFF SBC $FFFFFF,X C1/27E0: FFFFFFFF SBC $FFFFFF,X C1/27E4: FFFFFFFF SBC $FFFFFF,X C1/27E8: FFFFFFFF SBC $FFFFFF,X C1/27EC: FFFFFFFF SBC $FFFFFF,X C1/27F0: FFFFFFFF SBC $FFFFFF,X C1/27F4: FFFFFFFF SBC $FFFFFF,X C1/27F8: FFFFFFFF SBC $FFFFFF,X C1/27FC: FFFFFFFF SBC $FFFFFF,X [] C1/2800: 2200EAD3 JSR $D3EA00 C1/2804: 60 RTS C1/2805: 2209EDD3 JSR $D3ED09 C1/2809: 60 RTS C1/280A: 22FFEBD3 JSR $D3EBFF C1/280E: 60 RTS C1/280F: 0B PHD C1/2810: 08 PHP C1/2811: C220 REP #$20 C1/2813: E220 SEP #$20 C1/2815: 8B PHB C1/2816: A97E LDA #$7E C1/2818: 48 PHA C1/2819: AB PLB C1/281A: A20002 LDX #$0200 C1/281D: A900 LDA #$00 C1/281F: 20483D JSR $3D48 C1/2822: 8E1282 STX $8212 C1/2825: A900 LDA #$00 C1/2827: A26000 LDX #$0060 C1/282A: 20483D JSR $3D48 C1/282D: 8E1482 STX $8214 C1/2830: C220 REP #$20 C1/2832: 18 CLC C1/2833: 8A TXA C1/2834: 694000 ADC #$0040 C1/2837: AA TAX C1/2838: 8E1682 STX $8216 C1/283B: A2C000 LDX #$00C0 C1/283E: 20293D JSR $3D29 C1/2841: 8E1882 STX $8218 C1/2844: 9C1A82 STZ $821A C1/2847: AB PLB C1/2848: 28 PLP C1/2849: 2B PLD C1/284A: 60 RTS C1/284B: 0B PHD C1/284C: 08 PHP C1/284D: C220 REP #$20 C1/284F: E220 SEP #$20 C1/2851: 8B PHB C1/2852: A97E LDA #$7E C1/2854: 48 PHA C1/2855: AB PLB C1/2856: AE1282 LDX $8212 C1/2859: 207D3D JSR $3D7D C1/285C: AE1482 LDX $8214 C1/285F: 207D3D JSR $3D7D C1/2862: AE1882 LDX $8218 C1/2865: 207D3D JSR $3D7D C1/2868: AB PLB C1/2869: 28 PLP C1/286A: 2B PLD C1/286B: 60 RTS C1/286C: 0B PHD C1/286D: 08 PHP C1/286E: C220 REP #$20 C1/2870: E220 SEP #$20 C1/2872: 8B PHB C1/2873: A97E LDA #$7E C1/2875: 48 PHA C1/2876: AB PLB C1/2877: AE1682 LDX $8216 C1/287A: A02000 LDY #$0020 C1/287D: BD0000 LDA $0000,X C1/2880: F003 BEQ $2885 C1/2882: 88 DEY C1/2883: D0F8 BNE $287D C1/2885: 98 TYA C1/2886: F003 BEQ $288B C1/2888: FE0000 INC $0000,X C1/288B: 38 SEC C1/288C: E920 SBC #$20 C1/288E: 49FF EOR #$FF C1/2890: 1A INC A C1/2891: 1A INC A C1/2892: AB PLB C1/2893: 28 PLP C1/2894: 2B PLD C1/2895: 60 RTS C1/2896: 0B PHD C1/2897: 08 PHP C1/2898: C230 REP #$30 C1/289A: 48 PHA C1/289B: 3B TSC C1/289C: 5B TCD C1/289D: 68 PLA C1/289E: DA PHX C1/289F: E220 SEP #$20 C1/28A1: 8B PHB C1/28A2: 48 PHA C1/28A3: A97E LDA #$7E C1/28A5: 48 PHA C1/28A6: AB PLB C1/28A7: 68 PLA C1/28A8: C220 REP #$20 C1/28AA: 48 PHA C1/28AB: E220 SEP #$20 C1/28AD: AE1282 LDX $8212 C1/28B0: A02000 LDY #$0020 C1/28B3: BD0F00 LDA $000F,X C1/28B6: F015 BEQ $28CD C1/28B8: 18 CLC C1/28B9: C220 REP #$20 C1/28BB: 8A TXA C1/28BC: 691000 ADC #$0010 C1/28BF: AA TAX C1/28C0: E220 SEP #$20 C1/28C2: 88 DEY C1/28C3: D0EE BNE $28B3 C1/28C5: 201E2A JSR $2A1E C1/28C8: 20E42F JSR $2FE4 C1/28CB: 80E0 BRA $28AD C1/28CD: C220 REP #$20 C1/28CF: 68 PLA C1/28D0: E220 SEP #$20 C1/28D2: 9D0F00 STA $000F,X C1/28D5: EB XBA C1/28D6: 9D0D00 STA $000D,X C1/28D9: DA PHX C1/28DA: C900 CMP #$00 C1/28DC: F016 BEQ $28F4 C1/28DE: C920 CMP #$20 C1/28E0: F002 BEQ $28E4 C1/28E2: B010 BCS $28F4 C1/28E4: 3A DEC A C1/28E5: C220 REP #$20 C1/28E7: 29FF00 AND #$00FF C1/28EA: 18 CLC C1/28EB: 6D1682 ADC $8216 C1/28EE: AA TAX C1/28EF: E220 SEP #$20 C1/28F1: FE0000 INC $0000,X C1/28F4: FA PLX C1/28F5: A900 LDA #$00 C1/28F7: EB XBA C1/28F8: BD0F00 LDA $000F,X C1/28FB: 2907 AND #$07 C1/28FD: 3A DEC A C1/28FE: 9B TXY C1/28FF: AA TAX C1/2900: BF38F8DC LDA $DCF838,X C1/2904: 990000 STA $0000,Y C1/2907: BF3DF8DC LDA $DCF83D,X C1/290B: 990900 STA $0009,Y C1/290E: BF42F8DC LDA $DCF842,X C1/2912: 990100 STA $0001,Y C1/2915: BB TYX C1/2916: BD0F00 LDA $000F,X C1/2919: C905 CMP #$05 C1/291B: D000 BNE $291D C1/291D: AB PLB C1/291E: 68 PLA C1/291F: 68 PLA C1/2920: 28 PLP C1/2921: 2B PLD C1/2922: 60 RTS C1/2923: 0B PHD C1/2924: 08 PHP C1/2925: C220 REP #$20 C1/2927: E220 SEP #$20 C1/2929: 8B PHB C1/292A: A97E LDA #$7E C1/292C: 48 PHA C1/292D: AB PLB C1/292E: E00000 CPX #$0000 C1/2931: F060 BEQ $2993 C1/2933: BD0D00 LDA $000D,X C1/2936: F022 BEQ $295A C1/2938: C920 CMP #$20 C1/293A: F002 BEQ $293E C1/293C: B01C BCS $295A C1/293E: 3A DEC A C1/293F: C220 REP #$20 C1/2941: 29FF00 AND #$00FF C1/2944: 18 CLC C1/2945: 6D1682 ADC $8216 C1/2948: A8 TAY C1/2949: E220 SEP #$20 C1/294B: B90000 LDA $0000,Y C1/294E: 3A DEC A C1/294F: C901 CMP #$01 C1/2951: F002 BEQ $2955 C1/2953: B002 BCS $2957 C1/2955: A900 LDA #$00 C1/2957: 990000 STA $0000,Y C1/295A: BD0F00 LDA $000F,X C1/295D: C905 CMP #$05 C1/295F: D02F BNE $2990 C1/2961: BD0900 LDA $0009,X C1/2964: 49FF EOR #$FF C1/2966: 2D1E82 AND $821E C1/2969: 8D1E82 STA $821E C1/296C: BD0900 LDA $0009,X C1/296F: DA PHX C1/2970: C220 REP #$20 C1/2972: 29FF00 AND #$00FF C1/2975: AA TAX C1/2976: 202047 JSR $4720 C1/2979: 290700 AND #$0007 C1/297C: AA TAX C1/297D: E220 SEP #$20 C1/297F: 9E2082 STZ $8220,X C1/2982: FA PLX C1/2983: BD0900 LDA $0009,X C1/2986: C980 CMP #$80 C1/2988: D006 BNE $2990 C1/298A: 9C2882 STZ $8228 C1/298D: 9C2982 STZ $8229 C1/2990: 9E0F00 STZ $000F,X C1/2993: AB PLB C1/2994: 28 PLP C1/2995: 2B PLD C1/2996: 60 RTS C1/2997: 0B PHD C1/2998: 08 PHP C1/2999: C220 REP #$20 C1/299B: DA PHX C1/299C: 3B TSC C1/299D: 5B TCD C1/299E: E220 SEP #$20 C1/29A0: 8B PHB C1/29A1: A97E LDA #$7E C1/29A3: 48 PHA C1/29A4: AB PLB C1/29A5: E00000 CPX #$0000 C1/29A8: D003 BNE $29AD C1/29AA: 4C182A JMP $2A18 C1/29AD: 8601 STX $01 C1/29AF: BD0F00 LDA $000F,X C1/29B2: C905 CMP #$05 C1/29B4: F01C BEQ $29D2 C1/29B6: 0980 ORA #$80 C1/29B8: 9D0F00 STA $000F,X C1/29BB: C220 REP #$20 C1/29BD: AD1A82 LDA $821A C1/29C0: 0A ASL A C1/29C1: 18 CLC C1/29C2: 6D1482 ADC $8214 C1/29C5: AA TAX C1/29C6: A501 LDA $01 C1/29C8: 9D0000 STA $0000,X C1/29CB: E220 SEP #$20 C1/29CD: EE1A82 INC $821A C1/29D0: 8046 BRA $2A18 C1/29D2: BD0900 LDA $0009,X C1/29D5: C220 REP #$20 C1/29D7: 29FF00 AND #$00FF C1/29DA: AA TAX C1/29DB: 202047 JSR $4720 C1/29DE: 0A ASL A C1/29DF: 0A ASL A C1/29E0: 0A ASL A C1/29E1: 0A ASL A C1/29E2: AA TAX C1/29E3: A401 LDY $01 C1/29E5: B90000 LDA $0000,Y C1/29E8: 9F704300 STA $004370,X C1/29EC: B90100 LDA $0001,Y C1/29EF: 9F714300 STA $004371,X C1/29F3: B90400 LDA $0004,Y C1/29F6: 9F744300 STA $004374,X C1/29FA: C220 REP #$20 C1/29FC: B90200 LDA $0002,Y C1/29FF: 9F724300 STA $004372,X C1/2A03: E220 SEP #$20 C1/2A05: B90900 LDA $0009,Y C1/2A08: 0D1E82 ORA $821E C1/2A0B: 8D1E82 STA $821E C1/2A0E: B90900 LDA $0009,Y C1/2A11: C980 CMP #$80 C1/2A13: D003 BNE $2A18 C1/2A15: 8C2882 STY $8228 C1/2A18: AB PLB C1/2A19: 68 PLA C1/2A1A: 68 PLA C1/2A1B: 28 PLP C1/2A1C: 2B PLD C1/2A1D: 60 RTS C1/2A1E: 0B PHD C1/2A1F: 08 PHP C1/2A20: C220 REP #$20 C1/2A22: E220 SEP #$20 C1/2A24: 8B PHB C1/2A25: A97E LDA #$7E C1/2A27: 48 PHA C1/2A28: AB PLB C1/2A29: 08 PHP C1/2A2A: 78 SEI C1/2A2B: AE1282 LDX $8212 C1/2A2E: F012 BEQ $2A42 C1/2A30: AD1A82 LDA $821A C1/2A33: F00D BEQ $2A42 C1/2A35: AD1082 LDA $8210 C1/2A38: D005 BNE $2A3F C1/2A3A: 204D2A JSR $2A4D C1/2A3D: 8003 BRA $2A42 C1/2A3F: 205C2A JSR $2A5C C1/2A42: EE3082 INC $8230 C1/2A45: 28 PLP C1/2A46: CE3082 DEC $8230 C1/2A49: AB PLB C1/2A4A: 28 PLP C1/2A4B: 2B PLD C1/2A4C: 60 RTS C1/2A4D: 0B PHD C1/2A4E: 08 PHP C1/2A4F: C220 REP #$20 C1/2A51: E220 SEP #$20 C1/2A53: AD1A82 LDA $821A C1/2A56: 8D1C82 STA $821C C1/2A59: 28 PLP C1/2A5A: 2B PLD C1/2A5B: 60 RTS C1/2A5C: 0B PHD C1/2A5D: 08 PHP C1/2A5E: C220 REP #$20 C1/2A60: 3B TSC C1/2A61: 38 SEC C1/2A62: E90600 SBC #$0006 C1/2A65: 5B TCD C1/2A66: 1B TCS C1/2A67: E220 SEP #$20 C1/2A69: AD1A82 LDA $821A C1/2A6C: 8D1C82 STA $821C C1/2A6F: 20802A JSR $2A80 C1/2A72: 20802B JSR $2B80 C1/2A75: C220 REP #$20 C1/2A77: 3B TSC C1/2A78: 18 CLC C1/2A79: 690600 ADC #$0006 C1/2A7C: 1B TCS C1/2A7D: 28 PLP C1/2A7E: 2B PLD C1/2A7F: 60 RTS C1/2A80: 0B PHD C1/2A81: 08 PHP C1/2A82: C220 REP #$20 C1/2A84: 8B PHB C1/2A85: DA PHX C1/2A86: 3B TSC C1/2A87: 5B TCD C1/2A88: E220 SEP #$20 C1/2A8A: 8B PHB C1/2A8B: A97E LDA #$7E C1/2A8D: 48 PHA C1/2A8E: AB PLB C1/2A8F: C220 REP #$20 C1/2A91: AD1C82 LDA $821C C1/2A94: D003 BNE $2A99 C1/2A96: 4C752B JMP $2B75 C1/2A99: 0B PHD C1/2A9A: A90043 LDA #$4300 C1/2A9D: 5B TCD C1/2A9E: AD1C82 LDA $821C C1/2AA1: AC1482 LDY $8214 C1/2AA4: 48 PHA C1/2AA5: 5A PHY C1/2AA6: BE0000 LDX $0000,Y C1/2AA9: DA PHX C1/2AAA: E220 SEP #$20 C1/2AAC: A900 LDA #$00 C1/2AAE: 8F0B4200 STA $00420B C1/2AB2: BD0000 LDA $0000,X C1/2AB5: 8570 STA $70 C1/2AB7: C220 REP #$20 C1/2AB9: BD0100 LDA $0001,X C1/2ABC: 8571 STA $71 C1/2ABE: BD0300 LDA $0003,X C1/2AC1: 8573 STA $73 C1/2AC3: BD0500 LDA $0005,X C1/2AC6: 8575 STA $75 C1/2AC8: FA PLX C1/2AC9: A90021 LDA #$2100 C1/2ACC: 5B TCD C1/2ACD: E220 SEP #$20 C1/2ACF: BD0900 LDA $0009,X C1/2AD2: 8515 STA $15 C1/2AD4: BD0F00 LDA $000F,X C1/2AD7: 2907 AND #$07 C1/2AD9: 3A DEC A C1/2ADA: F029 BEQ $2B05 C1/2ADC: 3A DEC A C1/2ADD: F01F BEQ $2AFE C1/2ADF: 3A DEC A C1/2AE0: F00B BEQ $2AED C1/2AE2: C220 REP #$20 C1/2AE4: BD0A00 LDA $000A,X C1/2AE7: 8502 STA $02 C1/2AE9: E220 SEP #$20 C1/2AEB: 8021 BRA $2B0E C1/2AED: BD0A00 LDA $000A,X C1/2AF0: 8581 STA $81 C1/2AF2: BD0B00 LDA $000B,X C1/2AF5: 8582 STA $82 C1/2AF7: BD0C00 LDA $000C,X C1/2AFA: 8583 STA $83 C1/2AFC: 8010 BRA $2B0E C1/2AFE: BD0A00 LDA $000A,X C1/2B01: 8521 STA $21 C1/2B03: 8009 BRA $2B0E C1/2B05: C220 REP #$20 C1/2B07: BD0A00 LDA $000A,X C1/2B0A: 8516 STA $16 C1/2B0C: E220 SEP #$20 C1/2B0E: A980 LDA #$80 C1/2B10: 8F0B4200 STA $00420B C1/2B14: EA NOP C1/2B15: EA NOP C1/2B16: EA NOP C1/2B17: EA NOP C1/2B18: C220 REP #$20 C1/2B1A: 7A PLY C1/2B1B: C8 INY C1/2B1C: C8 INY C1/2B1D: A90043 LDA #$4300 C1/2B20: 5B TCD C1/2B21: E220 SEP #$20 C1/2B23: AF372100 LDA $002137 C1/2B27: AF3D2100 LDA $00213D C1/2B2B: EB XBA C1/2B2C: AF3D2100 LDA $00213D C1/2B30: C220 REP #$20 C1/2B32: C900E0 CMP #$E000 C1/2B35: 902F BCC $2B66 C1/2B37: AF124200 LDA $004212 C1/2B3B: 898000 BIT #$0080 C1/2B3E: F026 BEQ $2B66 C1/2B40: A575 LDA $75 C1/2B42: D022 BNE $2B66 C1/2B44: 68 PLA C1/2B45: 3A DEC A C1/2B46: F003 BEQ $2B4B C1/2B48: 4CA42A JMP $2AA4 C1/2B4B: 2B PLD C1/2B4C: E220 SEP #$20 C1/2B4E: AF124200 LDA $004212 C1/2B52: 8980 BIT #$80 C1/2B54: D01F BNE $2B75 C1/2B56: AD1082 LDA $8210 C1/2B59: D01A BNE $2B75 C1/2B5B: CE1C82 DEC $821C C1/2B5E: A900 LDA #$00 C1/2B60: 8F0B4200 STA $00420B C1/2B64: 800F BRA $2B75 C1/2B66: 6475 STZ $75 C1/2B68: 68 PLA C1/2B69: 38 SEC C1/2B6A: ED1C82 SBC $821C C1/2B6D: 49FF EOR #$FF C1/2B6F: FF1A8D1C SBC $1C8D1A,X C1/2B73: 822BC2 BRL $EDA1 C1/2B76: 20ABE2 JSR $E2AB C1/2B79: 206868 JSR $6868 C1/2B7C: 68 PLA C1/2B7D: 28 PLP C1/2B7E: 2B PLD C1/2B7F: 60 RTS C1/2B80: 0B PHD C1/2B81: 08 PHP C1/2B82: C220 REP #$20 C1/2B84: 8B PHB C1/2B85: DA PHX C1/2B86: 3B TSC C1/2B87: 5B TCD C1/2B88: E220 SEP #$20 C1/2B8A: 8B PHB C1/2B8B: A97E LDA #$7E C1/2B8D: 48 PHA C1/2B8E: AB PLB C1/2B8F: C220 REP #$20 C1/2B91: AD1C82 LDA $821C C1/2B94: F049 BEQ $2BDF C1/2B96: 8501 STA $01 C1/2B98: AC1482 LDY $8214 C1/2B9B: 5A PHY C1/2B9C: BE0000 LDX $0000,Y C1/2B9F: BD0F00 LDA $000F,X C1/2BA2: 290800 AND #$0008 C1/2BA5: F00C BEQ $2BB3 C1/2BA7: BC0200 LDY $0002,X C1/2BAA: BB TYX C1/2BAB: 207D3D JSR $3D7D C1/2BAE: 7A PLY C1/2BAF: 5A PHY C1/2BB0: BE0000 LDX $0000,Y C1/2BB3: 202329 JSR $2923 C1/2BB6: 7A PLY C1/2BB7: C8 INY C1/2BB8: C8 INY C1/2BB9: C601 DEC $01 C1/2BBB: D0DE BNE $2B9B C1/2BBD: AD1C82 LDA $821C C1/2BC0: 0A ASL A C1/2BC1: C220 REP #$20 C1/2BC3: 29FF00 AND #$00FF C1/2BC6: 18 CLC C1/2BC7: 6D1482 ADC $8214 C1/2BCA: AA TAX C1/2BCB: AD1A82 LDA $821A C1/2BCE: 38 SEC C1/2BCF: ED1C82 SBC $821C C1/2BD2: 8D1A82 STA $821A C1/2BD5: 0A ASL A C1/2BD6: AC1482 LDY $8214 C1/2BD9: 206147 JSR $4761 C1/2BDC: 9C1C82 STZ $821C C1/2BDF: AB PLB C1/2BE0: E220 SEP #$20 C1/2BE2: 68 PLA C1/2BE3: 68 PLA C1/2BE4: 68 PLA C1/2BE5: 28 PLP C1/2BE6: 2B PLD C1/2BE7: 60 RTS [00 from C1/3B2E] C1/2BE8: 225CEED3 JSR $D3EE5C C1/2BEC: 60 RTS C1/2BED: 2259F1D3 JSR $D3F159 C1/2BF1: 60 RTS C1/2BF2: 2214EED3 JSR $D3EE14 C1/2BF6: 60 RTS C1/2BF7: 2227F9DC JSR $DCF927 C1/2BFB: 60 RTS C1/2BFC: 2204FADC JSR $DCFA04 C1/2C00: 60 RTS C1/2C01: 226AFADC JSR $DCFA6A C1/2C05: 60 RTS C1/2C06: 22152CC1 JSR $C12C15 C1/2C0A: 60 RTS C1/2C0B: 22342DC1 JSR $C12D34 C1/2C0F: 60 RTS C1/2C10: 22022EC1 JSR $C12E02 C1/2C14: 60 RTS C1/2C15: 20192C JSR $2C19 C1/2C18: 6B RTL C1/2C19: 0B PHD C1/2C1A: 08 PHP C1/2C1B: C220 REP #$20 C1/2C1D: 3B TSC C1/2C1E: 38 SEC C1/2C1F: E90A00 SBC #$000A C1/2C22: 5B TCD C1/2C23: 1B TCS C1/2C24: E220 SEP #$20 C1/2C26: 8B PHB C1/2C27: A97E LDA #$7E C1/2C29: 48 PHA C1/2C2A: AB PLB C1/2C2B: 8402 STY $02 C1/2C2D: 640A STZ $0A C1/2C2F: A9FF LDA #$FF C1/2C31: 8509 STA $09 C1/2C33: A2FDFA LDX #$FAFD C1/2C36: B92500 LDA $0025,Y C1/2C39: C901 CMP #$01 C1/2C3B: F020 BEQ $2C5D C1/2C3D: A20DFB LDX #$FB0D C1/2C40: C903 CMP #$03 C1/2C42: F019 BEQ $2C5D C1/2C44: B92C00 LDA $002C,Y C1/2C47: F005 BEQ $2C4E C1/2C49: A22DFB LDX #$FB2D C1/2C4C: 800F BRA $2C5D C1/2C4E: A901 LDA #$01 C1/2C50: 850A STA $0A C1/2C52: B92900 LDA $0029,Y C1/2C55: 291E AND #$1E C1/2C57: 4A LSR A C1/2C58: 8509 STA $09 C1/2C5A: A21DFB LDX #$FB1D C1/2C5D: 22902EC1 JSR $C12E90 C1/2C61: 8607 STX $07 C1/2C63: A402 LDY $02 C1/2C65: A50A LDA $0A C1/2C67: 992C00 STA $002C,Y C1/2C6A: C220 REP #$20 C1/2C6C: 8A TXA C1/2C6D: A602 LDX $02 C1/2C6F: 9D1A00 STA $001A,X C1/2C72: A90000 LDA #$0000 C1/2C75: 9D2A00 STA $002A,X C1/2C78: A91137 LDA #$3711 C1/2C7B: 9D1C00 STA $001C,X C1/2C7E: A95A34 LDA #$345A C1/2C81: 9D1E00 STA $001E,X C1/2C84: E220 SEP #$20 C1/2C86: BD2700 LDA $0027,X C1/2C89: 8501 STA $01 C1/2C8B: 8604 STX $04 C1/2C8D: A509 LDA $09 C1/2C8F: C9FF CMP #$FF C1/2C91: D003 BNE $2C96 C1/2C93: BD0000 LDA $0000,X C1/2C96: A607 LDX $07 C1/2C98: 20C72C JSR $2CC7 C1/2C9B: C220 REP #$20 C1/2C9D: 8A TXA C1/2C9E: A604 LDX $04 C1/2CA0: 9D0200 STA $0002,X C1/2CA3: A9102C LDA #$2C10 C1/2CA6: 9D0400 STA $0004,X C1/2CA9: A90B2C LDA #$2C0B C1/2CAC: 9D0600 STA $0006,X C1/2CAF: 18 CLC C1/2CB0: 8A TXA C1/2CB1: 690800 ADC #$0008 C1/2CB4: AA TAX C1/2CB5: E220 SEP #$20 C1/2CB7: C601 DEC $01 C1/2CB9: D0D0 BNE $2C8B C1/2CBB: AB PLB C1/2CBC: C220 REP #$20 C1/2CBE: 3B TSC C1/2CBF: 18 CLC C1/2CC0: 690A00 ADC #$000A C1/2CC3: 1B TCS C1/2CC4: 28 PLP C1/2CC5: 2B PLD C1/2CC6: 60 RTS C1/2CC7: 0B PHD C1/2CC8: 08 PHP C1/2CC9: C230 REP #$30 C1/2CCB: 48 PHA C1/2CCC: 3B TSC C1/2CCD: 38 SEC C1/2CCE: E90200 SBC #$0002 C1/2CD1: 5B TCD C1/2CD2: 1B TCS C1/2CD3: A303 LDA $03,S C1/2CD5: E220 SEP #$20 C1/2CD7: 8501 STA $01 C1/2CD9: BD1800 LDA $0018,X C1/2CDC: 4A LSR A C1/2CDD: 4A LSR A C1/2CDE: 4A LSR A C1/2CDF: 4A LSR A C1/2CE0: 2907 AND #$07 C1/2CE2: 8504 STA $04 C1/2CE4: A23A00 LDX #$003A C1/2CE7: A900 LDA #$00 C1/2CE9: 22782EC1 JSR $C12E78 C1/2CED: 8602 STX $02 C1/2CEF: 18 CLC C1/2CF0: C220 REP #$20 C1/2CF2: 8A TXA C1/2CF3: 693400 ADC #$0034 C1/2CF6: AA TAX C1/2CF7: E220 SEP #$20 C1/2CF9: A501 LDA $01 C1/2CFB: 22B12EC1 JSR $C12EB1 C1/2CFF: A602 LDX $02 C1/2D01: A914 LDA #$14 C1/2D03: 9D3900 STA $0039,X C1/2D06: A90A LDA #$0A C1/2D08: 9D1800 STA $0018,X C1/2D0B: 9D3200 STA $0032,X C1/2D0E: A504 LDA $04 C1/2D10: EB XBA C1/2D11: A90A LDA #$0A C1/2D13: 22B52EC1 JSR $C12EB5 C1/2D17: C220 REP #$20 C1/2D19: A502 LDA $02 C1/2D1B: 18 CLC C1/2D1C: 691A00 ADC #$001A C1/2D1F: AA TAX C1/2D20: E220 SEP #$20 C1/2D22: A504 LDA $04 C1/2D24: EB XBA C1/2D25: A90A LDA #$0A C1/2D27: 22B52EC1 JSR $C12EB5 C1/2D2B: A602 LDX $02 C1/2D2D: 68 PLA C1/2D2E: 68 PLA C1/2D2F: 68 PLA C1/2D30: 68 PLA C1/2D31: 28 PLP C1/2D32: 2B PLD C1/2D33: 60 RTS C1/2D34: 20382D JSR $2D38 C1/2D37: 6B RTL C1/2D38: 0B PHD C1/2D39: 08 PHP C1/2D3A: C220 REP #$20 C1/2D3C: DA PHX C1/2D3D: 3B TSC C1/2D3E: 5B TCD C1/2D3F: 8601 STX $01 C1/2D41: A90A00 LDA #$000A C1/2D44: 22B92EC1 JSR $C12EB9 C1/2D48: A501 LDA $01 C1/2D4A: 18 CLC C1/2D4B: 691A00 ADC #$001A C1/2D4E: AA TAX C1/2D4F: A90A00 LDA #$000A C1/2D52: 22B92EC1 JSR $C12EB9 C1/2D56: A601 LDX $01 C1/2D58: 227C2EC1 JSR $C12E7C C1/2D5C: E220 SEP #$20 C1/2D5E: 68 PLA C1/2D5F: 68 PLA C1/2D60: 28 PLP C1/2D61: 2B PLD C1/2D62: 60 RTS C1/2D63: 0B PHD C1/2D64: 08 PHP C1/2D65: C220 REP #$20 C1/2D67: 3B TSC C1/2D68: 38 SEC C1/2D69: E90400 SBC #$0004 C1/2D6C: 5B TCD C1/2D6D: 1B TCS C1/2D6E: E220 SEP #$20 C1/2D70: BD1800 LDA $0018,X C1/2D73: 8501 STA $01 C1/2D75: 0A ASL A C1/2D76: 0A ASL A C1/2D77: 18 CLC C1/2D78: 6501 ADC $01 C1/2D7A: 0A ASL A C1/2D7B: 0A ASL A C1/2D7C: C220 REP #$20 C1/2D7E: 29FF00 AND #$00FF C1/2D81: 18 CLC C1/2D82: 693DFB ADC #$FB3D C1/2D85: 38 SEC C1/2D86: E900F8 SBC #$F800 C1/2D89: 9B TXY C1/2D8A: AA TAX C1/2D8B: B91400 LDA $0014,Y C1/2D8E: 48 PHA C1/2D8F: B91600 LDA $0016,Y C1/2D92: 48 PHA C1/2D93: E220 SEP #$20 C1/2D95: A90A LDA #$0A C1/2D97: 8504 STA $04 C1/2D99: 8402 STY $02 C1/2D9B: 22942EC1 JSR $C12E94 C1/2D9F: A402 LDY $02 C1/2DA1: C8 INY C1/2DA2: C8 INY C1/2DA3: C604 DEC $04 C1/2DA5: D0F2 BNE $2D99 C1/2DA7: 7A PLY C1/2DA8: 7A PLY C1/2DA9: 68 PLA C1/2DAA: 68 PLA C1/2DAB: 68 PLA C1/2DAC: 68 PLA C1/2DAD: 28 PLP C1/2DAE: 2B PLD C1/2DAF: 60 RTS C1/2DB0: 0B PHD C1/2DB1: 08 PHP C1/2DB2: C220 REP #$20 C1/2DB4: 3B TSC C1/2DB5: 38 SEC C1/2DB6: E90400 SBC #$0004 C1/2DB9: 5B TCD C1/2DBA: 1B TCS C1/2DBB: 8601 STX $01 C1/2DBD: 8403 STY $03 C1/2DBF: A94000 LDA #$0040 C1/2DC2: 22D12EC1 JSR $C12ED1 C1/2DC6: 38 SEC C1/2DC7: E92000 SBC #$0020 C1/2DCA: A403 LDY $03 C1/2DCC: 18 CLC C1/2DCD: 790200 ADC $0002,Y C1/2DD0: A601 LDX $01 C1/2DD2: 9D1600 STA $0016,X C1/2DD5: A94000 LDA #$0040 C1/2DD8: 22D12EC1 JSR $C12ED1 C1/2DDC: 38 SEC C1/2DDD: E92000 SBC #$0020 C1/2DE0: A403 LDY $03 C1/2DE2: 18 CLC C1/2DE3: 790000 ADC $0000,Y C1/2DE6: A601 LDX $01 C1/2DE8: 9D1400 STA $0014,X C1/2DEB: E220 SEP #$20 C1/2DED: A904 LDA #$04 C1/2DEF: 22D12EC1 JSR $C12ED1 C1/2DF3: 49FF EOR #$FF C1/2DF5: 1A INC A C1/2DF6: A601 LDX $01 C1/2DF8: 9D1800 STA $0018,X C1/2DFB: 68 PLA C1/2DFC: 68 PLA C1/2DFD: 68 PLA C1/2DFE: 68 PLA C1/2DFF: 28 PLP C1/2E00: 2B PLD C1/2E01: 60 RTS C1/2E02: 20062E JSR $2E06 C1/2E05: 6B RTL C1/2E06: 0B PHD C1/2E07: 08 PHP C1/2E08: C220 REP #$20 C1/2E0A: 3B TSC C1/2E0B: 38 SEC C1/2E0C: E90400 SBC #$0004 C1/2E0F: 5B TCD C1/2E10: 1B TCS C1/2E11: E220 SEP #$20 C1/2E13: BD3900 LDA $0039,X C1/2E16: F057 BEQ $2E6F C1/2E18: 8601 STX $01 C1/2E1A: BD3800 LDA $0038,X C1/2E1D: 49FF EOR #$FF C1/2E1F: 9D3800 STA $0038,X C1/2E22: F00A BEQ $2E2E C1/2E24: 18 CLC C1/2E25: C220 REP #$20 C1/2E27: 8A TXA C1/2E28: 691A00 ADC #$001A C1/2E2B: AA TAX C1/2E2C: E220 SEP #$20 C1/2E2E: 8603 STX $03 C1/2E30: BD1800 LDA $0018,X C1/2E33: 302E BMI $2E63 C1/2E35: C90A CMP #$0A C1/2E37: 9025 BCC $2E5E C1/2E39: A401 LDY $01 C1/2E3B: B93900 LDA $0039,Y C1/2E3E: 3A DEC A C1/2E3F: 993900 STA $0039,Y C1/2E42: C902 CMP #$02 C1/2E44: 9011 BCC $2E57 C1/2E46: 18 CLC C1/2E47: C220 REP #$20 C1/2E49: 98 TYA C1/2E4A: 693400 ADC #$0034 C1/2E4D: A8 TAY C1/2E4E: E220 SEP #$20 C1/2E50: 20B02D JSR $2DB0 C1/2E53: A603 LDX $03 C1/2E55: 80D9 BRA $2E30 C1/2E57: A980 LDA #$80 C1/2E59: 9D1800 STA $0018,X C1/2E5C: 8005 BRA $2E63 C1/2E5E: 20632D JSR $2D63 C1/2E61: A603 LDX $03 C1/2E63: FE1800 INC $0018,X C1/2E66: A601 LDX $01 C1/2E68: BD3900 LDA $0039,X C1/2E6B: F002 BEQ $2E6F C1/2E6D: A9FF LDA #$FF C1/2E6F: 8304 STA $04,S C1/2E71: 68 PLA C1/2E72: 68 PLA C1/2E73: 68 PLA C1/2E74: 68 PLA C1/2E75: 28 PLP C1/2E76: 2B PLD C1/2E77: 60 RTS C1/2E78: 20483D JSR $3D48 C1/2E7B: 6B RTL C1/2E7C: 207D3D JSR $3D7D C1/2E7F: 6B RTL C1/2E80: 202F40 JSR $402F C1/2E83: 6B RTL C1/2E84: 201841 JSR $4118 C1/2E87: 6B RTL C1/2E88: 20E540 JSR $40E5 C1/2E8B: 6B RTL C1/2E8C: 209040 JSR $4090 C1/2E8F: 6B RTL C1/2E90: 20E737 JSR $37E7 C1/2E93: 6B RTL C1/2E94: 0B PHD C1/2E95: 08 PHP C1/2E96: C230 REP #$30 C1/2E98: 48 PHA C1/2E99: 3B TSC C1/2E9A: 1A INC A C1/2E9B: 5B TCD C1/2E9C: 68 PLA C1/2E9D: 8B PHB C1/2E9E: A50A LDA $0A C1/2EA0: 48 PHA C1/2EA1: A508 LDA $08 C1/2EA3: 48 PHA C1/2EA4: 206F38 JSR $386F C1/2EA7: 68 PLA C1/2EA8: 68 PLA C1/2EA9: E220 SEP #$20 C1/2EAB: 8301 STA $01,S C1/2EAD: 68 PLA C1/2EAE: 28 PLP C1/2EAF: 2B PLD C1/2EB0: 6B RTL [What the hell are all these] C1/2EB1: 20EA38 JSR $38EA C1/2EB4: 6B RTL C1/2EB5: 202B39 JSR $392B C1/2EB8: 6B RTL C1/2EB9: 205B39 JSR $395B C1/2EBC: 6B RTL C1/2EBD: 206A37 JSR $376A C1/2EC0: 6B RTL C1/2EC1: 209349 JSR $4993 C1/2EC4: 6B RTL C1/2EC5: 203A49 JSR $493A C1/2EC8: 6B RTL C1/2EC9: 20EC49 JSR $49EC C1/2ECC: 6B RTL C1/2ECD: 20A84A JSR $4AA8 C1/2ED0: 6B RTL C1/2ED1: 20C346 JSR $46C3 C1/2ED4: 6B RTL C1/2ED5: 20B344 JSR $44B3 C1/2ED8: 6B RTL C1/2ED9: 201445 JSR $4514 C1/2EDC: 6B RTL C1/2EDD: 2228F2D3 JSR $D3F228 C1/2EE1: 60 RTS C1/2EE2: 2206F3D3 JSR $D3F306 C1/2EE6: 60 RTS C1/2EE7: 22AFF4D3 JSR $D3F4AF C1/2EEB: 60 RTS C1/2EEC: 0B PHD C1/2EED: 08 PHP C1/2EEE: C220 REP #$20 C1/2EF0: E220 SEP #$20 C1/2EF2: 8B PHB C1/2EF3: A97E LDA #$7E C1/2EF5: 48 PHA C1/2EF6: AB PLB C1/2EF7: C220 REP #$20 C1/2EF9: A9C000 LDA #$00C0 C1/2EFC: 8F094200 STA $004209 C1/2F00: AF000100 LDA $000100 C1/2F04: 8D2C82 STA $822C C1/2F07: AF020100 LDA $000102 C1/2F0B: 8D2E82 STA $822E C1/2F0E: E220 SEP #$20 C1/2F10: A95C LDA #$5C C1/2F12: 8F000100 STA $000100 C1/2F16: A95E LDA #$5E C1/2F18: 8F010100 STA $000101 C1/2F1C: A92F LDA #$2F C1/2F1E: 8F020100 STA $000102 C1/2F22: A9C1 LDA #$C1 C1/2F24: 8F030100 STA $000103 C1/2F28: EE2A82 INC $822A C1/2F2B: AF104200 LDA $004210 C1/2F2F: AB PLB C1/2F30: 28 PLP C1/2F31: 2B PLD C1/2F32: 60 RTS C1/2F33: 0B PHD C1/2F34: 08 PHP C1/2F35: C220 REP #$20 C1/2F37: E220 SEP #$20 C1/2F39: 8B PHB C1/2F3A: A97E LDA #$7E C1/2F3C: 48 PHA C1/2F3D: AB PLB C1/2F3E: AD2A82 LDA $822A C1/2F41: F005 BEQ $2F48 C1/2F43: CE2A82 DEC $822A C1/2F46: D012 BNE $2F5A C1/2F48: C220 REP #$20 C1/2F4A: AD2C82 LDA $822C C1/2F4D: 8F000100 STA $000100 C1/2F51: AD2E82 LDA $822E C1/2F54: 8F020100 STA $000102 C1/2F58: E220 SEP #$20 C1/2F5A: AB PLB C1/2F5B: 28 PLP C1/2F5C: 2B PLD C1/2F5D: 60 RTS C1/2F5E: 0B PHD C1/2F5F: 08 PHP C1/2F60: C230 REP #$30 C1/2F62: E220 SEP #$20 C1/2F64: 8B PHB C1/2F65: 48 PHA C1/2F66: A97E LDA #$7E C1/2F68: 48 PHA C1/2F69: AB PLB C1/2F6A: 68 PLA C1/2F6B: C220 REP #$20 C1/2F6D: 48 PHA C1/2F6E: DA PHX C1/2F6F: 5A PHY C1/2F70: E220 SEP #$20 C1/2F72: AF210000 LDA $000021 C1/2F76: 8F2C2100 STA $00212C C1/2F7A: AF220000 LDA $000022 C1/2F7E: 8F2D2100 STA $00212D C1/2F82: AF290000 LDA $000029 C1/2F86: 8F052100 STA $002105 C1/2F8A: AD2A82 LDA $822A C1/2F8D: F04C BEQ $2FDB C1/2F8F: AD3082 LDA $8230 C1/2F92: D044 BNE $2FD8 C1/2F94: AF104200 LDA $004210 C1/2F98: A900 LDA #$00 C1/2F9A: 8FEC0000 STA $0000EC C1/2F9E: A980 LDA #$80 C1/2FA0: 8F002100 STA $002100 C1/2FA4: 201E2A JSR $2A1E C1/2FA7: 20802A JSR $2A80 C1/2FAA: 203C45 JSR $453C C1/2FAD: A90F LDA #$0F C1/2FAF: 8F002100 STA $002100 C1/2FB3: 20802B JSR $2B80 C1/2FB6: 20E045 JSR $45E0 C1/2FB9: 202A41 JSR $412A C1/2FBC: A902 LDA #$02 C1/2FBE: 209628 JSR $2896 C1/2FC1: 9E0400 STZ $0004,X C1/2FC4: 9E0A00 STZ $000A,X C1/2FC7: C220 REP #$20 C1/2FC9: A90006 LDA #$0600 C1/2FCC: 9D0200 STA $0002,X C1/2FCF: A91800 LDA #$0018 C1/2FD2: 9D0500 STA $0005,X C1/2FD5: 209729 JSR $2997 C1/2FD8: EE3082 INC $8230 C1/2FDB: C220 REP #$20 C1/2FDD: 7A PLY C1/2FDE: FA PLX C1/2FDF: 68 PLA C1/2FE0: AB PLB C1/2FE1: 28 PLP C1/2FE2: 2B PLD C1/2FE3: 40 RTI C1/2FE4: 0B PHD C1/2FE5: 08 PHP C1/2FE6: C220 REP #$20 C1/2FE8: E220 SEP #$20 C1/2FEA: 8B PHB C1/2FEB: A97E LDA #$7E C1/2FED: 48 PHA C1/2FEE: AB PLB C1/2FEF: C220 REP #$20 C1/2FF1: EE3282 INC $8232 C1/2FF4: AF114200 LDA $004211 C1/2FF8: AD3082 LDA $8230 C1/2FFB: F0F7 BEQ $2FF4 C1/2FFD: CE3082 DEC $8230 C1/3000: CE3282 DEC $8232 C1/3003: AB PLB C1/3004: 28 PLP C1/3005: 2B PLD C1/3006: 60 RTS C1/3007: 0B PHD C1/3008: 08 PHP C1/3009: C230 REP #$30 C1/300B: E220 SEP #$20 C1/300D: 8B PHB C1/300E: 48 PHA C1/300F: A9D4 LDA #$D4 C1/3011: 48 PHA C1/3012: AB PLB C1/3013: 68 PLA C1/3014: C220 REP #$20 C1/3016: 48 PHA C1/3017: A90000 LDA #$0000 C1/301A: 5B TCD C1/301B: 38 SEC C1/301C: 8A TXA C1/301D: E90020 SBC #$2000 C1/3020: AA TAX C1/3021: 68 PLA C1/3022: E220 SEP #$20 C1/3024: 22098001 JSR $018009 C1/3028: AB PLB C1/3029: 28 PLP C1/302A: 2B PLD C1/302B: 60 RTS C1/302C: 0000 BRK #$00 C1/302E: 0B PHD C1/302F: 08 PHP C1/3030: C230 REP #$30 C1/3032: 48 PHA C1/3033: 3B TSC C1/3034: 38 SEC C1/3035: E90400 SBC #$0004 C1/3038: 5B TCD C1/3039: 1B TCS C1/303A: A305 LDA $05,S C1/303C: E220 SEP #$20 C1/303E: 8B PHB C1/303F: 48 PHA C1/3040: A97E LDA #$7E C1/3042: 48 PHA C1/3043: AB PLB C1/3044: 68 PLA C1/3045: C220 REP #$20 C1/3047: 8603 STX $03 C1/3049: 29FF00 AND #$00FF C1/304C: 8501 STA $01 C1/304E: 98 TYA C1/304F: 38 SEC C1/3050: E900F8 SBC #$F800 C1/3053: AA TAX C1/3054: 8605 STX $05 C1/3056: A90100 LDA #$0001 C1/3059: 209628 JSR $2896 C1/305C: 9B TXY C1/305D: A605 LDX $05 C1/305F: BF00F8DC LDA $DCF800,X C1/3063: 29FF00 AND #$00FF C1/3066: 0A ASL A C1/3067: 0A ASL A C1/3068: 0A ASL A C1/3069: 0A ASL A C1/306A: 18 CLC C1/306B: 690070 ADC #$7000 C1/306E: 990A00 STA $000A,Y C1/3071: BF01F8DC LDA $DCF801,X C1/3075: 29FF00 AND #$00FF C1/3078: C9FF00 CMP #$00FF C1/307B: F028 BEQ $30A5 C1/307D: 0A ASL A C1/307E: 0A ASL A C1/307F: 0A ASL A C1/3080: 0A ASL A C1/3081: 0A ASL A C1/3082: 18 CLC C1/3083: 6503 ADC $03 C1/3085: 990200 STA $0002,Y C1/3088: E220 SEP #$20 C1/308A: BF02F8DC LDA $DCF802,X C1/308E: 2980 AND #$80 C1/3090: F00A BEQ $309C C1/3092: A981 LDA #$81 C1/3094: 990000 STA $0000,Y C1/3097: A939 LDA #$39 C1/3099: 990100 STA $0001,Y C1/309C: A97E LDA #$7E C1/309E: 990400 STA $0004,Y C1/30A1: C220 REP #$20 C1/30A3: 8014 BRA $30B9 C1/30A5: A92C30 LDA #$302C C1/30A8: 990200 STA $0002,Y C1/30AB: E220 SEP #$20 C1/30AD: A9C1 LDA #$C1 C1/30AF: 990400 STA $0004,Y C1/30B2: A909 LDA #$09 C1/30B4: 990000 STA $0000,Y C1/30B7: C220 REP #$20 C1/30B9: BF02F8DC LDA $DCF802,X C1/30BD: 297F00 AND #$007F C1/30C0: 0A ASL A C1/30C1: 0A ASL A C1/30C2: 0A ASL A C1/30C3: 0A ASL A C1/30C4: 0A ASL A C1/30C5: 990500 STA $0005,Y C1/30C8: BB TYX C1/30C9: 209729 JSR $2997 C1/30CC: A605 LDX $05 C1/30CE: E8 INX C1/30CF: E8 INX C1/30D0: E8 INX C1/30D1: C601 DEC $01 C1/30D3: F003 BEQ $30D8 C1/30D5: 4C5430 JMP $3054 C1/30D8: AB PLB C1/30D9: 3B TSC C1/30DA: 18 CLC C1/30DB: 690600 ADC #$0006 C1/30DE: 1B TCS C1/30DF: 28 PLP C1/30E0: 2B PLD C1/30E1: 60 RTS C1/30E2: 0B PHD C1/30E3: 08 PHP C1/30E4: C230 REP #$30 C1/30E6: 48 PHA C1/30E7: 3B TSC C1/30E8: 1A INC A C1/30E9: 5B TCD C1/30EA: 68 PLA C1/30EB: 8B PHB C1/30EC: E220 SEP #$20 C1/30EE: 8501 STA $01 C1/30F0: DA PHX C1/30F1: CA DEX C1/30F2: CA DEX C1/30F3: E8 INX C1/30F4: E8 INX C1/30F5: 4601 LSR $01 C1/30F7: 9013 BCC $310C C1/30F9: BC0000 LDY $0000,X C1/30FC: F0F5 BEQ $30F3 C1/30FE: DA PHX C1/30FF: BB TYX C1/3100: 20E141 JSR $41E1 C1/3103: FA PLX C1/3104: 9E0000 STZ $0000,X C1/3107: 9E0100 STZ $0001,X C1/310A: 80E7 BRA $30F3 C1/310C: D0E5 BNE $30F3 C1/310E: FA PLX C1/310F: 68 PLA C1/3110: 28 PLP C1/3111: 2B PLD C1/3112: 60 RTS C1/3113: 0B PHD C1/3114: 08 PHP C1/3115: C230 REP #$30 C1/3117: 48 PHA C1/3118: 3B TSC C1/3119: 38 SEC C1/311A: E90B00 SBC #$000B C1/311D: 5B TCD C1/311E: 1B TCS C1/311F: A30C LDA $0C,S C1/3121: E220 SEP #$20 C1/3123: 8501 STA $01 C1/3125: 8602 STX $02 C1/3127: 8404 STY $04 C1/3129: B90000 LDA $0000,Y C1/312C: C220 REP #$20 C1/312E: 29FF00 AND #$00FF C1/3131: EB XBA C1/3132: 0A ASL A C1/3133: 18 CLC C1/3134: 6900E0 ADC #$E000 C1/3137: 8508 STA $08 C1/3139: A22000 LDX #$0020 C1/313C: A90000 LDA #$0000 C1/313F: 20483D JSR $3D48 C1/3142: 8606 STX $06 C1/3144: A90800 LDA #$0008 C1/3147: 850A STA $0A C1/3149: 860C STX $0C C1/314B: A90000 LDA #$0000 C1/314E: 20A541 JSR $41A5 C1/3151: 8A TXA C1/3152: A60C LDX $0C C1/3154: 9D0000 STA $0000,X C1/3157: E8 INX C1/3158: E8 INX C1/3159: C60A DEC $0A C1/315B: D0EC BNE $3149 C1/315D: A90800 LDA #$0008 C1/3160: 850A STA $0A C1/3162: 860C STX $0C C1/3164: A90800 LDA #$0008 C1/3167: 20A541 JSR $41A5 C1/316A: 8A TXA C1/316B: A60C LDX $0C C1/316D: 9D0000 STA $0000,X C1/3170: E8 INX C1/3171: E8 INX C1/3172: C60A DEC $0A C1/3174: D0EC BNE $3162 C1/3176: A606 LDX $06 C1/3178: A402 LDY $02 C1/317A: A501 LDA $01 C1/317C: 29FF00 AND #$00FF C1/317F: C9C000 CMP #$00C0 C1/3182: 900B BCC $318F C1/3184: BD1800 LDA $0018,X C1/3187: 990000 STA $0000,Y C1/318A: 9E1800 STZ $0018,X C1/318D: 8009 BRA $3198 C1/318F: BD1000 LDA $0010,X C1/3192: 990000 STA $0000,Y C1/3195: 9E1000 STZ $0010,X C1/3198: C8 INY C1/3199: C8 INY C1/319A: 840C STY $0C C1/319C: A90400 LDA #$0004 C1/319F: 850A STA $0A C1/31A1: A608 LDX $08 C1/31A3: BD1800 LDA $0018,X C1/31A6: E8 INX C1/31A7: 8608 STX $08 C1/31A9: 29FF00 AND #$00FF C1/31AC: F012 BEQ $31C0 C1/31AE: 0A ASL A C1/31AF: 18 CLC C1/31B0: 6506 ADC $06 C1/31B2: AA TAX C1/31B3: BD0000 LDA $0000,X C1/31B6: F008 BEQ $31C0 C1/31B8: 990000 STA $0000,Y C1/31BB: C8 INY C1/31BC: C8 INY C1/31BD: 9E0000 STZ $0000,X C1/31C0: C60A DEC $0A C1/31C2: D0DD BNE $31A1 C1/31C4: A406 LDY $06 C1/31C6: A91000 LDA #$0010 C1/31C9: 850A STA $0A C1/31CB: BE0000 LDX $0000,Y C1/31CE: F005 BEQ $31D5 C1/31D0: 5A PHY C1/31D1: 20E141 JSR $41E1 C1/31D4: 7A PLY C1/31D5: C8 INY C1/31D6: C8 INY C1/31D7: C60A DEC $0A C1/31D9: D0F0 BNE $31CB C1/31DB: 3B TSC C1/31DC: 18 CLC C1/31DD: 690D00 ADC #$000D C1/31E0: 1B TCS C1/31E1: 28 PLP C1/31E2: 2B PLD C1/31E3: 60 RTS C1/31E4: 0B PHD C1/31E5: 08 PHP C1/31E6: C230 REP #$30 C1/31E8: 48 PHA C1/31E9: 3B TSC C1/31EA: 38 SEC C1/31EB: E90900 SBC #$0009 C1/31EE: 5B TCD C1/31EF: 1B TCS C1/31F0: A30A LDA $0A,S C1/31F2: E220 SEP #$20 C1/31F4: 8602 STX $02 C1/31F6: 8404 STY $04 C1/31F8: 8501 STA $01 C1/31FA: C220 REP #$20 C1/31FC: A90800 LDA #$0008 C1/31FF: 8508 STA $08 C1/3201: 8606 STX $06 C1/3203: A90800 LDA #$0008 C1/3206: 20A541 JSR $41A5 C1/3209: 8A TXA C1/320A: A606 LDX $06 C1/320C: 9D0000 STA $0000,X C1/320F: E8 INX C1/3210: E8 INX C1/3211: C608 DEC $08 C1/3213: D0EC BNE $3201 C1/3215: A602 LDX $02 C1/3217: A501 LDA $01 C1/3219: 29FF00 AND #$00FF C1/321C: C9C000 CMP #$00C0 C1/321F: 902A BCC $324B C1/3221: A9E100 LDA #$00E1 C1/3224: 20E230 JSR $30E2 C1/3227: BD0800 LDA $0008,X C1/322A: 9D0000 STA $0000,X C1/322D: BD0200 LDA $0002,X C1/3230: 9D0A00 STA $000A,X C1/3233: BD0400 LDA $0004,X C1/3236: 9D0C00 STA $000C,X C1/3239: BD0600 LDA $0006,X C1/323C: 9D0E00 STA $000E,X C1/323F: 9E0200 STZ $0002,X C1/3242: 9E0400 STZ $0004,X C1/3245: 9E0600 STZ $0006,X C1/3248: 9E0800 STZ $0008,X C1/324B: A91E00 LDA #$001E C1/324E: 20E230 JSR $30E2 C1/3251: A402 LDY $02 C1/3253: C8 INY C1/3254: C8 INY C1/3255: A604 LDX $04 C1/3257: BD2700 LDA $0027,X C1/325A: 29FF00 AND #$00FF C1/325D: 8508 STA $08 C1/325F: 860A STX $0A C1/3261: BD0000 LDA $0000,X C1/3264: 290700 AND #$0007 C1/3267: 3A DEC A C1/3268: 3A DEC A C1/3269: 0A ASL A C1/326A: 18 CLC C1/326B: 6502 ADC $02 C1/326D: AA TAX C1/326E: BD0800 LDA $0008,X C1/3271: F008 BEQ $327B C1/3273: 990000 STA $0000,Y C1/3276: 9E0800 STZ $0008,X C1/3279: C8 INY C1/327A: C8 INY C1/327B: A50A LDA $0A C1/327D: 18 CLC C1/327E: 690800 ADC #$0008 C1/3281: AA TAX C1/3282: C608 DEC $08 C1/3284: D0D9 BNE $325F C1/3286: A602 LDX $02 C1/3288: A9F000 LDA #$00F0 C1/328B: 20E230 JSR $30E2 C1/328E: 3B TSC C1/328F: 18 CLC C1/3290: 690B00 ADC #$000B C1/3293: 1B TCS C1/3294: 28 PLP C1/3295: 2B PLD C1/3296: 60 RTS C1/3297: 0B PHD C1/3298: 08 PHP C1/3299: C230 REP #$30 C1/329B: 48 PHA C1/329C: 3B TSC C1/329D: 38 SEC C1/329E: E90500 SBC #$0005 C1/32A1: 5B TCD C1/32A2: 1B TCS C1/32A3: A306 LDA $06,S C1/32A5: E220 SEP #$20 C1/32A7: 8602 STX $02 C1/32A9: 8404 STY $04 C1/32AB: 8501 STA $01 C1/32AD: B90000 LDA $0000,Y C1/32B0: C220 REP #$20 C1/32B2: 29FF00 AND #$00FF C1/32B5: EB XBA C1/32B6: 0A ASL A C1/32B7: AA TAX C1/32B8: E220 SEP #$20 C1/32BA: BF80E17E LDA $7EE180,X [Load Character Type] C1/32BE: C957 CMP #$57 [Compare with #$57 (Mantis Ant)] C1/32C0: 900D BCC $32CF C1/32C2: C980 CMP #$80 C1/32C4: B009 BCS $32CF C1/32C6: A501 LDA $01 C1/32C8: A602 LDX $02 C1/32CA: 201331 JSR $3113 C1/32CD: 8007 BRA $32D6 C1/32CF: A501 LDA $01 C1/32D1: A602 LDX $02 C1/32D3: 20E431 JSR $31E4 C1/32D6: A402 LDY $02 C1/32D8: A908 LDA #$08 C1/32DA: 8506 STA $06 C1/32DC: BE0000 LDX $0000,Y C1/32DF: F005 BEQ $32E6 C1/32E1: 5A PHY C1/32E2: 204042 JSR $4240 C1/32E5: 7A PLY C1/32E6: C8 INY C1/32E7: C8 INY C1/32E8: C606 DEC $06 C1/32EA: D0F0 BNE $32DC C1/32EC: 20E42F JSR $2FE4 C1/32EF: A402 LDY $02 C1/32F1: A908 LDA #$08 C1/32F3: 8506 STA $06 C1/32F5: BE0000 LDX $0000,Y C1/32F8: F005 BEQ $32FF C1/32FA: 5A PHY C1/32FB: 20B643 JSR $43B6 C1/32FE: 7A PLY C1/32FF: C8 INY C1/3300: C8 INY C1/3301: C606 DEC $06 C1/3303: D0F0 BNE $32F5 C1/3305: A602 LDX $02 C1/3307: C220 REP #$20 C1/3309: 3B TSC C1/330A: 18 CLC C1/330B: 690700 ADC #$0007 C1/330E: 1B TCS C1/330F: 28 PLP C1/3310: 2B PLD C1/3311: 60 RTS C1/3312: 0B PHD C1/3313: 08 PHP C1/3314: C220 REP #$20 C1/3316: E220 SEP #$20 C1/3318: 221A64C0 JSR $C0641A C1/331C: 28 PLP C1/331D: 2B PLD C1/331E: 60 RTS C1/331F: 0B PHD C1/3320: 08 PHP C1/3321: C220 REP #$20 C1/3323: E220 SEP #$20 C1/3325: 221D64C0 JSR $C0641D C1/3329: 28 PLP C1/332A: 2B PLD C1/332B: 60 RTS C1/332C: 0B PHD C1/332D: 08 PHP C1/332E: C220 REP #$20 C1/3330: 3B TSC C1/3331: 38 SEC C1/3332: E90E00 SBC #$000E C1/3335: 5B TCD C1/3336: 1B TCS C1/3337: 8605 STX $05 C1/3339: 8407 STY $07 C1/333B: B92600 LDA $0026,Y C1/333E: 290400 AND #$0004 C1/3341: 0A ASL A C1/3342: 0A ASL A C1/3343: 0A ASL A C1/3344: 0A ASL A C1/3345: 8501 STA $01 C1/3347: B92800 LDA $0028,Y C1/334A: 290006 AND #$0600 C1/334D: 4A LSR A C1/334E: EB XBA C1/334F: E220 SEP #$20 C1/3351: EB XBA C1/3352: A905 LDA #$05 C1/3354: C220 REP #$20 C1/3356: 8F024200 STA $004202 C1/335A: 48 PHA C1/335B: 68 PLA C1/335C: AF164200 LDA $004216 C1/3360: 1A INC A C1/3361: 18 CLC C1/3362: 6501 ADC $01 C1/3364: 8501 STA $01 C1/3366: A90000 LDA #$0000 C1/3369: A22800 LDX #$0028 C1/336C: 20483D JSR $3D48 C1/336F: 8603 STX $03 C1/3371: A605 LDX $05 C1/3373: A403 LDY $03 C1/3375: E220 SEP #$20 C1/3377: BF0BF8DC LDA $DCF80B,X C1/337B: 992400 STA $0024,Y C1/337E: F03B BEQ $33BB C1/3380: 29C0 AND #$C0 C1/3382: 0903 ORA #$03 C1/3384: 850E STA $0E C1/3386: B92400 LDA $0024,Y C1/3389: 09E0 ORA #$E0 C1/338B: 850D STA $0D C1/338D: A607 LDX $07 C1/338F: BD2C00 LDA $002C,X C1/3392: D027 BNE $33BB C1/3394: A930 LDA #$30 C1/3396: 20B344 JSR $44B3 C1/3399: A900 LDA #$00 C1/339B: 9D0200 STA $0002,X C1/339E: 201445 JSR $4514 C1/33A1: A931 LDA #$31 C1/33A3: 20B344 JSR $44B3 C1/33A6: A50E LDA $0E C1/33A8: 9D0200 STA $0002,X C1/33AB: 201445 JSR $4514 C1/33AE: A932 LDA #$32 C1/33B0: 20B344 JSR $44B3 C1/33B3: A50D LDA $0D C1/33B5: 9D0200 STA $0002,X C1/33B8: 201445 JSR $4514 C1/33BB: 20E42F JSR $2FE4 C1/33BE: C220 REP #$20 C1/33C0: A407 LDY $07 C1/33C2: A603 LDX $03 C1/33C4: A501 LDA $01 C1/33C6: 209732 JSR $3297 C1/33C9: A605 LDX $05 C1/33CB: BF0CF8DC LDA $DCF80C,X C1/33CF: 850B STA $0B C1/33D1: A607 LDX $07 C1/33D3: BD2700 LDA $0027,X C1/33D6: 29FF00 AND #$00FF C1/33D9: 8509 STA $09 C1/33DB: A403 LDY $03 C1/33DD: C8 INY C1/33DE: C8 INY C1/33DF: BE0000 LDX $0000,Y C1/33E2: F010 BEQ $33F4 C1/33E4: 5A PHY C1/33E5: A40B LDY $0B C1/33E7: F006 BEQ $33EF C1/33E9: A91EC8 LDA #$C81E C1/33EC: 209742 JSR $4297 C1/33EF: 7A PLY C1/33F0: C609 DEC $09 C1/33F2: D0E9 BNE $33DD C1/33F4: A403 LDY $03 C1/33F6: A605 LDX $05 C1/33F8: BF06F8DC LDA $DCF806,X C1/33FC: 29FF00 AND #$00FF C1/33FF: 991000 STA $0010,Y C1/3402: BF07F8DC LDA $DCF807,X C1/3406: 29FF00 AND #$00FF C1/3409: 991200 STA $0012,Y C1/340C: 991400 STA $0014,Y C1/340F: BF0AF8DC LDA $DCF80A,X C1/3413: 29FF00 AND #$00FF C1/3416: 991E00 STA $001E,Y C1/3419: 992000 STA $0020,Y C1/341C: BF08F8DC LDA $DCF808,X C1/3420: 991A00 STA $001A,Y C1/3423: A501 LDA $01 C1/3425: 991800 STA $0018,Y C1/3428: 290F00 AND #$000F C1/342B: 0A ASL A C1/342C: 18 CLC C1/342D: 790000 ADC $0000,Y C1/3430: A8 TAY C1/3431: BF08F8DC LDA $DCF808,X C1/3435: BB TYX C1/3436: A8 TAY C1/3437: A904D1 LDA #$D104 C1/343A: 209742 JSR $4297 C1/343D: A403 LDY $03 C1/343F: BE0000 LDX $0000,Y C1/3442: 20F841 JSR $41F8 C1/3445: A603 LDX $03 C1/3447: A40B LDY $0B C1/3449: F006 BEQ $3451 C1/344B: A90200 LDA #$0002 C1/344E: 9D2600 STA $0026,X C1/3451: 3B TSC C1/3452: 18 CLC C1/3453: 690E00 ADC #$000E C1/3456: 1B TCS C1/3457: 28 PLP C1/3458: 2B PLD C1/3459: 60 RTS C1/345A: 0B PHD C1/345B: 08 PHP C1/345C: C220 REP #$20 C1/345E: 3B TSC C1/345F: 38 SEC C1/3460: E90700 SBC #$0007 C1/3463: 5B TCD C1/3464: 1B TCS C1/3465: E220 SEP #$20 C1/3467: 8B PHB C1/3468: A97E LDA #$7E C1/346A: 48 PHA C1/346B: AB PLB C1/346C: 8604 STX $04 C1/346E: 8406 STY $06 C1/3470: 9B TXY C1/3471: A904 LDA #$04 C1/3473: 8501 STA $01 C1/3475: 8402 STY $02 C1/3477: BE0000 LDX $0000,Y C1/347A: F013 BEQ $348F C1/347C: 20D343 JSR $43D3 C1/347F: A402 LDY $02 C1/3481: BE0000 LDX $0000,Y C1/3484: 20F841 JSR $41F8 C1/3487: A402 LDY $02 C1/3489: C8 INY C1/348A: C8 INY C1/348B: C601 DEC $01 C1/348D: D0E6 BNE $3475 C1/348F: A604 LDX $04 C1/3491: BD2400 LDA $0024,X C1/3494: F030 BEQ $34C6 C1/3496: A606 LDX $06 C1/3498: BD2C00 LDA $002C,X C1/349B: D029 BNE $34C6 C1/349D: A930 LDA #$30 C1/349F: 20B344 JSR $44B3 C1/34A2: A902 LDA #$02 C1/34A4: 9D0200 STA $0002,X C1/34A7: 201445 JSR $4514 C1/34AA: A931 LDA #$31 C1/34AC: 20B344 JSR $44B3 C1/34AF: AF230000 LDA $000023 C1/34B3: 9D0200 STA $0002,X C1/34B6: 201445 JSR $4514 C1/34B9: A932 LDA #$32 C1/34BB: 20B344 JSR $44B3 C1/34BE: A9E0 LDA #$E0 C1/34C0: 9D0200 STA $0002,X C1/34C3: 201445 JSR $4514 C1/34C6: 20E42F JSR $2FE4 C1/34C9: A9FF LDA #$FF C1/34CB: A604 LDX $04 C1/34CD: 20E230 JSR $30E2 C1/34D0: A604 LDX $04 C1/34D2: 207D3D JSR $3D7D C1/34D5: AB PLB C1/34D6: C220 REP #$20 C1/34D8: 3B TSC C1/34D9: 18 CLC C1/34DA: 690700 ADC #$0007 C1/34DD: 1B TCS C1/34DE: 28 PLP C1/34DF: 2B PLD C1/34E0: 60 RTS C1/34E1: 0B PHD C1/34E2: 08 PHP C1/34E3: C220 REP #$20 C1/34E5: DA PHX C1/34E6: 3B TSC C1/34E7: 5B TCD C1/34E8: 8401 STY $01 C1/34EA: BB TYX C1/34EB: BD1600 LDA $0016,X C1/34EE: 1A INC A C1/34EF: C90500 CMP #$0005 C1/34F2: 9003 BCC $34F7 C1/34F4: A90000 LDA #$0000 C1/34F7: 9D1600 STA $0016,X C1/34FA: 0A ASL A C1/34FB: 0A ASL A C1/34FC: 18 CLC C1/34FD: 7D1600 ADC $0016,X C1/3500: 0A ASL A C1/3501: 18 CLC C1/3502: 7D1A00 ADC $001A,X C1/3505: A8 TAY C1/3506: BD1800 LDA $0018,X C1/3509: 290F00 AND #$000F C1/350C: 0A ASL A C1/350D: 18 CLC C1/350E: 7D0000 ADC $0000,X C1/3511: AA TAX C1/3512: A904D1 LDA #$D104 C1/3515: 209742 JSR $4297 C1/3518: A401 LDY $01 C1/351A: BE0000 LDX $0000,Y C1/351D: 20F841 JSR $41F8 C1/3520: E220 SEP #$20 C1/3522: 68 PLA C1/3523: 68 PLA C1/3524: 28 PLP C1/3525: 2B PLD C1/3526: 60 RTS C1/3527: 0B PHD C1/3528: 08 PHP C1/3529: C220 REP #$20 C1/352B: DA PHX C1/352C: 3B TSC C1/352D: 5B TCD C1/352E: 8401 STY $01 C1/3530: BB TYX C1/3531: BD1600 LDA $0016,X C1/3534: 1A INC A C1/3535: C90300 CMP #$0003 C1/3538: 9003 BCC $353D C1/353A: A90000 LDA #$0000 C1/353D: 9D1600 STA $0016,X C1/3540: 0A ASL A C1/3541: 0A ASL A C1/3542: 18 CLC C1/3543: 7D1600 ADC $0016,X C1/3546: 0A ASL A C1/3547: 18 CLC C1/3548: 7D1A00 ADC $001A,X C1/354B: A8 TAY C1/354C: BD1800 LDA $0018,X C1/354F: 290F00 AND #$000F C1/3552: 0A ASL A C1/3553: 18 CLC C1/3554: 7D0000 ADC $0000,X C1/3557: AA TAX C1/3558: A904D1 LDA #$D104 C1/355B: 209742 JSR $4297 C1/355E: A401 LDY $01 C1/3560: BE0000 LDX $0000,Y C1/3563: 20F841 JSR $41F8 C1/3566: E220 SEP #$20 C1/3568: 68 PLA C1/3569: 68 PLA C1/356A: 28 PLP C1/356B: 2B PLD C1/356C: 60 RTS C1/356D: 0B PHD C1/356E: 08 PHP C1/356F: C220 REP #$20 C1/3571: DA PHX C1/3572: 3B TSC C1/3573: 5B TCD C1/3574: E220 SEP #$20 C1/3576: 8401 STY $01 C1/3578: B91800 LDA $0018,Y C1/357B: 290F AND #$0F C1/357D: 18 CLC C1/357E: 6904 ADC #$04 C1/3580: EB XBA C1/3581: B91800 LDA $0018,Y C1/3584: BE0000 LDX $0000,Y C1/3587: 203E43 JSR $433E C1/358A: A401 LDY $01 C1/358C: BE0000 LDX $0000,Y C1/358F: 20F841 JSR $41F8 C1/3592: 68 PLA C1/3593: 68 PLA C1/3594: 28 PLP C1/3595: 2B PLD C1/3596: 60 RTS C1/3597: 0B PHD C1/3598: 08 PHP C1/3599: C220 REP #$20 C1/359B: DA PHX C1/359C: 3B TSC C1/359D: 5B TCD C1/359E: E220 SEP #$20 C1/35A0: 8401 STY $01 C1/35A2: A932 LDA #$32 C1/35A4: 20B344 JSR $44B3 C1/35A7: A401 LDY $01 C1/35A9: B92200 LDA $0022,Y C1/35AC: 1A INC A C1/35AD: C90A CMP #$0A C1/35AF: 9002 BCC $35B3 C1/35B1: A900 LDA #$00 C1/35B3: 992200 STA $0022,Y C1/35B6: 38 SEC C1/35B7: E905 SBC #$05 C1/35B9: B003 BCS $35BE C1/35BB: 49FF EOR #$FF C1/35BD: 1A INC A C1/35BE: 0A ASL A C1/35BF: 0A ASL A C1/35C0: 0920 ORA #$20 C1/35C2: 9D0200 STA $0002,X C1/35C5: 201445 JSR $4514 C1/35C8: 68 PLA C1/35C9: 68 PLA C1/35CA: 28 PLP C1/35CB: 2B PLD C1/35CC: 60 RTS C1/35CD: 0B PHD C1/35CE: 08 PHP C1/35CF: C220 REP #$20 C1/35D1: E220 SEP #$20 C1/35D3: 20A144 JSR $44A1 C1/35D6: BD3200 LDA $0032,X C1/35D9: 291F AND #$1F C1/35DB: C917 CMP #$17 C1/35DD: B010 BCS $35EF C1/35DF: 1A INC A C1/35E0: 09C0 ORA #$C0 C1/35E2: 48 PHA C1/35E3: A932 LDA #$32 C1/35E5: 20B344 JSR $44B3 C1/35E8: 68 PLA C1/35E9: 9D0200 STA $0002,X C1/35EC: 201445 JSR $4514 C1/35EF: 28 PLP C1/35F0: 2B PLD C1/35F1: 60 RTS C1/35F2: 0B PHD C1/35F3: 08 PHP C1/35F4: C220 REP #$20 C1/35F6: E220 SEP #$20 C1/35F8: 20A144 JSR $44A1 C1/35FB: BD3200 LDA $0032,X C1/35FE: 291F AND #$1F C1/3600: C917 CMP #$17 C1/3602: B00D BCS $3611 C1/3604: A932 LDA #$32 C1/3606: 20B344 JSR $44B3 C1/3609: A9D7 LDA #$D7 C1/360B: 9D0200 STA $0002,X C1/360E: 201445 JSR $4514 C1/3611: 28 PLP C1/3612: 2B PLD C1/3613: 60 RTS C1/3614: 0B PHD C1/3615: 08 PHP C1/3616: C220 REP #$20 C1/3618: E220 SEP #$20 C1/361A: 20A144 JSR $44A1 C1/361D: BD3200 LDA $0032,X C1/3620: 09E0 ORA #$E0 C1/3622: C9F7 CMP #$F7 C1/3624: B00E BCS $3634 C1/3626: 1A INC A C1/3627: 48 PHA C1/3628: A932 LDA #$32 C1/362A: 20B344 JSR $44B3 C1/362D: 68 PLA C1/362E: 9D0200 STA $0002,X C1/3631: 201445 JSR $4514 C1/3634: 28 PLP C1/3635: 2B PLD C1/3636: 60 RTS C1/3637: 0B PHD C1/3638: 08 PHP C1/3639: C220 REP #$20 C1/363B: E220 SEP #$20 C1/363D: 5A PHY C1/363E: 20A144 JSR $44A1 C1/3641: 7A PLY C1/3642: BD3200 LDA $0032,X C1/3645: 09E0 ORA #$E0 C1/3647: C9F7 CMP #$F7 C1/3649: 9011 BCC $365C C1/364B: A978 LDA #$78 C1/364D: 991E00 STA $001E,Y C1/3650: B91000 LDA $0010,Y C1/3653: 290F AND #$0F C1/3655: 0930 ORA #$30 C1/3657: 991000 STA $0010,Y C1/365A: 800E BRA $366A C1/365C: 1A INC A C1/365D: 48 PHA C1/365E: A932 LDA #$32 C1/3660: 20B344 JSR $44B3 C1/3663: 68 PLA C1/3664: 9D0200 STA $0002,X C1/3667: 201445 JSR $4514 C1/366A: 28 PLP C1/366B: 2B PLD C1/366C: 60 RTS C1/366D: 0B PHD C1/366E: 08 PHP C1/366F: C220 REP #$20 C1/3671: E220 SEP #$20 C1/3673: 20A144 JSR $44A1 C1/3676: BD3200 LDA $0032,X C1/3679: 09E0 ORA #$E0 C1/367B: C9EB CMP #$EB C1/367D: B00E BCS $368D C1/367F: 1A INC A C1/3680: 48 PHA C1/3681: A932 LDA #$32 C1/3683: 20B344 JSR $44B3 C1/3686: 68 PLA C1/3687: 9D0200 STA $0002,X C1/368A: 201445 JSR $4514 C1/368D: 28 PLP C1/368E: 2B PLD C1/368F: 60 RTS C1/3690: 0B PHD C1/3691: 08 PHP C1/3692: C220 REP #$20 C1/3694: E220 SEP #$20 C1/3696: 20A144 JSR $44A1 C1/3699: BD3200 LDA $0032,X C1/369C: 09E0 ORA #$E0 C1/369E: C9E0 CMP #$E0 C1/36A0: F00E BEQ $36B0 C1/36A2: 3A DEC A C1/36A3: 48 PHA C1/36A4: A932 LDA #$32 C1/36A6: 20B344 JSR $44B3 C1/36A9: 68 PLA C1/36AA: 9D0200 STA $0002,X C1/36AD: 201445 JSR $4514 C1/36B0: 28 PLP C1/36B1: 2B PLD C1/36B2: 60 RTS C1/36B3: 0B PHD C1/36B4: 08 PHP C1/36B5: C220 REP #$20 C1/36B7: E220 SEP #$20 C1/36B9: 28 PLP C1/36BA: 2B PLD C1/36BB: 60 RTS C1/36BC: B336 LDA ($36,S),Y C1/36BE: E134 SBC ($34,X) C1/36C0: 6D3527 ADC $2735 C1/36C3: 35B3 AND $B3,X C1/36C5: 3697 ROL $97,X C1/36C7: 3514 AND $14,X C1/36C9: 3690 ROL $90,X C1/36CB: 366D ROL $6D,X C1/36CD: 3637 ROL $37,X C1/36CF: 36CD ROL $CD,X C1/36D1: 35F2 AND $F2,X C1/36D3: 350B AND $0B,X C1/36D5: 08 PHP C1/36D6: C220 REP #$20 C1/36D8: 3B TSC C1/36D9: 38 SEC C1/36DA: E90400 SBC #$0004 C1/36DD: 5B TCD C1/36DE: 1B TCS C1/36DF: A90200 LDA #$0002 C1/36E2: 9D2600 STA $0026,X C1/36E5: 9B TXY C1/36E6: A90700 LDA #$0007 C1/36E9: 8501 STA $01 C1/36EB: C8 INY C1/36EC: C8 INY C1/36ED: 8403 STY $03 C1/36EF: BE0000 LDX $0000,Y C1/36F2: F014 BEQ $3708 C1/36F4: A9010F LDA #$0F01 C1/36F7: 203E43 JSR $433E C1/36FA: A403 LDY $03 C1/36FC: BE0000 LDX $0000,Y C1/36FF: 20F841 JSR $41F8 C1/3702: A403 LDY $03 C1/3704: C601 DEC $01 C1/3706: D0E3 BNE $36EB C1/3708: E220 SEP #$20 C1/370A: 68 PLA C1/370B: 68 PLA C1/370C: 68 PLA C1/370D: 68 PLA C1/370E: 28 PLP C1/370F: 2B PLD C1/3710: 60 RTS C1/3711: 0B PHD C1/3712: 08 PHP C1/3713: C220 REP #$20 C1/3715: DA PHX C1/3716: 3B TSC C1/3717: 5B TCD C1/3718: E220 SEP #$20 C1/371A: 8B PHB C1/371B: A97E LDA #$7E C1/371D: 48 PHA C1/371E: AB PLB C1/371F: C220 REP #$20 C1/3721: 8601 STX $01 C1/3723: DE1200 DEC $0012,X C1/3726: D014 BNE $373C C1/3728: BD1400 LDA $0014,X C1/372B: 9D1200 STA $0012,X C1/372E: 9B TXY C1/372F: B91000 LDA $0010,Y C1/3732: 290F00 AND #$000F C1/3735: 0A ASL A C1/3736: AA TAX C1/3737: FCBC36 JSR ($36BC,X) C1/373A: A601 LDX $01 C1/373C: DE1E00 DEC $001E,X C1/373F: D016 BNE $3757 C1/3741: BD2000 LDA $0020,X C1/3744: 9D1E00 STA $001E,X C1/3747: 9B TXY C1/3748: B91000 LDA $0010,Y C1/374B: 29F000 AND #$00F0 C1/374E: 4A LSR A C1/374F: 4A LSR A C1/3750: 4A LSR A C1/3751: AA TAX C1/3752: FCC436 JSR ($36C4,X) C1/3755: A601 LDX $01 C1/3757: DE2600 DEC $0026,X C1/375A: D003 BNE $375F C1/375C: 20D436 JSR $36D4 C1/375F: A90000 LDA #$0000 C1/3762: AB PLB C1/3763: E220 SEP #$20 C1/3765: 68 PLA C1/3766: 68 PLA C1/3767: 28 PLP C1/3768: 2B PLD C1/3769: 60 RTS C1/376A: 0B PHD C1/376B: 08 PHP C1/376C: C230 REP #$30 C1/376E: E220 SEP #$20 C1/3770: 8B PHB C1/3771: 48 PHA C1/3772: A900 LDA #$00 C1/3774: 48 PHA C1/3775: AB PLB C1/3776: 68 PLA C1/3777: C900 CMP #$00 C1/3779: F02E BEQ $37A9 C1/377B: 8D011E STA $1E01 C1/377E: A902 LDA #$02 C1/3780: 8D001E STA $1E00 C1/3783: A900 LDA #$00 C1/3785: 8D021E STA $1E02 C1/3788: EB XBA C1/3789: 18 CLC C1/378A: 6908 ADC #$08 C1/378C: 9002 BCC $3790 C1/378E: A9FF LDA #$FF C1/3790: 4A LSR A C1/3791: 4A LSR A C1/3792: 4A LSR A C1/3793: 4A LSR A C1/3794: D002 BNE $3798 C1/3796: A901 LDA #$01 C1/3798: 8D031E STA $1E03 C1/379B: 0A ASL A C1/379C: 0A ASL A C1/379D: 0A ASL A C1/379E: 0A ASL A C1/379F: 0D031E ORA $1E03 C1/37A2: 8D031E STA $1E03 C1/37A5: 220400C3 JSR $C30004 C1/37A9: AB PLB C1/37AA: 28 PLP C1/37AB: 2B PLD C1/37AC: 60 RTS C1/37AD: 0B PHD C1/37AE: 08 PHP C1/37AF: C230 REP #$30 C1/37B1: 48 PHA C1/37B2: 3B TSC C1/37B3: 38 SEC C1/37B4: E90200 SBC #$0002 C1/37B7: 5B TCD C1/37B8: 1B TCS C1/37B9: A303 LDA $03,S C1/37BB: E220 SEP #$20 C1/37BD: C900 CMP #$00 C1/37BF: F01F BEQ $37E0 C1/37C1: EB XBA C1/37C2: C900 CMP #$00 C1/37C4: F013 BEQ $37D9 C1/37C6: EB XBA C1/37C7: 48 PHA C1/37C8: BD0000 LDA $0000,X C1/37CB: 0A ASL A C1/37CC: 09E0 ORA #$E0 C1/37CE: EB XBA C1/37CF: A900 LDA #$00 C1/37D1: AA TAX C1/37D2: BD2000 LDA $0020,X C1/37D5: EB XBA C1/37D6: 68 PLA C1/37D7: 8004 BRA $37DD C1/37D9: BD2200 LDA $0022,X C1/37DC: EB XBA C1/37DD: 206A37 JSR $376A C1/37E0: 68 PLA C1/37E1: 68 PLA C1/37E2: 68 PLA C1/37E3: 68 PLA C1/37E4: 28 PLP C1/37E5: 2B PLD C1/37E6: 60 RTS C1/37E7: 0B PHD C1/37E8: 08 PHP C1/37E9: C220 REP #$20 C1/37EB: 3B TSC C1/37EC: 38 SEC C1/37ED: E90800 SBC #$0008 C1/37F0: 5B TCD C1/37F1: 1B TCS C1/37F2: E220 SEP #$20 C1/37F4: 8B PHB C1/37F5: A97E LDA #$7E C1/37F7: 48 PHA C1/37F8: AB PLB C1/37F9: 8605 STX $05 C1/37FB: 8401 STY $01 C1/37FD: A90F LDA #$0F C1/37FF: EB XBA C1/3800: A901 LDA #$01 C1/3802: 208F3D JSR $3D8F C1/3805: C220 REP #$20 C1/3807: A505 LDA $05 C1/3809: 38 SEC C1/380A: E900F8 SBC #$F800 C1/380D: 8505 STA $05 C1/380F: AA TAX C1/3810: BF00F8DC LDA $DCF800,X C1/3814: 29FF00 AND #$00FF C1/3817: 8507 STA $07 C1/3819: 0A ASL A C1/381A: 0A ASL A C1/381B: 0A ASL A C1/381C: 0A ASL A C1/381D: 0A ASL A C1/381E: AA TAX C1/381F: 20293D JSR $3D29 C1/3822: 8603 STX $03 C1/3824: A605 LDX $05 C1/3826: BF01F8DC LDA $DCF801,X C1/382A: A8 TAY C1/382B: E220 SEP #$20 C1/382D: A601 LDX $01 C1/382F: BD2900 LDA $0029,X C1/3832: 38 SEC C1/3833: E9E0 SBC #$E0 C1/3835: 4A LSR A C1/3836: EB XBA C1/3837: A507 LDA $07 C1/3839: A603 LDX $03 C1/383B: 200730 JSR $3007 C1/383E: 20E42F JSR $2FE4 C1/3841: A605 LDX $05 C1/3843: C220 REP #$20 C1/3845: BF04F8DC LDA $DCF804,X C1/3849: A8 TAY C1/384A: BF03F8DC LDA $DCF803,X C1/384E: A603 LDX $03 C1/3850: 202E30 JSR $302E C1/3853: A605 LDX $05 C1/3855: BF0EF8DC LDA $DCF80E,X C1/3859: A601 LDX $01 C1/385B: 20AD37 JSR $37AD C1/385E: A401 LDY $01 C1/3860: A605 LDX $05 C1/3862: 202C33 JSR $332C C1/3865: AB PLB C1/3866: 3B TSC C1/3867: 18 CLC C1/3868: 690800 ADC #$0008 C1/386B: 1B TCS C1/386C: 28 PLP C1/386D: 2B PLD C1/386E: 60 RTS C1/386F: 0B PHD C1/3870: 08 PHP C1/3871: C220 REP #$20 C1/3873: DA PHX C1/3874: 3B TSC C1/3875: 5B TCD C1/3876: E220 SEP #$20 C1/3878: 8B PHB C1/3879: A97E LDA #$7E C1/387B: 48 PHA C1/387C: AB PLB C1/387D: C220 REP #$20 C1/387F: DA PHX C1/3880: BF00F8DC LDA $DCF800,X C1/3884: 8501 STA $01 C1/3886: BE0000 LDX $0000,Y C1/3889: E220 SEP #$20 C1/388B: A501 LDA $01 C1/388D: C9FF CMP #$FF C1/388F: F04D BEQ $38DE C1/3891: C220 REP #$20 C1/3893: 293F00 AND #$003F C1/3896: C93000 CMP #$0030 C1/3899: 9004 BCC $389F C1/389B: 18 CLC C1/389C: 691000 ADC #$0010 C1/389F: 18 CLC C1/38A0: 690001 ADC #$0100 C1/38A3: 9D0600 STA $0006,X C1/38A6: E220 SEP #$20 C1/38A8: A501 LDA $01 C1/38AA: 29C0 AND #$C0 C1/38AC: 9D0000 STA $0000,X C1/38AF: A502 LDA $02 C1/38B1: 4A LSR A C1/38B2: 4A LSR A C1/38B3: C220 REP #$20 C1/38B5: 293C00 AND #$003C C1/38B8: 38 SEC C1/38B9: E92000 SBC #$0020 C1/38BC: 18 CLC C1/38BD: 650A ADC $0A C1/38BF: 9D0200 STA $0002,X C1/38C2: E220 SEP #$20 C1/38C4: A502 LDA $02 C1/38C6: 0A ASL A C1/38C7: 0A ASL A C1/38C8: C220 REP #$20 C1/38CA: 293C00 AND #$003C C1/38CD: 38 SEC C1/38CE: E92000 SBC #$0020 C1/38D1: 18 CLC C1/38D2: 6508 ADC $08 C1/38D4: 9D0400 STA $0004,X C1/38D7: E220 SEP #$20 C1/38D9: 201841 JSR $4118 C1/38DC: 8003 BRA $38E1 C1/38DE: 209040 JSR $4090 C1/38E1: FA PLX C1/38E2: E8 INX C1/38E3: E8 INX C1/38E4: AB PLB C1/38E5: 68 PLA C1/38E6: 68 PLA C1/38E7: 28 PLP C1/38E8: 2B PLD C1/38E9: 60 RTS C1/38EA: 0B PHD C1/38EB: 08 PHP C1/38EC: C230 REP #$30 C1/38EE: 48 PHA C1/38EF: 3B TSC C1/38F0: 5B TCD C1/38F1: 68 PLA C1/38F2: DA PHX C1/38F3: E220 SEP #$20 C1/38F5: 8B PHB C1/38F6: 48 PHA C1/38F7: A97E LDA #$7E C1/38F9: 48 PHA C1/38FA: AB PLB C1/38FB: 68 PLA C1/38FC: C220 REP #$20 C1/38FE: 29FF00 AND #$00FF C1/3901: 0A ASL A C1/3902: EB XBA C1/3903: 9B TXY C1/3904: AA TAX C1/3905: BF45E07E LDA $7EE045,X C1/3909: 29FF00 AND #$00FF C1/390C: 8501 STA $01 C1/390E: BF20E07E LDA $7EE020,X C1/3912: 990200 STA $0002,Y C1/3915: BF22E07E LDA $7EE022,X C1/3919: 38 SEC C1/391A: E501 SBC $01 C1/391C: 38 SEC C1/391D: E90800 SBC #$0008 C1/3920: 990000 STA $0000,Y C1/3923: AB PLB C1/3924: E220 SEP #$20 C1/3926: 68 PLA C1/3927: 68 PLA C1/3928: 28 PLP C1/3929: 2B PLD C1/392A: 60 RTS C1/392B: 0B PHD C1/392C: 08 PHP C1/392D: C230 REP #$30 C1/392F: 48 PHA C1/3930: 3B TSC C1/3931: 5B TCD C1/3932: 68 PLA C1/3933: DA PHX C1/3934: E220 SEP #$20 C1/3936: 8501 STA $01 C1/3938: EB XBA C1/3939: 8502 STA $02 C1/393B: DA PHX C1/393C: A90F LDA #$0F C1/393E: 22802EC1 JSR $C12E80 C1/3942: A502 LDA $02 C1/3944: 9D0100 STA $0001,X C1/3947: C220 REP #$20 C1/3949: 8A TXA C1/394A: FA PLX C1/394B: 9D0000 STA $0000,X C1/394E: E220 SEP #$20 C1/3950: E8 INX C1/3951: E8 INX C1/3952: C601 DEC $01 C1/3954: D0E5 BNE $393B C1/3956: 68 PLA C1/3957: 68 PLA C1/3958: 28 PLP C1/3959: 2B PLD C1/395A: 60 RTS C1/395B: 0B PHD C1/395C: 08 PHP C1/395D: C230 REP #$30 C1/395F: 48 PHA C1/3960: 3B TSC C1/3961: 1A INC A C1/3962: 5B TCD C1/3963: 68 PLA C1/3964: 8B PHB C1/3965: E220 SEP #$20 C1/3967: 8501 STA $01 C1/3969: 9B TXY C1/396A: 5A PHY C1/396B: BE0000 LDX $0000,Y C1/396E: 22882EC1 JSR $C12E88 C1/3972: 7A PLY C1/3973: C8 INY C1/3974: C8 INY C1/3975: C601 DEC $01 C1/3977: D0F1 BNE $396A C1/3979: 68 PLA C1/397A: 28 PLP C1/397B: 2B PLD C1/397C: 60 RTS C1/397D: 0B PHD C1/397E: 08 PHP C1/397F: C220 REP #$20 C1/3981: E220 SEP #$20 C1/3983: B91000 LDA $0010,Y C1/3986: F00C BEQ $3994 C1/3988: C901 CMP #$01 C1/398A: F00C BEQ $3998 C1/398C: C902 CMP #$02 C1/398E: F00C BEQ $399C C1/3990: A980 LDA #$80 C1/3992: 800A BRA $399E C1/3994: A9C0 LDA #$C0 C1/3996: 8006 BRA $399E C1/3998: A940 LDA #$40 C1/399A: 8002 BRA $399E C1/399C: A900 LDA #$00 C1/399E: 28 PLP C1/399F: 2B PLD C1/39A0: 60 RTS C1/39A1: 0B PHD C1/39A2: 08 PHP C1/39A3: C220 REP #$20 C1/39A5: A28003 LDX #$0380 C1/39A8: 20293D JSR $3D29 C1/39AB: 8E3482 STX $8234 C1/39AE: A06AFC LDY #$FC6A C1/39B1: A90600 LDA #$0006 C1/39B4: 202E30 JSR $302E C1/39B7: 28 PLP C1/39B8: 2B PLD C1/39B9: 60 RTS C1/39BA: 0B PHD C1/39BB: 08 PHP C1/39BC: C220 REP #$20 C1/39BE: AE3482 LDX $8234 C1/39C1: A07CFC LDY #$FC7C C1/39C4: A90600 LDA #$0006 C1/39C7: 202E30 JSR $302E C1/39CA: 28 PLP C1/39CB: 2B PLD C1/39CC: 60 RTS C1/39CD: 0B PHD C1/39CE: 08 PHP C1/39CF: C220 REP #$20 C1/39D1: DA PHX C1/39D2: A93884 LDA #$8438 C1/39D5: 38 SEC C1/39D6: E90082 SBC #$8200 C1/39D9: AA TAX C1/39DA: 20D33B JSR $3BD3 C1/39DD: 20F143 JSR $43F1 C1/39E0: 206141 JSR $4161 C1/39E3: 200F28 JSR $280F C1/39E6: A90200 LDA #$0002 C1/39E9: 209628 JSR $2896 C1/39EC: 9E0400 STZ $0004,X C1/39EF: 9E0A00 STZ $000A,X C1/39F2: C220 REP #$20 C1/39F4: A90006 LDA #$0600 C1/39F7: 9D0200 STA $0002,X C1/39FA: A91800 LDA #$0018 C1/39FD: 9D0500 STA $0005,X C1/3A00: 209729 JSR $2997 C1/3A03: 20EC2E JSR $2EEC C1/3A06: 20A139 JSR $39A1 C1/3A09: E220 SEP #$20 C1/3A0B: A22E00 LDX #$002E C1/3A0E: A900 LDA #$00 C1/3A10: 20483D JSR $3D48 C1/3A13: AF990000 LDA $000099 C1/3A17: 2908 AND #$08 C1/3A19: 9D2600 STA $0026,X C1/3A1C: 7A PLY C1/3A1D: B97001 LDA $0170,Y C1/3A20: C90C CMP #$0C C1/3A22: F020 BEQ $3A44 C1/3A24: C90D CMP #$0D C1/3A26: F020 BEQ $3A48 C1/3A28: C924 CMP #$24 C1/3A2A: F020 BEQ $3A4C C1/3A2C: C925 CMP #$25 C1/3A2E: F020 BEQ $3A50 C1/3A30: C910 CMP #$10 C1/3A32: F020 BEQ $3A54 C1/3A34: C91F CMP #$1F C1/3A36: F020 BEQ $3A58 C1/3A38: C928 CMP #$28 C1/3A3A: F020 BEQ $3A5C C1/3A3C: 207D3D JSR $3D7D C1/3A3F: A20000 LDX #$0000 C1/3A42: 807E BRA $3AC2 C1/3A44: A900 LDA #$00 C1/3A46: 8018 BRA $3A60 C1/3A48: A901 LDA #$01 C1/3A4A: 8014 BRA $3A60 C1/3A4C: A902 LDA #$02 C1/3A4E: 8010 BRA $3A60 C1/3A50: A903 LDA #$03 C1/3A52: 800C BRA $3A60 C1/3A54: A904 LDA #$04 C1/3A56: 8008 BRA $3A60 C1/3A58: A905 LDA #$05 C1/3A5A: 8004 BRA $3A60 C1/3A5C: A906 LDA #$06 C1/3A5E: 8000 BRA $3A60 C1/3A60: 9D2500 STA $0025,X C1/3A63: 207D39 JSR $397D C1/3A66: 9D2400 STA $0024,X C1/3A69: B97801 LDA $0178,Y C1/3A6C: 3A DEC A C1/3A6D: 9D0000 STA $0000,X C1/3A70: FE2700 INC $0027,X C1/3A73: B97901 LDA $0179,Y C1/3A76: F013 BEQ $3A8B C1/3A78: 3A DEC A C1/3A79: 9D0800 STA $0008,X C1/3A7C: FE2700 INC $0027,X C1/3A7F: B97A01 LDA $017A,Y C1/3A82: F007 BEQ $3A8B C1/3A84: 3A DEC A C1/3A85: 9D1000 STA $0010,X C1/3A88: FE2700 INC $0027,X C1/3A8B: C220 REP #$20 C1/3A8D: B92000 LDA $0020,Y C1/3A90: 9D2200 STA $0022,X C1/3A93: B92200 LDA $0022,Y C1/3A96: 9D2000 STA $0020,X C1/3A99: 98 TYA C1/3A9A: 9D2800 STA $0028,X C1/3A9D: A01400 LDY #$0014 C1/3AA0: BD2400 LDA $0024,X C1/3AA3: 898000 BIT #$0080 C1/3AA6: F003 BEQ $3AAB C1/3AA8: A0ECFF LDY #$FFEC C1/3AAB: 894000 BIT #$0040 C1/3AAE: F00A BEQ $3ABA C1/3AB0: 98 TYA C1/3AB1: 18 CLC C1/3AB2: 7D2000 ADC $0020,X C1/3AB5: 9D2000 STA $0020,X C1/3AB8: 8008 BRA $3AC2 C1/3ABA: 98 TYA C1/3ABB: 18 CLC C1/3ABC: 7D2200 ADC $0022,X C1/3ABF: 9D2200 STA $0022,X C1/3AC2: 28 PLP C1/3AC3: 2B PLD C1/3AC4: 60 RTS C1/3AC5: 0B PHD C1/3AC6: 08 PHP C1/3AC7: C220 REP #$20 C1/3AC9: 3B TSC C1/3ACA: 38 SEC C1/3ACB: E90600 SBC #$0006 C1/3ACE: 5B TCD C1/3ACF: 1B TCS C1/3AD0: E00000 CPX #$0000 C1/3AD3: F044 BEQ $3B19 C1/3AD5: 8603 STX $03 C1/3AD7: A90400 LDA #$0004 C1/3ADA: 8501 STA $01 C1/3ADC: 18 CLC C1/3ADD: 8A TXA C1/3ADE: 690000 ADC #$0000 C1/3AE1: AA TAX C1/3AE2: 8605 STX $05 C1/3AE4: BD0600 LDA $0006,X C1/3AE7: F00C BEQ $3AF5 C1/3AE9: F4F43A PEA $3AF4 C1/3AEC: 9B TXY C1/3AED: BE0200 LDX $0002,Y C1/3AF0: A403 LDY $03 C1/3AF2: 3A DEC A C1/3AF3: 48 PHA C1/3AF4: 60 RTS C1/3AF5: A605 LDX $05 C1/3AF7: 9E0400 STZ $0004,X C1/3AFA: 9E0200 STZ $0002,X C1/3AFD: 9E0600 STZ $0006,X C1/3B00: 18 CLC C1/3B01: 8A TXA C1/3B02: 690800 ADC #$0008 C1/3B05: AA TAX C1/3B06: C601 DEC $01 C1/3B08: D0D8 BNE $3AE2 C1/3B0A: A603 LDX $03 C1/3B0C: BD2C00 LDA $002C,X C1/3B0F: D014 BNE $3B25 C1/3B11: A603 LDX $03 C1/3B13: 207D3D JSR $3D7D C1/3B16: 20E42F JSR $2FE4 C1/3B19: 20BA39 JSR $39BA C1/3B1C: 20E42F JSR $2FE4 C1/3B1F: 20332F JSR $2F33 C1/3B22: A20000 LDX #$0000 C1/3B25: 3B TSC C1/3B26: 18 CLC C1/3B27: 690600 ADC #$0006 C1/3B2A: 1B TCS C1/3B2B: 28 PLP C1/3B2C: 2B PLD C1/3B2D: 60 RTS C1/3B2E: E82B [00] C1/3B30: 062C [01] C1/3B32: F72B [02] C1/3B34: 0028 [03] C1/3B36: DD2E [04] 062C [05] 0148 BIT $4801 [Section 2-3] C1/3B3C: 0B PHD C1/3B3D: 08 PHP C1/3B3E: C220 REP #$20 C1/3B40: 3B TSC C1/3B41: 38 SEC C1/3B42: E90A00 SBC #$000A C1/3B45: 5B TCD C1/3B46: 1B TCS C1/3B47: E220 SEP #$20 C1/3B49: 8B PHB C1/3B4A: A97E LDA #$7E C1/3B4C: 48 PHA C1/3B4D: AB PLB C1/3B4E: C220 REP #$20 C1/3B50: 8A TXA C1/3B51: 29001E AND #$1E00 C1/3B54: 18 CLC C1/3B55: 6900E0 ADC #$E000 C1/3B58: AA TAX C1/3B59: 20CD39 JSR $39CD C1/3B5C: E00000 CPX #$0000 C1/3B5F: F060 BEQ $3BC1 C1/3B61: 8603 STX $03 C1/3B63: 20E42F JSR $2FE4 C1/3B66: A603 LDX $03 C1/3B68: BD2500 LDA $0025,X [Used as an index for pointer table above]] C1/3B6B: 29FF00 AND #$00FF C1/3B6E: 0A ASL A C1/3B6F: 9B TXY C1/3B70: AA TAX C1/3B71: FC2E3B JSR ($3B2E,X) C1/3B74: A603 LDX $03 C1/3B76: BD2A00 LDA $002A,X C1/3B79: 8501 STA $01 C1/3B7B: 20E42F JSR $2FE4 C1/3B7E: A603 LDX $03 C1/3B80: A9FF00 LDA #$00FF C1/3B83: 8509 STA $09 C1/3B85: A90400 LDA #$0004 C1/3B88: 8507 STA $07 C1/3B8A: 8A TXA C1/3B8B: 18 CLC C1/3B8C: 690000 ADC #$0000 C1/3B8F: 8505 STA $05 C1/3B91: A8 TAY C1/3B92: B90400 LDA $0004,Y [Character Y coordinate] C1/3B95: F009 + BEQ $3BA0 C1/3B97: F49F3B PEA $3B9F C1/3B9A: BE0200 LDX $0002,Y [Character X coordinate] C1/3B9D: 3A DEC A C1/3B9E: 48 PHA C1/3B9F: 60 RTS [Handles Y coordinate?] C1/3BA0: + 49FF00 EOR #$00FF C1/3BA3: 2509 AND $09 C1/3BA5: 8509 STA $09 C1/3BA7: A505 LDA $05 C1/3BA9: 18 CLC C1/3BAA: 690800 ADC #$0008 C1/3BAD: C607 DEC $07 C1/3BAF: D0DE BNE $3B8F C1/3BB1: 20E42F JSR $2FE4 C1/3BB4: A509 LDA $09 C1/3BB6: 29FF00 AND #$00FF C1/3BB9: D004 BNE $3BBF C1/3BBB: C601 DEC $01 C1/3BBD: D0BF BNE $3B7E C1/3BBF: A603 LDX $03 C1/3BC1: 20C53A JSR $3AC5 C1/3BC4: E00000 CPX #$0000 C1/3BC7: D09A BNE $3B63 C1/3BC9: AB PLB C1/3BCA: 3B TSC C1/3BCB: 18 CLC C1/3BCC: 690A00 ADC #$000A C1/3BCF: 1B TCS C1/3BD0: 28 PLP C1/3BD1: 2B PLD C1/3BD2: 60 RTS C1/3BD3: 0B PHD C1/3BD4: 08 PHP C1/3BD5: C220 REP #$20 C1/3BD7: E220 SEP #$20 C1/3BD9: 8B PHB C1/3BDA: A97E LDA #$7E C1/3BDC: 48 PHA C1/3BDD: AB PLB C1/3BDE: DA PHX C1/3BDF: 9B TXY C1/3BE0: A20082 LDX #$8200 C1/3BE3: A900 LDA #$00 C1/3BE5: 203847 JSR $4738 C1/3BE8: FA PLX C1/3BE9: 20293D JSR $3D29 C1/3BEC: AE3882 LDX $8238 C1/3BEF: DA PHX C1/3BF0: A23800 LDX #$0038 C1/3BF3: 8E3882 STX $8238 C1/3BF6: A25F12 LDX #$125F C1/3BF9: 20293D JSR $3D29 C1/3BFC: FA PLX C1/3BFD: 8E3882 STX $8238 C1/3C00: AB PLB C1/3C01: 28 PLP C1/3C02: 2B PLD C1/3C03: 60 RTS C1/3C04: 0B PHD C1/3C05: 08 PHP C1/3C06: C230 REP #$30 C1/3C08: 48 PHA C1/3C09: 3B TSC C1/3C0A: 38 SEC C1/3C0B: E90500 SBC #$0005 C1/3C0E: 5B TCD C1/3C0F: 1B TCS C1/3C10: A306 LDA $06,S C1/3C12: E220 SEP #$20 C1/3C14: 8B PHB C1/3C15: 48 PHA C1/3C16: A97E LDA #$7E C1/3C18: 48 PHA C1/3C19: AB PLB C1/3C1A: 68 PLA C1/3C1B: 8502 STA $02 C1/3C1D: 6403 STZ $03 C1/3C1F: A901 LDA #$01 C1/3C21: 8507 STA $07 C1/3C23: AE3882 LDX $8238 C1/3C26: 8604 STX $04 C1/3C28: A9F0 LDA #$F0 C1/3C2A: 38 SEC C1/3C2B: ED3882 SBC $8238 C1/3C2E: 8501 STA $01 C1/3C30: A502 LDA $02 C1/3C32: 8506 STA $06 C1/3C34: BD3A82 LDA $823A,X C1/3C37: D006 BNE $3C3F C1/3C39: C606 DEC $06 C1/3C3B: F012 BEQ $3C4F C1/3C3D: 8006 BRA $3C45 C1/3C3F: A502 LDA $02 C1/3C41: 8506 STA $06 C1/3C43: 8604 STX $04 C1/3C45: E8 INX C1/3C46: C601 DEC $01 C1/3C48: D0EA BNE $3C34 C1/3C4A: A20000 LDX #$0000 C1/3C4D: 805D BRA $3CAC C1/3C4F: A9F0 LDA #$F0 C1/3C51: 38 SEC C1/3C52: E501 SBC $01 C1/3C54: CD3682 CMP $8236 C1/3C57: F005 BEQ $3C5E C1/3C59: 9003 BCC $3C5E C1/3C5B: 8D3682 STA $8236 C1/3C5E: C220 REP #$20 C1/3C60: A504 LDA $04 C1/3C62: CD3882 CMP $8238 C1/3C65: D01B BNE $3C82 C1/3C67: 18 CLC C1/3C68: 6502 ADC $02 C1/3C6A: A8 TAY C1/3C6B: E220 SEP #$20 C1/3C6D: B93A82 LDA $823A,Y C1/3C70: F008 BEQ $3C7A C1/3C72: C8 INY C1/3C73: C601 DEC $01 C1/3C75: D0F6 BNE $3C6D C1/3C77: A00000 LDY #$0000 C1/3C7A: 8C3882 STY $8238 C1/3C7D: C220 REP #$20 C1/3C7F: A504 LDA $04 C1/3C81: 3A DEC A C1/3C82: 1A INC A C1/3C83: AA TAX C1/3C84: 8504 STA $04 C1/3C86: E220 SEP #$20 C1/3C88: A502 LDA $02 C1/3C8A: 8501 STA $01 C1/3C8C: A501 LDA $01 C1/3C8E: 9D3A82 STA $823A,X C1/3C91: A507 LDA $07 C1/3C93: 9D2A83 STA $832A,X C1/3C96: E8 INX C1/3C97: C601 DEC $01 C1/3C99: D0F1 BNE $3C8C C1/3C9B: C220 REP #$20 C1/3C9D: A504 LDA $04 C1/3C9F: 0A ASL A C1/3CA0: 0A ASL A C1/3CA1: 0A ASL A C1/3CA2: 0A ASL A C1/3CA3: 0A ASL A C1/3CA4: 0A ASL A C1/3CA5: 18 CLC C1/3CA6: 690082 ADC #$8200 C1/3CA9: AA TAX C1/3CAA: E220 SEP #$20 C1/3CAC: AB PLB C1/3CAD: C220 REP #$20 C1/3CAF: 3B TSC C1/3CB0: 18 CLC C1/3CB1: 690700 ADC #$0007 C1/3CB4: 1B TCS C1/3CB5: 28 PLP C1/3CB6: 2B PLD C1/3CB7: 60 RTS C1/3CB8: 0B PHD C1/3CB9: 08 PHP C1/3CBA: C220 REP #$20 C1/3CBC: 3B TSC C1/3CBD: 38 SEC C1/3CBE: E90600 SBC #$0006 C1/3CC1: 5B TCD C1/3CC2: 1B TCS C1/3CC3: 8602 STX $02 C1/3CC5: 8A TXA C1/3CC6: F058 BEQ $3D20 C1/3CC8: 38 SEC C1/3CC9: E90082 SBC #$8200 C1/3CCC: 293F00 AND #$003F C1/3CCF: D04F BNE $3D20 C1/3CD1: A502 LDA $02 C1/3CD3: 38 SEC C1/3CD4: E90082 SBC #$8200 C1/3CD7: 4A LSR A C1/3CD8: 4A LSR A C1/3CD9: 4A LSR A C1/3CDA: 4A LSR A C1/3CDB: 4A LSR A C1/3CDC: 4A LSR A C1/3CDD: E220 SEP #$20 C1/3CDF: 8501 STA $01 C1/3CE1: C220 REP #$20 C1/3CE3: 29FF00 AND #$00FF C1/3CE6: AA TAX C1/3CE7: E220 SEP #$20 C1/3CE9: BD3A82 LDA $823A,X C1/3CEC: 8504 STA $04 C1/3CEE: F02E BEQ $3D1E C1/3CF0: BD3A82 LDA $823A,X C1/3CF3: 8506 STA $06 C1/3CF5: DA PHX C1/3CF6: 9E3A82 STZ $823A,X C1/3CF9: 9E2A83 STZ $832A,X C1/3CFC: E8 INX C1/3CFD: C606 DEC $06 C1/3CFF: D0F5 BNE $3CF6 C1/3D01: FA PLX C1/3D02: A504 LDA $04 C1/3D04: CA DEX C1/3D05: BD3A82 LDA $823A,X C1/3D08: 38 SEC C1/3D09: E504 SBC $04 C1/3D0B: F007 BEQ $3D14 C1/3D0D: 9005 BCC $3D14 C1/3D0F: 9D3A82 STA $823A,X C1/3D12: 80F0 BRA $3D04 C1/3D14: A501 LDA $01 C1/3D16: CD3882 CMP $8238 C1/3D19: B003 BCS $3D1E C1/3D1B: 8D3882 STA $8238 C1/3D1E: C220 REP #$20 C1/3D20: 3B TSC C1/3D21: 18 CLC C1/3D22: 690600 ADC #$0006 C1/3D25: 1B TCS C1/3D26: 28 PLP C1/3D27: 2B PLD C1/3D28: 60 RTS C1/3D29: 0B PHD C1/3D2A: 08 PHP C1/3D2B: C220 REP #$20 C1/3D2D: E220 SEP #$20 C1/3D2F: 8B PHB C1/3D30: A97E LDA #$7E C1/3D32: 48 PHA C1/3D33: AB PLB C1/3D34: C220 REP #$20 C1/3D36: 8A TXA C1/3D37: 18 CLC C1/3D38: 693F00 ADC #$003F C1/3D3B: 4A LSR A C1/3D3C: 4A LSR A C1/3D3D: 4A LSR A C1/3D3E: 4A LSR A C1/3D3F: 4A LSR A C1/3D40: 4A LSR A C1/3D41: 20043C JSR $3C04 C1/3D44: AB PLB C1/3D45: 28 PLP C1/3D46: 2B PLD C1/3D47: 60 RTS C1/3D48: 0B PHD C1/3D49: 08 PHP C1/3D4A: C230 REP #$30 C1/3D4C: 48 PHA C1/3D4D: 3B TSC C1/3D4E: 38 SEC C1/3D4F: E90300 SBC #$0003 C1/3D52: 5B TCD C1/3D53: 1B TCS C1/3D54: A304 LDA $04,S C1/3D56: E220 SEP #$20 C1/3D58: 8B PHB C1/3D59: 48 PHA C1/3D5A: A97E LDA #$7E C1/3D5C: 48 PHA C1/3D5D: AB PLB C1/3D5E: 68 PLA C1/3D5F: 8501 STA $01 C1/3D61: 8604 STX $04 C1/3D63: 20293D JSR $3D29 C1/3D66: 8602 STX $02 C1/3D68: A501 LDA $01 C1/3D6A: A404 LDY $04 C1/3D6C: 203847 JSR $4738 C1/3D6F: A602 LDX $02 C1/3D71: AB PLB C1/3D72: C220 REP #$20 C1/3D74: 3B TSC C1/3D75: 18 CLC C1/3D76: 690500 ADC #$0005 C1/3D79: 1B TCS C1/3D7A: 28 PLP C1/3D7B: 2B PLD C1/3D7C: 60 RTS C1/3D7D: 0B PHD C1/3D7E: 08 PHP C1/3D7F: C220 REP #$20 C1/3D81: E220 SEP #$20 C1/3D83: 8B PHB C1/3D84: A97E LDA #$7E C1/3D86: 48 PHA C1/3D87: AB PLB C1/3D88: 20B83C JSR $3CB8 C1/3D8B: AB PLB C1/3D8C: 28 PLP C1/3D8D: 2B PLD C1/3D8E: 60 RTS C1/3D8F: 0B PHD C1/3D90: 08 PHP C1/3D91: C230 REP #$30 C1/3D93: 48 PHA C1/3D94: 3B TSC C1/3D95: 38 SEC C1/3D96: E90200 SBC #$0002 C1/3D99: 5B TCD C1/3D9A: 1B TCS C1/3D9B: A303 LDA $03,S C1/3D9D: E220 SEP #$20 C1/3D9F: 8B PHB C1/3DA0: 48 PHA C1/3DA1: A97E LDA #$7E C1/3DA3: 48 PHA C1/3DA4: AB PLB C1/3DA5: 68 PLA C1/3DA6: 48 PHA C1/3DA7: 2902 AND #$02 C1/3DA9: 8D2184 STA $8421 C1/3DAC: 68 PLA C1/3DAD: 2901 AND #$01 C1/3DAF: 8D2084 STA $8420 C1/3DB2: EB XBA C1/3DB3: 8503 STA $03 C1/3DB5: 9C2284 STZ $8422 C1/3DB8: A900 LDA #$00 C1/3DBA: A20004 LDX #$0400 C1/3DBD: 20483D JSR $3D48 C1/3DC0: 8E1A84 STX $841A C1/3DC3: A20008 LDX #$0800 C1/3DC6: 8E1E84 STX $841E C1/3DC9: A900 LDA #$00 C1/3DCB: A20001 LDX #$0100 C1/3DCE: 20483D JSR $3D48 C1/3DD1: 8E1C84 STX $841C C1/3DD4: AE1A84 LDX $841A C1/3DD7: A940 LDA #$40 C1/3DD9: 8501 STA $01 C1/3DDB: DA PHX C1/3DDC: C220 REP #$20 C1/3DDE: A9F0FF LDA #$FFF0 C1/3DE1: 9D0200 STA $0002,X C1/3DE4: 9E0400 STZ $0004,X C1/3DE7: E220 SEP #$20 C1/3DE9: A940 LDA #$40 C1/3DEB: 38 SEC C1/3DEC: E501 SBC $01 C1/3DEE: 9D0A00 STA $000A,X C1/3DF1: A503 LDA $03 C1/3DF3: 4A LSR A C1/3DF4: 4A LSR A C1/3DF5: 9D0B00 STA $000B,X C1/3DF8: 9E0800 STZ $0008,X C1/3DFB: 209C3E JSR $3E9C C1/3DFE: FA PLX C1/3DFF: 18 CLC C1/3E00: C220 REP #$20 C1/3E02: 8A TXA C1/3E03: 691000 ADC #$0010 C1/3E06: AA TAX C1/3E07: E220 SEP #$20 C1/3E09: C601 DEC $01 C1/3E0B: D0CE BNE $3DDB C1/3E0D: AE1C84 LDX $841C C1/3E10: AC1A84 LDY $841A C1/3E13: C220 REP #$20 C1/3E15: A91000 LDA #$0010 C1/3E18: 8501 STA $01 C1/3E1A: 98 TYA C1/3E1B: 9D0000 STA $0000,X C1/3E1E: A8 TAY C1/3E1F: 8A TXA C1/3E20: 990C00 STA $000C,Y C1/3E23: 18 CLC C1/3E24: 98 TYA C1/3E25: 691000 ADC #$0010 C1/3E28: A8 TAY C1/3E29: 9D0200 STA $0002,X C1/3E2C: 8A TXA C1/3E2D: 990C00 STA $000C,Y C1/3E30: 18 CLC C1/3E31: 98 TYA C1/3E32: 691000 ADC #$0010 C1/3E35: A8 TAY C1/3E36: 9D0400 STA $0004,X C1/3E39: 8A TXA C1/3E3A: 990C00 STA $000C,Y C1/3E3D: 18 CLC C1/3E3E: 98 TYA C1/3E3F: 691000 ADC #$0010 C1/3E42: A8 TAY C1/3E43: 9D0600 STA $0006,X C1/3E46: 8A TXA C1/3E47: 990C00 STA $000C,Y C1/3E4A: 18 CLC C1/3E4B: 98 TYA C1/3E4C: 691000 ADC #$0010 C1/3E4F: A8 TAY C1/3E50: E220 SEP #$20 C1/3E52: A910 LDA #$10 C1/3E54: 38 SEC C1/3E55: E501 SBC $01 C1/3E57: 0A ASL A C1/3E58: 0A ASL A C1/3E59: 9D0900 STA $0009,X C1/3E5C: 0A ASL A C1/3E5D: 9D0A00 STA $000A,X C1/3E60: A503 LDA $03 C1/3E62: 9D0B00 STA $000B,X C1/3E65: C220 REP #$20 C1/3E67: 18 CLC C1/3E68: 8A TXA C1/3E69: 691000 ADC #$0010 C1/3E6C: AA TAX C1/3E6D: C601 DEC $01 C1/3E6F: D0A9 BNE $3E1A C1/3E71: AB PLB C1/3E72: E220 SEP #$20 C1/3E74: 68 PLA C1/3E75: 68 PLA C1/3E76: 68 PLA C1/3E77: 68 PLA C1/3E78: 28 PLP C1/3E79: 2B PLD C1/3E7A: 60 RTS C1/3E7B: 0B PHD C1/3E7C: 08 PHP C1/3E7D: C220 REP #$20 C1/3E7F: E220 SEP #$20 C1/3E81: 8B PHB C1/3E82: A97E LDA #$7E C1/3E84: 48 PHA C1/3E85: AB PLB C1/3E86: AE1A84 LDX $841A C1/3E89: 207D3D JSR $3D7D C1/3E8C: AE1C84 LDX $841C C1/3E8F: 207D3D JSR $3D7D C1/3E92: AE1E84 LDX $841E C1/3E95: 207D3D JSR $3D7D C1/3E98: AB PLB C1/3E99: 28 PLP C1/3E9A: 2B PLD C1/3E9B: 60 RTS C1/3E9C: 0B PHD C1/3E9D: 08 PHP C1/3E9E: C220 REP #$20 C1/3EA0: 8B PHB C1/3EA1: DA PHX C1/3EA2: 3B TSC C1/3EA3: 5B TCD C1/3EA4: E220 SEP #$20 C1/3EA6: 9B TXY C1/3EA7: BD0A00 LDA $000A,X C1/3EAA: 8501 STA $01 C1/3EAC: C220 REP #$20 C1/3EAE: 29FF00 AND #$00FF C1/3EB1: 0A ASL A C1/3EB2: 0A ASL A C1/3EB3: 18 CLC C1/3EB4: 6D1E84 ADC $841E C1/3EB7: AA TAX C1/3EB8: B90800 LDA $0008,Y C1/3EBB: 29FF00 AND #$00FF C1/3EBE: F018 BEQ $3ED8 C1/3EC0: B90200 LDA $0002,Y C1/3EC3: 18 CLC C1/3EC4: 691000 ADC #$0010 C1/3EC7: C9F000 CMP #$00F0 C1/3ECA: B00C BCS $3ED8 C1/3ECC: B90400 LDA $0004,Y C1/3ECF: 18 CLC C1/3ED0: 691000 ADC #$0010 C1/3ED3: C91001 CMP #$0110 C1/3ED6: 900A BCC $3EE2 C1/3ED8: E220 SEP #$20 C1/3EDA: A9F0 LDA #$F0 C1/3EDC: 9D0100 STA $0001,X C1/3EDF: 4C6B3F JMP $3F6B C1/3EE2: E220 SEP #$20 C1/3EE4: B90B00 LDA $000B,Y C1/3EE7: 2903 AND #$03 C1/3EE9: 0A ASL A C1/3EEA: 0A ASL A C1/3EEB: 0A ASL A C1/3EEC: 48 PHA C1/3EED: B90100 LDA $0001,Y C1/3EF0: 2907 AND #$07 C1/3EF2: 0301 ORA $01,S C1/3EF4: 0A ASL A C1/3EF5: 8301 STA $01,S C1/3EF7: B90700 LDA $0007,Y C1/3EFA: 2901 AND #$01 C1/3EFC: 0301 ORA $01,S C1/3EFE: 8301 STA $01,S C1/3F00: B90000 LDA $0000,Y C1/3F03: 29C0 AND #$C0 C1/3F05: 0301 ORA $01,S C1/3F07: 9D0300 STA $0003,X C1/3F0A: B90600 LDA $0006,Y C1/3F0D: 9D0200 STA $0002,X C1/3F10: B90200 LDA $0002,Y C1/3F13: 9D0100 STA $0001,X C1/3F16: B90400 LDA $0004,Y C1/3F19: 9D0000 STA $0000,X C1/3F1C: AD2184 LDA $8421 C1/3F1F: D049 BNE $3F6A C1/3F21: B90000 LDA $0000,Y C1/3F24: 2902 AND #$02 C1/3F26: 8301 STA $01,S C1/3F28: B90500 LDA $0005,Y C1/3F2B: 2901 AND #$01 C1/3F2D: 0301 ORA $01,S C1/3F2F: 8301 STA $01,S C1/3F31: A501 LDA $01 C1/3F33: 2903 AND #$03 C1/3F35: 1A INC A C1/3F36: 8502 STA $02 C1/3F38: A903 LDA #$03 C1/3F3A: 8503 STA $03 C1/3F3C: 68 PLA C1/3F3D: C602 DEC $02 C1/3F3F: F008 BEQ $3F49 C1/3F41: 0A ASL A C1/3F42: 0A ASL A C1/3F43: 0603 ASL $03 C1/3F45: 0603 ASL $03 C1/3F47: 80F4 BRA $3F3D C1/3F49: 48 PHA C1/3F4A: A503 LDA $03 C1/3F4C: 49FF EOR #$FF C1/3F4E: 8503 STA $03 C1/3F50: A501 LDA $01 C1/3F52: 4A LSR A C1/3F53: 4A LSR A C1/3F54: C220 REP #$20 C1/3F56: 291F00 AND #$001F C1/3F59: 18 CLC C1/3F5A: 6D1E84 ADC $841E C1/3F5D: AA TAX C1/3F5E: E220 SEP #$20 C1/3F60: BD0002 LDA $0200,X C1/3F63: 2503 AND $03 C1/3F65: 0301 ORA $01,S C1/3F67: 9D0002 STA $0200,X C1/3F6A: 68 PLA C1/3F6B: 68 PLA C1/3F6C: 68 PLA C1/3F6D: 68 PLA C1/3F6E: 28 PLP C1/3F6F: 2B PLD C1/3F70: 60 RTS C1/3F71: 0B PHD C1/3F72: 08 PHP C1/3F73: C230 REP #$30 C1/3F75: 48 PHA C1/3F76: 3B TSC C1/3F77: 1A INC A C1/3F78: 5B TCD C1/3F79: 68 PLA C1/3F7A: 8B PHB C1/3F7B: E220 SEP #$20 C1/3F7D: AE1A84 LDX $841A C1/3F80: F04A BEQ $3FCC C1/3F82: 8501 STA $01 C1/3F84: 18 CLC C1/3F85: C220 REP #$20 C1/3F87: 8A TXA C1/3F88: 690004 ADC #$0400 C1/3F8B: AA TAX C1/3F8C: E220 SEP #$20 C1/3F8E: A04000 LDY #$0040 C1/3F91: 38 SEC C1/3F92: C220 REP #$20 C1/3F94: 8A TXA C1/3F95: E91000 SBC #$0010 C1/3F98: AA TAX C1/3F99: E220 SEP #$20 C1/3F9B: BD0800 LDA $0008,X C1/3F9E: D007 BNE $3FA7 C1/3FA0: BD0B00 LDA $000B,X C1/3FA3: C501 CMP $01 C1/3FA5: F025 BEQ $3FCC C1/3FA7: 88 DEY C1/3FA8: D0E7 BNE $3F91 C1/3FAA: 18 CLC C1/3FAB: C220 REP #$20 C1/3FAD: 8A TXA C1/3FAE: 690004 ADC #$0400 C1/3FB1: AA TAX C1/3FB2: E220 SEP #$20 C1/3FB4: A04000 LDY #$0040 C1/3FB7: 38 SEC C1/3FB8: C220 REP #$20 C1/3FBA: 8A TXA C1/3FBB: E91000 SBC #$0010 C1/3FBE: AA TAX C1/3FBF: E220 SEP #$20 C1/3FC1: BD0800 LDA $0008,X C1/3FC4: F006 BEQ $3FCC C1/3FC6: 88 DEY C1/3FC7: D0EE BNE $3FB7 C1/3FC9: A20000 LDX #$0000 C1/3FCC: 68 PLA C1/3FCD: 28 PLP C1/3FCE: 2B PLD C1/3FCF: 60 RTS C1/3FD0: 0B PHD C1/3FD1: 08 PHP C1/3FD2: C230 REP #$30 C1/3FD4: 48 PHA C1/3FD5: 3B TSC C1/3FD6: 1A INC A C1/3FD7: 5B TCD C1/3FD8: 68 PLA C1/3FD9: 8B PHB C1/3FDA: E220 SEP #$20 C1/3FDC: AE1C84 LDX $841C C1/3FDF: F04A BEQ $402B C1/3FE1: 8501 STA $01 C1/3FE3: 18 CLC C1/3FE4: C220 REP #$20 C1/3FE6: 8A TXA C1/3FE7: 690001 ADC #$0100 C1/3FEA: AA TAX C1/3FEB: E220 SEP #$20 C1/3FED: A01000 LDY #$0010 C1/3FF0: 38 SEC C1/3FF1: C220 REP #$20 C1/3FF3: 8A TXA C1/3FF4: E91000 SBC #$0010 C1/3FF7: AA TAX C1/3FF8: E220 SEP #$20 C1/3FFA: BD0800 LDA $0008,X C1/3FFD: D007 BNE $4006 C1/3FFF: BD0B00 LDA $000B,X C1/4002: C501 CMP $01 C1/4004: F025 BEQ $402B C1/4006: 88 DEY C1/4007: D0E7 BNE $3FF0 C1/4009: 18 CLC C1/400A: C220 REP #$20 C1/400C: 8A TXA C1/400D: 690001 ADC #$0100 C1/4010: AA TAX C1/4011: E220 SEP #$20 C1/4013: A01000 LDY #$0010 C1/4016: 38 SEC C1/4017: C220 REP #$20 C1/4019: 8A TXA C1/401A: E91000 SBC #$0010 C1/401D: AA TAX C1/401E: E220 SEP #$20 C1/4020: BD0800 LDA $0008,X C1/4023: F006 BEQ $402B C1/4025: 88 DEY C1/4026: D0EE BNE $4016 C1/4028: A20000 LDX #$0000 C1/402B: 68 PLA C1/402C: 28 PLP C1/402D: 2B PLD C1/402E: 60 RTS C1/402F: 0B PHD C1/4030: 08 PHP C1/4031: C230 REP #$30 C1/4033: 48 PHA C1/4034: 3B TSC C1/4035: 5B TCD C1/4036: 68 PLA C1/4037: DA PHX C1/4038: E220 SEP #$20 C1/403A: 8B PHB C1/403B: 48 PHA C1/403C: A97E LDA #$7E C1/403E: 48 PHA C1/403F: AB PLB C1/4040: 68 PLA C1/4041: 8502 STA $02 C1/4043: AD2084 LDA $8420 C1/4046: F016 BEQ $405E C1/4048: A502 LDA $02 C1/404A: 20713F JSR $3F71 C1/404D: E00000 CPX #$0000 C1/4050: F038 BEQ $408A C1/4052: A901 LDA #$01 C1/4054: 9D0800 STA $0008,X C1/4057: A502 LDA $02 C1/4059: 9D0B00 STA $000B,X C1/405C: 802C BRA $408A C1/405E: A502 LDA $02 C1/4060: 20D03F JSR $3FD0 C1/4063: E00000 CPX #$0000 C1/4066: F022 BEQ $408A C1/4068: A901 LDA #$01 C1/406A: 9D0800 STA $0008,X C1/406D: A502 LDA $02 C1/406F: 9D0B00 STA $000B,X C1/4072: A904 LDA #$04 C1/4074: 8501 STA $01 C1/4076: BC0000 LDY $0000,X C1/4079: A901 LDA #$01 C1/407B: 990800 STA $0008,Y C1/407E: A502 LDA $02 C1/4080: 990B00 STA $000B,Y C1/4083: E8 INX C1/4084: E8 INX C1/4085: C601 DEC $01 C1/4087: D0ED BNE $4076 C1/4089: FA PLX C1/408A: AB PLB C1/408B: 68 PLA C1/408C: 68 PLA C1/408D: 28 PLP C1/408E: 2B PLD C1/408F: 60 RTS C1/4090: 0B PHD C1/4091: 08 PHP C1/4092: C220 REP #$20 C1/4094: E220 SEP #$20 C1/4096: 8B PHB C1/4097: A97E LDA #$7E C1/4099: 48 PHA C1/409A: AB PLB C1/409B: C220 REP #$20 C1/409D: A9F0FF LDA #$FFF0 C1/40A0: 9D0200 STA $0002,X C1/40A3: 9E0400 STZ $0004,X C1/40A6: BD0A00 LDA $000A,X C1/40A9: 29FF00 AND #$00FF C1/40AC: 0A ASL A C1/40AD: 0A ASL A C1/40AE: 18 CLC C1/40AF: 6D1E84 ADC $841E C1/40B2: AA TAX C1/40B3: E220 SEP #$20 C1/40B5: A9F0 LDA #$F0 C1/40B7: 9D0100 STA $0001,X C1/40BA: AB PLB C1/40BB: 28 PLP C1/40BC: 2B PLD C1/40BD: 60 RTS C1/40BE: 0B PHD C1/40BF: 08 PHP C1/40C0: C220 REP #$20 C1/40C2: A9F0FF LDA #$FFF0 C1/40C5: 9D0200 STA $0002,X C1/40C8: 9E0400 STZ $0004,X C1/40CB: 9E0800 STZ $0008,X C1/40CE: BD0A00 LDA $000A,X C1/40D1: 29FF00 AND #$00FF C1/40D4: 0A ASL A C1/40D5: 0A ASL A C1/40D6: 18 CLC C1/40D7: 6D1E84 ADC $841E C1/40DA: AA TAX C1/40DB: E220 SEP #$20 C1/40DD: A9F0 LDA #$F0 C1/40DF: 9D0100 STA $0001,X C1/40E2: 28 PLP C1/40E3: 2B PLD C1/40E4: 60 RTS C1/40E5: 0B PHD C1/40E6: 08 PHP C1/40E7: C220 REP #$20 C1/40E9: 8B PHB C1/40EA: 3B TSC C1/40EB: 5B TCD C1/40EC: E220 SEP #$20 C1/40EE: 8B PHB C1/40EF: A97E LDA #$7E C1/40F1: 48 PHA C1/40F2: AB PLB C1/40F3: AD2084 LDA $8420 C1/40F6: F005 BEQ $40FD C1/40F8: 20BE40 JSR $40BE C1/40FB: 8016 BRA $4113 C1/40FD: 9E0800 STZ $0008,X C1/4100: 9B TXY C1/4101: A904 LDA #$04 C1/4103: 8501 STA $01 C1/4105: 5A PHY C1/4106: BE0000 LDX $0000,Y C1/4109: 20BE40 JSR $40BE C1/410C: 7A PLY C1/410D: C8 INY C1/410E: C8 INY C1/410F: C601 DEC $01 C1/4111: D0F2 BNE $4105 C1/4113: AB PLB C1/4114: 68 PLA C1/4115: 28 PLP C1/4116: 2B PLD C1/4117: 60 RTS C1/4118: 0B PHD C1/4119: 08 PHP C1/411A: C220 REP #$20 C1/411C: E220 SEP #$20 C1/411E: 8B PHB C1/411F: A97E LDA #$7E C1/4121: 48 PHA C1/4122: AB PLB C1/4123: 209C3E JSR $3E9C C1/4126: AB PLB C1/4127: 28 PLP C1/4128: 2B PLD C1/4129: 60 RTS C1/412A: 0B PHD C1/412B: 08 PHP C1/412C: C220 REP #$20 C1/412E: E220 SEP #$20 C1/4130: 8B PHB C1/4131: A97E LDA #$7E C1/4133: 48 PHA C1/4134: AB PLB C1/4135: AE1E84 LDX $841E C1/4138: F023 BEQ $415D C1/413A: A9FF LDA #$FF C1/413C: EB XBA C1/413D: A904 LDA #$04 C1/413F: 209628 JSR $2896 C1/4142: A97E LDA #$7E C1/4144: 9D0400 STA $0004,X C1/4147: C220 REP #$20 C1/4149: AD1E84 LDA $841E C1/414C: 9D0200 STA $0002,X C1/414F: A92002 LDA #$0220 C1/4152: 9D0500 STA $0005,X C1/4155: 9E0A00 STZ $000A,X C1/4158: E220 SEP #$20 C1/415A: 209729 JSR $2997 C1/415D: AB PLB C1/415E: 28 PLP C1/415F: 2B PLD C1/4160: 60 RTS C1/4161: 0B PHD C1/4162: 08 PHP C1/4163: C220 REP #$20 C1/4165: E220 SEP #$20 C1/4167: 8B PHB C1/4168: A97E LDA #$7E C1/416A: 48 PHA C1/416B: AB PLB C1/416C: C220 REP #$20 C1/416E: A20004 LDX #$0400 C1/4171: A90000 LDA #$0000 C1/4174: 20483D JSR $3D48 C1/4177: 8E2484 STX $8424 C1/417A: A01000 LDY #$0010 C1/417D: A90080 LDA #$8000 C1/4180: 9D0000 STA $0000,X C1/4183: 18 CLC C1/4184: 8A TXA C1/4185: 692000 ADC #$0020 C1/4188: AA TAX C1/4189: 88 DEY C1/418A: D0F1 BNE $417D C1/418C: AB PLB C1/418D: 28 PLP C1/418E: 2B PLD C1/418F: 60 RTS C1/4190: 0B PHD C1/4191: 08 PHP C1/4192: C220 REP #$20 C1/4194: E220 SEP #$20 C1/4196: 8B PHB C1/4197: A97E LDA #$7E C1/4199: 48 PHA C1/419A: AB PLB C1/419B: AE2484 LDX $8424 C1/419E: 207D3D JSR $3D7D C1/41A1: AB PLB C1/41A2: 28 PLP C1/41A3: 2B PLD C1/41A4: 60 RTS C1/41A5: 0B PHD C1/41A6: 08 PHP C1/41A7: C230 REP #$30 C1/41A9: E220 SEP #$20 C1/41AB: 8B PHB C1/41AC: 48 PHA C1/41AD: A97E LDA #$7E C1/41AF: 48 PHA C1/41B0: AB PLB C1/41B1: 68 PLA C1/41B2: C220 REP #$20 C1/41B4: 290F00 AND #$000F C1/41B7: 0A ASL A C1/41B8: 0A ASL A C1/41B9: 0A ASL A C1/41BA: 0A ASL A C1/41BB: 0A ASL A C1/41BC: 18 CLC C1/41BD: 6D2484 ADC $8424 C1/41C0: AA TAX C1/41C1: A00800 LDY #$0008 C1/41C4: A90080 LDA #$8000 C1/41C7: 3C0000 BIT $0000,X C1/41CA: D00E BNE $41DA C1/41CC: 18 CLC C1/41CD: 8A TXA C1/41CE: 692000 ADC #$0020 C1/41D1: AA TAX C1/41D2: 88 DEY C1/41D3: D0EF BNE $41C4 C1/41D5: A20000 LDX #$0000 C1/41D8: 8003 BRA $41DD C1/41DA: 9E0000 STZ $0000,X C1/41DD: AB PLB C1/41DE: 28 PLP C1/41DF: 2B PLD C1/41E0: 60 RTS C1/41E1: 0B PHD C1/41E2: 08 PHP C1/41E3: C220 REP #$20 C1/41E5: E220 SEP #$20 C1/41E7: 8B PHB C1/41E8: A97E LDA #$7E C1/41EA: 48 PHA C1/41EB: AB PLB C1/41EC: C220 REP #$20 C1/41EE: A90080 LDA #$8000 C1/41F1: 9D0000 STA $0000,X C1/41F4: AB PLB C1/41F5: 28 PLP C1/41F6: 2B PLD C1/41F7: 60 RTS C1/41F8: 0B PHD C1/41F9: 08 PHP C1/41FA: C220 REP #$20 C1/41FC: DA PHX C1/41FD: 3B TSC C1/41FE: 5B TCD C1/41FF: E220 SEP #$20 C1/4201: 8B PHB C1/4202: A97E LDA #$7E C1/4204: 48 PHA C1/4205: AB PLB C1/4206: C220 REP #$20 C1/4208: 8601 STX $01 C1/420A: 9E0000 STZ $0000,X C1/420D: A90200 LDA #$0002 C1/4210: 209628 JSR $2896 C1/4213: A92000 LDA #$0020 C1/4216: 9D0500 STA $0005,X C1/4219: A501 LDA $01 C1/421B: 9D0200 STA $0002,X C1/421E: A501 LDA $01 C1/4220: 38 SEC C1/4221: ED2484 SBC $8424 C1/4224: 4A LSR A C1/4225: E220 SEP #$20 C1/4227: 48 PHA C1/4228: 9D0A00 STA $000A,X C1/422B: A97E LDA #$7E C1/422D: 9D0400 STA $0004,X C1/4230: 209729 JSR $2997 C1/4233: 68 PLA C1/4234: 4A LSR A C1/4235: 4A LSR A C1/4236: 4A LSR A C1/4237: 4A LSR A C1/4238: AB PLB C1/4239: 8302 STA $02,S C1/423B: 68 PLA C1/423C: 68 PLA C1/423D: 28 PLP C1/423E: 2B PLD C1/423F: 60 RTS C1/4240: 0B PHD C1/4241: 08 PHP C1/4242: C220 REP #$20 C1/4244: DA PHX C1/4245: 3B TSC C1/4246: 5B TCD C1/4247: E220 SEP #$20 C1/4249: 8B PHB C1/424A: A97E LDA #$7E C1/424C: 48 PHA C1/424D: AB PLB C1/424E: C220 REP #$20 C1/4250: 8601 STX $01 C1/4252: A90200 LDA #$0002 C1/4255: 209628 JSR $2896 C1/4258: A92000 LDA #$0020 C1/425B: 9D0500 STA $0005,X C1/425E: A501 LDA $01 C1/4260: 9D0200 STA $0002,X C1/4263: A501 LDA $01 C1/4265: 38 SEC C1/4266: ED2484 SBC $8424 C1/4269: 4A LSR A C1/426A: E220 SEP #$20 C1/426C: 48 PHA C1/426D: 9D0A00 STA $000A,X C1/4270: A97E LDA #$7E C1/4272: 9D0400 STA $0004,X C1/4275: A980 LDA #$80 C1/4277: 9D0000 STA $0000,X C1/427A: A93B LDA #$3B C1/427C: 9D0100 STA $0001,X C1/427F: 209729 JSR $2997 C1/4282: A601 LDX $01 C1/4284: 9E0000 STZ $0000,X C1/4287: 9E0100 STZ $0001,X C1/428A: 68 PLA C1/428B: 4A LSR A C1/428C: 4A LSR A C1/428D: 4A LSR A C1/428E: 4A LSR A C1/428F: AB PLB C1/4290: 8302 STA $02,S C1/4292: 68 PLA C1/4293: 68 PLA C1/4294: 28 PLP C1/4295: 2B PLD C1/4296: 60 RTS C1/4297: 0B PHD C1/4298: 08 PHP C1/4299: C230 REP #$30 C1/429B: 48 PHA C1/429C: 3B TSC C1/429D: 38 SEC C1/429E: E90500 SBC #$0005 C1/42A1: 5B TCD C1/42A2: 1B TCS C1/42A3: A306 LDA $06,S C1/42A5: E220 SEP #$20 C1/42A7: 8B PHB C1/42A8: 48 PHA C1/42A9: A97E LDA #$7E C1/42AB: 48 PHA C1/42AC: AB PLB C1/42AD: 68 PLA C1/42AE: 8501 STA $01 C1/42B0: EB XBA C1/42B1: 8505 STA $05 C1/42B3: EB XBA C1/42B4: 8403 STY $03 C1/42B6: 8606 STX $06 C1/42B8: C220 REP #$20 C1/42BA: 29F000 AND #$00F0 C1/42BD: 4A LSR A C1/42BE: 4A LSR A C1/42BF: 4A LSR A C1/42C0: 18 CLC C1/42C1: 6506 ADC $06 C1/42C3: AA TAX C1/42C4: A501 LDA $01 C1/42C6: 290F00 AND #$000F C1/42C9: 1A INC A C1/42CA: 8501 STA $01 C1/42CC: A00000 LDY #$0000 C1/42CF: B703 LDA [$03],Y C1/42D1: 9D0000 STA $0000,X C1/42D4: C8 INY C1/42D5: C8 INY C1/42D6: E8 INX C1/42D7: E8 INX C1/42D8: C601 DEC $01 C1/42DA: D0F3 BNE $42CF C1/42DC: AB PLB C1/42DD: 3B TSC C1/42DE: 18 CLC C1/42DF: 690700 ADC #$0007 C1/42E2: 1B TCS C1/42E3: 28 PLP C1/42E4: 2B PLD C1/42E5: 60 RTS C1/42E6: 0B PHD C1/42E7: 08 PHP C1/42E8: C230 REP #$30 C1/42EA: 48 PHA C1/42EB: 3B TSC C1/42EC: 38 SEC C1/42ED: E90400 SBC #$0004 C1/42F0: 5B TCD C1/42F1: 1B TCS C1/42F2: A305 LDA $05,S C1/42F4: E220 SEP #$20 C1/42F6: 8B PHB C1/42F7: 48 PHA C1/42F8: A97E LDA #$7E C1/42FA: 48 PHA C1/42FB: AB PLB C1/42FC: 68 PLA C1/42FD: C220 REP #$20 C1/42FF: 8601 STX $01 C1/4301: 8505 STA $05 C1/4303: 29FF00 AND #$00FF C1/4306: 8503 STA $03 C1/4308: A505 LDA $05 C1/430A: EB XBA C1/430B: 29FF00 AND #$00FF C1/430E: 38 SEC C1/430F: E503 SBC $03 C1/4311: F021 BEQ $4334 C1/4313: 901F BCC $4334 C1/4315: 8505 STA $05 C1/4317: 0603 ASL $03 C1/4319: 18 CLC C1/431A: 8A TXA C1/431B: 6503 ADC $03 C1/431D: AA TAX C1/431E: BD0000 LDA $0000,X C1/4321: 8503 STA $03 C1/4323: BD0200 LDA $0002,X C1/4326: 9D0000 STA $0000,X C1/4329: E8 INX C1/432A: E8 INX C1/432B: C605 DEC $05 C1/432D: D0F4 BNE $4323 C1/432F: A503 LDA $03 C1/4331: 9D0000 STA $0000,X C1/4334: AB PLB C1/4335: 3B TSC C1/4336: 18 CLC C1/4337: 690600 ADC #$0006 C1/433A: 1B TCS C1/433B: 28 PLP C1/433C: 2B PLD C1/433D: 60 RTS C1/433E: 0B PHD C1/433F: 08 PHP C1/4340: C230 REP #$30 C1/4342: 48 PHA C1/4343: 3B TSC C1/4344: 38 SEC C1/4345: E90400 SBC #$0004 C1/4348: 5B TCD C1/4349: 1B TCS C1/434A: A305 LDA $05,S C1/434C: E220 SEP #$20 C1/434E: 8B PHB C1/434F: 48 PHA C1/4350: A97E LDA #$7E C1/4352: 48 PHA C1/4353: AB PLB C1/4354: 68 PLA C1/4355: C220 REP #$20 C1/4357: 8601 STX $01 C1/4359: 8505 STA $05 C1/435B: 29FF00 AND #$00FF C1/435E: 8503 STA $03 C1/4360: A505 LDA $05 C1/4362: EB XBA C1/4363: 29FF00 AND #$00FF C1/4366: 8505 STA $05 C1/4368: 38 SEC C1/4369: E503 SBC $03 C1/436B: F021 BEQ $438E C1/436D: 901F BCC $438E C1/436F: 8503 STA $03 C1/4371: 0605 ASL $05 C1/4373: 18 CLC C1/4374: 8A TXA C1/4375: 6505 ADC $05 C1/4377: AA TAX C1/4378: BD0000 LDA $0000,X C1/437B: 8505 STA $05 C1/437D: CA DEX C1/437E: CA DEX C1/437F: BD0000 LDA $0000,X C1/4382: 9D0200 STA $0002,X C1/4385: C603 DEC $03 C1/4387: D0F4 BNE $437D C1/4389: A505 LDA $05 C1/438B: 9D0000 STA $0000,X C1/438E: AB PLB C1/438F: 3B TSC C1/4390: 18 CLC C1/4391: 690600 ADC #$0006 C1/4394: 1B TCS C1/4395: 28 PLP C1/4396: 2B PLD C1/4397: 60 RTS C1/4398: 0B PHD C1/4399: 08 PHP C1/439A: C220 REP #$20 C1/439C: E220 SEP #$20 C1/439E: 8B PHB C1/439F: A97E LDA #$7E C1/43A1: 48 PHA C1/43A2: AB PLB C1/43A3: C220 REP #$20 C1/43A5: 8A TXA C1/43A6: 38 SEC C1/43A7: ED2484 SBC $8424 C1/43AA: 4A LSR A C1/43AB: 4A LSR A C1/43AC: 4A LSR A C1/43AD: 4A LSR A C1/43AE: 4A LSR A C1/43AF: 290700 AND #$0007 C1/43B2: AB PLB C1/43B3: 28 PLP C1/43B4: 2B PLD C1/43B5: 60 RTS C1/43B6: 0B PHD C1/43B7: 08 PHP C1/43B8: C220 REP #$20 C1/43BA: E220 SEP #$20 C1/43BC: 8B PHB C1/43BD: A97E LDA #$7E C1/43BF: 48 PHA C1/43C0: AB PLB C1/43C1: C220 REP #$20 C1/43C3: 8A TXA C1/43C4: 18 CLC C1/43C5: 690002 ADC #$0200 C1/43C8: A8 TAY C1/43C9: A92000 LDA #$0020 C1/43CC: 206147 JSR $4761 C1/43CF: AB PLB C1/43D0: 28 PLP C1/43D1: 2B PLD C1/43D2: 60 RTS C1/43D3: 0B PHD C1/43D4: 08 PHP C1/43D5: C220 REP #$20 C1/43D7: E220 SEP #$20 C1/43D9: 8B PHB C1/43DA: A97E LDA #$7E C1/43DC: 48 PHA C1/43DD: AB PLB C1/43DE: C220 REP #$20 C1/43E0: 8A TXA C1/43E1: 18 CLC C1/43E2: 690002 ADC #$0200 C1/43E5: 9B TXY C1/43E6: AA TAX C1/43E7: A92000 LDA #$0020 C1/43EA: 206147 JSR $4761 C1/43ED: AB PLB C1/43EE: 28 PLP C1/43EF: 2B PLD C1/43F0: 60 RTS C1/43F1: 0B PHD C1/43F2: 08 PHP C1/43F3: C220 REP #$20 C1/43F5: DA PHX C1/43F6: 3B TSC C1/43F7: 5B TCD C1/43F8: E220 SEP #$20 C1/43FA: 8B PHB C1/43FB: A97E LDA #$7E C1/43FD: 48 PHA C1/43FE: AB PLB C1/43FF: C220 REP #$20 C1/4401: A90000 LDA #$0000 C1/4404: A26000 LDX #$0060 C1/4407: 20483D JSR $3D48 C1/440A: 8E3284 STX $8432 C1/440D: E220 SEP #$20 C1/440F: A90F LDA #$0F C1/4411: 9D0000 STA $0000,X C1/4414: A930 LDA #$30 C1/4416: 9D3000 STA $0030,X C1/4419: A9E0 LDA #$E0 C1/441B: 9D3200 STA $0032,X C1/441E: A20001 LDX #$0100 C1/4421: 20293D JSR $3D29 C1/4424: C220 REP #$20 C1/4426: 8E2684 STX $8426 C1/4429: 8A TXA C1/442A: 18 CLC C1/442B: 690400 ADC #$0004 C1/442E: 8D2884 STA $8428 C1/4431: AA TAX C1/4432: A03E00 LDY #$003E C1/4435: 18 CLC C1/4436: 690400 ADC #$0004 C1/4439: 9D0000 STA $0000,X C1/443C: AA TAX C1/443D: 88 DEY C1/443E: D0F5 BNE $4435 C1/4440: 9E0000 STZ $0000,X C1/4443: 9C2E84 STZ $842E C1/4446: A92E84 LDA #$842E C1/4449: 8D3084 STA $8430 C1/444C: 9C2A84 STZ $842A C1/444F: A92A84 LDA #$842A C1/4452: 8D2C84 STA $842C C1/4455: AB PLB C1/4456: E220 SEP #$20 C1/4458: 68 PLA C1/4459: 68 PLA C1/445A: 28 PLP C1/445B: 2B PLD C1/445C: 60 RTS C1/445D: 0B PHD C1/445E: 08 PHP C1/445F: C220 REP #$20 C1/4461: 3B TSC C1/4462: 38 SEC C1/4463: E90400 SBC #$0004 C1/4466: 5B TCD C1/4467: 1B TCS C1/4468: E220 SEP #$20 C1/446A: 8B PHB C1/446B: A97E LDA #$7E C1/446D: 48 PHA C1/446E: AB PLB C1/446F: A2C2FC LDX #$FCC2 C1/4472: 8602 STX $02 C1/4474: A9DC LDA #$DC C1/4476: 8504 STA $04 C1/4478: A926 LDA #$26 C1/447A: 8501 STA $01 C1/447C: A702 LDA [$02] C1/447E: 20B344 JSR $44B3 C1/4481: A00100 LDY #$0001 C1/4484: B702 LDA [$02],Y C1/4486: 9D0200 STA $0002,X C1/4489: 9E0300 STZ $0003,X C1/448C: 201445 JSR $4514 C1/448F: A602 LDX $02 C1/4491: E8 INX C1/4492: E8 INX C1/4493: 8602 STX $02 C1/4495: C601 DEC $01 C1/4497: D0E3 BNE $447C C1/4499: AB PLB C1/449A: 68 PLA C1/449B: 68 PLA C1/449C: 68 PLA C1/449D: 68 PLA C1/449E: 28 PLP C1/449F: 2B PLD C1/44A0: 60 RTS C1/44A1: 0B PHD C1/44A2: 08 PHP C1/44A3: C220 REP #$20 C1/44A5: E220 SEP #$20 C1/44A7: 8B PHB C1/44A8: A97E LDA #$7E C1/44AA: 48 PHA C1/44AB: AB PLB C1/44AC: AE3284 LDX $8432 C1/44AF: AB PLB C1/44B0: 28 PLP C1/44B1: 2B PLD C1/44B2: 60 RTS C1/44B3: 0B PHD C1/44B4: 08 PHP C1/44B5: C230 REP #$30 C1/44B7: E220 SEP #$20 C1/44B9: 8B PHB C1/44BA: 48 PHA C1/44BB: A97E LDA #$7E C1/44BD: 48 PHA C1/44BE: AB PLB C1/44BF: 68 PLA C1/44C0: C220 REP #$20 C1/44C2: AE2884 LDX $8428 C1/44C5: F02C BEQ $44F3 C1/44C7: 29FF00 AND #$00FF C1/44CA: 48 PHA C1/44CB: BD0000 LDA $0000,X C1/44CE: 8D2884 STA $8428 C1/44D1: 68 PLA C1/44D2: 9D0000 STA $0000,X C1/44D5: 9B TXY C1/44D6: AA TAX C1/44D7: BF8EFCDC LDA $DCFC8E,X C1/44DB: 29FF00 AND #$00FF C1/44DE: F006 BEQ $44E6 C1/44E0: C90100 CMP #$0001 C1/44E3: F001 BEQ $44E6 C1/44E5: AA TAX C1/44E6: 8A TXA C1/44E7: 18 CLC C1/44E8: 6D3284 ADC $8432 C1/44EB: AA TAX C1/44EC: BD0000 LDA $0000,X C1/44EF: 990200 STA $0002,Y C1/44F2: BB TYX C1/44F3: AB PLB C1/44F4: 28 PLP C1/44F5: 2B PLD C1/44F6: 60 RTS C1/44F7: 0B PHD C1/44F8: 08 PHP C1/44F9: C220 REP #$20 C1/44FB: E220 SEP #$20 C1/44FD: 8B PHB C1/44FE: A97E LDA #$7E C1/4500: 48 PHA C1/4501: AB PLB C1/4502: C220 REP #$20 C1/4504: 8A TXA C1/4505: F009 BEQ $4510 C1/4507: AD2884 LDA $8428 C1/450A: 9D0000 STA $0000,X C1/450D: 8E2884 STX $8428 C1/4510: AB PLB C1/4511: 28 PLP C1/4512: 2B PLD C1/4513: 60 RTS C1/4514: 0B PHD C1/4515: 08 PHP C1/4516: C220 REP #$20 C1/4518: E220 SEP #$20 C1/451A: 8B PHB C1/451B: A97E LDA #$7E C1/451D: 48 PHA C1/451E: AB PLB C1/451F: C220 REP #$20 C1/4521: 8A TXA C1/4522: F014 BEQ $4538 C1/4524: 38 SEC C1/4525: ED2684 SBC $8426 C1/4528: E220 SEP #$20 C1/452A: AC3084 LDY $8430 C1/452D: 990100 STA $0001,Y C1/4530: 9E0100 STZ $0001,X C1/4533: C220 REP #$20 C1/4535: 8E3084 STX $8430 C1/4538: AB PLB C1/4539: 28 PLP C1/453A: 2B PLD C1/453B: 60 RTS C1/453C: 0B PHD C1/453D: 08 PHP C1/453E: C220 REP #$20 C1/4540: 3B TSC C1/4541: 38 SEC C1/4542: E90400 SBC #$0004 C1/4545: 5B TCD C1/4546: 1B TCS C1/4547: E220 SEP #$20 C1/4549: 8B PHB C1/454A: A97E LDA #$7E C1/454C: 48 PHA C1/454D: AB PLB C1/454E: C220 REP #$20 C1/4550: A90021 LDA #$2100 C1/4553: 8501 STA $01 C1/4555: A90000 LDA #$0000 C1/4558: 8503 STA $03 C1/455A: A02A84 LDY #$842A C1/455D: B90100 LDA $0001,Y C1/4560: 29FF00 AND #$00FF C1/4563: F033 BEQ $4598 C1/4565: 18 CLC C1/4566: 6D2684 ADC $8426 C1/4569: A8 TAY C1/456A: 48 PHA C1/456B: B90000 LDA $0000,Y C1/456E: 29FF00 AND #$00FF C1/4571: AA TAX C1/4572: B90200 LDA $0002,Y C1/4575: E220 SEP #$20 C1/4577: 9B TXY C1/4578: D009 BNE $4583 C1/457A: AE3284 LDX $8432 C1/457D: 9D0000 STA $0000,X C1/4580: BB TYX C1/4581: 0980 ORA #$80 C1/4583: 9701 STA [$01],Y C1/4585: BF8EFCDC LDA $DCFC8E,X C1/4589: F008 BEQ $4593 C1/458B: C901 CMP #$01 C1/458D: D001 BNE $4590 C1/458F: C8 INY C1/4590: EB XBA C1/4591: 9701 STA [$01],Y C1/4593: 7A PLY C1/4594: C220 REP #$20 C1/4596: 80C5 BRA $455D C1/4598: A02E84 LDY #$842E C1/459B: B90100 LDA $0001,Y C1/459E: 29FF00 AND #$00FF C1/45A1: F033 BEQ $45D6 C1/45A3: 18 CLC C1/45A4: 6D2684 ADC $8426 C1/45A7: A8 TAY C1/45A8: 48 PHA C1/45A9: B90000 LDA $0000,Y C1/45AC: 29FF00 AND #$00FF C1/45AF: AA TAX C1/45B0: B90200 LDA $0002,Y C1/45B3: E220 SEP #$20 C1/45B5: 9B TXY C1/45B6: D009 BNE $45C1 C1/45B8: AE3284 LDX $8432 C1/45BB: 9D0000 STA $0000,X C1/45BE: BB TYX C1/45BF: 0980 ORA #$80 C1/45C1: 9701 STA [$01],Y C1/45C3: BF8EFCDC LDA $DCFC8E,X C1/45C7: F008 BEQ $45D1 C1/45C9: C901 CMP #$01 C1/45CB: D001 BNE $45CE C1/45CD: C8 INY C1/45CE: EB XBA C1/45CF: 9701 STA [$01],Y C1/45D1: 7A PLY C1/45D2: C220 REP #$20 C1/45D4: 80C5 BRA $459B C1/45D6: AB PLB C1/45D7: E220 SEP #$20 C1/45D9: 68 PLA C1/45DA: 68 PLA C1/45DB: 68 PLA C1/45DC: 68 PLA C1/45DD: 28 PLP C1/45DE: 2B PLD C1/45DF: 60 RTS C1/45E0: 0B PHD C1/45E1: 08 PHP C1/45E2: C220 REP #$20 C1/45E4: DA PHX C1/45E5: 3B TSC C1/45E6: 5B TCD C1/45E7: E220 SEP #$20 C1/45E9: 8B PHB C1/45EA: A97E LDA #$7E C1/45EC: 48 PHA C1/45ED: AB PLB C1/45EE: C220 REP #$20 C1/45F0: AD3284 LDA $8432 C1/45F3: 8501 STA $01 C1/45F5: A02A84 LDY #$842A C1/45F8: B90100 LDA $0001,Y C1/45FB: 29FF00 AND #$00FF C1/45FE: F03C BEQ $463C C1/4600: 18 CLC C1/4601: 6D2684 ADC $8426 C1/4604: AA TAX C1/4605: 48 PHA C1/4606: BD0000 LDA $0000,X C1/4609: 29FF00 AND #$00FF C1/460C: A8 TAY C1/460D: BD0200 LDA $0002,X C1/4610: E220 SEP #$20 C1/4612: 9101 STA ($01),Y C1/4614: BB TYX C1/4615: BF8EFCDC LDA $DCFC8E,X C1/4619: F01C BEQ $4637 C1/461B: C901 CMP #$01 C1/461D: D006 BNE $4625 C1/461F: C8 INY C1/4620: EB XBA C1/4621: 9101 STA ($01),Y C1/4623: 8012 BRA $4637 C1/4625: B101 LDA ($01),Y C1/4627: C220 REP #$20 C1/4629: 48 PHA C1/462A: BF8EFCDC LDA $DCFC8E,X C1/462E: 29FF00 AND #$00FF C1/4631: A8 TAY C1/4632: 68 PLA C1/4633: 9101 STA ($01),Y C1/4635: E220 SEP #$20 C1/4637: 7A PLY C1/4638: C220 REP #$20 C1/463A: 80BC BRA $45F8 C1/463C: A02E84 LDY #$842E C1/463F: B90100 LDA $0001,Y C1/4642: 29FF00 AND #$00FF C1/4645: F04A BEQ $4691 C1/4647: 18 CLC C1/4648: 6D2684 ADC $8426 C1/464B: AA TAX C1/464C: 48 PHA C1/464D: C02E84 CPY #$842E C1/4650: F009 BEQ $465B C1/4652: AD2884 LDA $8428 C1/4655: 990000 STA $0000,Y C1/4658: 8C2884 STY $8428 C1/465B: BD0000 LDA $0000,X C1/465E: 29FF00 AND #$00FF C1/4661: A8 TAY C1/4662: BD0200 LDA $0002,X C1/4665: E220 SEP #$20 C1/4667: 9101 STA ($01),Y C1/4669: BB TYX C1/466A: BF8EFCDC LDA $DCFC8E,X C1/466E: F01C BEQ $468C C1/4670: C901 CMP #$01 C1/4672: D006 BNE $467A C1/4674: C8 INY C1/4675: EB XBA C1/4676: 9101 STA ($01),Y C1/4678: 8012 BRA $468C C1/467A: B101 LDA ($01),Y C1/467C: C220 REP #$20 C1/467E: 48 PHA C1/467F: BF8EFCDC LDA $DCFC8E,X C1/4683: 29FF00 AND #$00FF C1/4686: A8 TAY C1/4687: 68 PLA C1/4688: 9101 STA ($01),Y C1/468A: E220 SEP #$20 C1/468C: 7A PLY C1/468D: C220 REP #$20 C1/468F: 80AE BRA $463F C1/4691: C02E84 CPY #$842E C1/4694: F009 BEQ $469F C1/4696: AD2884 LDA $8428 C1/4699: 990000 STA $0000,Y C1/469C: 8C2884 STY $8428 C1/469F: 9C2E84 STZ $842E C1/46A2: A92E84 LDA #$842E C1/46A5: 8D3084 STA $8430 C1/46A8: AB PLB C1/46A9: E220 SEP #$20 C1/46AB: 68 PLA C1/46AC: 68 PLA C1/46AD: 28 PLP C1/46AE: 2B PLD C1/46AF: 60 RTS C1/46B0: 0B PHD C1/46B1: 08 PHP C1/46B2: C220 REP #$20 C1/46B4: E220 SEP #$20 C1/46B6: 8B PHB C1/46B7: A97E LDA #$7E C1/46B9: 48 PHA C1/46BA: AB PLB C1/46BB: 221800C0 JSR $C00018 C1/46BF: AB PLB C1/46C0: 28 PLP C1/46C1: 2B PLD C1/46C2: 60 RTS C1/46C3: 0B PHD C1/46C4: 08 PHP C1/46C5: C230 REP #$30 C1/46C7: 48 PHA C1/46C8: 3B TSC C1/46C9: 38 SEC C1/46CA: E90200 SBC #$0002 C1/46CD: 5B TCD C1/46CE: 1B TCS C1/46CF: A303 LDA $03,S C1/46D1: 29FF00 AND #$00FF C1/46D4: D003 BNE $46D9 C1/46D6: A90001 LDA #$0100 C1/46D9: 8501 STA $01 C1/46DB: 3A DEC A C1/46DC: F01F BEQ $46FD C1/46DE: AA TAX C1/46DF: 202047 JSR $4720 C1/46E2: 38 SEC C1/46E3: E90800 SBC #$0008 C1/46E6: 49FFFF EOR #$FFFF C1/46E9: 1A INC A C1/46EA: A8 TAY C1/46EB: A9FF01 LDA #$01FF C1/46EE: 4A LSR A C1/46EF: 88 DEY C1/46F0: D0FC BNE $46EE C1/46F2: 8503 STA $03 C1/46F4: 20B046 JSR $46B0 C1/46F7: 2503 AND $03 C1/46F9: C501 CMP $01 C1/46FB: B0F7 BCS $46F4 C1/46FD: E220 SEP #$20 C1/46FF: 8304 STA $04,S C1/4701: 68 PLA C1/4702: 68 PLA C1/4703: 68 PLA C1/4704: 68 PLA C1/4705: 28 PLP C1/4706: 2B PLD C1/4707: 60 RTS C1/4708: 0B PHD C1/4709: 08 PHP C1/470A: C230 REP #$30 C1/470C: 290F00 AND #$000F C1/470F: AA TAX C1/4710: A90100 LDA #$0001 C1/4713: E00000 CPX #$0000 C1/4716: F004 BEQ $471C C1/4718: 0A ASL A C1/4719: CA DEX C1/471A: D0FC BNE $4718 C1/471C: AA TAX C1/471D: 28 PLP C1/471E: 2B PLD C1/471F: 60 RTS C1/4720: 0B PHD C1/4721: 08 PHP C1/4722: C220 REP #$20 C1/4724: 8A TXA C1/4725: A21000 LDX #$0010 C1/4728: 0A ASL A C1/4729: B008 BCS $4733 C1/472B: CA DEX C1/472C: D0FA BNE $4728 C1/472E: A9FFFF LDA #$FFFF C1/4731: 8002 BRA $4735 C1/4733: 8A TXA C1/4734: 3A DEC A C1/4735: 28 PLP C1/4736: 2B PLD C1/4737: 60 RTS C1/4738: 0B PHD C1/4739: 08 PHP C1/473A: C230 REP #$30 C1/473C: E220 SEP #$20 C1/473E: 48 PHA C1/473F: 9D0000 STA $0000,X C1/4742: 98 TYA C1/4743: 2901 AND #$01 C1/4745: F004 BEQ $474B C1/4747: E8 INX C1/4748: 88 DEY C1/4749: F010 BEQ $475B C1/474B: A301 LDA $01,S C1/474D: EB XBA C1/474E: A301 LDA $01,S C1/4750: C220 REP #$20 C1/4752: 9D0000 STA $0000,X C1/4755: E8 INX C1/4756: E8 INX C1/4757: 88 DEY C1/4758: 88 DEY C1/4759: D0F7 BNE $4752 C1/475B: E220 SEP #$20 C1/475D: 68 PLA C1/475E: 28 PLP C1/475F: 2B PLD C1/4760: 60 RTS C1/4761: 0B PHD C1/4762: 08 PHP C1/4763: C230 REP #$30 C1/4765: 48 PHA C1/4766: 3B TSC C1/4767: 5B TCD C1/4768: 68 PLA C1/4769: DA PHX C1/476A: C90000 CMP #$0000 C1/476D: F027 BEQ $4796 C1/476F: 890100 BIT #$0001 C1/4772: F011 BEQ $4785 C1/4774: 48 PHA C1/4775: E220 SEP #$20 C1/4777: BD0000 LDA $0000,X C1/477A: 990000 STA $0000,Y C1/477D: C220 REP #$20 C1/477F: E8 INX C1/4780: C8 INY C1/4781: 68 PLA C1/4782: 3A DEC A C1/4783: F011 BEQ $4796 C1/4785: 4A LSR A C1/4786: 8501 STA $01 C1/4788: BD0000 LDA $0000,X C1/478B: 990000 STA $0000,Y C1/478E: E8 INX C1/478F: E8 INX C1/4790: C8 INY C1/4791: C8 INY C1/4792: C601 DEC $01 C1/4794: D0F2 BNE $4788 C1/4796: E220 SEP #$20 C1/4798: 68 PLA C1/4799: 68 PLA C1/479A: 28 PLP C1/479B: 2B PLD C1/479C: 60 RTS C1/479D: 0B PHD C1/479E: 08 PHP C1/479F: C220 REP #$20 C1/47A1: 3B TSC C1/47A2: 38 SEC C1/47A3: E90600 SBC #$0006 C1/47A6: 5B TCD C1/47A7: 1B TCS C1/47A8: E220 SEP #$20 C1/47AA: 8B PHB C1/47AB: A900 LDA #$00 C1/47AD: 48 PHA C1/47AE: AB PLB C1/47AF: C220 REP #$20 C1/47B1: A612 LDX $12 C1/47B3: F02D BEQ $47E2 C1/47B5: A50C LDA $0C C1/47B7: 8501 STA $01 C1/47B9: A50E LDA $0E C1/47BB: 8503 STA $03 C1/47BD: A510 LDA $10 C1/47BF: 8505 STA $05 C1/47C1: A00000 LDY #$0000 C1/47C4: 8A TXA C1/47C5: 890100 BIT #$0001 C1/47C8: F00D BEQ $47D7 C1/47CA: E220 SEP #$20 C1/47CC: B704 LDA [$04],Y C1/47CE: 9701 STA [$01],Y C1/47D0: C220 REP #$20 C1/47D2: C8 INY C1/47D3: 8A TXA C1/47D4: 3A DEC A C1/47D5: F00B BEQ $47E2 C1/47D7: 4A LSR A C1/47D8: AA TAX C1/47D9: B704 LDA [$04],Y C1/47DB: 9701 STA [$01],Y C1/47DD: C8 INY C1/47DE: C8 INY C1/47DF: CA DEX C1/47E0: D0F7 BNE $47D9 C1/47E2: AB PLB C1/47E3: 3B TSC C1/47E4: 18 CLC C1/47E5: 690600 ADC #$0006 C1/47E8: 1B TCS C1/47E9: 28 PLP C1/47EA: 2B PLD C1/47EB: 60 RTS C1/47EC: 0B PHD C1/47ED: 08 PHP C1/47EE: C230 REP #$30 C1/47F0: 898000 BIT #$0080 C1/47F3: F005 BEQ $47FA C1/47F5: 0900FF ORA #$FF00 C1/47F8: 8003 BRA $47FD C1/47FA: 29FF00 AND #$00FF C1/47FD: AA TAX C1/47FE: 28 PLP C1/47FF: 2B PLD C1/4800: 60 RTS [Bank 13 jumps] C1/4801: 2231F8D3 JSR $D3F831 C1/4805: 60 RTS C1/4806: 227FF9D3 JSR $D3F97F C1/480A: 60 RTS C1/480B: 220DFDD3 JSR $D3FD0D C1/480F: 60 RTS C1/4810: 223FFDD3 JSR $D3FD3F C1/4814: 60 RTS C1/4815: 2239FED3 JSR $D3FE39 C1/4819: 60 RTS C1/481A: 22B9FFD3 JSR $D3FFB9 C1/481E: 60 RTS [Section 2-1. What's so important about Bank $13?] C1/481F: 0B PHD C1/4820: 08 PHP C1/4821: C220 REP #$20 C1/4823: E220 SEP #$20 C1/4825: 8B PHB C1/4826: A97E LDA #$7E C1/4828: 48 PHA C1/4829: AB PLB C1/482A: C220 REP #$20 C1/482C: A93884 LDA #$8438 C1/482F: 38 SEC C1/4830: E90082 SBC #$8200 C1/4833: AA TAX C1/4834: 20D33B JSR $3BD3 C1/4837: A9030F LDA #$0F03 C1/483A: 208F3D JSR $3D8F C1/483D: 22F1F4D3 JSR $D3F4F1 C1/4841: 8E3684 STX $8436 C1/4844: AB PLB C1/4845: 28 PLP C1/4846: 2B PLD C1/4847: 60 RTS [Woah, MVN instructions] C1/4848: 0B PHD C1/4849: 08 PHP C1/484A: C220 REP #$20 C1/484C: DA PHX C1/484D: 3B TSC C1/484E: 5B TCD C1/484F: E220 SEP #$20 C1/4851: 8B PHB C1/4852: A900 LDA #$00 C1/4854: 48 PHA C1/4855: AB PLB C1/4856: C220 REP #$20 C1/4858: A9F0F0 LDA #$F0F0 C1/485B: 8D0008 STA $0800 C1/485E: A20008 LDX #$0800 C1/4861: A00108 LDY #$0801 C1/4864: A95E00 LDA #$005E C1/4867: 540000 MVN $00,$00 C1/486A: A90000 LDA #$0000 C1/486D: 8D000A STA $0A00 C1/4870: A2000A LDX #$0A00 C1/4873: A0010A LDY #$0A01 C1/4876: A90400 LDA #$0004 C1/4879: 540000 MVN $00,$00 C1/487C: A96000 LDA #$0060 C1/487F: 8F7C0000 STA $00007C C1/4883: A90600 LDA #$0006 C1/4886: 8F5A0000 STA $00005A C1/488A: AB PLB C1/488B: E220 SEP #$20 C1/488D: 68 PLA C1/488E: 68 PLA C1/488F: 28 PLP C1/4890: 2B PLD C1/4891: 60 RTS [Section 2-2] C1/4892: 0B PHD C1/4893: 08 PHP C1/4894: C230 REP #$30 C1/4896: E220 SEP #$20 C1/4898: 8B PHB C1/4899: 48 PHA C1/489A: A97E LDA #$7E C1/489C: 48 PHA C1/489D: AB PLB C1/489E: 68 PLA C1/489F: C220 REP #$20 C1/48A1: AFF7CF7E LDA $7ECFF7 C1/48A5: 290F00 AND #$000F C1/48A8: F02B BEQ $48D5 C1/48AA: 3A DEC A C1/48AB: 0A ASL A C1/48AC: AA TAX C1/48AD: BF8AFEDC LDA $DCFE8A,X C1/48B1: AE3684 LDX $8436 C1/48B4: 9D0E01 STA $010E,X C1/48B7: DD0C01 CMP $010C,X C1/48BA: B003 BCS $48BF C1/48BC: 9D0C01 STA $010C,X C1/48BF: E220 SEP #$20 C1/48C1: 204848 JSR $4848 C1/48C4: AE3684 LDX $8436 C1/48C7: 229FF7D3 JSR $D3F79F C1/48CB: AFEC0000 LDA $0000EC C1/48CF: 0908 ORA #$08 C1/48D1: 8FEC0000 STA $0000EC C1/48D5: AB PLB C1/48D6: 28 PLP C1/48D7: 2B PLD C1/48D8: 60 RTS C1/48D9: 0B PHD C1/48DA: 08 PHP C1/48DB: C230 REP #$30 C1/48DD: 48 PHA C1/48DE: 3B TSC C1/48DF: 5B TCD C1/48E0: 68 PLA C1/48E1: DA PHX C1/48E2: E220 SEP #$20 C1/48E4: 8B PHB C1/48E5: 48 PHA C1/48E6: A97E LDA #$7E C1/48E8: 48 PHA C1/48E9: AB PLB C1/48EA: 68 PLA C1/48EB: C220 REP #$20 C1/48ED: 6401 STZ $01 C1/48EF: 29FF00 AND #$00FF C1/48F2: 898000 BIT #$0080 C1/48F5: F008 BEQ $48FF C1/48F7: 38 SEC C1/48F8: E98000 SBC #$0080 C1/48FB: F002 BEQ $48FF C1/48FD: C601 DEC $01 C1/48FF: 894000 BIT #$0040 C1/4902: F008 BEQ $490C C1/4904: 38 SEC C1/4905: E98000 SBC #$0080 C1/4908: 49FFFF EOR #$FFFF C1/490B: 1A INC A C1/490C: 0A ASL A C1/490D: AA TAX C1/490E: BFA8FEDC LDA $DCFEA8,X C1/4912: 0601 ASL $01 C1/4914: 9003 BCC $4919 C1/4916: 0900FF ORA #$FF00 C1/4919: AB PLB C1/491A: E220 SEP #$20 C1/491C: 8302 STA $02,S C1/491E: 68 PLA C1/491F: 68 PLA C1/4920: 28 PLP C1/4921: 2B PLD C1/4922: 60 RTS C1/4923: 0B PHD C1/4924: 08 PHP C1/4925: C230 REP #$30 C1/4927: E220 SEP #$20 C1/4929: 8B PHB C1/492A: 48 PHA C1/492B: A97E LDA #$7E C1/492D: 48 PHA C1/492E: AB PLB C1/492F: 68 PLA C1/4930: 18 CLC C1/4931: 6940 ADC #$40 C1/4933: 20D948 JSR $48D9 C1/4936: AB PLB C1/4937: 28 PLP C1/4938: 2B PLD C1/4939: 60 RTS C1/493A: 0B PHD C1/493B: 08 PHP C1/493C: C230 REP #$30 C1/493E: 48 PHA C1/493F: 3B TSC C1/4940: 5B TCD C1/4941: 68 PLA C1/4942: DA PHX C1/4943: E220 SEP #$20 C1/4945: 8B PHB C1/4946: 48 PHA C1/4947: A97E LDA #$7E C1/4949: 48 PHA C1/494A: AB PLB C1/494B: 68 PLA C1/494C: EB XBA C1/494D: 8502 STA $02 C1/494F: EB XBA C1/4950: 20D948 JSR $48D9 C1/4953: C900 CMP #$00 C1/4955: F024 BEQ $497B C1/4957: EB XBA C1/4958: 8501 STA $01 C1/495A: EB XBA C1/495B: EB XBA C1/495C: A502 LDA $02 C1/495E: EB XBA C1/495F: C220 REP #$20 C1/4961: 8F024200 STA $004202 C1/4965: 48 PHA C1/4966: 68 PLA C1/4967: AF164200 LDA $004216 C1/496B: E220 SEP #$20 C1/496D: 0601 ASL $01 C1/496F: 901A BCC $498B C1/4971: C220 REP #$20 C1/4973: 49FFFF EOR #$FFFF C1/4976: 1A INC A C1/4977: E220 SEP #$20 C1/4979: 8010 BRA $498B C1/497B: EB XBA C1/497C: 3007 BMI $4985 C1/497E: F00B BEQ $498B C1/4980: A502 LDA $02 C1/4982: EB XBA C1/4983: 8006 BRA $498B C1/4985: A502 LDA $02 C1/4987: 49FF EOR #$FF C1/4989: 1A INC A C1/498A: EB XBA C1/498B: AB PLB C1/498C: 8302 STA $02,S C1/498E: 68 PLA C1/498F: 68 PLA C1/4990: 28 PLP C1/4991: 2B PLD C1/4992: 60 RTS C1/4993: 0B PHD C1/4994: 08 PHP C1/4995: C230 REP #$30 C1/4997: 48 PHA C1/4998: 3B TSC C1/4999: 5B TCD C1/499A: 68 PLA C1/499B: DA PHX C1/499C: E220 SEP #$20 C1/499E: 8B PHB C1/499F: 48 PHA C1/49A0: A97E LDA #$7E C1/49A2: 48 PHA C1/49A3: AB PLB C1/49A4: 68 PLA C1/49A5: EB XBA C1/49A6: 8502 STA $02 C1/49A8: EB XBA C1/49A9: 202349 JSR $4923 C1/49AC: C900 CMP #$00 C1/49AE: F024 BEQ $49D4 C1/49B0: EB XBA C1/49B1: 8501 STA $01 C1/49B3: EB XBA C1/49B4: EB XBA C1/49B5: A502 LDA $02 C1/49B7: EB XBA C1/49B8: C220 REP #$20 C1/49BA: 8F024200 STA $004202 C1/49BE: 48 PHA C1/49BF: 68 PLA C1/49C0: AF164200 LDA $004216 C1/49C4: E220 SEP #$20 C1/49C6: 0601 ASL $01 C1/49C8: 901A BCC $49E4 C1/49CA: C220 REP #$20 C1/49CC: 49FFFF EOR #$FFFF C1/49CF: 1A INC A C1/49D0: E220 SEP #$20 C1/49D2: 8010 BRA $49E4 C1/49D4: EB XBA C1/49D5: 3007 BMI $49DE C1/49D7: F00B BEQ $49E4 C1/49D9: A502 LDA $02 C1/49DB: EB XBA C1/49DC: 8006 BRA $49E4 C1/49DE: A502 LDA $02 C1/49E0: 49FF EOR #$FF C1/49E2: 1A INC A C1/49E3: EB XBA C1/49E4: AB PLB C1/49E5: 8302 STA $02,S C1/49E7: 68 PLA C1/49E8: 68 PLA C1/49E9: 28 PLP C1/49EA: 2B PLD C1/49EB: 60 RTS C1/49EC: 0B PHD C1/49ED: 08 PHP C1/49EE: C230 REP #$30 C1/49F0: 48 PHA C1/49F1: 3B TSC C1/49F2: 38 SEC C1/49F3: E90700 SBC #$0007 C1/49F6: 5B TCD C1/49F7: 1B TCS C1/49F8: A308 LDA $08,S C1/49FA: E220 SEP #$20 C1/49FC: 8B PHB C1/49FD: 48 PHA C1/49FE: A97E LDA #$7E C1/4A00: 48 PHA C1/4A01: AB PLB C1/4A02: 68 PLA C1/4A03: C220 REP #$20 C1/4A05: 8501 STA $01 C1/4A07: 6402 STZ $02 C1/4A09: 8A TXA C1/4A0A: 1006 BPL $4A12 C1/4A0C: 49FFFF EOR #$FFFF C1/4A0F: 1A INC A C1/4A10: C602 DEC $02 C1/4A12: 8504 STA $04 C1/4A14: E220 SEP #$20 C1/4A16: A501 LDA $01 C1/4A18: 20D948 JSR $48D9 C1/4A1B: C900 CMP #$00 C1/4A1D: F05D BEQ $4A7C C1/4A1F: EB XBA C1/4A20: 4502 EOR $02 C1/4A22: 8502 STA $02 C1/4A24: EB XBA C1/4A25: 8509 STA $09 C1/4A27: EB XBA C1/4A28: A504 LDA $04 C1/4A2A: EB XBA C1/4A2B: C220 REP #$20 C1/4A2D: 8F024200 STA $004202 C1/4A31: 48 PHA C1/4A32: 68 PLA C1/4A33: AF164200 LDA $004216 C1/4A37: E220 SEP #$20 C1/4A39: 0602 ASL $02 C1/4A3B: C220 REP #$20 C1/4A3D: 9004 BCC $4A43 C1/4A3F: 49FFFF EOR #$FFFF C1/4A42: 1A INC A C1/4A43: 8506 STA $06 C1/4A45: E220 SEP #$20 C1/4A47: 6408 STZ $08 C1/4A49: EB XBA C1/4A4A: 2980 AND #$80 C1/4A4C: F002 BEQ $4A50 C1/4A4E: C608 DEC $08 C1/4A50: A607 LDX $07 C1/4A52: A505 LDA $05 C1/4A54: F022 BEQ $4A78 C1/4A56: EB XBA C1/4A57: A509 LDA $09 C1/4A59: EB XBA C1/4A5A: C220 REP #$20 C1/4A5C: 8F024200 STA $004202 C1/4A60: 48 PHA C1/4A61: 68 PLA C1/4A62: AF164200 LDA $004216 C1/4A66: E220 SEP #$20 C1/4A68: 0602 ASL $02 C1/4A6A: C220 REP #$20 C1/4A6C: 9004 BCC $4A72 C1/4A6E: 49FFFF EOR #$FFFF C1/4A71: 1A INC A C1/4A72: 18 CLC C1/4A73: 6507 ADC $07 C1/4A75: AA TAX C1/4A76: E220 SEP #$20 C1/4A78: A506 LDA $06 C1/4A7A: 801D BRA $4A99 C1/4A7C: EB XBA C1/4A7D: 3008 BMI $4A87 C1/4A7F: F015 BEQ $4A96 C1/4A81: A604 LDX $04 C1/4A83: A900 LDA #$00 C1/4A85: 8012 BRA $4A99 C1/4A87: C220 REP #$20 C1/4A89: A504 LDA $04 C1/4A8B: 49FFFF EOR #$FFFF C1/4A8E: 1A INC A C1/4A8F: AA TAX C1/4A90: E220 SEP #$20 C1/4A92: A900 LDA #$00 C1/4A94: 8003 BRA $4A99 C1/4A96: A20000 LDX #$0000 C1/4A99: AB PLB C1/4A9A: C220 REP #$20 C1/4A9C: 8308 STA $08,S C1/4A9E: 3B TSC C1/4A9F: 18 CLC C1/4AA0: 690700 ADC #$0007 C1/4AA3: 1B TCS C1/4AA4: 68 PLA C1/4AA5: 28 PLP C1/4AA6: 2B PLD C1/4AA7: 60 RTS C1/4AA8: 0B PHD C1/4AA9: 08 PHP C1/4AAA: C230 REP #$30 C1/4AAC: 48 PHA C1/4AAD: 3B TSC C1/4AAE: 38 SEC C1/4AAF: E90700 SBC #$0007 C1/4AB2: 5B TCD C1/4AB3: 1B TCS C1/4AB4: A308 LDA $08,S C1/4AB6: E220 SEP #$20 C1/4AB8: 8B PHB C1/4AB9: 48 PHA C1/4ABA: A97E LDA #$7E C1/4ABC: 48 PHA C1/4ABD: AB PLB C1/4ABE: 68 PLA C1/4ABF: C220 REP #$20 C1/4AC1: 8501 STA $01 C1/4AC3: 6402 STZ $02 C1/4AC5: 8A TXA C1/4AC6: 1006 BPL $4ACE C1/4AC8: 49FFFF EOR #$FFFF C1/4ACB: 1A INC A C1/4ACC: C602 DEC $02 C1/4ACE: 8504 STA $04 C1/4AD0: E220 SEP #$20 C1/4AD2: A501 LDA $01 C1/4AD4: 202349 JSR $4923 C1/4AD7: C900 CMP #$00 C1/4AD9: F05D BEQ $4B38 C1/4ADB: EB XBA C1/4ADC: 4502 EOR $02 C1/4ADE: 8502 STA $02 C1/4AE0: EB XBA C1/4AE1: 8509 STA $09 C1/4AE3: EB XBA C1/4AE4: A504 LDA $04 C1/4AE6: EB XBA C1/4AE7: C220 REP #$20 C1/4AE9: 8F024200 STA $004202 C1/4AED: 48 PHA C1/4AEE: 68 PLA C1/4AEF: AF164200 LDA $004216 C1/4AF3: E220 SEP #$20 C1/4AF5: 0602 ASL $02 C1/4AF7: C220 REP #$20 C1/4AF9: 9004 BCC $4AFF C1/4AFB: 49FFFF EOR #$FFFF C1/4AFE: 1A INC A C1/4AFF: 8506 STA $06 C1/4B01: E220 SEP #$20 C1/4B03: 6408 STZ $08 C1/4B05: EB XBA C1/4B06: 2980 AND #$80 C1/4B08: F002 BEQ $4B0C C1/4B0A: C608 DEC $08 C1/4B0C: A607 LDX $07 C1/4B0E: A505 LDA $05 C1/4B10: F022 BEQ $4B34 C1/4B12: EB XBA C1/4B13: A509 LDA $09 C1/4B15: EB XBA C1/4B16: C220 REP #$20 C1/4B18: 8F024200 STA $004202 C1/4B1C: 48 PHA C1/4B1D: 68 PLA C1/4B1E: AF164200 LDA $004216 C1/4B22: E220 SEP #$20 C1/4B24: 0602 ASL $02 C1/4B26: C220 REP #$20 C1/4B28: 9004 BCC $4B2E C1/4B2A: 49FFFF EOR #$FFFF C1/4B2D: 1A INC A C1/4B2E: 18 CLC C1/4B2F: 6507 ADC $07 C1/4B31: AA TAX C1/4B32: E220 SEP #$20 C1/4B34: A506 LDA $06 C1/4B36: 801D BRA $4B55 C1/4B38: EB XBA C1/4B39: 3008 BMI $4B43 C1/4B3B: F015 BEQ $4B52 C1/4B3D: A604 LDX $04 C1/4B3F: A900 LDA #$00 C1/4B41: 8012 BRA $4B55 C1/4B43: C220 REP #$20 C1/4B45: A504 LDA $04 C1/4B47: 49FFFF EOR #$FFFF C1/4B4A: 1A INC A C1/4B4B: AA TAX C1/4B4C: E220 SEP #$20 C1/4B4E: A900 LDA #$00 C1/4B50: 8003 BRA $4B55 C1/4B52: A20000 LDX #$0000 C1/4B55: AB PLB C1/4B56: C220 REP #$20 C1/4B58: 8308 STA $08,S C1/4B5A: 3B TSC C1/4B5B: 18 CLC C1/4B5C: 690700 ADC #$0007 C1/4B5F: 1B TCS C1/4B60: 68 PLA C1/4B61: 28 PLP C1/4B62: 2B PLD C1/4B63: 60 RTS C1/4B64: FFFFFFFF SBC $FFFFFF,X C1/4B68: FFFFFFFF SBC $FFFFFF,X C1/4B6C: FFFFFFFF SBC $FFFFFF,X C1/4B70: FFFFFFFF SBC $FFFFFF,X C1/4B74: FFFFFFFF SBC $FFFFFF,X C1/4B78: FFFFFFFF SBC $FFFFFF,X C1/4B7C: FFFFFFFF SBC $FFFFFF,X C1/4B80: FFFFFFFF SBC $FFFFFF,X C1/4B84: FFFFFFFF SBC $FFFFFF,X C1/4B88: FFFFFFFF SBC $FFFFFF,X C1/4B8C: FFFFFFFF SBC $FFFFFF,X C1/4B90: FFFFFFFF SBC $FFFFFF,X C1/4B94: FFFFFFFF SBC $FFFFFF,X C1/4B98: FFFFFFFF SBC $FFFFFF,X C1/4B9C: FFFFFFFF SBC $FFFFFF,X C1/4BA0: FFFFFFFF SBC $FFFFFF,X C1/4BA4: FFFFFFFF SBC $FFFFFF,X C1/4BA8: FFFFFFFF SBC $FFFFFF,X C1/4BAC: FFFFFFFF SBC $FFFFFF,X C1/4BB0: FFFFFFFF SBC $FFFFFF,X C1/4BB4: FFFFFFFF SBC $FFFFFF,X C1/4BB8: FFFFFFFF SBC $FFFFFF,X C1/4BBC: FFFFFFFF SBC $FFFFFF,X C1/4BC0: FFFFFFFF SBC $FFFFFF,X C1/4BC4: FFFFFFFF SBC $FFFFFF,X C1/4BC8: FFFFFFFF SBC $FFFFFF,X C1/4BCC: FFFFFFFF SBC $FFFFFF,X C1/4BD0: FFFFFFFF SBC $FFFFFF,X C1/4BD4: FFFFFFFF SBC $FFFFFF,X C1/4BD8: FFFFFFFF SBC $FFFFFF,X C1/4BDC: FFFFFFFF SBC $FFFFFF,X C1/4BE0: FFFFFFFF SBC $FFFFFF,X C1/4BE4: FFFFFFFF SBC $FFFFFF,X C1/4BE8: FFFFFFFF SBC $FFFFFF,X C1/4BEC: FFFFFFFF SBC $FFFFFF,X C1/4BF0: FFFFFFFF SBC $FFFFFF,X C1/4BF4: FFFFFFFF SBC $FFFFFF,X C1/4BF8: FFFFFFFF SBC $FFFFFF,X C1/4BFC: FFFFFFFF SBC $FFFFFF,X ;[Read at C1/4C8A. Used at $07 ($01CC) for ANDing decompression control bytes to determine ;the high byte contents (if any) for how far back to look for matching code] C1/4C00: 1F [Five bits~] C1/4C01: 0F [Four bits~] C1/4C02: 07 [Three bits~] C1/4C03: 03 [Two bits~] C1/4C04: 01 [One bits~] C1/4C05: 00 [No bits~] [Transferred by Reset 1-1-2 to $00/01CD. Clever programming trick of some sort?] [Apparently, I forgot about this shit for ages...] [Bank 7 code/Title Screen Decompressor/Shuffler] [Part of the LZ77 decompressor with C1/4CC0] C1/4C06: - 4A LSR A C1/4C07: 4A LSR A C1/4C08: 4A LSR A C1/4C09: 4A LSR A C1/4C0A: 4A LSR A C1/4C0B: 18 CLC C1/4C0C: 6902 ADC #$02 C1/4C0E: 8501 STA $01 C1/4C10: C220 REP #$20 [Disable 8-Bit Emulation] C1/4C12: 98 TYA C1/4C13: 38 SEC C1/4C14: E503 SBC $03 C1/4C16: DA PHX C1/4C17: AA TAX C1/4C18: A501 LDA $01 [You better believe that the values for this block move will change at some point] C1/4C1A: 540000 MVN $00,$00 C1/4C1D: FA PLX C1/4C1E: 1A INC A C1/4C1F: E220 SEP #$20 C1/4C21: -- AB PLB C1/4C22: 22C04CC1 JSR $C14CC0 [You may arrive here after a read from Bank 7 and a BIT #$80 RTL you early. This means that you can fetch more code from other banks, likely from Bank 7 to put into Bank 7E] C1/4C26: 8B PHB [While technically accurate within this context, it'll actually branch back to $01CD. It can be modified to DE, etc., to hit fewer of the LSR As as well. Damn you, Nasir!] [If you got here through a BIT #$80 which set Z, then this BNE matter. If it was set, LSR A it to determine 7E to 7E move length or the like] C1/4C27: D0DD - BNE $4C06 C1/4C29: 540000 MVN $00,$00 C1/4C2C: 1A INC A C1/4C2D: EB XBA C1/4C2E: 80F1 -- BRA $4C21 [Preparation for LZ77 Decompressor] [Args: Acc.: Source Bank and Dest.Bank, X: Source Address, Y: Destination Address] C1/4C30: 0B PHD [Push DP onto Stack] {#$0000} C1/4C31: 08 PHP [Push Processor Status onto Stack] {#$25} C1/4C32: C230 REP #$30 [Disable 8-bit Emulation, Registers] C1/4C34: 48 PHA [Push Accumulator onto Stack] {#$7EC7} C1/4C35: 3B TSC [Transfer Stack Pointer to Accumulator] {#$01F6} C1/4C36: 38 SEC [Set Carry] C1/4C37: E93100 SBC #$0031 [Subtract #$0031] {#$01c5} C1/4C3A: 5B TCD [Transfer Accumulator to DP] C1/4C3B: 1B TCS [Transfer Accumulator back to Stack Pointer] C1/4C3C: A332 LDA $32,S [Load $32 + Stack Pointer into Accumulator] {#$7EC7, from $01F7} C1/4C3E: E220 SEP #$20 [Enable 8-bit Emulation] [So THIS is how you set up the MVN $C7, $00 crap. Nasir, you tricksy bastard. Pushes it onto stack for later pulling off and then storing into the proper places scattered around $00/01CD] C1/4C40: 8B PHB [Push Data Bank Register onto Stack] {#$00} C1/4C41: 48 PHA [Push Accumulator onto Stack] {#$C7} C1/4C42: A97F LDA #$7F [Load #$7F into Accumulator] C1/4C44: 48 PHA [Push Accumulator onto Stack] C1/4C45: AB PLB [Pull #$7F from Stack into Data Bank Register] C1/4C46: 68 PLA [Pull something from Stack into Accumulator] {#$C7} C1/4C47: C220 REP #$20 [Disable 8-Bit Emulation] C1/4C49: 5A PHY [Push Y onto Stack] {#$8000/Destination Address} C1/4C4A: DA PHX [Push X onto Stack] {#$7C00/Source Address} C1/4C4B: 48 PHA [Push Accumulator onto Stack] {#$7EC7/Destination/Source Banks} [How C1/4C06 is transferred to 00/01CD] C1/4C4C: 7B TDC [Transfer DP to Accumulator] {#$01C5} C1/4C4D: 18 CLC [Clear Carry] C1/4C4E: 690800 ADC #$0008 [Add #$0008 to Accumulator] {#$01CD} {Safe distance away from Stack Bottom?} C1/4C51: A8 TAY [Transfer result to Y] {Destination Address} C1/4C52: A2064C LDX #$4C06 [Load #$4C06 into X] {Source Address} C1/4C55: A92900 LDA #$0029 [Load #$0029 into Accumulator] {Move Length} C1/4C58: 5400C1 MVN $00,$C1 [Move #$29 bytes of data from Bank $C1 to Bank $00] {See code section above} C1/4C5B: 68 PLA [Pull Accumulator from stack] {#$7EC7, for example} C1/4C5C: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/4C5E: 48 PHA [Push Accumulator(A) onto Stack] C1/4C5F: AB PLB [Pull #$C7 off of Stack into Data Bank Register] C1/4C60: 852D STA $2D [Store into $2D] {$01F2 / $C1/4C2B} {SOURCE} C1/4C62: EB XBA [Switch A and B] C1/4C63: 852C STA $2C [Store #$7E into $2D] {$01F1 / $C1/4C29} {DESTINATION} C1/4C65: 851D STA $1D [Also store into $1D ($1E2)] {$01E2 / $C1/4C1B} {DESTINATION} C1/4C67: 851E STA $1E [Also store into $1E ($1E3)] {$01E3 / $C1/4C1C} {SOURCE} C1/4C69: 6402 STZ $02 [Store zero into $02] {$01C7} C1/4C6B: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/4C6D: A301 LDA $01,S [Load SourceAddress into Accumulator] {#$7C00 from $01C1} C1/4C6F: AA TAX [Transfer Accumulator to X] C1/4C70: BD0200 LDA $0002,X [Load this thing] {#$D356, at $C77C02} C1/4C73: EB XBA [Switch A and B] C1/4C74: 18 CLC [Clear Carry] C1/4C75: 6303 ADC $03,S [Add the value at $03 + SP] {#$8000, Bank 7E Dest. Address, at $01C3} C1/4C77: 8505 STA $05 [Store result into $05 + DP] C1/4C79: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/4C7B: BD0000 LDA $0000,X [Load $C77C00] C1/4C7E: 18 CLC [Clear Carry] C1/4C7F: 652A ADC $2A [Add LoopbackByte at $01EF ($C1/4C27)] C1/4C81: 852A STA $2A [Store into LoopbackByte] C1/4C83: A900 LDA #$00 [Load #$00 into Accumulator] C1/4C85: EB XBA [Switch A and B] C1/4C86: BD0000 LDA $0000,X [Load Control Byte] {#$01 at $C77C00, for example} C1/4C89: AA TAX [Transfer Accumulator to X] C1/4C8A: BF004CC1 LDA $C14C00,X [Load ANDBits table] C1/4C8E: 8507 STA $07 [Store into ANDBits] C1/4C90: FA PLX [Pull X from Stack] {SOURCE} C1/4C91: 7A PLY [Pull Y from Stack] {DESTINATION} C1/4C92: A9C1 LDA #$C1 [Load #$C1 into Accumulator] C1/4C94: 48 PHA [Push Accumulator onto Stack] C1/4C95: C220 REP #$20 [Disable 8-Bit Emulation] C1/4C97: 18 CLC [Clear Carry] C1/4C98: 8A TXA [Transfer X to Accumulator] {Source Address} C1/4C99: 690400 ADC #$0004 [Add 4] C1/4C9C: AA TAX [Transfer Accumulator back to A] C1/4C9D: A9B34C LDA #$4CB3 [Load #$4CB3 into Accumulator] C1/4CA0: 48 PHA [Push Accumulator] {Setup for a RTL later?} C1/4CA1: E220 SEP #$20 [Enable 8-Bit Emulation] C1/4CA3: A900 LDA #$00 [Load #$00 into Accumulator] C1/4CA5: 48 PHA [Push Accumulator] {RTL bank} C1/4CA6: C220 REP #$20 [Disable 8-Bit Emulation] C1/4CA8: 7B TDC [Transfer DP to Accumulator] {$01C5} C1/4CA9: 18 CLC [Clear Carry] C1/4CAA: 692300 ADC #$0023 [Add #$0023] {$01E8} {Just before the JSR $C14CC0} C1/4CAD: 48 PHA [Push Accumulator] {RTL address} C1/4CAE: E220 SEP #$20 [Enable 8-Bit Emulation] C1/4CB0: A900 LDA #$00 [Load #$00 into Accumulator] C1/4CB2: EB XBA [Switch A and B] C1/4CB3: 6B RTL [Damn you, Nasir!] C1/4CB4: AB PLB C1/4CB5: C220 REP #$20 C1/4CB7: 3B TSC C1/4CB8: 18 CLC C1/4CB9: 693300 ADC #$0033 C1/4CBC: 1B TCS C1/4CBD: 28 PLP C1/4CBE: 2B PLD C1/4CBF: 60 RTS [Stack Size checking routine?] [No, this is not about checking the stat size, this is about block moves with crap in Bank 7] [Specifically, a decompressor for LZ77 compression!] [Assume C1/4C06's code is at 00/01CD at this point.] C1/4CC0: BD0000 LDA $0000,X [Load $C77C04] C1/4CC3: E8 INX [Increment X] C1/4CC4: C405 CPY $05 [Compare Y with UpperDestLimit] [$01CA] C1/4CC6: B019 + BCS $4CE1 [Branch ahead if we're done with this block] C1/4CC8: 8980 BIT #$80 [Bit test for #$80] C1/4CCA: F014 ++ BEQ $4CE0 [Branch ahead if bit #$80 isn't set] C1/4CCC: 297F AND #$7F C1/4CCE: 48 PHA C1/4CCF: 2507 AND $07 C1/4CD1: EB XBA C1/4CD2: BD0000 LDA $0000,X C1/4CD5: E8 INX C1/4CD6: C220 REP #$20 C1/4CD8: 1A INC A C1/4CD9: 8503 STA $03 [Store into SourceAdjustment] C1/4CDB: E220 SEP #$20 C1/4CDD: 68 PLA C1/4CDE: C202 REP #$02 C1/4CE0: ++ 6B RTL [That's a lot of pulling into the Accumulator going on. Emptying out the Stack?] C1/4CE1: + 68 PLA C1/4CE2: 68 PLA C1/4CE3: 68 PLA C1/4CE4: 6B RTL [Reset 1-1] C1/4CE5: C210 REP #$10 [Disable 8-Bit Registers] C1/4CE7: C220 REP #$20 [Disable 8-Bit Emulation] C1/4CE9: A9FF01 LDA #$01FF [Load #$01FF into Accumulator] C1/4CEC: 1B TCS [Transfer it to Stack Pointer] C1/4CED: E220 SEP #$20 [Enable 8-Bit Emulation] C1/4CEF: A900 LDA #$00 [Load #$00 into Accumulator] C1/4CF1: 48 PHA [Push Accumulator onto Stack] C1/4CF2: AB PLB [Pull #$00 off of Stack into Data Bank Register] C1/4CF3: 200F4D JSR $4D0F [Jump to Load Title Code] C1/4CF6: 5C0BAF7E JMP $7EAF0B [A jump to the code C1/4CFA: C210 REP #$10 C1/4CFC: C220 REP #$20 C1/4CFE: A9FF01 LDA #$01FF C1/4D01: 1B TCS C1/4D02: E220 SEP #$20 C1/4D04: A900 LDA #$00 C1/4D06: 48 PHA C1/4D07: AB PLB C1/4D08: 200F4D JSR $4D0F C1/4D0B: 5C28AF7E JMP $7EAF28 [Load Title Code] [As it's possible that you may have just soft reset, disable interrupts and initialize things] C1/4D0F: A900 LDA #$00 [Load #$00 into Accumulator] C1/4D11: 8D0042 STA $4200 [Store into InterruptEnableFlags, disable them all] C1/4D14: A980 LDA #$80 [Load #$80 into Accumulator] C1/4D16: 8D0021 STA $2100 [Store into ScreenBlank, Force Blank on, Screen Brightness off] C1/4D19: A940 LDA #$40 [Load #$40 into Accumulator] C1/4D1B: 8D0401 STA $0104 [Store into this thing] C1/4D1E: 8D0001 STA $0100 [Store into this thing] C1/4D21: A20042 LDX #$4200 [Load #$4200 into X] C1/4D24: A00E00 LDY #$000E [Load #$000E into Y] C1/4D27: A900 LDA #$00 [Load #$00 into Accumulator] C1/4D29: - 9D0000 STA $0000,X [Store into $4200 through $420E, initialize a lot of crap] C1/4D2C: E8 INX [Increment X] C1/4D2D: 88 DEY [Decrement Y] C1/4D2E: D0F9 - BNE $4D29 [Loop back if Y isn't zero] C1/4D30: A9FF LDA #$FF [Load #$FF into Accumulator] C1/4D32: 8D0142 STA $4201 [Store into Programmable IO Port to latch H/V counters?] [Prepare source and destination addresses for decompressing startup code in Bank 7] C1/4D35: A97E LDA #$7E [Load #$7E into Accumulator] {Destination Bank} C1/4D37: A00080 LDY #$8000 [Load #$8000 into Y] {Destination Address} C1/4D3A: EB XBA [Switch A and B] C1/4D3B: A9C7 LDA #$C7 [Load #$C7 into Accumulator] {Source Bank} C1/4D3D: A2007C LDX #$7C00 [Load #$7C00 into X] {Source Address} C1/4D40: 20304C JSR $4C30 [Jump to Preparation for LZ77 Decompressor] C1/4D43: 60 RTS [Go home] C1/4D44: FFFFFFFF SBC $FFFFFF,X C1/4D48: FFFFFFFF SBC $FFFFFF,X C1/4D4C: FFFFFFFF SBC $FFFFFF,X C1/4D50: FFFFFFFF SBC $FFFFFF,X C1/4D54: FFFFFFFF SBC $FFFFFF,X C1/4D58: FFFFFFFF SBC $FFFFFF,X C1/4D5C: FFFFFFFF SBC $FFFFFF,X C1/4D60: FFFFFFFF SBC $FFFFFF,X C1/4D64: FFFFFFFF SBC $FFFFFF,X C1/4D68: FFFFFFFF SBC $FFFFFF,X C1/4D6C: FFFFFFFF SBC $FFFFFF,X C1/4D70: FFFFFFFF SBC $FFFFFF,X C1/4D74: FFFFFFFF SBC $FFFFFF,X C1/4D78: FFFFFFFF SBC $FFFFFF,X C1/4D7C: FFFFFFFF SBC $FFFFFF,X [What is all of this junk?] [Mana Beast, maybe slimes/other boss animation junk] [First entry] {C7/E178} {C7/E256} C1/4D80: 014A 3F54 01EC 187F 1700 3F2A 0203 04EB C1/4D90: 1A7F 1902 003F AA05 0607 08EA 1C7F 1B06 C1/4DA0: 05EA 093F 0A0B 0CEA 1D7F 0B0A 09EA 0D3F C1/4DB0: 0E0F 106A 7F0F 0E0D EA00 3F11 1213 6B7F C1/4DC0: 1211 003F 2A14 1516 6B7F 1514 003F 0000 [Another entry] {C7/E18C} C1/4DD0: 016A 3F28 292A 6B7F 2928 003F AA2B 2C2D C1/4DE0: 2E6A 7F2D 2C2B EA2F 3F30 3132 6A7F 3130 C1/4DF0: 2FEA 333F 3435 366A 7F35 3433 EA0D 3F0E C1/4E00: 0F10 6A7F 0F0E 0DEA 003F 1112 136B 7F12 C1/4E10: 1100 3F2A 1415 166B 7F15 1400 3F00 00 [Another entry] {C7/E1A2} C1/4E1F: 016A 3F46 4700 3B47 7F46 003F AA48 494A C1/4E2F: 4B6A 7F4A 4948 EA4C 3F4D 4E4F 6A7F 4E4D C1/4E3F: 4CEA 503F 5152 536A 7F52 5150 EA0D 3F0E C1/4E4F: 0F10 6A7F 0F0E 0DEA 003F 1112 136B 7F12 C1/4E5F: 1100 3F2A 1415 166B 7F15 1400 3F00 00 [Another entry] {C7/E1B6} C1/4E6E: 016A 3F28 292A 6B7F 2928 003F AA2B 2C2D C1/4E7E: 2E6A 7F2D 2C2B EA2F 3F30 3132 6A7F 3130 C1/4E8E: 2FEA 333F 3435 366A 7F35 3433 EA1E 3F1F C1/4E9E: 2021 EA10 7F0F 0E0D EA00 3F22 2324 EB13 C1/4EAE: 7F12 1100 3F2A 2526 27EB 167F 1514 003F C1/4EBE: 0000 [Another entry] {C7/E1CA} C1/4EC0: 016A 3F28 292A BB00 477F 4600 3FAA 2B2C C1/4ED0: 2D2E EA4B 7F4A 4948 EA2F 3F30 3132 EA4F C1/4EE0: 7F4E 4D4C EA33 3F34 3536 EA53 7F52 5150 C1/4EF0: EA37 3F38 393A EA10 7F0F 0E0D EA3B 3F3C C1/4F00: 3D3E EB13 7F12 1100 3FAA 3F40 4142 EB16 C1/4F10: 7F15 1400 3FAA 4344 4500 00 [Another entry] {C7/E1DE} C1/4F1B: 016A 3F28 292A 6B7F 2928 003F AA2B 2C2D C1/4F2B: 2E6A 7F2D 2C2B EA2F 3F30 3132 6A7F 3130 C1/4F3B: 2FEA 333F 3435 366A 7F35 3433 EA1E 3F1F C1/4F4B: 2021 6A7F 201F 1EEA 003F 2223 246B 7F23 C1/4F5B: 2200 3F2A 2526 276B 7F26 2500 3F00 00 [Another entry] {C7/E1F2} C1/4F6A: 016A 3F46 4700 EB2A 7F29 2800 3FAA 4849 C1/4F7A: 4A4B EA2E 7F2D 2C2B EA4C 3F4D 4E4F EA32 C1/4F8A: 7F31 302F EA50 3F51 5253 EA36 7F35 3433 C1/4F9A: EA0D 3F0E 0F10 EA3A 7F39 3837 EA00 3F11 C1/4FAA: 1213 EA3E 7F3D 3C3B EA00 3F14 1516 EA42 C1/4FBA: 7F41 403F C000 3F3A 457F 4443 [Another entry] {C7/E206} C1/4FC6: 016A 3F28 292A 6B7F 2928 003F AA2B 2C2D C1/4FD6: 2E6A 7F2D 2C2B EA2F 3F30 3132 6A7F 3130 C1/4FE6: 2FEA 333F 3435 366A 7F35 3433 EA0D 3F0E C1/4FF6: 0F10 EA21 7F20 1F1E EA00 3F11 1213 EB24 C1/5006: 7F23 2200 3F2A 1415 16EB 277F 2625 003F C1/5016: 0000 [] {C7/E21A} C1/5018: 017A 3F14 BF15 166B FF15 1400 3F3A 11BF C1/5028: 1213 6BFF 1211 003F EA0D BF0E 0F10 6AFF C1/5038: 0F0E 0DEA 09BF 0A0B 0CEA 1DFF 0B0A 09EA C1/5048: 05BF 0607 08EA 1CFF 1B06 05FA 003F 02BF C1/5058: 0304 EB1A FF19 0200 3F0E 54BF 01EC 18FF C1/5068: 1700 3F00 00 [] {C7/E22E} C1/506D: 017A 3F14 BF15 166B FF15 1400 3F3A 11BF C1/507D: 1213 6BFF 1211 003F EA0D BF0E 0F10 6AFF C1/508D: 0F0E 0DEA 33BF 3435 366A FF35 3433 EA2F C1/509D: BF30 3132 6AFF 3130 2FEA 2BBF 2C2D 2E6A C1/50AD: FF2D 2C2B FA00 3F28 BF29 2A6B FF29 2800 C1/50BD: 3F00 00 [] {C7/E242} C1/50C0: 017A 3F14 BF15 166B FF15 1400 3F3A 11BF C1/50D0: 1213 6BFF 1211 003F EA0D BF0E 0F10 6AFF C1/50E0: 0F0E 0DEA 50BF 5152 536A FF52 5150 EA4C C1/50F0: BF4D 4E4F 6AFF 4E4D 4CEA 48BF 494A 4B6A C1/5100: FF4A 4948 FB00 3F46 BF47 003F 3B47 FF46 C1/5110: 003F 0000 [] {CA/DF56} C1/5114: 01EE 013A 0203 3E04 6E7E 0302 7A01 EE05 C1/5124: 3A06 073E 086E 7E07 067A 05EE 093A 0A0B C1/5134: 3E0C 6E7E 0B0A 7A09 EE0D 3A0E 0F3E 106E C1/5144: 7E0F 0E7A 0DEE 113A 1213 3E14 6E7E 1312 C1/5154: 7A11 EE00 3A15 163E 176F 7E16 157A 003A C1/5164: 2A18 191A AF1B 1C18 7A00 3A2A 1D1E 1FAF C1/5174: 2021 1D7A 003A 0A30 31A8 3233 000A 3435 C1/5184: A836 3700 0A38 39A8 3A3B 0002 3CA0 3D00 [] {CA/DF62} C1/5194: 01EE 013A 0203 3E04 6E7E 0302 7A01 EE05 C1/51A4: 3A06 073E 086E 7E07 067A 05EE 093A 0A0B C1/51B4: 3E0C 6E7E 0B0A 7A09 EE0D 3A0E 0F3E 106E C1/51C4: 7E0F 0E7A 0DEE 113A 1213 3E14 6E7E 1312 C1/51D4: 7A11 EE00 3A15 163E 176F 7E16 157A 003A C1/51E4: 2A18 191A AF1B 1C18 7A00 3A2A 1D1E 1FAF C1/51F4: 2021 1D7A 003A 0A22 23A8 2425 000A 2627 C1/5204: A828 2900 0A2A 2BA8 2C2D 0002 2EA0 2F00 [] {CA/DF6E} C1/5214: 01EE 013A 0203 3E04 6E7E 0302 7A01 EE05 C1/5224: 3A06 073E 086E 7E07 067A 05EE 093A 0A0B C1/5234: 3E0C 6E7E 0B0A 7A09 EE0D 3A0E 0F3E 106E C1/5244: 7E0F 0E7A 0DEE 113A 1213 3E14 6E7E 1312 C1/5254: 7A11 EE00 3A15 163E 176F 7E16 157A 003A C1/5264: 2A18 191A AF1B 1C18 7A00 3A2A 1D1E 1FAF C1/5274: 2021 1D7A 003A 0E33 7A32 AC31 3000 3A0E C1/5284: 377A 36AC 3534 003A 0E3B 7A3A AC39 3800 C1/5294: 3A03 3D7A B03C 003A C1/5194: 01 BRK #$01 C1/5195: EE013A INC $3A01 C1/5198: 0203 COP #$03 C1/519A: 3E046E ROL $6E04,X C1/519D: 7E0302 ROR $0203,X C1/51A0: 7A PLY C1/51A1: 01EE ORA ($EE,X) C1/51A3: 053A ORA $3A C1/51A5: 0607 ASL $07 C1/51A7: 3E086E ROL $6E08,X C1/51AA: 7E0706 ROR $0607,X C1/51AD: 7A PLY C1/51AE: 05EE ORA $EE C1/51B0: 093A ORA #$3A C1/51B2: 0A ASL A C1/51B3: 0B PHD C1/51B4: 3E0C6E ROL $6E0C,X C1/51B7: 7E0B0A ROR $0A0B,X C1/51BA: 7A PLY C1/51BB: 09EE ORA #$EE C1/51BD: 0D3A0E ORA $0E3A C1/51C0: 0F3E106E ORA $6E103E C1/51C4: 7E0F0E ROR $0E0F,X C1/51C7: 7A PLY C1/51C8: 0DEE11 ORA $11EE C1/51CB: 3A DEC A C1/51CC: 1213 ORA ($13) C1/51CE: 3E146E ROL $6E14,X C1/51D1: 7E1312 ROR $1213,X C1/51D4: 7A PLY C1/51D5: 11EE ORA ($EE),Y C1/51D7: 003A BRK #$3A C1/51D9: 1516 ORA $16,X C1/51DB: 3E176F ROL $6F17,X C1/51DE: 7E1615 ROR $1516,X C1/51E1: 7A PLY C1/51E2: 003A BRK #$3A C1/51E4: 2A ROL A C1/51E5: 18 CLC C1/51E6: 191AAF ORA $AF1A,Y C1/51E9: 1B TCS C1/51EA: 1C187A TRB $7A18 C1/51ED: 003A BRK #$3A C1/51EF: 2A ROL A C1/51F0: 1D1E1F ORA $1F1E,X C1/51F3: AF20211D LDA $1D2120 C1/51F7: 7A PLY C1/51F8: 003A BRK #$3A C1/51FA: 0A ASL A C1/51FB: 2223A824 JSR $24A823 C1/51FF: 2500 AND $00 C1/5201: 0A ASL A C1/5202: 2627 ROL $27 C1/5204: A8 TAY C1/5205: 28 PLP C1/5206: 2900 AND #$00 C1/5208: 0A ASL A C1/5209: 2A ROL A C1/520A: 2B PLD C1/520B: A8 TAY C1/520C: 2C2D00 BIT $002D C1/520F: 022E COP #$2E C1/5211: A02F00 LDY #$002F C1/5214: 01EE ORA ($EE,X) C1/5216: 013A ORA ($3A,X) C1/5218: 0203 COP #$03 C1/521A: 3E046E ROL $6E04,X C1/521D: 7E0302 ROR $0203,X C1/5220: 7A PLY C1/5221: 01EE ORA ($EE,X) C1/5223: 053A ORA $3A C1/5225: 0607 ASL $07 C1/5227: 3E086E ROL $6E08,X C1/522A: 7E0706 ROR $0607,X C1/522D: 7A PLY C1/522E: 05EE ORA $EE C1/5230: 093A ORA #$3A C1/5232: 0A ASL A C1/5233: 0B PHD C1/5234: 3E0C6E ROL $6E0C,X C1/5237: 7E0B0A ROR $0A0B,X C1/523A: 7A PLY C1/523B: 09EE ORA #$EE C1/523D: 0D3A0E ORA $0E3A C1/5240: 0F3E106E ORA $6E103E C1/5244: 7E0F0E ROR $0E0F,X C1/5247: 7A PLY C1/5248: 0DEE11 ORA $11EE C1/524B: 3A DEC A C1/524C: 1213 ORA ($13) C1/524E: 3E146E ROL $6E14,X C1/5251: 7E1312 ROR $1213,X C1/5254: 7A PLY C1/5255: 11EE ORA ($EE),Y C1/5257: 003A BRK #$3A C1/5259: 1516 ORA $16,X C1/525B: 3E176F ROL $6F17,X C1/525E: 7E1615 ROR $1516,X C1/5261: 7A PLY C1/5262: 003A BRK #$3A C1/5264: 2A ROL A C1/5265: 18 CLC C1/5266: 191AAF ORA $AF1A,Y C1/5269: 1B TCS C1/526A: 1C187A TRB $7A18 C1/526D: 003A BRK #$3A C1/526F: 2A ROL A C1/5270: 1D1E1F ORA $1F1E,X C1/5273: AF20211D LDA $1D2120 C1/5277: 7A PLY C1/5278: 003A BRK #$3A C1/527A: 0E337A ASL $7A33 C1/527D: 32AC AND ($AC) C1/527F: 3130 AND ($30),Y C1/5281: 003A BRK #$3A C1/5283: 0E377A ASL $7A37 C1/5286: 36AC ROL $AC,X C1/5288: 3534 AND $34,X C1/528A: 003A BRK #$3A C1/528C: 0E3B7A ASL $7A3B C1/528F: 3A DEC A C1/5290: AC3938 LDY $3839 C1/5293: 003A BRK #$3A C1/5295: 033D ORA $3D,S C1/5297: 7A PLY C1/5298: B03C BCS $52D6 C1/529A: 003A BRK #$3A C1/529C: 0140 ORA ($40,X) C1/529E: 3A DEC A C1/529F: 0E3E3E ASL $3E3E C1/52A2: 3FAC4041 AND $4140AC,X C1/52A6: 003A BRK #$3A C1/52A8: 0000 BRK #$00 C1/52AA: 0E423E ASL $3E42 C1/52AD: 437C EOR $7C,S C1/52AF: 7E443E ROR $3E44,X C1/52B2: 003A BRK #$3A C1/52B4: 0000 BRK #$00 C1/52B6: FE533E INC $3E53,X C1/52B9: 023A COP #$3A C1/52BB: 453E EOR $3E C1/52BD: 467F LSR $7F C1/52BF: 7E473E ROR $3E47,X C1/52C2: 027A COP #$7A C1/52C4: 537E EOR ($7E,S),Y C1/52C6: C0003A CPY #$3A00 C1/52C9: 3A DEC A C1/52CA: 543E55 MVN $3E,$55 C1/52CD: 56BE LSR $BE,X C1/52CF: 5706 EOR [$06],Y C1/52D1: 3A DEC A C1/52D2: 48 PHA C1/52D3: 3E497F ROL $7F49,X C1/52D6: 7E4A3E ROR $3E4A,X C1/52D9: 067A ASL $7A C1/52DB: 577E EOR [$7E],Y C1/52DD: AB PLB C1/52DE: 5655 LSR $55,X C1/52E0: 54003A MVN $00,$3A C1/52E3: 3A DEC A C1/52E4: 58 CLI C1/52E5: 3E595A ROL $5A59,X C1/52E8: BE5B0A LDX $0A5B,Y C1/52EB: 3A DEC A C1/52EC: 4B PHK C1/52ED: 3E4C6F ROL $6F4C,X C1/52F0: 7E4B0A ROR $0A4B,X C1/52F3: 7A PLY C1/52F4: 5B TCD C1/52F5: 7EAB5A ROR $5AAB,X C1/52F8: 595800 EOR $0058,Y C1/52FB: 3A DEC A C1/52FC: 3A DEC A C1/52FD: 5C3E5D5E JMP $5E5D3E C1/5301: BE5F0E LDX $0E5F,Y C1/5304: 3A DEC A C1/5305: 4D3E4E EOR $4E3E C1/5308: 6F7E4D0E ADC $0E4D7E C1/530C: 7A PLY C1/530D: 5F7EAB5E EOR $5EAB7E,X C1/5311: 5D5C00 EOR $005C,X C1/5314: 3A DEC A C1/5315: 3A DEC A C1/5316: 60 RTS C1/5317: 3E6162 ROL $6261,X C1/531A: BE6312 LDX $1263,Y C1/531D: 3A DEC A C1/531E: 4F3E506F EOR $6F503E C1/5322: 7E4F12 ROR $124F,X C1/5325: 7A PLY C1/5326: 637E ADC $7E,S C1/5328: AB PLB C1/5329: 626160 PER $B38D C1/532C: 003A BRK #$3A C1/532E: EA NOP C1/532F: 643E STZ $3E C1/5331: 6566 ADC $66 C1/5333: 67BE ADC [$BE] C1/5335: 68 PLA C1/5336: 153A ORA $3A,X C1/5338: 513E EOR ($3E),Y C1/533A: 526F EOR ($6F) C1/533C: 7E5115 ROR $1551,X C1/533F: 7A PLY C1/5340: 68 PLA C1/5341: 7EAA67 ROR $67AA,X C1/5344: 6665 ROR $65 C1/5346: 64EA STZ $EA C1/5348: 693E ADC #$3E C1/534A: 6A ROR A C1/534B: 6B RTL C1/534C: 6CEA00 JMP ($00EA) C1/534F: 3A DEC A C1/5350: 18 CLC C1/5351: 191AAF ORA $AF1A,Y C1/5354: 1B TCS C1/5355: 1C187A TRB $7A18 C1/5358: 003A BRK #$3A C1/535A: EA NOP C1/535B: 6C7E6B JMP ($6B7E) C1/535E: 6A ROR A C1/535F: 69FB ADC #$FB C1/5361: 003A BRK #$3A C1/5363: 6D3E6E ADC $6E3E C1/5366: 003A BRK #$3A C1/5368: 2A ROL A C1/5369: 1D1E1F ORA $1F1E,X C1/536C: AF20211D LDA $1D2120 C1/5370: 7A PLY C1/5371: 003A BRK #$3A C1/5373: 3B TSC C1/5374: 6E7E6D ROR $6D7E C1/5377: 003A BRK #$3A C1/5379: 3C6F3E BIT $3E6F,X C1/537C: 003A BRK #$3A C1/537E: 0A ASL A C1/537F: 2223A824 JSR $24A823 C1/5383: 2500 AND $00 C1/5385: 0F6F7E00 ORA $007E6F C1/5389: 3A DEC A C1/538A: 000A BRK #$0A C1/538C: 2627 ROL $27 C1/538E: A8 TAY C1/538F: 28 PLP C1/5390: 2900 AND #$00 C1/5392: 0000 BRK #$00 C1/5394: 0A ASL A C1/5395: 2A ROL A C1/5396: 2B PLD C1/5397: A8 TAY C1/5398: 2C2D00 BIT $002D C1/539B: 0000 BRK #$00 C1/539D: 022E COP #$2E C1/539F: A02F00 LDY #$002F C1/53A2: 0000 BRK #$00 C1/53A4: 003B BRK #$3B C1/53A6: 703B BVS $53E3 C1/53A8: 713B ADC ($3B),Y C1/53AA: 723B ADC ($3B) C1/53AC: 003B BRK #$3B C1/53AE: 003B BRK #$3B C1/53B0: 003B BRK #$3B C1/53B2: 003B BRK #$3B C1/53B4: 003B BRK #$3B C1/53B6: 003B BRK #$3B C1/53B8: 727B ADC ($7B) C1/53BA: 717B ADC ($7B),Y C1/53BC: 707B BVS $5439 C1/53BE: 003B BRK #$3B C1/53C0: 003B BRK #$3B C1/53C2: 733B ADC ($3B,S),Y C1/53C4: 743B STZ $3B,X C1/53C6: 753B ADC $3B,X C1/53C8: 763B ROR $3B,X C1/53CA: 003B BRK #$3B C1/53CC: 003B BRK #$3B C1/53CE: 003B BRK #$3B C1/53D0: 003B BRK #$3B C1/53D2: 767B ROR $7B,X C1/53D4: 757B ADC $7B,X C1/53D6: 747B STZ $7B,X C1/53D8: 737B ADC ($7B,S),Y C1/53DA: 003B BRK #$3B C1/53DC: 773B ADC [$3B],Y C1/53DE: 783B TSC C1/53E0: 793B 7A3B TSC C1/53E4: 7B3B TSC C1/53E6: 003B BRK #$3B C1/53E8: 003B BRK #$3B C1/53EA: 003B BRK #$3B C1/53EC: 003B BRK #$3B C1/53EE: 7B7B TDC C1/53F0: 7A7B TDC C1/53F2: 797B78 ADC $787B,Y C1/53F5: 7B TDC C1/53F6: 777B ADC [$7B],Y C1/53F8: 003B BRK #$3B C1/53FA: 003B BRK #$3B C1/53FC: 7C3B7D JMP ($7D3B,X) C1/53FF: 3B TSC C1/5400: 003B BRK #$3B C1/5402: 003B BRK #$3B C1/5404: 003B BRK #$3B C1/5406: 003B BRK #$3B C1/5408: 003B BRK #$3B C1/540A: 003B BRK #$3B C1/540C: 7D7B7C ADC $7C7B,X C1/540F: 7B TDC C1/5410: 003B BRK #$3B C1/5412: 003B BRK #$3B C1/5414: 003B BRK #$3B C1/5416: 003B BRK #$3B C1/5418: 7E3B7F ROR $7F3B,X C1/541B: 3B TSC C1/541C: 003B BRK #$3B C1/541E: 003B BRK #$3B C1/5420: 003B BRK #$3B C1/5422: 003B BRK #$3B C1/5424: 003B BRK #$3B C1/5426: 003B BRK #$3B C1/5428: 7F7B7E7B ADC $7B7E7B,X C1/542C: 003B BRK #$3B C1/542E: 003B BRK #$3B C1/5430: 00B0 BRK #$B0 C1/5432: 3EB03E ROL $3EB0,X C1/5435: B13E LDA ($3E),Y C1/5437: B03E BCS $5477 C1/5439: B03E BCS $5479 C1/543B: B03E BCS $547B C1/543D: B03E BCS $547D C1/543F: B03E BCS $547F C1/5441: B03E BCS $5481 C1/5443: B03E BCS $5483 C1/5445: B17E LDA ($7E),Y C1/5447: B03E BCS $5487 C1/5449: B03E BCS $5489 C1/544B: B03E BCS $548B C1/544D: B23E LDA ($3E) C1/544F: B33E LDA ($3E,S),Y C1/5451: B03E BCS $5491 C1/5453: B03E BCS $5493 C1/5455: B03E BCS $5495 C1/5457: B03E BCS $5497 C1/5459: B03E BCS $5499 C1/545B: B03E BCS $549B C1/545D: B03E BCS $549D C1/545F: B37E LDA ($7E,S),Y C1/5461: B27E LDA ($7E) C1/5463: B03E BCS $54A3 C1/5465: B03E BCS $54A5 C1/5467: B43E LDY $3E,X C1/5469: B53E LDA $3E,X C1/546B: B03E BCS $54AB C1/546D: B03E BCS $54AD C1/546F: B03E BCS $54AF C1/5471: B03E BCS $54B1 C1/5473: B03E BCS $54B3 C1/5475: B03E BCS $54B5 C1/5477: B03E BCS $54B7 C1/5479: B57E LDA $7E,X C1/547B: B47E LDY $7E,X C1/547D: B03E BCS $54BD C1/547F: B63E LDX $3E,Y C1/5481: B73E LDA [$3E],Y C1/5483: B8 CLV C1/5484: 3EB93E ROL $3EB9,X C1/5487: B03E BCS $54C7 C1/5489: B03E BCS $54C9 C1/548B: B03E BCS $54CB C1/548D: B03E BCS $54CD C1/548F: B03E BCS $54CF C1/5491: B97EB8 LDA $B87E,Y C1/5494: 7EB77E ROR $7EB7,X C1/5497: B67E LDX $7E,Y C1/5499: B03E BCS $54D9 C1/549B: BA TSX C1/549C: 3EBB3E ROL $3EBB,X C1/549F: BC3EBD LDY $BD3E,X C1/54A2: 3E153F ROL $3F15,X C1/54A5: 163F ASL $3F,X C1/54A7: 173F ORA [$3F],Y C1/54A9: C93E CMP #$3E C1/54AB: CA DEX C1/54AC: 3EBB7E ROL $7EBB,X C1/54AF: BA TSX C1/54B0: 7EB03E ROR $3EB0,X C1/54B3: B03E BCS $54F3 C1/54B5: BE3EBF LDX $BF3E,Y C1/54B8: 3EC03E ROL $3EC0,X C1/54BB: C13E CMP ($3E,X) C1/54BD: 18 CLC C1/54BE: 3F193F1A AND $1A3F19,X C1/54C2: 3FCB3ECC AND $CC3ECB,X C1/54C6: 3EBF7E ROL $7EBF,X C1/54C9: BE7EB0 LDX $B07E,Y C1/54CC: 3EB03E ROL $3EB0,X C1/54CF: C23E REP #$3E C1/54D1: C33E CMP $3E,S C1/54D3: C43E CPY $3E C1/54D5: C53E CMP $3E C1/54D7: 1B TCS C1/54D8: 3F1C3F1D AND $1D3F1C,X C1/54DC: 3FCD3ECE AND $CE3ECD,X C1/54E0: 3EC37E ROL $7EC3,X C1/54E3: C27E REP #$7E C1/54E5: B03E BCS $5525 C1/54E7: B03E BCS $5527 C1/54E9: C63E DEC $3E C1/54EB: B03E BCS $552B C1/54ED: C73E CMP [$3E] C1/54EF: C8 INY C1/54F0: 3E1E3F ROL $3F1E,X C1/54F3: 1F3F203F ORA $3F203F,X C1/54F7: CF3EB03E CMP $3EB03E C1/54FB: B03E BCS $553B C1/54FD: C67E DEC $7E C1/54FF: B03E BCS $553F C1/5501: B03E BCS $5541 C1/5503: B03E BCS $5543 C1/5505: B03E BCS $5545 C1/5507: B03E BCS $5547 C1/5509: 213F AND ($3F,X) C1/550B: 223F233F JSR $3F233F C1/550F: 243F BIT $3F C1/5511: 253F AND $3F C1/5513: B03E BCS $5553 C1/5515: B03E BCS $5555 C1/5517: B03E BCS $5557 C1/5519: B03E BCS $5559 C1/551B: B03E BCS $555B C1/551D: B03E BCS $555D C1/551F: B03E BCS $555F C1/5521: B03E BCS $5561 C1/5523: 263F ROL $3F C1/5525: 273F AND [$3F] C1/5527: 28 PLP C1/5528: 3F293F2A AND $2A3F29,X C1/552C: 3FB03EB0 AND $B03EB0,X C1/5530: 3EB03E ROL $3EB0,X C1/5533: B03E BCS $5573 C1/5535: B03E BCS $5575 C1/5537: B03E BCS $5577 C1/5539: B03E BCS $5579 C1/553B: B03E BCS $557B C1/553D: 2B PLD C1/553E: 3F2C3F2D AND $2D3F2C,X C1/5542: 3F2E3F2F AND $2F3F2E,X C1/5546: 3FB03EB0 AND $B03EB0,X C1/554A: 3EB03E ROL $3EB0,X C1/554D: B03E BCS $558D C1/554F: B03E BCS $558F C1/5551: B03E BCS $5591 C1/5553: B03E BCS $5593 C1/5555: B03E BCS $5595 C1/5557: B03E BCS $5597 C1/5559: 303F BMI $559A C1/555B: 313F AND ($3F),Y C1/555D: 323F AND ($3F) C1/555F: 333F AND ($3F,S),Y C1/5561: B03E BCS $55A1 C1/5563: B03E BCS $55A3 C1/5565: B03E BCS $55A5 C1/5567: B03E BCS $55A7 C1/5569: B03E BCS $55A9 C1/556B: B03E BCS $55AB C1/556D: B03E BCS $55AD C1/556F: B03E BCS $55AF C1/5571: B03E BCS $55B1 C1/5573: 343F BIT $3F,X C1/5575: B03E BCS $55B5 C1/5577: 353F AND $3F,X C1/5579: B03E BCS $55B9 C1/557B: B03E BCS $55BB C1/557D: B03E BCS $55BD C1/557F: B03E BCS $55BF C1/5581: B03E BCS $55C1 C1/5583: 00B0 BRK #$B0 C1/5585: 3EB03E ROL $3EB0,X C1/5588: B03E BCS $55C8 C1/558A: B03E BCS $55CA C1/558C: B03E BCS $55CC C1/558E: B03E BCS $55CE C1/5590: B03E BCS $55D0 C1/5592: 153F ORA $3F,X C1/5594: 163F ASL $3F,X C1/5596: 173F ORA [$3F],Y C1/5598: B03E BCS $55D8 C1/559A: B03E BCS $55DA C1/559C: B03E BCS $55DC C1/559E: B03E BCS $55DE C1/55A0: B03E BCS $55E0 C1/55A2: B03E BCS $55E2 C1/55A4: B03E BCS $55E4 C1/55A6: D03E BNE $55E6 C1/55A8: D13E CMP ($3E),Y C1/55AA: D23E CMP ($3E) C1/55AC: B03E BCS $55EC C1/55AE: D33E CMP ($3E,S),Y C1/55B0: D43E PEI ($3E) C1/55B2: D53E CMP $3E,X C1/55B4: 18 CLC C1/55B5: 3F193F1A AND $1A3F19,X C1/55B9: 3FE03EE1 AND $E13EE0,X C1/55BD: 3ED37E ROL $7ED3,X C1/55C0: B03E BCS $5600 C1/55C2: D27E CMP ($7E) C1/55C4: D17E CMP ($7E),Y C1/55C6: D07E BNE $5646 C1/55C8: B03E BCS $5608 C1/55CA: D63E DEC $3E,X C1/55CC: D73E CMP [$3E],Y C1/55CE: D8 CLD C1/55CF: 3ED93E ROL $3ED9,X C1/55D2: DA PHX C1/55D3: 3EC53E ROL $3EC5,X C1/55D6: 1B TCS C1/55D7: 3F1C3F1D AND $1D3F1C,X C1/55DB: 3FE23EE3 AND $E33EE2,X C1/55DF: 3ED97E ROL $7ED9,X C1/55E2: D8 CLD C1/55E3: 7ED77E ROR $7ED7,X C1/55E6: D67E DEC $7E,X C1/55E8: B03E BCS $5628 C1/55EA: B03E BCS $562A C1/55EC: B03E BCS $562C C1/55EE: DB STP C1/55EF: 3EDC3E ROL $3EDC,X C1/55F2: DD3EDE CMP $DE3E,X C1/55F5: 3EDF3E ROL $3EDF,X C1/55F8: 1E3F1F ASL $1F3F,X C1/55FB: 3F203FE4 AND $E43F20,X C1/55FF: 3EE53E ROL $3EE5,X C1/5602: DD7EDC CMP $DC7E,X C1/5605: 7EDB7E ROR $7EDB,X C1/5608: B03E BCS $5648 C1/560A: B03E BCS $564A C1/560C: B03E BCS $564C C1/560E: B03E BCS $564E C1/5610: B03E BCS $5650 C1/5612: B03E BCS $5652 C1/5614: B03E BCS $5654 C1/5616: B03E BCS $5656 C1/5618: 213F AND ($3F,X) C1/561A: 223F233F JSR $3F233F C1/561E: 243F BIT $3F C1/5620: 253F AND $3F C1/5622: B03E BCS $5662 C1/5624: B03E BCS $5664 C1/5626: B03E BCS $5666 C1/5628: B03E BCS $5668 C1/562A: B03E BCS $566A C1/562C: B03E BCS $566C C1/562E: B03E BCS $566E C1/5630: B03E BCS $5670 C1/5632: B03E BCS $5672 C1/5634: B03E BCS $5674 C1/5636: B03E BCS $5676 C1/5638: B03E BCS $5678 C1/563A: 263F ROL $3F C1/563C: 273F AND [$3F] C1/563E: 28 PLP C1/563F: 3F293F2A AND $2A3F29,X C1/5643: 3FB03EB0 AND $B03EB0,X C1/5647: 3EB03E ROL $3EB0,X C1/564A: B03E BCS $568A C1/564C: B03E BCS $568C C1/564E: B03E BCS $568E C1/5650: B03E BCS $5690 C1/5652: B03E BCS $5692 C1/5654: B03E BCS $5694 C1/5656: B03E BCS $5696 C1/5658: B03E BCS $5698 C1/565A: B03E BCS $569A C1/565C: 2B PLD C1/565D: 3F2C3F2D AND $2D3F2C,X C1/5661: 3F2E3F2F AND $2F3F2E,X C1/5665: 3FB03EB0 AND $B03EB0,X C1/5669: 3EB03E ROL $3EB0,X C1/566C: B03E BCS $56AC C1/566E: B03E BCS $56AE C1/5670: B03E BCS $56B0 C1/5672: B03E BCS $56B2 C1/5674: B03E BCS $56B4 C1/5676: B03E BCS $56B6 C1/5678: B03E BCS $56B8 C1/567A: B03E BCS $56BA C1/567C: B03E BCS $56BC C1/567E: B03E BCS $56BE C1/5680: 303F BMI $56C1 C1/5682: 313F AND ($3F),Y C1/5684: 323F AND ($3F) C1/5686: 333F AND ($3F,S),Y C1/5688: B03E BCS $56C8 C1/568A: B03E BCS $56CA C1/568C: B03E BCS $56CC C1/568E: B03E BCS $56CE C1/5690: B03E BCS $56D0 C1/5692: B03E BCS $56D2 C1/5694: B03E BCS $56D4 C1/5696: B03E BCS $56D6 C1/5698: B03E BCS $56D8 C1/569A: B03E BCS $56DA C1/569C: B03E BCS $56DC C1/569E: B03E BCS $56DE C1/56A0: B03E BCS $56E0 C1/56A2: 343F BIT $3F,X C1/56A4: B03E BCS $56E4 C1/56A6: 353F AND $3F,X C1/56A8: B03E BCS $56E8 C1/56AA: B03E BCS $56EA C1/56AC: B03E BCS $56EC C1/56AE: B03E BCS $56EE C1/56B0: B03E BCS $56F0 C1/56B2: B03E BCS $56F2 C1/56B4: B03E BCS $56F4 C1/56B6: 00B0 BRK #$B0 C1/56B8: 3EB03E ROL $3EB0,X C1/56BB: B03E BCS $56FB C1/56BD: B03E BCS $56FD C1/56BF: B03E BCS $56FF C1/56C1: 153F ORA $3F,X C1/56C3: 163F ASL $3F,X C1/56C5: 173F ORA [$3F],Y C1/56C7: B03E BCS $5707 C1/56C9: B03E BCS $5709 C1/56CB: B03E BCS $570B C1/56CD: B03E BCS $570D C1/56CF: B03E BCS $570F C1/56D1: B03E BCS $5711 C1/56D3: B03E BCS $5713 C1/56D5: B03E BCS $5715 C1/56D7: 363F ROL $3F,X C1/56D9: D53E CMP $3E,X C1/56DB: 18 CLC C1/56DC: 3F193F1A AND $1A3F19,X C1/56E0: 3FE03EE1 AND $E13EE0,X C1/56E4: 3EB03E ROL $3EB0,X C1/56E7: B03E BCS $5727 C1/56E9: B03E BCS $5729 C1/56EB: B03E BCS $572B C1/56ED: B03E BCS $572D C1/56EF: FD3EFE SBC $FE3E,X C1/56F2: 3EC53E ROL $3EC5,X C1/56F5: 1B TCS C1/56F6: 3F1C3F1D AND $1D3F1C,X C1/56FA: 3F103F11 AND $113F10,X C1/56FE: 3FFD7EB0 AND $B07EFD,X C1/5702: 3EB03E ROL $3EB0,X C1/5705: B03E BCS $5745 C1/5707: FF3E373F SBC $3F373E,X C1/570B: 013F ORA ($3F,X) C1/570D: 023F COP #$3F C1/570F: 1E3F1F ASL $1F3F,X C1/5712: 3F203F12 AND $123F20,X C1/5716: 3F133F37 AND $373F13,X C1/571A: 7FFF7EB0 ADC $B07EFF,X C1/571E: 3E033F ROL $3F03,X C1/5721: 043F TSB $3F C1/5723: 053F ORA $3F C1/5725: 063F ASL $3F C1/5727: 073F ORA [$3F] C1/5729: 223F233F JSR $3F233F C1/572D: 243F BIT $3F C1/572F: 143F TRB $3F C1/5731: 067F ASL $7F C1/5733: 057F ORA $7F C1/5735: 047F TSB $7F C1/5737: 037F ORA $7F,S C1/5739: 08 PHP C1/573A: 3F093F0A AND $0A3F09,X C1/573E: 3F0B3F26 AND $263F0B,X C1/5742: 3F273F28 AND $283F27,X C1/5746: 3F293F2A AND $2A3F29,X C1/574A: 3F0B7F0A AND $0A7F0B,X C1/574E: 7F097F08 ADC $087F09,X C1/5752: 7FB03E0C ADC $0C3EB0,X C1/5756: 3F0D3FB0 AND $B03F0D,X C1/575A: 3E2B3F ROL $3F2B,X C1/575D: 2C3F2D BIT $2D3F C1/5760: 3F2E3F2F AND $2F3F2E,X C1/5764: 3FB03E0D AND $0D3EB0,X C1/5768: 7F0C7FB0 ADC $B07F0C,X C1/576C: 3EB03E ROL $3EB0,X C1/576F: 0E3FB0 ASL $B03F C1/5772: 3EB03E ROL $3EB0,X C1/5775: B03E BCS $57B5 C1/5777: 303F BMI $57B8 C1/5779: 313F AND ($3F),Y C1/577B: 323F AND ($3F) C1/577D: 333F AND ($3F,S),Y C1/577F: B03E BCS $57BF C1/5781: B03E BCS $57C1 C1/5783: 0E7FB0 ASL $B07F C1/5786: 3EB03E ROL $3EB0,X C1/5789: 0F3FB03E ORA $3EB03F C1/578D: B03E BCS $57CD C1/578F: B03E BCS $57CF C1/5791: 343F BIT $3F,X C1/5793: B03E BCS $57D3 C1/5795: 353F AND $3F,X C1/5797: B03E BCS $57D7 C1/5799: B03E BCS $57D9 C1/579B: B03E BCS $57DB C1/579D: 0F7FB03E ORA $3EB07F C1/57A1: 00B0 BRK #$B0 C1/57A3: 3EB03E ROL $3EB0,X C1/57A6: B03E BCS $57E6 C1/57A8: B03E BCS $57E8 C1/57AA: B03E BCS $57EA C1/57AC: 153F ORA $3F,X C1/57AE: 163F ASL $3F,X C1/57B0: 173F ORA [$3F],Y C1/57B2: B03E BCS $57F2 C1/57B4: B03E BCS $57F4 C1/57B6: B03E BCS $57F6 C1/57B8: B03E BCS $57F8 C1/57BA: B03E BCS $57FA C1/57BC: B03E BCS $57FC C1/57BE: E63E INC $3E C1/57C0: E73E SBC [$3E] C1/57C2: E8 INX C1/57C3: 3EE93E ROL $3EE9,X C1/57C6: 18 CLC C1/57C7: 3F193F1A AND $1A3F19,X C1/57CB: 3FF73EF8 AND $F83EF7,X C1/57CF: 3EE77E ROL $7EE7,X C1/57D2: E67E INC $7E C1/57D4: B03E BCS $5814 C1/57D6: EA NOP C1/57D7: 3EEB3E ROL $3EEB,X C1/57DA: EC3EED CPX $ED3E C1/57DD: 3EC53E ROL $3EC5,X C1/57E0: 1B TCS C1/57E1: 3F1C3F1D AND $1D3F1C,X C1/57E5: 3FF93EFA AND $FA3EF9,X C1/57E9: 3EEC7E ROL $7EEC,X C1/57EC: EB XBA C1/57ED: 7EEA7E ROR $7EEA,X C1/57F0: EE3EEF INC $EF3E C1/57F3: 3EF03E ROL $3EF0,X C1/57F6: F13E SBC ($3E),Y C1/57F8: F23E SBC ($3E) C1/57FA: 1E3F1F ASL $1F3F,X C1/57FD: 3F203FFB AND $FB3F20,X C1/5801: 3EFC3E ROL $3EFC,X C1/5804: F07E BEQ $5884 C1/5806: EF7EEE7E SBC $7EEE7E C1/580A: B03E BCS $584A C1/580C: F33E SBC ($3E,S),Y C1/580E: F43EB0 PEA $B03E C1/5811: 3E213F ROL $3F21,X C1/5814: 223F233F JSR $3F233F C1/5818: 243F BIT $3F C1/581A: 253F AND $3F C1/581C: B03E BCS $585C C1/581E: F47EF3 PEA $F37E C1/5821: 7EB03E ROR $3EB0,X C1/5824: B03E BCS $5864 C1/5826: B03E BCS $5866 C1/5828: F53E SBC $3E,X C1/582A: B03E BCS $586A C1/582C: 263F ROL $3F C1/582E: 273F AND [$3F] C1/5830: 28 PLP C1/5831: 3F293F2A AND $2A3F29,X C1/5835: 3FB03EF5 AND $F53EB0,X C1/5839: 7EB03E ROR $3EB0,X C1/583C: B03E BCS $587C C1/583E: B03E BCS $587E C1/5840: B03E BCS $5880 C1/5842: F63E INC $3E,X C1/5844: B03E BCS $5884 C1/5846: 2B PLD C1/5847: 3F2C3F2D AND $2D3F2C,X C1/584B: 3F2E3F2F AND $2F3F2E,X C1/584F: 3FB03EF6 AND $F63EB0,X C1/5853: 7EB03E ROR $3EB0,X C1/5856: B03E BCS $5896 C1/5858: B03E BCS $5898 C1/585A: B03E BCS $589A C1/585C: B03E BCS $589C C1/585E: B03E BCS $589E C1/5860: B03E BCS $58A0 C1/5862: 303F BMI $58A3 C1/5864: 313F AND ($3F),Y C1/5866: 323F AND ($3F) C1/5868: 333F AND ($3F,S),Y C1/586A: B03E BCS $58AA C1/586C: B03E BCS $58AC C1/586E: B03E BCS $58AE C1/5870: B03E BCS $58B0 C1/5872: B03E BCS $58B2 C1/5874: B03E BCS $58B4 C1/5876: B03E BCS $58B6 C1/5878: B03E BCS $58B8 C1/587A: B03E BCS $58BA C1/587C: 343F BIT $3F,X C1/587E: B03E BCS $58BE C1/5880: 353F AND $3F,X C1/5882: B03E BCS $58C2 C1/5884: B03E BCS $58C4 C1/5886: B03E BCS $58C6 C1/5888: B03E BCS $58C8 C1/588A: B03E BCS $58CA C1/588C: 01C0 ORA ($C0,X) C1/588E: B03E BCS $58CE C1/5890: 0000 BRK #$00 C1/5892: 0000 BRK #$00 C1/5894: 0000 BRK #$00 C1/5896: 0000 BRK #$00 C1/5898: 0000 BRK #$00 C1/589A: 0000 BRK #$00 C1/589C: 0000 BRK #$00 C1/589E: 0000 BRK #$00 C1/58A0: 0000 BRK #$00 C1/58A2: 0000 BRK #$00 C1/58A4: 0000 BRK #$00 C1/58A6: 0000 BRK #$00 C1/58A8: 0000 BRK #$00 C1/58AA: 0000 BRK #$00 C1/58AC: 0000 BRK #$00 C1/58AE: 0000 BRK #$00 C1/58B0: 0000 BRK #$00 C1/58B2: 0000 BRK #$00 C1/58B4: 0000 BRK #$00 C1/58B6: 0000 BRK #$00 C1/58B8: 0000 BRK #$00 C1/58BA: 0000 BRK #$00 C1/58BC: 0000 BRK #$00 C1/58BE: 0000 BRK #$00 C1/58C0: 0000 BRK #$00 C1/58C2: 0000 BRK #$00 C1/58C4: 0000 BRK #$00 C1/58C6: 0000 BRK #$00 C1/58C8: 0000 BRK #$00 C1/58CA: 0000 BRK #$00 C1/58CC: 0000 BRK #$00 C1/58CE: 0001 BRK #$01 C1/58D0: 1F010203 ORA $030201,X C1/58D4: 0405 TSB $05 C1/58D6: C300 CMP $00,S C1/58D8: 0006 BRK #$06 C1/58DA: 07CF ORA [$CF] C1/58DC: 5F5F0809 EOR $09085F,X C1/58E0: 0000 BRK #$00 C1/58E2: 78 SEI C1/58E3: 0A ASL A C1/58E4: 60 RTS C1/58E5: 5F5FBF67 EOR $67BF5F,X C1/58E9: 1100 ORA ($00),Y C1/58EB: 0B PHD C1/58EC: 0C615F TSB $5F61 C1/58EF: 9F5F6D66 STA $666D5F,X C1/58F3: 5F1213EA EOR $EA1312,X C1/58F7: 0D5F6E ORA $6E5F C1/58FA: 6C5F1E JMP ($1E5F) C1/58FD: 140E TRB $0E C1/58FF: 5F5F0B6F EOR $6F0B5F,X C1/5903: 6D15F0 ADC $F015 C1/5906: 0F105F5F ORA $5F5F10 C1/590A: 3F161700 AND $001716,X C1/590E: 0018 BRK #$18 C1/5910: 19FF1A ORA $1AFF,Y C1/5913: 1B TCS C1/5914: 1C1D1E TRB $1E1D C1/5917: 1F000001 ORA $010000,X C1/591B: 1F202122 ORA $222120,X C1/591F: 2324 AND $24,S C1/5921: E325 SBC $25,S C1/5923: 0000 BRK #$00 C1/5925: 2627 ROL $27 C1/5927: CF5F5F28 CMP $285F5F C1/592B: 290000 AND #$0000 C1/592E: 78 SEI C1/592F: 2A ROL A C1/5930: 625F5F PER $B892 C1/5933: BF693100 LDA $003169,X C1/5937: 2B PLD C1/5938: 2C635F BIT $5F63 C1/593B: DB STP C1/593C: 5F6F5F68 EOR $685F6F,X C1/5940: 3233 AND ($33) C1/5942: EA NOP C1/5943: 2D5F6F AND $6F5F C1/5946: 6D5F1F ADC $1F5F C1/5949: 342E BIT $2E,X C1/594B: 6D5F5F ADC $5F5F C1/594E: 0B PHD C1/594F: 6E6C35 ROR $356C C1/5952: F12F SBC ($2F),Y C1/5954: 305F BMI $59B5 C1/5956: 5F6D7F5F EOR $5F7F6D,X C1/595A: 3637 ROL $37,X C1/595C: 0000 BRK #$00 C1/595E: 38 SEC C1/595F: 39FF3A AND $3AFF,Y C1/5962: 3B TSC C1/5963: 3C3D3E BIT $3E3D,X C1/5966: 3F000001 AND $010000,X C1/596A: 0F404142 ORA $424140 C1/596E: 43E3 EOR $E3,S C1/5970: 440000 MVP $00,$00 C1/5973: 4546 EOR $46 C1/5975: CF5F5F47 CMP $475F5F C1/5979: 48 PHA C1/597A: 0000 BRK #$00 C1/597C: 78 SEI C1/597D: 49645F EOR #$5F64 C1/5980: 5FBF6B50 EOR $506BBF,X C1/5984: 004A BRK #$4A C1/5986: 4B PHK C1/5987: 655F ADC $5F C1/5989: DF5F6E6D CMP $6D6E5F,X C1/598D: 6A ROR A C1/598E: 5F5152E0 EOR $E05251,X C1/5992: 4C5F5F JMP $5F5F C1/5995: 1F534D6C ORA $6C4D53,X C1/5999: 5F5F0B6F EOR $6F0B5F,X C1/599D: 6D54F1 ADC $F154 C1/59A0: 4E4F5F LSR $5F4F C1/59A3: 5F6C7F5F EOR $5F7F6C,X C1/59A7: 5556 EOR $56,X C1/59A9: 0000 BRK #$00 C1/59AB: 5758 EOR [$58],Y C1/59AD: FF595A5B SBC $5B5A59,X C1/59B1: 5C5D5E00 JMP $005E5D C1/59B5: 0001 BRK #$01 C1/59B7: 1F202122 ORA $222120,X C1/59BB: 2324 AND $24,S C1/59BD: E325 SBC $25,S C1/59BF: 0000 BRK #$00 C1/59C1: 2627 ROL $27 C1/59C3: CF5F5F28 CMP $285F5F C1/59C7: 290000 AND #$0000 C1/59CA: 78 SEI C1/59CB: 2A ROL A C1/59CC: 625F5F PER $B92E C1/59CF: BF693100 LDA $003169,X C1/59D3: 2B PLD C1/59D4: 2C635F BIT $5F63 C1/59D7: DF5F6F6D CMP $6D6F5F,X C1/59DB: 68 PLA C1/59DC: 5F3233EA EOR $EA3332,X C1/59E0: 2D5F6F AND $6F5F C1/59E3: 6D5F1F ADC $1F5F C1/59E6: 342E BIT $2E,X C1/59E8: 6D5F5F ADC $5F5F C1/59EB: 0135 ORA ($35,X) C1/59ED: F12F SBC ($2F),Y C1/59EF: 305F BMI $5A50 C1/59F1: 5F6D7F5F EOR $5F7F6D,X C1/59F5: 3637 ROL $37,X C1/59F7: 0000 BRK #$00 C1/59F9: 38 SEC C1/59FA: 39FF3A AND $3AFF,Y C1/59FD: 3B TSC C1/59FE: 3C3D3E BIT $3E3D,X C1/5A01: 3F000001 AND $010000,X C1/5A05: 0000 BRK #$00 C1/5A07: 0000 BRK #$00 C1/5A09: 0000 BRK #$00 C1/5A0B: 0000 BRK #$00 C1/5A0D: 0000 BRK #$00 C1/5A0F: 0000 BRK #$00 C1/5A11: 0000 BRK #$00 C1/5A13: 0000 BRK #$00 C1/5A15: 0000 BRK #$00 C1/5A17: 0000 BRK #$00 C1/5A19: 0000 BRK #$00 C1/5A1B: 0000 BRK #$00 C1/5A1D: 0000 BRK #$00 C1/5A1F: 0000 BRK #$00 C1/5A21: 0000 BRK #$00 C1/5A23: 0000 BRK #$00 [] {C7/EE36} C1/5A25: 0114 0100 0A02 003F 0304 0506 0700 FF00 C1/5A35: 0809 0A0B 0C00 003F 0D0E 0F10 1112 FF13 C1/5A45: 1415 1617 1800 000F 191A 1B1C FC1D 1E1F C1/5A55: 2000 007F 2122 2324 2526 27FF 2829 2A2B C1/5A65: 2C2D 2E00 FF00 2F30 3132 3334 35FF 3637 C1/5A75: 3839 3A3B 3C00 BF00 3D3E 3F40 4142 FF43 C1/5A85: 4445 4647 4800 000F 494A 4B4C FC4D 4E4F C1/5A95: 5000 000F 5152 5354 F855 5657 0000 0F58 C1/5AA5: 595A 5BF8 5C5D 5E00 0003 5F60 F061 6200 C1/5AB5: 0003 6364 E065 0000 0366 67E0 6800 0003 C1/5AC5: 696A C000 0001 6B40 0001 6C40 00 [Probably 0x100 bytes compressed by some scheme read in bank 2. Related to the Mana Beast.] [] {C7/EE4A} C1/5AD2: 0100 0000 000F 6D6E 6F00 F870 7172 0000 C1/5AE2: FF73 7475 7677 7879 7AFF 7B7C 7D7E 7F80 C1/5AF2: 8182 FF00 0083 8485 8687 88FF 898A 8B8C C1/5B02: 8D8E 0000 0F8F 9034 35FC 3637 3891 0000 C1/5B12: 0F92 9341 42FC 4394 9596 0000 1F97 984A C1/5B22: 4B4C FE4D 4E99 9A9B 0000 FF9C 9D9E 9FA0 C1/5B32: A153 54FF 5556 A2A3 A4A5 A6A7 FF00 A8A9 C1/5B42: 0058 595A 5BFF 5C5D 5E00 00AA AB00 8300 C1/5B52: 5F60 F061 6200 0003 ACAD E0AE 0000 03AF C1/5B62: B0E0 B100 0003 B2B3 C000 0003 B4B5 C000 C1/5B72: 0001 B640 00 [Related to the Mana Beast?] {C7/EE5E} [c21d7e lda [$76] [c15b77]] [Stuff stored into $7C,Y? (7FBC00,Y), with 000274 used as a counter towards this] C1/5B77: 0000 0000 0000 0000 0000 0000 0000 0000 C1/5B87: 0000 0000 0000 0000 0000 0000 0000 0000 C1/5B97: 0000 0000 006D 6E6F 0070 7172 0000 0000 C1/5BA7: 0000 00B7 B877 7879 7A7B 7C7D 7EBC BD00 C1/5BB7: 0000 B9BA BB85 8687 8889 8A8B 8CBE BFC0 C1/5BC7: 0000 0000 008F 9034 3536 3738 9100 0000 C1/5BD7: 0000 0000 0092 9341 4243 9495 9600 0000 C1/5BE7: 0000 0000 9798 4A4B 4C4D 4E99 9A9B 0000 C1/5BF7: 0000 00C1 C2A0 A153 5455 56A2 A3C7 C800 C1/5C07: 0000 C3C4 C558 595A 5B5C 5D5E 00C9 CACB C1/5C17: 0000 C600 0000 005F 6061 6200 0000 00CC C1/5C27: 0000 0000 0000 00AC ADAE 0000 0000 0000 C1/5C37: 0000 0000 0000 00AF B0B1 0000 0000 0000 C1/5C47: 0000 0000 0000 00B2 B300 0000 0000 0000 C1/5C57: 0000 0000 0000 00B4 B500 0000 0000 0000 C1/5C67: 0000 0000 0000 0000 B600 0000 0000 0000 C1/5C77: 00 [] {C7/EE72} C1/5C78: 0000 0102 0304 0500 0607 0809 0A0B 0C0D C1/5C88: 0E0F 1011 1213 1415 1617 1819 1A00 1B1C C1/5C98: 1D1E 1F20 [] {C7/EE8A} C1/5C9C: 007F 8081 0082 00 [] {C7/EEA2} C1/5CA3: 0000 8384 0085 8687 88 [] {C7/EEBA} C1/5CAC: 0000 898A 008B 8C8D 8E00 8F90 00 [] {C7/EED2} C1/5CB9: 0092 9394 9596 9798 00 [] {C7/EEEA} C1/5CC2: 0099 9A9B 0000 9C9D 9E [] {C7/EF02} C1/5CCB: 009F A0A1 00A2 00 [] {C7/EF1A} C1/5CD2: 00A3 A4A5 A6A7 A8 [] {C7/EF32} C1/5CD9: 017F 2122 2324 2526 27FB 2829 2A00 2B2C C1/5CE9: 2DFF 2E2F 3031 3233 0034 FF35 3637 3839 C1/5CF9: 3A3B 3CFF 3D3E 3F40 0041 4243 FF44 4546 C1/5D09: 4748 494A 009F 004B 4C4D 4E4F E150 0000 C1/5D19: 51FE 5253 5455 5600 00 [] {C7/EF4A} C1/5D22: 0129 5700 58E7 5900 005A 5B5C FF5D 5E5F C1/5D32: 6061 6263 00FF 6465 6667 6869 6A6B FF6C C1/5D42: 6D6E 6F00 0070 71FE 7273 7475 7600 001F C1/5D52: 7778 797A 7BC0 0000 F87C 7D7E 0000 [] {C7/EF62} C1/5D60: 0000 0000 0000 00A9 AA00 0000 AB00 0000 C1/5D70: 0000 0000 ACAD AEAF B0B1 B2B3 0000 00B4 C1/5D80: B5B6 B7B8 B9BA BBBC BDBE 0000 0000 BFC0 C1/5D90: C1C2 C3C4 C5C6 C7C8 0000 0000 00C9 CACB C1/5DA0: CCCD CECF D0D1 D2D3 D4D5 D6D7 0000 D8D9 C1/5DB0: DADB DCDD DEDF E0E1 E200 0000 00E3 E4E5 C1/5DC0: E6E7 E8E9 EAEB 0000 0000 0000 ECED EEEF C1/5DD0: F0F1 F2F3 0000 0000 0000 0000 0000 00F4 C1/5DE0: F5F6 0000 0000 0000 [] {C7/EE72 et al.} C1/5DE8: 0100 0000 0000 0000 0000 0000 0000 0000 C1/5DF8: 0000 0000 0000 0000 0000 0000 0000 0000 C1/5E08: 00 [...what the devil is this?] [...turns out I was a byte too far. Still not sure if this is all one thing or not, though.] [] {C7/F18C} C1/5E09: 00 BRK #$00 C1/5E0A: 0A3B C1/5E0C: 093B C1/5E0E: 093B C1/5E10: 093B C1/5E12: 093B C1/5E14: 093B C1/5E16: 093B C1/5E18: 093B C1/5E1A: 093B C1/5E1C: 093B C1/5E1E: 093B C1/5E20: 093B C1/5E22: 093B C1/5E24: 093B C1/5E26: 097B C1/5E28: 097B C1/5E2A: 097B C1/5E2C: 097B C1/5E2E: 097B C1/5E30: 097B C1/5E32: 097B C1/5E34: 097B C1/5E36: 097B C1/5E38: 097B C1/5E3A: 097B C1/5E3C: 097B C1/5E3E: 097B C1/5E40: 0A7B C1/5E42: 0ABB C1/5E44: 09BB C1/5E46: 09BB C1/5E48: 09BB C1/5E4A: 09BB C1/5E4C: 09BB C1/5E4E: 0BBB C1/5E50: 127B C1/5E52: 013B C1/5E54: 023B C1/5E56: 013B C1/5E58: 023B C1/5E5A: 013B C1/5E5C: 023B C1/5E5E: 027B C1/5E60: 017B C1/5E62: 027B C1/5E64: 017B C1/5E66: 027B C1/5E68: 017B C1/5E6A: 123B C1/5E6C: 0BFB C1/5E6E: 09FB C1/5E70: 09FB C1/5E72: 09FB C1/5E74: 09FB C1/5E76: 09FB C1/5E78: 0AFB C1/5E7A: 0F3B C1/5E7C: 0D7B C1/5E7E: 0D7B C1/5E80: 0D7B C1/5E82: 0D7B C1/5E84: 0F7B C1/5E86: 0ABB C1/5E88: 09BB C1/5E8A: 09BB C1/5E8C: 09BB C1/5E8E: 09BB C1/5E90: 09BB C1/5E92: 09BB C1/5E94: 09BB C1/5E96: 09FB C1/5E98: 09FB C1/5E9A: 09FB C1/5E9C: 09FB C1/5E9E: 09FB C1/5EA0: 09FB C1/5EA2: 09FB C1/5EA4: 0AFB C1/5EA6: 0F3B C1/5EA8: 0D3B C1/5EAA: 0D3B C1/5EAC: 0D3B C1/5EAE: 0D3B C1/5EB0: 0F7B C1/5EB2: 0C7B C1/5EB4: 073B C1/5EB6: 063B C1/5EB8: 073B C1/5EBA: 063B C1/5EBC: 0CFB C1/5EBE: 0F3B C1/5EC0: 0D7B C1/5EC2: 0D7B C1/5EC4: 0D7B C1/5EC6: 0D7B C1/5EC8: 0D7B C1/5ECA: 0D7B C1/5ECC: 0D7B C1/5ECE: 0D3B C1/5ED0: 0D3B C1/5ED2: 0D3B C1/5ED4: 0D3B C1/5ED6: 0D3B C1/5ED8: 0D3B C1/5EDA: 0D3B C1/5EDC: 0F7B C1/5EDE: 0CBB C1/5EE0: 067B C1/5EE2: 077B C1/5EE4: 067B C1/5EE6: 077B C1/5EE8: 0C3B C1/5EEA: 0C7B C1/5EEC: 043B C1/5EEE: 043B C1/5EF0: 053B C1/5EF2: 043B C1/5EF4: 0CFB C1/5EF6: 0C7B C1/5EF8: 043B C1/5EFA: 053B C1/5EFC: 043B C1/5EFE: 053B C1/5F00: 043B C1/5F02: 053B C1/5F04: 043B C1/5F06: 047B C1/5F08: 057B C1/5F0A: 047B C1/5F0C: 057B C1/5F0E: 047B C1/5F10: 057B C1/5F12: 047B C1/5F14: 0C3B C1/5F16: 0CBB C1/5F18: 047B C1/5F1A: 057B C1/5F1C: 047B C1/5F1E: 047B C1/5F20: 0C3B C1/5F22: 0C7B C1/5F24: 063B C1/5F26: 063B C1/5F28: 073B C1/5F2A: 063B C1/5F2C: 0CFB C1/5F2E: 0C7B C1/5F30: 063B C1/5F32: 073B C1/5F34: 063B C1/5F36: 073B C1/5F38: 063B C1/5F3A: 073B C1/5F3C: 063B C1/5F3E: 067B C1/5F40: 077B C1/5F42: 067B C1/5F44: 077B C1/5F46: 067B C1/5F48: 077B C1/5F4A: 067B C1/5F4C: 0C3B C1/5F4E: 0CBB C1/5F50: 067B C1/5F52: 077B C1/5F54: 067B C1/5F56: 067B C1/5F58: 0C3B C1/5F5A: 0C7B C1/5F5C: 043B C1/5F5E: 043B C1/5F60: 053B C1/5F62: 043B C1/5F64: 0CFB C1/5F66: 0C7B C1/5F68: 043B C1/5F6A: 053B C1/5F6C: 043B C1/5F6E: 053B C1/5F70: 043B C1/5F72: 053B C1/5F74: 043B C1/5F76: 047B C1/5F78: 057B C1/5F7A: 047B C1/5F7C: 057B C1/5F7E: 047B C1/5F80: 057B C1/5F82: 047B C1/5F84: 0C3B C1/5F86: 0CBB C1/5F88: 047B C1/5F8A: 057B C1/5F8C: 047B C1/5F8E: 047B C1/5F90: 0C3B C1/5F92: 0C7B C1/5F94: 063B C1/5F96: 063B C1/5F98: 073B C1/5F9A: 063B C1/5F9C: 0CFB C1/5F9E: 0C7B C1/5FA0: 063B C1/5FA2: 073B C1/5FA4: 063B C1/5FA6: 073B C1/5FA8: 063B C1/5FAA: 073B C1/5FAC: 063B C1/5FAE: 067B C1/5FB0: 077B C1/5FB2: 067B C1/5FB4: 077B C1/5FB6: 067B C1/5FB8: 077B C1/5FBA: 067B C1/5FBC: 0C3B C1/5FBE: 0CBB C1/5FC0: 067B C1/5FC2: 077B C1/5FC4: 067B C1/5FC6: 067B C1/5FC8: 0C3B C1/5FCA: 0C7B C1/5FCC: 053B C1/5FCE: 043B C1/5FD0: 053B C1/5FD2: 043B C1/5FD4: 0C7B C1/5FD6: 0C7B C1/5FD8: 043B C1/5FDA: 053B C1/5FDC: 043B C1/5FDE: 053B C1/5FE0: 043B C1/5FE2: 053B C1/5FE4: 043B C1/5FE6: 047B C1/5FE8: 057B C1/5FEA: 047B C1/5FEC: 057B C1/5FEE: 047B C1/5FF0: 057B C1/5FF2: 047B C1/5FF4: 0C3B C1/5FF6: 0C3B C1/5FF8: 047B C1/5FFA: 057B C1/5FFC: 047B C1/5FFE: 057B C1/6000: 0C3B C1/6002: 0E3B C1/6004: 0D7B C1/6006: 0D7B C1/6008: 0D7B C1/600A: 0D7B C1/600C: 0E7B C1/600E: 0C7B C1/6010: 063B C1/6012: 073B C1/6014: 063B C1/6016: 073B C1/6018: 063B C1/601A: 073B C1/601C: 063B C1/601E: 067B C1/6020: 077B C1/6022: 067B C1/6024: 077B C1/6026: 067B C1/6028: 077B C1/602A: 067B C1/602C: 0C3B C1/602E: 0E3B C1/6030: 0D3B C1/6032: 0D3B C1/6034: 0D3B C1/6036: 0D3B C1/6038: 0E7B C1/603A: 003B C1/603C: 003B C1/603E: 003B C1/6040: 003B C1/6042: 003B C1/6044: 003B C1/6046: 0E3B C1/6048: 0D7B C1/604A: 0D7B C1/604C: 0D7B C1/604E: 0D7B C1/6050: 0D7B C1/6052: 0D7B C1/6054: 0D7B C1/6056: 0D3B C1/6058: 0D3B C1/605A: 0D3B C1/605C: 0D3B C1/605E: 0D3B C1/6060: 0D3B C1/6062: 0D3B C1/6064: 0E7B C1/6066: 003B C1/6068: 003B C1/606A: 003B C1/606C: 003B C1/606E: 003B C1/6070: 003B [] {C7/F18C} C1/6072: 0014 3B07 3B06 3B07 3B15 3B16 3B04 3B05 C1/6082: 3B17 3B18 3B19 3B1A 3B04 3B1B 3B1C 3B1D C1/6092: 3B [] {C7/F19E} C1/6093: 001E 3B07 3B06 3B07 3B1F 3B20 3B21 3B22 C1/60A3: 3B36 3B37 3B38 3B39 3B23 3B24 3B25 3B26 C1/60B3: 3B [] {C7/F1B0} C1/60B4: 0027 3B28 3B29 3B07 3B2A 3B2B 3B2C 3B2D C1/60C4: 3B2E 3B2F 3B30 3B31 3B32 3B33 3B34 3B35 C1/60D4: 3B [] {C7/F1C2} C1/60D5: 0007 7B06 7B07 7B14 7B05 7B04 7B16 7B15 C1/60E5: 7B1A 7B19 7B18 7B17 7B1D 7B1C 7B1B 7B04 C1/60F5: 7B [] {C7/F1CE} C1/60F6: 0007 7B06 7B07 7B1E 7B22 7B21 7B20 7B1F C1/6106: 7B39 7B38 7B37 7B36 7B26 7B25 7B24 7B23 C1/6116: 7B [] {C7/F1DA} C1/6117: 0007 7B29 7B28 7B27 7B2D 7B2C 7B2B 7B2A C1/6127: 7B31 7B30 7B2F 7B2E 7B35 7B34 7B33 7B32 C1/6137: 7B [] {C7/F1E6} C1/6138: 0140 0300 0000 0000 0000 0000 0000 0000 C1/6148: 0000 0000 0000 0000 0000 0000 0000 0000 C1/6158: 0000 0000 0000 0000 0000 0000 0000 0000 C1/6168: 0000 0000 0000 0000 0000 0000 0000 0000 C1/6178: 0000 0000 0000 0000 0000 0000 0000 0000 C1/6188: 0000 0000 0000 0000 0000 0000 0000 0000 C1/6198: 0000 0000 0000 0000 0000 0000 0000 0000 C1/61A8: 0000 0000 0000 0000 0000 0000 0000 0000 C1/61B8: 00 [Boss Graphics Scripts] [All of these read in C2/21B7 (BossGraphicsScriptHandler)] [A generalized set of graphics commands? Pointer hardcoded at C2/004F] C1/61BA: 18 [Only time 18 is used?] C1/61BB: 13 CB02 1A65 C1/61C0: 13 C00F 0050 C1/61C5: 13 C20F FFFF C1/61CA: FF [03: Mantis Ant] C1/61CB: 13 0403 0000 C1/61D0: 19 0000 [2F:??] C1/61D3: 1D 0700 C1/61D6: 01 0E00 0E00 {Elliot's sprites, I'd guess} C1/61DB: FF [...does anything read this?] C1/61DC: 0D0C C1/61DE: FF [0F: Metal Mantis] C1/61DF: 13 0403 0100 [Unknown] C1/61E4: 19 0000 [Unknown] [3B: ??] C1/61E7: 1D 0700 [Unknown] C1/61EA: FF [End] [Unreachable?] C1/61EB: 0D0D C1/61ED: FF [Stray FF] C1/61EE: FF [08: Jabberwocky] C1/61EF: 13 0403 0000 [Unknown] C1/61F4: 16 1118 DB56 [Unknown] [34: ??] C1/61F9: 1D 0600 [Unknown] C1/61FC: FF [End] [Unreachable?] C1/61FD: 0D10 C1/61FF: FF [19: Hydra] C1/6200: 13 0403 0100 [Unknown] C1/6205: 16 1118 DB56 [Unknown] [45] C1/620A: 1D 0600 [Unknown] C1/620D: FF [End] [Unreachable?] C1/620E: 0D11 C1/6210: FF [11: Kilroy] C1/6211: 13 0403 0000 [Unknown] C1/6216: 19 0200 [Unknown] C1/6219: 04 0020 A041 [Unknown] C1/621E: 04 0020 5D41 [Unknown] [3D] C1/6223: 1D 0300 [Unknown] C1/6226: 1D 0400 [Unknown] C1/6229: FF [End] [?] C1/622A: 0D12 C1/622C: 0E13 C1/622E: FF [1C: Kettle Kin] C1/622F: 13 0403 0100 [Unknown] C1/6234: 19 0600 [Unknown] C1/6237: 04 0020 F9D3 [Unknown] C1/623C: 04 0020 5D41 [Unknown] [48] C1/6241: 1D 0300 [Unknown] C1/6244: 1D 0400 [Unknown] C1/6247: FF [End] [?] C1/6248: 0D16 C1/624A: 0E17 C1/624C: FF [06: Minotaur] C1/624D: 13 0403 0000 [Unknown] [32] C1/6252: 19 0100 [Unknown] C1/6255: 11 0800 [Unknown] C1/6258: FF [End] [?] C1/6259: 0D1A C1/625B: 0E1B C1/625D: FF [12: Gorgon Bull] C1/625E: 13 0403 0100 [Unknown] C1/6263: 19 0100 [Unknown] [3E] C1/6266: 11 0800 [Unknown] C1/6269: FF [End] [?] C1/626A: 0D1F C1/626C: 0E1F C1/626E: FF [00: Unreachable?] [05: Tropicallo] [13: Brambler] C1/626F: 13 0403 0000 [Unknown] C1/6274: 13 CB02 6765 [Unknown] C1/6279: 16 1118 A844 [Unknown] [2C] [31] [3F] C1/627E: 1D 0000 [Unknown] C1/6281: 11 1E00 [Unknown] C1/6284: 11 2700 [Unknown] C1/6287: 01 2200 0F00 [Unknown] C1/628C: FF [End] [?] C1/628D: 0D20 C1/628F: 0E21 C1/6291: FF [14: Boreal Face] C1/6292: 13 0403 0100 [Unknown] C1/6297: 13 CB02 6765 [Unknown] C1/629C: 16 1118 A844 [Unknown] [40] C1/62A1: 1D 0000 [Unknown] C1/62A4: 11 1E00 [Unknown] C1/62A7: 11 2700 [Unknown] C1/62AA: 01 2500 0F00 [Unknown] C1/62AF: FF [End] [?] C1/62B0: 0D23 C1/62B2: 0E24 C1/62B4: FF [18: Chamber's Eye] [44: ??] C1/62B5: FF [1A: Aegagropilon] C1/62B6: 17 [Unknown] C1/62B7: 19 0E00 [Unknown] C1/62BA: 13 C00F 0000 [Unknown] C1/62BF: 13 C20F 0000 [Unknown] [46] C1/62C4: 1D 0900 [Unknown] C1/62C7: 1D 0A00 [Unknown] C1/62CA: FF [End] [?] C1/62CB: 072A C1/62BD: 0D2A C1/62CF: FF [07: Spikey Tiger] C1/62D0: 13 0403 0000 [Unknown] C1/62D5: 19 0C00 [Unknown] [33] C1/62D8: 11 0C00 [Unknown] C1/62DB: FF [End] [?] C1/62DC: 0D2D C1/62DE: 0E2D C1/62E0: FF [17: Blue Spike] C1/62E1: 13 0403 0100 [Unknown] C1/62E6: 19 0C00 [Unknown] [43] C1/62E9: 11 0C00 [Unknown] C1/62EC: FF [End] [?] C1/62ED: 0D2F C1/62EF: 0E2F C1/62F1: FF [01,02: Unreachable?] [1D: Ton Pole] [26: Biting Lizard] C1/62F2: 13 0403 0000 [Unknown] C1/62F7: 19 0500 [Unknown] [2D] [2E] [49] [52] C1/62FA: 11 0D00 [Unknown] C1/62FD: FF [End] [?] C1/62FE: 0D32 C1/6300: FF [0B: Snap Dragon] C1/6301: 13 0403 0100 [Unknown] C1/6306: 19 0500 [Unknown] [37] C1/6309: 11 0D00 [Unknown] C1/630C: FF [End] [?] C1/630D: 0D33 C1/630F: FF [0A: Frost Gigas] C1/6310: 13 0403 0000 [Unknown] C1/6315: 19 0300 [Unknown] [36] C1/6318: 11 0E00 [Unknown] C1/631B: 11 0F00 [Unknown] C1/631E: FF [End] [?] 61/631F: 0D35 C1/6321: FF [20: Fire Gigas] C1/6322: 13 0403 0100 [Unknown] C1/6327: 19 0300 [Unknown] [4C] C1/632A: 11 0E00 [Unknown] C1/632D: 11 1000 [Unknown] C1/6330: FF [End] [?] C1/6331: 0D36 C1/6333: FF [Pointing right in the middle of another script, eh?] [29: Thunder Gigas] C1/6334: 13 0403 0200 [Unknown] C1/6339: 19 0300 [Unknown] [55] C1/633C: 11 0E00 [Unknown] C1/633F: 11 1000 [Unknown] C1/6342: FF [End] [?] C1/6343: 0D7D C1/6345: FF [04: Wall Face] C1/6346: 17 [Unknown] C1/6347: 13 0403 0000 [Unknown] C1/634C: 13 CB02 6765 [Unknown] C1/6351: 16 1118 F47A [Unknown] C1/6356: 1D 1C00 [Unknown] C1/6359: 1D 1D00 [Unknown] C1/635C: FF [End] [?] C1/635D: 066B C1/635F: 0D70 C1/6361: 0E6C C1/6363: FF [0D: Doom's Wall] C1/6364: 17 [Unknown] C1/6365: 13 0403 0100 [Unknown] C1/636A: 13 CB02 6765 [Unknown] C1/636F: 16 1118 F47A [Unknown] [39] C1/6374: 1D 1C00 [Unknown] C1/6377: 1D 1D00 [Unknown] C1/637A: FF [End] [?] C1/637B: 0673 C1/637D: 0D71 C1/637F: 0E72 C1/6381: FF [09: Spring Beak] C1/6382: 13 0403 0000 [Unknown] C1/6387: 19 0D00 [Unknown] [35] C1/638A: 1D 1200 [Unknown] C1/638D: FF [End] [?] C1/638E: 0D67 C1/6390: 0E67 C1/6392: FF [22: Axe Beak] C1/6393: 13 0403 0100 [Unknown] C1/6398: 19 0D00 [Unknown] [4E] C1/639B: 1D 1200 [Unknown] C1/639E: FF [End] [?] C1/639F: 0D68 C1/63A1: 0E68 C1/63A3: FF [0C: Mech Rider I] C1/63A4: 13 0403 0000 [Unknown] C1/63A9: 19 0700 [Unknown] [38] C1/63AC: 11 1300 [Unknown] C1/63AF: 01 5800 0F00 [Unknown] C1/63B4: FF [End] [?] C1/63B5: 0D56 C1/63B7: 0E57 C1/63B9: FF [10: Mech Rider II] C1/63BA: 13 0403 0100 [Unknown] C1/63BF: 19 0700 [Unknown] [3C] C1/63C2: 11 1300 [Unknown] C1/63C5: 01 5800 0F00 [Unknown] C1/63CA: FF [End] [?] C1/63CB: 0D56 C1/63CD: 0E59 C1/63CF: FF [1E: Mech Rider III] C1/63D0: 13 0403 0200 [Unknown] C1/63D5: 19 0700 [Unknown] [4A] C1/63D8: 11 1300 [Unknown] C1/63DB: 01 5800 0F00 [Unknown] C1/63E0: FF [End] [?] C1/63E1: 0D56 C1/63E3: 0E5A C1/63E5: FF [0E: Vampire] C1/63E6: 13 0403 0000 [Unknown] C1/63EB: 13 C00F 00D0 [Unknown] C1/63F0: 19 0400 [Unknown] [3A] C1/63F3: 11 1500 [Unknown] C1/63F6: FF [End] [?] C1/63F7: 0D39 C1/63F9: 0E3A C1/63FB: FF [24: Buffy] C1/63FC: 13 0403 0100 [Unknown] C1/6401: 13 C00F 00D0 [Unknown] C1/6406: 19 0400 [Unknown] C1/6409: 11 1500 [Unknown] C1/640C: FF [End] [?] C1/640D: 0D3B C1/640F: 0E3A C1/6411: FF [Stray FF] C1/6412: FF [15] C1/6413: 13 0403 0000 [Unknown] C1/6418: 19 0A00 [Unknown] C1/641B: 1D 1400 [Unknown] C1/641E: FF [End] [?] C1/641F: 0D69 C1/6421: FF [27] C1/6422: 13 0403 0100 [Unknown] C1/6427: 19 0A00 [Unknown] C1/642A: 1D 1400 [Unknown] C1/642D: FF [End] [] C1/642E: 0D6A C1/6430: FF [16] C1/6431: 13 0403 0000 [Unknown] C1/6436: 13 CB02 0166 [Unknown] C1/643B: 16 119C 5584 [Unknown] C1/6440: 1B [Unknown] C1/6441: 1E 1A00 [Unknown] C1/6444: 11 1B00 [Unknown] C1/6447: 11 2300 [Unknown] C1/644A: 01 7E00 0E00 [Unknown] C1/644F: FF [End] [] C1/6450: 075B C1/6452: 0D5B C1/6454: FF [28] C1/6455: 13 0403 0100 [Unknown] C1/645A: 13 CB02 0166 [Unknown] C1/645F: 16 119C 5584 [Unknown] C1/6464: 1B [Unknown] C1/6465: 1E 1A00 [Unknown] C1/6468: 11 1B00 [Unknown] C1/646B: 11 2300 [Unknown] C1/646E: 01 7E00 0E00 [Unknown] C1/6473: FF [End] [] C1/6474: 0760 C1/6476: 0D60 C1/6478: FF [1B] C1/6479: 13 0403 0000 [Unknown] C1/647E: 13 CB02 B465 [Unknown] C1/6483: 19 0900 [Unknown] C1/6486: 12 2100 [Unknown] C1/6489: 11 2200 [Unknown] C1/648C: 01 3800 0F00 [Unknown] C1/6491: FF [End] [] C1/6492: 0D37 C1/6494: 0E78 C1/6496: FF [1F] C1/6497: 17 [Unknown] C1/6498: 13 0403 0000 [Unknown] C1/649D: 19 0B00 [Unknown] C1/64A0: 1D 0100 [Unknown] C1/64A3: 1D 0200 [Unknown] C1/64A6: FF [End] [] C1/64A7: 0774 C1/64A9: 0D74 C1/64AB: 0E77 C1/64AD: FF [21] C1/64AE: 17 [Unknown] C1/64AF: 13 0403 0100 [Unknown] C1/64B4: 19 0B00 [Unknown] C1/64B7: 1D 0100 [Unknown] C1/64BA: 1D 0200 [Unknown] C1/64BD: FF [End] [What?] C1/64BE: 0775 C1/64C0: 0D75 C1/64C2: 0E77 C1/64C4: FF [23] C1/64C5: 17 [Unknown] C1/64C6: 13 0403 0200 [Unknown] C1/64CB: 19 0B00 [Unknown] C1/64CE: 1D 0100 [Unknown] C1/64D1: 1D 0200 [Unknown] C1/64D4: FF [End] [Seriously, what is this?] C1/64D5: 0776 C1/64D7: 0D76 C1/64D9: 0E77 C1/64DB: FF [25] C1/64DC: 17 [Unknown] C1/64DD: 19 0800 [Unknown] [51] C1/64E0: 1D 1700 [Unknown] C1/64E3: 1D 2600 [Unknown] C1/64E6: 11 1600 [Unknown] C1/64E9: 11 2500 [Unknown] C1/64EC: FF [End] [Seriously, what is this junk?] C1/64ED: 0642 C1/64EF: 073F C1/64F1: 0D3C C1/64F3: FF [2A: Doom's Eye] [56: (Doom's Eye Repeat?)] C1/64F4: FF [End] [2B: Mana Beast?] C1/64F5: 13 CB02 0166 [Unknown] C1/64FA: 16 0D18 338F [Unknown] C1/64FF: 1B [Unknown] C1/6500: 1C 208F [Unknown] C1/6503: 1D 2400 [Unknown] C1/6506: 01 8200 0D00 [Unknown] C1/650B: 01 8300 0E00 [Unknown] C1/6510: FF [End] [What is this?] C1/6511: 0462 C1/6513: 0563 C1/6515: 0664 C1/6517: 0765 C1/6519: FFFFFFFF SBC $FFFFFF,X C1/651D: FFFFFFFF SBC $FFFFFF,X C1/6521: FFFFFFFF SBC $FFFFFF,X C1/6525: FFFFFFFF SBC $FFFFFF,X C1/6529: FFFFFFFF SBC $FFFFFF,X C1/652D: FFFFFFFF SBC $FFFFFF,X C1/6531: FFFFFFFF SBC $FFFFFF,X C1/6535: FFFFFFFF SBC $FFFFFF,X C1/6539: FFFFFFFF SBC $FFFFFF,X C1/653D: FFFFFFFF SBC $FFFFFF,X C1/6541: FFFFFFFF SBC $FFFFFF,X C1/6545: FFFFFFFF SBC $FFFFFF,X C1/6549: FEFEFE INC $FEFE,X C1/654C: FEFEFE INC $FEFE,X C1/654F: FEFEFE INC $FEFE,X C1/6552: FEFEFE INC $FEFE,X C1/6555: 8080 BRA $64D7 C1/6557: 8080 BRA $64D9 C1/6559: 8080 BRA $64DB C1/655B: 8080 BRA $64DD C1/655D: 8080 BRA $64DF C1/655F: 8080 BRA $64E1 C1/6561: 8080 BRA $64E3 C1/6563: 8080 BRA $64E5 C1/6565: 8080 BRA $64E7 C1/6567: FFFFFFFE SBC $FEFFFF,X C1/656B: FEFEFE INC $FEFE,X C1/656E: FEFEFE INC $FEFE,X C1/6571: FEFEFE INC $FEFE,X C1/6574: FEFEFE INC $FEFE,X C1/6577: FEFEFE INC $FEFE,X C1/657A: FEFEFE INC $FEFE,X C1/657D: FEFEFE INC $FEFE,X C1/6580: FEFEFE INC $FEFE,X C1/6583: FEFEFE INC $FEFE,X C1/6586: FEFEFE INC $FEFE,X C1/6589: FEFEFE INC $FEFE,X C1/658C: FEFEFE INC $FEFE,X C1/658F: FEFEFE INC $FEFE,X C1/6592: FEFEFE INC $FEFE,X C1/6595: FEFEFE INC $FEFE,X C1/6598: FEFE80 INC $80FE,X C1/659B: 8080 BRA $651D C1/659D: 8080 BRA $651F C1/659F: 80FE BRA $659F C1/65A1: FEFEFE INC $FEFE,X C1/65A4: 8080 BRA $6526 C1/65A6: 8080 BRA $6528 C1/65A8: 8080 BRA $652A C1/65AA: FEFEFE INC $FEFE,X C1/65AD: FE8080 INC $8080,X C1/65B0: 8080 BRA $6532 C1/65B2: 8080 BRA $6534 C1/65B4: FEFEFE INC $FEFE,X C1/65B7: FEFEFE INC $FEFE,X C1/65BA: FEFEFE INC $FEFE,X C1/65BD: FEFEFE INC $FEFE,X C1/65C0: FEFEFE INC $FEFE,X C1/65C3: FEFEFE INC $FEFE,X C1/65C6: FEFEFE INC $FEFE,X C1/65C9: FEFEFE INC $FEFE,X C1/65CC: FEFEFE INC $FEFE,X C1/65CF: FEFEFE INC $FEFE,X C1/65D2: FFFFFFFF SBC $FFFFFF,X C1/65D6: FFFFFFFF SBC $FFFFFF,X C1/65DA: FFFFFFFF SBC $FFFFFF,X C1/65DE: FFFFFFFF SBC $FFFFFF,X C1/65E2: FFFEFEFE SBC $FEFEFE,X C1/65E6: FE8080 INC $8080,X C1/65E9: 8080 BRA $656B C1/65EB: 8080 BRA $656D C1/65ED: 8080 BRA $656F C1/65EF: 8080 BRA $6571 C1/65F1: 8080 BRA $6573 C1/65F3: 8080 BRA $6575 C1/65F5: 8080 BRA $6577 C1/65F7: 8080 BRA $6579 C1/65F9: 8080 BRA $657B C1/65FB: 8080 BRA $657D C1/65FD: 8080 BRA $657F C1/65FF: 8080 BRA $6581 C1/6601: FFFFFFFF SBC $FFFFFF,X C1/6605: FFFFFFFF SBC $FFFFFF,X C1/6609: FFFFFFFF SBC $FFFFFF,X C1/660D: FFFFFF C1/660E: FEFEFE FE INC $FEFE,X C1/6614: FEFEFE INC $FEFE,X C1/6617: FEFEFE INC $FEFE,X C1/661A: FEFEFE INC $FEFE,X C1/661D: FEFEFE INC $FEFE,X C1/6620: FEFEFE INC $FEFE,X C1/6623: FEFEFE INC $FEFE,X C1/6626: FEFEFE INC $FEFE,X C1/6629: FEFEFE INC $FEFE,X C1/662C: FEFEFE INC $FEFE,X C1/662F: FEFEFE INC $FEFE,X C1/6632: FEFEFE INC $FEFE,X C1/6635: FEFEFE INC $FEFE,X C1/6638: FEFEFE INC $FEFE,X C1/663B: FE8080 INC $8080,X C1/663E: 8080 BRA $65C0 C1/6640: 8080 BRA $65C2 C1/6642: 8080 BRA $65C4 C1/6644: 8080 BRA $65C6 C1/6646: 8080 BRA $65C8 C1/6648: 8080 BRA $65CA C1/664A: 8080 BRA $65CC C1/664C: 8080 BRA $65CE [Boss Animation Scripts?] [00] C1/664E: 58BE 00 [01] C1/6651: 66F4 00 [03] C1/6654: 60BE 00 [04] C1/6657: 66BE 00 [05] C1/665A: 70BE 00 C1/665D: 7ABE 00 C1/6660: 60BE 00 C1/6663: 60BE 00 C1/6666: 60BE 00 [] C1/6669: 19 C7 C1/666B: 00C5 03 C1/666E: 3AC5 03 C1/6671: 1B [0B] C1/6672: 19 C7 C1/6674: 74C5 00 [0C] C1/6677: 19 C7 C1/6679: B2C5 00 [0D: Walk Right] C1/667C: 19 C7 C1/667E: 0D 04 00 C1/6681: E8C5 02 C1/6684: 0D 04 00 C1/6687: 00C5 01 C1/668A: 1B [0E: Walk Down] C1/668B: 19 C7 C1/668D: 0D 0002 C1/6690: 22C6 02 C1/6693: 0D 0002 C1/6696: 00C5 01 C1/6699: 01 C1/669A: 0D 0002 C1/669D: 22C6 02 C1/66A0: 01 C1/66A1: 0D 0002 C1/66A4: 00C5 01 C1/66A7: 1B C1/66A8: 19 C7 C1/66AA: 5CC6 01 C1/66AD: A4C6 03 C1/66B0: 17 0800 C1/66B3: ECC6 01 C1/66B6: 36C7 03 C1/66B9: 01 C1/66BA: 17 0800 ECC6 01 C1/66C0: 36C7 00 [10: (Mantis Ant) Kama Dance] C1/66C3: 19 C7 C1/66C5: 8CC7 02 C1/66C8: 00C5 01 01 C1/66CC: 8CC7 02 C1/66CF: 01 00C5 01 C1/66D3: 1B [11: (Mantis Ant) Walk Up] C1/66D4: 19C7 0D 00FE C1/66D9: 22C6 02 0D 00FE C1/66DF: 00C5 01 01 C1/66E3: 0D 00FE C1/66E6: 22C6 02 01 C1/66EA: 0D 00FE C1/66ED: 00C5 01 C1/66F0: 1B C1/66F1: 19 C7 5CC6 01 DEC $01 C1/66F6: A4C6 03 17 0800 ECC6 01 DEC $01 C1/66FF: 36C7 03 36C7 00 [] C1/6705: 19C7 00C5 01 CMP $01 C1/670A: D0C7 00 [14: (Mantis Ant) Guard Pose] C1/670D: 19 C7 C1/670F: 22C8 03 C1/6712: 22C8 00 [] C1/6715: 19 C7 00C5 02 CMP $02 C1/671A: E8C5 02 CMP $02 C1/671D: 17 4B00 E8C500 [] C1/6723: 19 C7 17 4A00 2D C1/6729: EFBC E8C5 02 00C5 02 CMP $02 C1/6731: 00C5 00 C1/6734: 19 C7 74C8 01 86C8 01 98C8 01 01 ORA ($01,X) C1/6740: 86C8 01 01 ORA ($01,X) C1/6744: 1B C1/6745: 19C7 DAC8 00 C1/674A: 19C7 C1/674C: 0D 0004 C1/674F: 0CC9 06 C1/6752: 0D 0004 ORA $0400 C1/6755: DAC8 03 C1/6758: 01 ORA $01,S C1/6759: 0D 0004 ORA $0400 C1/675C: 0CC9 06 TSB $06C9 C1/675F: 01 C1/6760: 0D 0004 BRK #$04 C1/6763: DAC8 03 1B C1/6767: 19C70D ORA $0DC7,Y C1/676A: 00FC BRK #$FC C1/676C: 0CC906 TSB $06C9 C1/676F: 0D00FC ORA $FC00 C1/6772: DA PHX C1/6773: C8 INY C1/6774: 0301 ORA $01,S C1/6776: 0D00FC ORA $FC00 C1/6779: 0CC906 TSB $06C9 C1/677C: 010D ORA ($0D,X) C1/677E: 00FC BRK #$FC C1/6780: DA PHX C1/6781: C8 INY C1/6782: 031B ORA $1B,S C1/6784: 19C70D ORA $0DC7,Y C1/6787: 0404 TSB $04 C1/6789: 3EC906 ROL $06C9,X C1/678C: 0D0404 ORA $0404 C1/678F: DA PHX C1/6790: C8 INY C1/6791: 031B ORA $1B,S C1/6793: 19C70D ORA $0DC7,Y C1/6796: 0400 TSB $00 C1/6798: 70C9 BVS $6763 C1/679A: 060D ASL $0D C1/679C: 0400 TSB $00 C1/679E: DA PHX C1/679F: C8 INY C1/67A0: 031B ORA $1B,S C1/67A2: 19C7CC ORA $CCC7,Y C1/67A5: C90600 CMP #$0006 C1/67A8: CA DEX C1/67A9: 061B ASL $1B C1/67AB: 19C71A ORA $1AC7,Y C1/67AE: CA DEX C1/67AF: 06E6 ASL $E6 C1/67B1: C9061B CMP #$1B06 C1/67B4: 19C734 ORA $34C7,Y C1/67B7: CA DEX C1/67B8: 0019 BRK #$19 C1/67BA: C776 CMP [$76] C1/67BC: CA DEX C1/67BD: 03B8 ORA $B8,S C1/67BF: CA DEX C1/67C0: 0117 ORA ($17,X) C1/67C2: 3A DEC A C1/67C3: 00FC BRK #$FC C1/67C5: CA DEX C1/67C6: 03FC ORA $FC,S C1/67C8: CA DEX C1/67C9: 0019 BRK #$19 C1/67CB: C776 CMP [$76] C1/67CD: CA DEX C1/67CE: 0340 ORA $40,S C1/67D0: CB WAI C1/67D1: 0184 ORA ($84,X) C1/67D3: CB WAI C1/67D4: 0384 ORA $84,S C1/67D6: CB WAI C1/67D7: 0019 BRK #$19 C1/67D9: C7C8 CMP [$C8] C1/67DB: CB WAI C1/67DC: 0108 ORA ($08,X) C1/67DE: CC01C8 CPY $C801 C1/67E1: CB WAI C1/67E2: 0101 ORA ($01,X) C1/67E4: 08 PHP C1/67E5: CC0101 CPY $0101 C1/67E8: 1B TCS C1/67E9: 19C70D ORA $0DC7,Y C1/67EC: 0002 BRK #$02 C1/67EE: 34CA BIT $CA,X C1/67F0: 020D COP #$0D C1/67F2: 0002 BRK #$02 C1/67F4: 7ECC03 ROR $03CC,X C1/67F7: 3CCC01 BIT $01CC,X C1/67FA: 0D0002 ORA $0200 C1/67FD: 34CA BIT $CA,X C1/67FF: 0201 COP #$01 C1/6801: 0D0002 ORA $0200 C1/6804: 7ECC03 ROR $03CC,X C1/6807: 3CCC01 BIT $01CC,X C1/680A: 011B ORA ($1B,X) C1/680C: 19C7C0 ORA $C0C7,Y C1/680F: CC0104 CPY $0401 C1/6812: CD0148 CMP $4801 C1/6815: CD0188 CMP $8801 C1/6818: CD01D0 CMP $D001 C1/681B: CD0101 CMP $0101 C1/681E: 88 DEY C1/681F: CD0148 CMP $4801 C1/6822: CD0104 CMP $0401 C1/6825: CD0101 CMP $0101 C1/6828: 1B TCS C1/6829: 19C70D ORA $0DC7,Y C1/682C: 0100 ORA ($00,X) C1/682E: 34CA BIT $CA,X C1/6830: 010D ORA ($0D,X) C1/6832: 0100 ORA ($00,X) C1/6834: 34CA BIT $CA,X C1/6836: 010D ORA ($0D,X) C1/6838: FF0034CA SBC $CA3400,X C1/683C: 010D ORA ($0D,X) C1/683E: FF0034CA SBC $CA3400,X C1/6842: 011B ORA ($1B,X) C1/6844: 19C70D ORA $0DC7,Y C1/6847: 0004 BRK #$04 C1/6849: 34CA BIT $CA,X C1/684B: 011B ORA ($1B,X) C1/684D: 19C718 ORA $18C7,Y C1/6850: CE0019 DEC $1900 C1/6853: C75A CMP [$5A] C1/6855: CE029C DEC $9C02 C1/6858: CE01E0 DEC $E001 C1/685B: CE0117 DEC $1701 C1/685E: 3A DEC A C1/685F: 0024 BRK #$24 C1/6861: CF0324CF CMP $CF2403 C1/6865: 0019 BRK #$19 C1/6867: C768 CMP [$68] C1/6869: CF0168CF CMP $CF6801 C1/686D: 0168 ORA ($68,X) C1/686F: CF0168CF CMP $CF6801 C1/6873: 011B ORA ($1B,X) C1/6875: 19C70D ORA $0DC7,Y C1/6878: 0200 COP #$00 C1/687A: 18 CLC C1/687B: CE020D DEC $0D02 C1/687E: 0200 COP #$00 C1/6880: AA TAX C1/6881: CF0368CF CMP $CF6803 C1/6885: 010D ORA ($0D,X) C1/6887: 0200 COP #$00 C1/6889: 18 CLC C1/688A: CE020D DEC $0D02 C1/688D: 0200 COP #$00 C1/688F: AA TAX C1/6890: CF0368CF CMP $CF6803 C1/6894: 011B ORA ($1B,X) C1/6896: 19C70D ORA $0DC7,Y C1/6899: 0100 ORA ($00,X) C1/689B: 18 CLC C1/689C: CE010D DEC $0D01 C1/689F: 0100 ORA ($00,X) C1/68A1: 18 CLC C1/68A2: CE010D DEC $0D01 C1/68A5: FF0018CE SBC $CE1800,X C1/68A9: 010D ORA ($0D,X) C1/68AB: FF0018CE SBC $CE1800,X C1/68AF: 011B ORA ($1B,X) C1/68B1: 19C70D ORA $0DC7,Y C1/68B4: 0400 TSB $00 C1/68B6: 18 CLC C1/68B7: CE011B DEC $1B01 C1/68BA: 19C7EC ORA $ECC7,Y C1/68BD: CF0019C7 CMP $C71900 C1/68C1: 32D0 AND ($D0) C1/68C3: 0378 ORA $78,S C1/68C5: D001 BNE $68C8 C1/68C7: 173A ORA [$3A],Y C1/68C9: 00C0 BRK #$C0 C1/68CB: D003 BNE $68D0 C1/68CD: C0D000 CPY #$00D0 C1/68D0: 19C732 ORA $32C7,Y C1/68D3: D003 BNE $68D8 C1/68D5: 08 PHP C1/68D6: D101 CMP ($01),Y C1/68D8: 50D1 BVC $68AB C1/68DA: 0350 ORA $50,S C1/68DC: D100 CMP ($00),Y C1/68DE: 19C798 ORA $98C7,Y C1/68E1: D101 CMP ($01),Y C1/68E3: 98 TYA C1/68E4: D101 CMP ($01),Y C1/68E6: 98 TYA C1/68E7: D101 CMP ($01),Y C1/68E9: 0198 ORA ($98,X) C1/68EB: D101 CMP ($01),Y C1/68ED: 011B ORA ($1B,X) C1/68EF: 19C70D ORA $0DC7,Y C1/68F2: 00FE BRK #$FE C1/68F4: ECCF02 CPX $02CF C1/68F7: 0D00FE ORA $FE00 C1/68FA: DED103 DEC $03D1,X C1/68FD: 98 TYA C1/68FE: D101 CMP ($01),Y C1/6900: 0D00FE ORA $FE00 C1/6903: ECCF02 CPX $02CF C1/6906: 010D ORA ($0D,X) C1/6908: 00FE BRK #$FE C1/690A: DED103 DEC $03D1,X C1/690D: 98 TYA C1/690E: D101 CMP ($01),Y C1/6910: 011B ORA ($1B,X) C1/6912: 19C70D ORA $0DC7,Y C1/6915: 0100 ORA ($00,X) C1/6917: ECCF01 CPX $01CF C1/691A: 0D0100 ORA $0001 C1/691D: ECCF01 CPX $01CF C1/6920: 0DFF00 ORA $00FF C1/6923: ECCF01 CPX $01CF C1/6926: 0DFF00 ORA $00FF C1/6929: ECCF01 CPX $01CF C1/692C: 1B TCS C1/692D: 19C70D ORA $0DC7,Y C1/6930: 00FC BRK #$FC C1/6932: ECCF01 CPX $01CF C1/6935: 1B TCS C1/6936: 19C724 ORA $24C7,Y C1/6939: D200 CMP ($00) C1/693B: 19C724 ORA $24C7,Y C1/693E: D202 CMP ($02) C1/6940: 2ED203 ROL $03D2 C1/6943: 2ED201 ROL $01D2 C1/6946: 24D2 BIT $D2 C1/6948: 0201 COP #$01 C1/694A: 2ED203 ROL $03D2 C1/694D: 2ED201 ROL $01D2 C1/6950: 011B ORA ($1B,X) C1/6952: 19C738 ORA $38C7,Y C1/6955: D200 CMP ($00) C1/6957: 19C738 ORA $38C7,Y C1/695A: D202 CMP ($02) C1/695C: 42D2 WDM #$D2 C1/695E: 0342 ORA $42,S C1/6960: D201 CMP ($01) C1/6962: 38 SEC C1/6963: D202 CMP ($02) C1/6965: 4CD203 JMP $03D2 C1/6968: 4CD201 JMP $01D2 C1/696B: 1B TCS C1/696C: 19C756 ORA $56C7,Y C1/696F: D200 CMP ($00) C1/6971: 19C756 ORA $56C7,Y C1/6974: D202 CMP ($02) C1/6976: 60 RTS C1/6977: D203 CMP ($03) C1/6979: 60 RTS C1/697A: D201 CMP ($01) C1/697C: 56D2 LSR $D2,X C1/697E: 0201 COP #$01 C1/6980: 60 RTS C1/6981: D203 CMP ($03) C1/6983: 60 RTS C1/6984: D201 CMP ($01) C1/6986: 011B ORA ($1B,X) C1/6988: 19C70D ORA $0DC7,Y C1/698B: 0100 ORA ($00,X) C1/698D: 76D2 ROR $D2,X C1/698F: 010D ORA ($0D,X) C1/6991: 0100 ORA ($00,X) C1/6993: 82D203 BRL $6D68 C1/6996: 0DFF00 ORA $00FF C1/6999: 76D2 ROR $D2,X C1/699B: 010D ORA ($0D,X) C1/699D: FF006AD2 SBC $D26A00,X C1/69A1: 031B ORA $1B,S C1/69A3: 19C76A ORA $6AC7,Y C1/69A6: D201 CMP ($01) C1/69A8: 70D2 BVS $697C C1/69AA: 011B ORA ($1B,X) C1/69AC: 19C782 ORA $82C7,Y C1/69AF: D201 CMP ($01) C1/69B1: 88 DEY C1/69B2: D201 CMP ($01) C1/69B4: 1B TCS C1/69B5: 19C776 ORA $76C7,Y C1/69B8: D201 CMP ($01) C1/69BA: 7CD201 JMP ($01D2,X) C1/69BD: 1B TCS C1/69BE: 19C78E ORA $8EC7,Y C1/69C1: D200 CMP ($00) C1/69C3: 19C78E ORA $8EC7,Y C1/69C6: D201 CMP ($01) C1/69C8: 011B ORA ($1B,X) C1/69CA: 19C70D ORA $0DC7,Y C1/69CD: 0008 BRK #$08 C1/69CF: 9CD201 STZ $01D2 C1/69D2: 019C ORA ($9C,X) C1/69D4: D201 CMP ($01) C1/69D6: 010D ORA ($0D,X) C1/69D8: 0008 BRK #$08 C1/69DA: AED201 LDX $01D2 C1/69DD: 01AE ORA ($AE,X) C1/69DF: D201 CMP ($01) C1/69E1: 011B ORA ($1B,X) C1/69E3: 19C70D ORA $0DC7,Y C1/69E6: 0002 BRK #$02 C1/69E8: B8 CLV C1/69E9: D203 CMP ($03) C1/69EB: 0D0002 ORA $0200 C1/69EE: EED203 INC $03D2 C1/69F1: 0D0002 ORA $0200 C1/69F4: B8 CLV C1/69F5: D203 CMP ($03) C1/69F7: 010D ORA ($0D,X) C1/69F9: 0002 BRK #$02 C1/69FB: EED203 INC $03D2 C1/69FE: 011B ORA ($1B,X) C1/6A00: 19C724 ORA $24C7,Y C1/6A03: D302 CMP ($02,S),Y C1/6A05: 5A PHY C1/6A06: D301 CMP ($01,S),Y C1/6A08: D0D3 BNE $69DD C1/6A0A: 0490 TSB $90 C1/6A0C: D301 CMP ($01,S),Y C1/6A0E: 5A PHY C1/6A0F: D301 CMP ($01,S),Y C1/6A11: 5A PHY C1/6A12: D300 CMP ($00,S),Y C1/6A14: 19C714 ORA $14C7,Y C1/6A17: D401 PEI ($01) C1/6A19: 4A LSR A C1/6A1A: D402 PEI ($02) C1/6A1C: 4A LSR A C1/6A1D: D400 PEI ($00) C1/6A1F: 19C714 ORA $14C7,Y C1/6A22: D401 PEI ($01) C1/6A24: CA DEX C1/6A25: D401 PEI ($01) C1/6A27: 173C ORA [$3C],Y C1/6A29: 0086 BRK #$86 C1/6A2B: D402 PEI ($02) C1/6A2D: 86D4 STX $D4 C1/6A2F: 0019 BRK #$19 C1/6A31: C710 CMP [$10] C1/6A33: D502 CMP $02,X C1/6A35: 10D5 BPL $6A0C C1/6A37: 0050 BRK #$50 C1/6A39: D500 CMP $00,X C1/6A3B: 19C724 ORA $24C7,Y C1/6A3E: D302 CMP ($02,S),Y C1/6A40: 5A PHY C1/6A41: D301 CMP ($01,S),Y C1/6A43: 94D5 STY $D5,X C1/6A45: 0494 TSB $94 C1/6A47: D500 CMP $00,X C1/6A49: 19C7CA ORA $CAC7,Y C1/6A4C: D500 CMP $00,X C1/6A4E: 19C7B8 ORA $B8C7,Y C1/6A51: D200 CMP ($00) C1/6A53: 19C70D ORA $0DC7,Y C1/6A56: 00FE BRK #$FE C1/6A58: 0A ASL A C1/6A59: D603 DEC $03,X C1/6A5B: 0D00FE ORA $FE00 C1/6A5E: 40 RTI C1/6A5F: D603 DEC $03,X C1/6A61: 0D00FE ORA $FE00 C1/6A64: 0A ASL A C1/6A65: D603 DEC $03,X C1/6A67: 010D ORA ($0D,X) C1/6A69: 00FE BRK #$FE C1/6A6B: 40 RTI C1/6A6C: D603 DEC $03,X C1/6A6E: 011B ORA ($1B,X) C1/6A70: 19C776 ORA $76C7,Y C1/6A73: D602 DEC $02,X C1/6A75: ACD601 LDY $01D6 C1/6A78: 22D704E4 JSR $E404D7 C1/6A7C: D601 DEC $01,X C1/6A7E: ACD601 LDY $01D6 C1/6A81: ACD600 LDY $00D6 C1/6A84: 19C764 ORA $64C7,Y C1/6A87: D701 CMP [$01],Y C1/6A89: 64D7 STZ $D7 C1/6A8B: 0264 COP #$64 C1/6A8D: D700 CMP [$00],Y C1/6A8F: 19C764 ORA $64C7,Y C1/6A92: D701 CMP [$01],Y C1/6A94: E8 INX C1/6A95: D701 CMP [$01],Y C1/6A97: 173C ORA [$3C],Y C1/6A99: 00A2 BRK #$A2 C1/6A9B: D702 CMP [$02],Y C1/6A9D: A2D700 LDX #$00D7 C1/6AA0: 19C72E ORA $2EC7,Y C1/6AA3: D8 CLD C1/6AA4: 022E COP #$2E C1/6AA6: D8 CLD C1/6AA7: 006E BRK #$6E C1/6AA9: D8 CLD C1/6AAA: 0019 BRK #$19 C1/6AAC: C7B4 CMP [$B4] C1/6AAE: D8 CLD C1/6AAF: 0019 BRK #$19 C1/6AB1: C70A CMP [$0A] C1/6AB3: D600 DEC $00,X C1/6AB5: 19C70D ORA $0DC7,Y C1/6AB8: 0200 COP #$00 C1/6ABA: F0D8 BEQ $6A94 C1/6ABC: 030D ORA $0D,S C1/6ABE: 0200 COP #$00 C1/6AC0: 22D9030D JSR $0D03D9 C1/6AC4: 0200 COP #$00 C1/6AC6: F0D8 BEQ $6AA0 C1/6AC8: 030D ORA $0D,S C1/6ACA: 0200 COP #$00 C1/6ACC: 54D903 MVN $D9,$03 C1/6ACF: 1B TCS C1/6AD0: 19C786 ORA $86C7,Y C1/6AD3: D902B8 CMP $B802,Y C1/6AD6: D90128 CMP $2801,Y C1/6AD9: DA PHX C1/6ADA: 04EE TSB $EE C1/6ADC: D901B8 CMP $B801,Y C1/6ADF: D901B8 CMP $B801,Y C1/6AE2: D90019 CMP $1900,Y C1/6AE5: C728 CMP [$28] C1/6AE7: DA PHX C1/6AE8: 0260 COP #$60 C1/6AEA: DA PHX C1/6AEB: 0196 ORA ($96,X) C1/6AED: DA PHX C1/6AEE: 0296 COP #$96 C1/6AF0: DA PHX C1/6AF1: 0019 BRK #$19 C1/6AF3: C728 CMP [$28] C1/6AF5: DA PHX C1/6AF6: 0296 COP #$96 C1/6AF8: DA PHX C1/6AF9: 01D0 ORA ($D0,X) C1/6AFB: DA PHX C1/6AFC: 0117 ORA ($17,X) C1/6AFE: 3C0012 BIT $1200,X C1/6B01: DB STP C1/6B02: 0212 COP #$12 C1/6B04: DB STP C1/6B05: 0019 BRK #$19 C1/6B07: C728 CMP [$28] C1/6B09: DA PHX C1/6B0A: 010D ORA ($0D,X) C1/6B0C: FE0028 INC $2800,X C1/6B0F: DA PHX C1/6B10: 0228 COP #$28 C1/6B12: DA PHX C1/6B13: 0050 BRK #$50 C1/6B15: DB STP C1/6B16: 0019 BRK #$19 C1/6B18: C792 CMP [$92] C1/6B1A: DB STP C1/6B1B: 0019 BRK #$19 C1/6B1D: C7F0 CMP [$F0] C1/6B1F: D8 CLD C1/6B20: 0019 BRK #$19 C1/6B22: C70D CMP [$0D] C1/6B24: 000A BRK #$0A C1/6B26: CCDB01 CPY $01DB C1/6B29: 0D000A ORA $0A00 C1/6B2C: 0EDC01 ASL $01DC C1/6B2F: 0D000A ORA $0A00 C1/6B32: CCDB01 CPY $01DB C1/6B35: 010D ORA ($0D,X) C1/6B37: 000A BRK #$0A C1/6B39: 0EDC01 ASL $01DC C1/6B3C: 011B ORA ($1B,X) C1/6B3E: 19C70D ORA $0DC7,Y C1/6B41: 00F6 BRK #$F6 C1/6B43: 50DC BVC $6B21 C1/6B45: 010D ORA ($0D,X) C1/6B47: 00F6 BRK #$F6 C1/6B49: 8EDC01 STX $01DC C1/6B4C: 0D00F6 ORA $F600 C1/6B4F: 50DC BVC $6B2D C1/6B51: 0101 ORA ($01,X) C1/6B53: 0D00F6 ORA $F600 C1/6B56: 8EDC01 STX $01DC C1/6B59: 011B ORA ($1B,X) C1/6B5B: 19C70D ORA $0DC7,Y C1/6B5E: 0A ASL A C1/6B5F: 00CC BRK #$CC C1/6B61: DC010D JMP [$0D01] C1/6B64: 0A ASL A C1/6B65: 0006 BRK #$06 C1/6B67: DD010D CMP $0D01,X C1/6B6A: 0A ASL A C1/6B6B: 00CC BRK #$CC C1/6B6D: DC010D JMP [$0D01] C1/6B70: 0A ASL A C1/6B71: 0040 BRK #$40 C1/6B73: DD011B CMP $1B01,X C1/6B76: 19C7B8 ORA $B8C7,Y C1/6B79: D201 CMP ($01) C1/6B7B: CA DEX C1/6B7C: D503 CMP $03,X C1/6B7E: 7A PLY C1/6B7F: DD047A CMP $7A04,X C1/6B82: DD0019 CMP $1900,X C1/6B85: C7B8 CMP [$B8] C1/6B87: D201 CMP ($01) C1/6B89: 5A PHY C1/6B8A: D303 CMP ($03,S),Y C1/6B8C: F4DD01 PEA $01DD C1/6B8F: BCDD01 LDY $01DD,X C1/6B92: BCDD00 LDY $00DD,X C1/6B95: 19C7B8 ORA $B8C7,Y C1/6B98: D201 CMP ($01) C1/6B9A: CA DEX C1/6B9B: D503 CMP $03,X C1/6B9D: 7A PLY C1/6B9E: DD0192 CMP $9201,X C1/6BA1: DE0136 DEC $3601,X C1/6BA4: DE01EE DEC $EE01,X C1/6BA7: DE04EE DEC $EE04,X C1/6BAA: DE0019 DEC $1900,X C1/6BAD: C742 CMP [$42] C1/6BAF: DF0019C7 CMP $C71900,X C1/6BB3: 1D241F ORA $1F24,X C1/6BB6: 08 PHP C1/6BB7: E8 INX C1/6BB8: 72DF ADC ($DF) C1/6BBA: 011F ORA ($1F,X) C1/6BBC: E8 INX C1/6BBD: E8 INX C1/6BBE: A4DF LDY $DF C1/6BC0: 031F ORA $1F,S C1/6BC2: 18 CLC C1/6BC3: 002D BRK #$2D C1/6BC5: EFBC174A SBC $4A17BC C1/6BC9: 00D6 BRK #$D6 C1/6BCB: DF04D6DF CMP $DFD604,X C1/6BCF: 0019 BRK #$19 C1/6BD1: C722 CMP [$22] C1/6BD3: E0013E CPX #$3E01 C1/6BD6: E00301 CPX #$0103 C1/6BD9: 0D0100 ORA $0001 C1/6BDC: 3EE001 ROL $01E0,X C1/6BDF: 010D ORA ($0D,X) C1/6BE1: 0100 ORA ($00,X) C1/6BE3: 3EE001 ROL $01E0,X C1/6BE6: 010D ORA ($0D,X) C1/6BE8: 0100 ORA ($00,X) C1/6BEA: 3EE001 ROL $01E0,X C1/6BED: 010D ORA ($0D,X) C1/6BEF: 0100 ORA ($00,X) C1/6BF1: 3EE001 ROL $01E0,X C1/6BF4: 010D ORA ($0D,X) C1/6BF6: 0100 ORA ($00,X) C1/6BF8: 3EE001 ROL $01E0,X C1/6BFB: 010D ORA ($0D,X) C1/6BFD: 0100 ORA ($00,X) C1/6BFF: 3EE001 ROL $01E0,X C1/6C02: BA TSX C1/6C03: E00019 CPX #$1900 C1/6C06: C717 CMP [$17] C1/6C08: 4D000A EOR $0A00 C1/6C0B: E0030D CPX #$0D03 C1/6C0E: 0100 ORA ($00,X) C1/6C10: 5A PHY C1/6C11: E00101 CPX #$0101 C1/6C14: 0D0100 ORA $0001 C1/6C17: 5A PHY C1/6C18: E00101 CPX #$0101 C1/6C1B: 0D0100 ORA $0001 C1/6C1E: 5A PHY C1/6C1F: E00101 CPX #$0101 C1/6C22: 0D0100 ORA $0001 C1/6C25: 5A PHY C1/6C26: E00101 CPX #$0101 C1/6C29: 0D0100 ORA $0001 C1/6C2C: 72E0 ADC ($E0) C1/6C2E: 0101 ORA ($01,X) C1/6C30: 0D0100 ORA $0001 C1/6C33: 72E0 ADC ($E0) C1/6C35: 0101 ORA ($01,X) C1/6C37: 0D0100 ORA $0001 C1/6C3A: 72E0 ADC ($E0) C1/6C3C: 0101 ORA ($01,X) C1/6C3E: 0D0100 ORA $0001 C1/6C41: 72E0 ADC ($E0) C1/6C43: 0101 ORA ($01,X) C1/6C45: 8EE001 STX $01E0 C1/6C48: 018E ORA ($8E,X) C1/6C4A: E00101 CPX #$0101 C1/6C4D: 19CA58 ORA $58CA,Y C1/6C50: BE0019 LDX $1900,Y C1/6C53: C717 CMP [$17] C1/6C55: 4D008E EOR $8E00 C1/6C58: E00101 CPX #$0101 C1/6C5B: 8EE001 STX $01E0 C1/6C5E: 010D ORA ($0D,X) C1/6C60: 0100 ORA ($00,X) C1/6C62: 72E0 ADC ($E0) C1/6C64: 0101 ORA ($01,X) C1/6C66: 0D0100 ORA $0001 C1/6C69: 72E0 ADC ($E0) C1/6C6B: 0101 ORA ($01,X) C1/6C6D: 0D0100 ORA $0001 C1/6C70: 72E0 ADC ($E0) C1/6C72: 0101 ORA ($01,X) C1/6C74: 0D0100 ORA $0001 C1/6C77: 72E0 ADC ($E0) C1/6C79: 0101 ORA ($01,X) C1/6C7B: 0D0100 ORA $0001 C1/6C7E: 5A PHY C1/6C7F: E00101 CPX #$0101 C1/6C82: 0D0100 ORA $0001 C1/6C85: 5A PHY C1/6C86: E00101 CPX #$0101 C1/6C89: 0D0100 ORA $0001 C1/6C8C: 5A PHY C1/6C8D: E00101 CPX #$0101 C1/6C90: 0D0100 ORA $0001 C1/6C93: 5A PHY C1/6C94: E00101 CPX #$0101 C1/6C97: 0A ASL A C1/6C98: E00019 CPX #$1900 C1/6C9B: C7D8 CMP [$D8] C1/6C9D: E001E6 CPX #$E601 C1/6CA0: E001F4 CPX #$F401 C1/6CA3: E00101 CPX #$0101 C1/6CA6: E6E0 INC $E0 C1/6CA8: 0101 ORA ($01,X) C1/6CAA: 1B TCS C1/6CAB: 19C702 ORA $02C7,Y C1/6CAE: E101 SBC ($01,X) C1/6CB0: 20E101 JSR $01E1 C1/6CB3: 3EE104 ROL $04E1,X C1/6CB6: 3EE100 ROL $00E1,X C1/6CB9: 19C75C ORA $5CC7,Y C1/6CBC: E102 SBC ($02,X) C1/6CBE: 6A ROR A C1/6CBF: E102 SBC ($02,X) C1/6CC1: 6A ROR A C1/6CC2: E100 SBC ($00,X) C1/6CC4: 19C76A ORA $6AC7,Y C1/6CC7: E102 SBC ($02,X) C1/6CC9: 5CE10219 JMP $1902E1 C1/6CCD: CA DEX C1/6CCE: 58 CLI C1/6CCF: BE0019 LDX $1900,Y C1/6CD2: C778 CMP [$78] C1/6CD4: E101 SBC ($01,X) C1/6CD6: 78 SEI C1/6CD7: E101 SBC ($01,X) C1/6CD9: 8CE101 STY $01E1 C1/6CDC: 8CE101 STY $01E1 C1/6CDF: 1B TCS C1/6CE0: 19C756 ORA $56C7,Y C1/6CE3: E201 SEP #$01 C1/6CE5: 1B TCS C1/6CE6: 19C778 ORA $78C7,Y C1/6CE9: E101 SBC ($01,X) C1/6CEB: 78 SEI C1/6CEC: E102 SBC ($02,X) C1/6CEE: 78 SEI C1/6CEF: E101 SBC ($01,X) C1/6CF1: 2DEFBC AND $BCEF C1/6CF4: 0DFC07 ORA $07FC C1/6CF7: 78 SEI C1/6CF8: E101 SBC ($01,X) C1/6CFA: 78 SEI C1/6CFB: E101 SBC ($01,X) C1/6CFD: 0DFC07 ORA $07FC C1/6D00: 78 SEI C1/6D01: E101 SBC ($01,X) C1/6D03: 78 SEI C1/6D04: E101 SBC ($01,X) C1/6D06: 78 SEI C1/6D07: E102 SBC ($02,X) C1/6D09: 78 SEI C1/6D0A: E101 SBC ($01,X) C1/6D0C: 0D0202 ORA $0202 C1/6D0F: 78 SEI C1/6D10: E102 SBC ($02,X) C1/6D12: 0D0404 ORA $0404 C1/6D15: 78 SEI C1/6D16: E101 SBC ($01,X) C1/6D18: 2DEFBC AND $BCEF C1/6D1B: 0D0407 ORA $0704 C1/6D1E: 78 SEI C1/6D1F: E101 SBC ($01,X) C1/6D21: 0D0404 ORA $0404 C1/6D24: 78 SEI C1/6D25: E101 SBC ($01,X) C1/6D27: 0D0407 ORA $0704 C1/6D2A: 78 SEI C1/6D2B: E101 SBC ($01,X) C1/6D2D: 0D0404 ORA $0404 C1/6D30: 78 SEI C1/6D31: E101 SBC ($01,X) C1/6D33: 0D0202 ORA $0202 C1/6D36: 78 SEI C1/6D37: E102 SBC ($02,X) C1/6D39: 1B TCS C1/6D3A: 19C71A ORA $1AC7,Y C1/6D3D: E201 SEP #$01 C1/6D3F: 1A INC A C1/6D40: E201 SEP #$01 C1/6D42: 2EE201 ROL $01E2 C1/6D45: 2EE201 ROL $01E2 C1/6D48: 1B TCS C1/6D49: 19C7A2 ORA $A2C7,Y C1/6D4C: E101 SBC ($01,X) C1/6D4E: 1B TCS C1/6D4F: 19C742 ORA $42C7,Y C1/6D52: E201 SEP #$01 C1/6D54: 1B TCS C1/6D55: 19C778 ORA $78C7,Y C1/6D58: E101 SBC ($01,X) C1/6D5A: 0D02FC ORA $FC02 C1/6D5D: B6E1 LDX $E1,Y C1/6D5F: 010D ORA ($0D,X) C1/6D61: 04F8 TSB $F8 C1/6D63: CA DEX C1/6D64: E101 SBC ($01,X) C1/6D66: 0D00F8 ORA $F800 C1/6D69: DEE101 DEC $01E1,X C1/6D6C: 0DFCF8 ORA $F8FC C1/6D6F: F2E1 SBC ($E1) C1/6D71: 010D ORA ($0D,X) C1/6D73: FEFC06 INC $06FC,X C1/6D76: E201 SEP #$01 C1/6D78: 1B TCS C1/6D79: 19C748 ORA $48C7,Y C1/6D7C: E303 SBC $03,S C1/6D7E: 62E303 PER $7164 C1/6D81: 7CE303 JMP ($03E3,X) C1/6D84: 62E303 PER $716A C1/6D87: 1B TCS C1/6D88: 19C748 ORA $48C7,Y C1/6D8B: E303 SBC $03,S C1/6D8D: 62E303 PER $7173 C1/6D90: 7CE303 JMP ($03E3,X) C1/6D93: 62E303 PER $7179 C1/6D96: 1B TCS C1/6D97: 19C748 ORA $48C7,Y C1/6D9A: E301 SBC $01,S C1/6D9C: 96E3 STX $E3,Y C1/6D9E: 01B0 ORA ($B0,X) C1/6DA0: E301 SBC $01,S C1/6DA2: CA DEX C1/6DA3: E301 SBC $01,S C1/6DA5: E4E3 CPX $E3 C1/6DA7: 01FE ORA ($FE,X) C1/6DA9: E301 SBC $01,S C1/6DAB: 1B TCS C1/6DAC: 19C748 ORA $48C7,Y C1/6DAF: E301 SBC $01,S C1/6DB1: FEE301 INC $01E3,X C1/6DB4: E4E3 CPX $E3 C1/6DB6: 01CA ORA ($CA,X) C1/6DB8: E301 SBC $01,S C1/6DBA: B0E3 BCS $6D9F C1/6DBC: 0196 ORA ($96,X) C1/6DBE: E301 SBC $01,S C1/6DC0: 1B TCS C1/6DC1: 19C748 ORA $48C7,Y C1/6DC4: E301 SBC $01,S C1/6DC6: 4CE402 JMP $02E4 C1/6DC9: 32E4 AND ($E4) C1/6DCB: 0118 ORA ($18,X) C1/6DCD: E401 CPX $01 C1/6DCF: 32E4 AND ($E4) C1/6DD1: 0118 ORA ($18,X) C1/6DD3: E401 CPX $01 C1/6DD5: 32E4 AND ($E4) C1/6DD7: 014C ORA ($4C,X) C1/6DD9: E402 CPX $02 C1/6DDB: 48 PHA C1/6DDC: E301 SBC $01,S C1/6DDE: 66E4 ROR $E4 C1/6DE0: 0280 COP #$80 C1/6DE2: E401 CPX $01 C1/6DE4: 9A TXS C1/6DE5: E401 CPX $01 C1/6DE7: 80E4 BRA $6DCD C1/6DE9: 019A ORA ($9A,X) C1/6DEB: E401 CPX $01 C1/6DED: 80E4 BRA $6DD3 C1/6DEF: 0166 ORA ($66,X) C1/6DF1: E402 CPX $02 C1/6DF3: 1B TCS C1/6DF4: 19C748 ORA $48C7,Y C1/6DF7: E301 SBC $01,S C1/6DF9: 66E4 ROR $E4 C1/6DFB: 0280 COP #$80 C1/6DFD: E401 CPX $01 C1/6DFF: 9A TXS C1/6E00: E401 CPX $01 C1/6E02: 80E4 BRA $6DE8 C1/6E04: 019A ORA ($9A,X) C1/6E06: E401 CPX $01 C1/6E08: 80E4 BRA $6DEE C1/6E0A: 0166 ORA ($66,X) C1/6E0C: E402 CPX $02 C1/6E0E: 48 PHA C1/6E0F: E301 SBC $01,S C1/6E11: 4CE402 JMP $02E4 C1/6E14: 32E4 AND ($E4) C1/6E16: 0118 ORA ($18,X) C1/6E18: E401 CPX $01 C1/6E1A: 32E4 AND ($E4) C1/6E1C: 0118 ORA ($18,X) C1/6E1E: E401 CPX $01 C1/6E20: 32E4 AND ($E4) C1/6E22: 014C ORA ($4C,X) C1/6E24: E402 CPX $02 C1/6E26: 1B TCS C1/6E27: 19C748 ORA $48C7,Y C1/6E2A: E301 SBC $01,S C1/6E2C: E8 INX C1/6E2D: E401 CPX $01 C1/6E2F: 02E5 COP #$E5 C1/6E31: 011C ORA ($1C,X) C1/6E33: E501 SBC $01 C1/6E35: 36E5 ROL $E5,X C1/6E37: 0019 BRK #$19 C1/6E39: C736 CMP [$36] C1/6E3B: E501 SBC $01 C1/6E3D: 1CE501 TRB $01E5 C1/6E40: 02E5 COP #$E5 C1/6E42: 01E8 ORA ($E8,X) C1/6E44: E401 CPX $01 C1/6E46: 02E5 COP #$E5 C1/6E48: 02E8 COP #$E8 C1/6E4A: E401 CPX $01 C1/6E4C: E8 INX C1/6E4D: E400 CPX $00 C1/6E4F: 19C7E8 ORA $E8C7,Y C1/6E52: E401 CPX $01 C1/6E54: 02E5 COP #$E5 C1/6E56: 01E8 ORA ($E8,X) C1/6E58: E400 CPX $00 C1/6E5A: 19C750 ORA $50C7,Y C1/6E5D: E504 SBC $04 C1/6E5F: 9EE503 STZ $03E5,X C1/6E62: ECE504 CPX $04E5 C1/6E65: 9EE503 STZ $03E5,X C1/6E68: 1B TCS C1/6E69: 19C73A ORA $3AC7,Y C1/6E6C: E600 INC $00 C1/6E6E: 19C79E ORA $9EC7,Y C1/6E71: E501 SBC $01 C1/6E73: 86E6 STX $E6 C1/6E75: 01DC ORA ($DC,X) C1/6E77: E606 INC $06 C1/6E79: 32E7 AND ($E7) C1/6E7B: 0019 BRK #$19 C1/6E7D: C780 CMP [$80] C1/6E7F: E703 SBC [$03] C1/6E81: 9EE501 STZ $01E5,X C1/6E84: CEE701 DEC $01E7 C1/6E87: CEE700 DEC $00E7 C1/6E8A: 19C724 ORA $24C7,Y C1/6E8D: E8 INX C1/6E8E: 035C ORA $5C,S C1/6E90: E8 INX C1/6E91: 0294 COP #$94 C1/6E93: E8 INX C1/6E94: 035C ORA $5C,S C1/6E96: E8 INX C1/6E97: 021B COP #$1B C1/6E99: 19C7CC ORA $CCC7,Y C1/6E9C: E8 INX C1/6E9D: 0217 COP #$17 C1/6E9F: 3D000C AND $0C00,X C1/6EA2: E902CE SBC #$CE02 C1/6EA5: E702 SBC [$02] C1/6EA7: ECE501 CPX $01E5 C1/6EAA: 9EE501 STZ $01E5,X C1/6EAD: 50E5 BVC $6E94 C1/6EAF: 0150 ORA ($50,X) C1/6EB1: E500 SBC $00 C1/6EB3: 19C717 ORA $17C7,Y C1/6EB6: 3E0054 ROL $5400,X C1/6EB9: E90178 SBC #$7801 C1/6EBC: E90154 SBC #$5401 C1/6EBF: E90178 SBC #$7801 C1/6EC2: E90154 SBC #$5401 C1/6EC5: E90178 SBC #$7801 C1/6EC8: E9011B SBC #$1B01 C1/6ECB: 19C79C ORA $9CC7,Y C1/6ECE: E904EA SBC #$EA04 C1/6ED1: E90338 SBC #$3803 C1/6ED4: EA NOP C1/6ED5: 04EA TSB $EA C1/6ED7: E9031B SBC #$1B03 C1/6EDA: 19C79C ORA $9CC7,Y C1/6EDD: E90186 SBC #$8601 C1/6EE0: EA NOP C1/6EE1: 02D4 COP #$D4 C1/6EE3: EA NOP C1/6EE4: 0301 ORA $01,S C1/6EE6: 0CEC03 TSB $03EC C1/6EE9: BEEB02 LDX $02EB,Y C1/6EEC: 50E5 BVC $6ED3 C1/6EEE: 0150 ORA ($50,X) C1/6EF0: E500 SBC $00 C1/6EF2: 19C750 ORA $50C7,Y C1/6EF5: E503 SBC $03 C1/6EF7: A8 TAY C1/6EF8: EC025A CPX $5A02 C1/6EFB: EC020D CPX $0D02 C1/6EFE: 0400 TSB $00 C1/6F00: BEEB02 LDX $02EB,Y C1/6F03: 1B TCS C1/6F04: 19C79C ORA $9CC7,Y C1/6F07: E903D4 SBC #$D403 C1/6F0A: EA NOP C1/6F0B: 020D COP #$0D C1/6F0D: FC0022 JSR ($2200,X) C1/6F10: EB XBA C1/6F11: 0270 COP #$70 C1/6F13: EB XBA C1/6F14: 021B COP #$1B C1/6F16: 19C717 ORA $17C7,Y C1/6F19: 88 DEY C1/6F1A: 0092 BRK #$92 C1/6F1C: ED02E4 SBC $E402 C1/6F1F: ED02F6 SBC $F602 C1/6F22: EC0248 CPX $4802 C1/6F25: ED0117 SBC $1701 C1/6F28: 88 DEY C1/6F29: 0092 BRK #$92 C1/6F2B: ED02E4 SBC $E402 C1/6F2E: ED02F6 SBC $F602 C1/6F31: EC0248 CPX $4802 C1/6F34: ED0019 SBC $1900 C1/6F37: C7F2 CMP [$F2] C1/6F39: F100 SBC ($00),Y C1/6F3B: 19C717 ORA $17C7,Y C1/6F3E: 5100 EOR ($00),Y C1/6F40: F2F1 SBC ($F1) C1/6F42: 0100 ORA ($00,X) C1/6F44: F201 SBC ($01) C1/6F46: 0CF201 TSB $01F2 C1/6F49: 18 CLC C1/6F4A: F201 SBC ($01) C1/6F4C: 30F2 BMI $6F40 C1/6F4E: 0148 ORA ($48,X) C1/6F50: F201 SBC ($01) C1/6F52: 58 CLI C1/6F53: F201 SBC ($01) C1/6F55: 58 CLI C1/6F56: F200 SBC ($00) C1/6F58: 19C758 ORA $58C7,Y C1/6F5B: F201 SBC ($01) C1/6F5D: 6A ROR A C1/6F5E: F201 SBC ($01) C1/6F60: 58 CLI C1/6F61: F202 SBC ($02) C1/6F63: 6A ROR A C1/6F64: F202 SBC ($02) C1/6F66: 1B TCS C1/6F67: 19C7A2 ORA $A2C7,Y C1/6F6A: F200 SBC ($00) C1/6F6C: 19C7B6 ORA $B6C7,Y C1/6F6F: F203 SBC ($03) C1/6F71: 6A ROR A C1/6F72: F203 SBC ($03) C1/6F74: B6F2 LDX $F2,Y C1/6F76: 026A COP #$6A C1/6F78: F202 SBC ($02) C1/6F7A: B6F2 LDX $F2,Y C1/6F7C: 016A ORA ($6A,X) C1/6F7E: F201 SBC ($01) C1/6F80: B6F2 LDX $F2,Y C1/6F82: 0019 BRK #$19 C1/6F84: C75A CMP [$5A] C1/6F86: F304 SBC ($04,S),Y C1/6F88: 74F3 STZ $F3,X C1/6F8A: 041B TSB $1B C1/6F8C: 19C70D ORA $0DC7,Y C1/6F8F: 0200 COP #$00 C1/6F91: 5A PHY C1/6F92: F301 SBC ($01,S),Y C1/6F94: 0D0200 ORA $0002 C1/6F97: 5A PHY C1/6F98: F301 SBC ($01,S),Y C1/6F9A: 0D0200 ORA $0002 C1/6F9D: 8EF301 STX $01F3 C1/6FA0: 0D0200 ORA $0002 C1/6FA3: 8EF301 STX $01F3 C1/6FA6: 0D0200 ORA $0002 C1/6FA9: 8EF301 STX $01F3 C1/6FAC: 1B TCS C1/6FAD: 19C75A ORA $5AC7,Y C1/6FB0: F301 SBC ($01,S),Y C1/6FB2: 173B ORA [$3B],Y C1/6FB4: 00A8 BRK #$A8 C1/6FB6: F301 SBC ($01,S),Y C1/6FB8: C6F3 DEC $F3 C1/6FBA: 01E4 ORA ($E4,X) C1/6FBC: F301 SBC ($01,S),Y C1/6FBE: 06F4 ASL $F4 C1/6FC0: 012C ORA ($2C,X) C1/6FC2: F4011D PEA $1D01 C1/6FC5: 241F BIT $1F C1/6FC7: 30F8 BMI $6FC1 C1/6FC9: 06F4 ASL $F4 C1/6FCB: 011D ORA ($1D,X) C1/6FCD: 241F BIT $1F C1/6FCF: 20F8E4 JSR $E4F8 C1/6FD2: F301 SBC ($01,S),Y C1/6FD4: 1D241F ORA $1F24,X C1/6FD7: 10F8 BPL $6FD1 C1/6FD9: C6F3 DEC $F3 C1/6FDB: 011D ORA ($1D,X) C1/6FDD: 241F BIT $1F C1/6FDF: 00F8 BRK #$F8 C1/6FE1: A8 TAY C1/6FE2: F300 SBC ($00,S),Y C1/6FE4: 19C717 ORA $17C7,Y C1/6FE7: 540052 MVN $00,$52 C1/6FEA: F4036C PEA $6C03 C1/6FED: F4036C PEA $6C03 C1/6FF0: F40019 PEA $1900 C1/6FF3: C7A0 CMP [$A0] C1/6FF5: F4046C PEA $6C04 C1/6FF8: F4071B PEA $1B07 C1/6FFB: 19C717 ORA $17C7,Y C1/6FFE: 4400BA MVP $00,$BA C1/7001: F40019 PEA $1900 C1/7004: C7E8 CMP [$E8] C1/7006: F40401 PEA $0104 C1/7009: E8 INX C1/700A: F40401 PEA $0104 C1/700D: 1B TCS C1/700E: 19C701 ORA $01C7,Y C1/7011: 0D0002 ORA $0200 C1/7014: E8 INX C1/7015: F40101 PEA $0101 C1/7018: 0D0002 ORA $0200 C1/701B: E8 INX C1/701C: F4010D PEA $0D01 C1/701F: 0002 BRK #$02 C1/7021: D2F4 CMP ($F4) C1/7023: 010D ORA ($0D,X) C1/7025: 0002 BRK #$02 C1/7027: D2F4 CMP ($F4) C1/7029: 010D ORA ($0D,X) C1/702B: 0002 BRK #$02 C1/702D: D2F4 CMP ($F4) C1/702F: 010D ORA ($0D,X) C1/7031: 0002 BRK #$02 C1/7033: E8 INX C1/7034: F40101 PEA $0101 C1/7037: 0D0002 ORA $0200 C1/703A: E8 INX C1/703B: F4010D PEA $0D01 C1/703E: 0002 BRK #$02 C1/7040: D2F4 CMP ($F4) C1/7042: 010D ORA ($0D,X) C1/7044: 0002 BRK #$02 C1/7046: D2F4 CMP ($F4) C1/7048: 010D ORA ($0D,X) C1/704A: 0002 BRK #$02 C1/704C: D2F4 CMP ($F4) C1/704E: 0101 ORA ($01,X) C1/7050: 1B TCS C1/7051: 19C7E8 ORA $E8C7,Y C1/7054: F40117 PEA $1701 C1/7057: 3B TSC C1/7058: 00FE BRK #$FE C1/705A: F40118 PEA $1801 C1/705D: F501 SBC $01,X C1/705F: 36F5 ROL $F5,X C1/7061: 0158 ORA ($58,X) C1/7063: F501 SBC $01,X C1/7065: 7EF501 ROR $01F5,X C1/7068: 1D241F ORA $1F24,X C1/706B: 0038 BRK #$38 C1/706D: 58 CLI C1/706E: F501 SBC $01,X C1/7070: 1D241F ORA $1F24,X C1/7073: 0028 BRK #$28 C1/7075: 36F5 ROL $F5,X C1/7077: 011D ORA ($1D,X) C1/7079: 241F BIT $1F C1/707B: 0018 BRK #$18 C1/707D: 18 CLC C1/707E: F501 SBC $01,X C1/7080: 1D241F ORA $1F24,X C1/7083: 0008 BRK #$08 C1/7085: FEF400 INC $00F4,X C1/7088: 19C717 ORA $17C7,Y C1/708B: 5400A4 MVN $00,$A4 C1/708E: F503 SBC $03,X C1/7090: BEF503 LDX $03F5,Y C1/7093: BEF500 LDX $00F5,Y C1/7096: 19C7D8 ORA $D8C7,Y C1/7099: F500 SBC $00,X C1/709B: 19C7EC ORA $ECC7,Y C1/709E: F500 SBC $00,X C1/70A0: 19C712 ORA $12C7,Y C1/70A3: F604 INC $04,X C1/70A5: 0112 ORA ($12,X) C1/70A7: F604 INC $04,X C1/70A9: 011B ORA ($1B,X) C1/70AB: 19C701 ORA $01C7,Y C1/70AE: 0D00FE ORA $FE00 C1/70B1: 12F6 ORA ($F6) C1/70B3: 0101 ORA ($01,X) C1/70B5: 0D00FE ORA $FE00 C1/70B8: 12F6 ORA ($F6) C1/70BA: 010D ORA ($0D,X) C1/70BC: 00FE BRK #$FE C1/70BE: FCF501 JSR ($01F5,X) C1/70C1: 0D00FE ORA $FE00 C1/70C4: FCF501 JSR ($01F5,X) C1/70C7: 0D00FE ORA $FE00 C1/70CA: FCF501 JSR ($01F5,X) C1/70CD: 0D00FE ORA $FE00 C1/70D0: 12F6 ORA ($F6) C1/70D2: 0101 ORA ($01,X) C1/70D4: 0D00FE ORA $FE00 C1/70D7: 12F6 ORA ($F6) C1/70D9: 010D ORA ($0D,X) C1/70DB: 00FE BRK #$FE C1/70DD: FCF501 JSR ($01F5,X) C1/70E0: 0D00FE ORA $FE00 C1/70E3: FCF501 JSR ($01F5,X) C1/70E6: 0D00FE ORA $FE00 C1/70E9: FCF501 JSR ($01F5,X) C1/70EC: 011B ORA ($1B,X) C1/70EE: 19C712 ORA $12C7,Y C1/70F1: F601 INC $01,X C1/70F3: 173B ORA [$3B],Y C1/70F5: 0028 BRK #$28 C1/70F7: F601 INC $01,X C1/70F9: 3A DEC A C1/70FA: F601 INC $01,X C1/70FC: 50F6 BVC $70F4 C1/70FE: 016A ORA ($6A,X) C1/7100: F601 INC $01,X C1/7102: 88 DEY C1/7103: F601 INC $01,X C1/7105: 1D241F ORA $1F24,X C1/7108: 00C8 BRK #$C8 C1/710A: 6A ROR A C1/710B: F601 INC $01,X C1/710D: 1D241F ORA $1F24,X C1/7110: 00D8 BRK #$D8 C1/7112: 50F6 BVC $710A C1/7114: 011D ORA ($1D,X) C1/7116: 241F BIT $1F C1/7118: 00E8 BRK #$E8 C1/711A: 3A DEC A C1/711B: F601 INC $01,X C1/711D: 1D241F ORA $1F24,X C1/7120: 00F8 BRK #$F8 C1/7122: 28 PLP C1/7123: F600 INC $00,X C1/7125: 19C717 ORA $17C7,Y C1/7128: 5400A6 MVN $00,$A6 C1/712B: F603 INC $03,X C1/712D: C0F603 CPY #$03F6 C1/7130: C0F600 CPY #$00F6 C1/7133: 19C7C6 ORA $C6C7,Y C1/7136: F201 SBC ($01) C1/7138: E2F2 SEP #$F2 C1/713A: 0106 ORA ($06,X) C1/713C: F301 SBC ($01,S),Y C1/713E: 2A ROL A C1/713F: F302 SBC ($02,S),Y C1/7141: 42F3 WDM #$F3 C1/7143: 042A TSB $2A C1/7145: F304 SBC ($04,S),Y C1/7147: 2A ROL A C1/7148: F300 SBC ($00,S),Y C1/714A: 19C77A ORA $7AC7,Y C1/714D: F201 SBC ($01) C1/714F: 8EF201 STX $01F2 C1/7152: 7A PLY C1/7153: F202 SBC ($02) C1/7155: 8EF202 STX $02F2 C1/7158: 1B TCS C1/7159: 8CBE06 STY $06BE C1/715C: CEBE06 DEC $06BE C1/715F: 1B TCS C1/7160: 8CBE01 STY $01BE C1/7163: CEBE01 DEC $01BE C1/7166: 0D0400 ORA $0004 C1/7169: 10BF BPL $712A C1/716B: 030D ORA $0D,S C1/716D: 0400 TSB $00 C1/716F: CEBE02 DEC $02BE C1/7172: 8CBE01 STY $01BE C1/7175: 1B TCS C1/7176: 52BF EOR ($BF) C1/7178: 0052 BRK #$52 C1/717A: BF0194BF LDA $BF9401,X C1/717E: 0517 ORA $17 C1/7180: 4A LSR A C1/7181: 0028 BRK #$28 C1/7183: C001 CPY #$01 C1/7185: 68 PLA C1/7186: C001 CPY #$01 C1/7188: A8 TAY C1/7189: C001 CPY #$01 C1/718B: F8 SED C1/718C: C001 CPY #$01 C1/718E: A8 TAY C1/718F: C001 CPY #$01 C1/7191: 68 PLA C1/7192: C001 CPY #$01 C1/7194: 28 PLP C1/7195: C002 CPY #$02 C1/7197: 28 PLP C1/7198: C000 CPY #$00 C1/719A: 52BF EOR ($BF) C1/719C: 0194 ORA ($94,X) C1/719E: BF02D6BF LDA $BFD602,X C1/71A2: 0348 ORA $48,S C1/71A4: C104 CMP ($04,X) C1/71A6: 92C1 STA ($C1) C1/71A8: 01C2 ORA ($C2,X) C1/71AA: C101 CMP ($01,X) C1/71AC: C2C1 REP #$C1 C1/71AE: 00E2 BRK #$E2 C1/71B0: C101 CMP ($01,X) C1/71B2: C2C1 REP #$C1 C1/71B4: 0192 ORA ($92,X) C1/71B6: C101 CMP ($01,X) C1/71B8: 48 PHA C1/71B9: C104 CMP ($04,X) C1/71BB: D6BF DEC $BF,X C1/71BD: 0194 ORA ($94,X) C1/71BF: BF0452BF LDA $BF5204,X C1/71C3: 0002 BRK #$02 C1/71C5: C200 REP #$00 C1/71C7: 52BF EOR ($BF) C1/71C9: 01D6 ORA ($D6,X) C1/71CB: BF024AC2 LDA $C24A02,X C1/71CF: 01A4 ORA ($A4,X) C1/71D1: C204 REP #$04 C1/71D3: 94BF STY $BF,X C1/71D5: 01FE ORA ($FE,X) C1/71D7: C201 REP #$01 C1/71D9: 94BF STY $BF,X C1/71DB: 0101 ORA ($01,X) C1/71DD: 0DFF00 ORA $00FF C1/71E0: FEC201 INC $01C2,X C1/71E3: 010D ORA ($0D,X) C1/71E5: 0100 ORA ($00,X) C1/71E7: 94BF STY $BF,X C1/71E9: 0052 BRK #$52 C1/71EB: BF0148C1 LDA $C14801,X C1/71EF: 0448 TSB $48 C1/71F1: C301 CMP $01,S C1/71F3: 92C3 STA ($C3) C1/71F5: 0398 ORA $98,S C1/71F7: C400 CPY $00 C1/71F9: DA PHX C1/71FA: C401 CPY $01 C1/71FC: E0C4 CPX #$C4 C1/71FE: 01E6 ORA ($E6,X) C1/7200: C401 CPY $01 C1/7202: 1B TCS C1/7203: 3106 AND ($06),Y C1/7205: 0214 COP #$14 C1/7207: C602 DEC $02 C1/7209: 3109 AND ($09),Y C1/720B: 0114 ORA ($14,X) C1/720D: C602 DEC $02 C1/720F: 3108 AND ($08),Y C1/7211: 0014 BRK #$14 C1/7213: C602 DEC $02 C1/7215: 3100 AND ($00),Y C1/7217: 0014 BRK #$14 C1/7219: C602 DEC $02 C1/721B: 1B TCS C1/721C: 3106 AND ($06),Y C1/721E: 02EC COP #$EC C1/7220: C402 CPY $02 C1/7222: 3109 AND ($09),Y C1/7224: 013A ORA ($3A,X) C1/7226: C502 CMP $02 C1/7228: 3108 AND ($08),Y C1/722A: 0084 BRK #$84 C1/722C: C502 CMP $02 C1/722E: 3100 AND ($00),Y C1/7230: 00CA BRK #$CA C1/7232: C502 CMP $02 C1/7234: 1B TCS C1/7235: 3109 AND ($09),Y C1/7237: 014E ORA ($4E,X) C1/7239: C600 DEC $00 C1/723B: 33CD AND ($CD,S),Y C1/723D: 0021 BRK #$21 C1/723F: AA TAX C1/7240: F6F6 INC $F6,X C1/7242: 3106 AND ($06),Y C1/7244: 0292 COP #$92 C1/7246: C602 DEC $02 C1/7248: 3109 AND ($09),Y C1/724A: 0192 ORA ($92,X) C1/724C: C602 DEC $02 C1/724E: 3108 AND ($08),Y C1/7250: 0092 BRK #$92 C1/7252: C602 DEC $02 C1/7254: 3100 AND ($00),Y C1/7256: 0092 BRK #$92 C1/7258: C602 DEC $02 C1/725A: 3106 AND ($06),Y C1/725C: 0292 COP #$92 C1/725E: C602 DEC $02 C1/7260: 3109 AND ($09),Y C1/7262: 0192 ORA ($92,X) C1/7264: C602 DEC $02 C1/7266: 3108 AND ($08),Y C1/7268: 0092 BRK #$92 C1/726A: C602 DEC $02 C1/726C: 3100 AND ($00),Y C1/726E: 0092 BRK #$92 C1/7270: C601 DEC $01 C1/7272: 92C6 STA ($C6) C1/7274: 0033 BRK #$33 C1/7276: CD0021 CMP $2100 C1/7279: AA TAX C1/727A: F6BC INC $BC,X C1/727C: 3106 AND ($06),Y C1/727E: 02D4 COP #$D4 C1/7280: C602 DEC $02 C1/7282: 3109 AND ($09),Y C1/7284: 01D4 ORA ($D4,X) C1/7286: C602 DEC $02 C1/7288: 3108 AND ($08),Y C1/728A: 00D4 BRK #$D4 C1/728C: C602 DEC $02 C1/728E: 3100 AND ($00),Y C1/7290: 00D4 BRK #$D4 C1/7292: C602 DEC $02 C1/7294: 3106 AND ($06),Y C1/7296: 02D4 COP #$D4 C1/7298: C602 DEC $02 C1/729A: 3109 AND ($09),Y C1/729C: 01D4 ORA ($D4,X) C1/729E: C602 DEC $02 C1/72A0: 3108 AND ($08),Y C1/72A2: 00D4 BRK #$D4 C1/72A4: C602 DEC $02 C1/72A6: 3100 AND ($00),Y C1/72A8: 00D4 BRK #$D4 C1/72AA: C601 DEC $01 C1/72AC: D4C6 PEI ($C6) C1/72AE: 0031 BRK #$31 C1/72B0: 0602 ASL $02 C1/72B2: 92C6 STA ($C6) C1/72B4: 0231 COP #$31 C1/72B6: 0901 ORA #$01 C1/72B8: 92C6 STA ($C6) C1/72BA: 0231 COP #$31 C1/72BC: 08 PHP C1/72BD: 001E BRK #$1E C1/72BF: C702 CMP [$02] C1/72C1: 3100 AND ($00),Y C1/72C3: 0070 BRK #$70 C1/72C5: C702 CMP [$02] C1/72C7: 33CD AND ($CD,S),Y C1/72C9: 0021 BRK #$21 C1/72CB: AA TAX C1/72CC: F6BC INC $BC,X C1/72CE: 3106 AND ($06),Y C1/72D0: 02C2 COP #$C2 C1/72D2: C702 CMP [$02] C1/72D4: 3109 AND ($09),Y C1/72D6: 01C2 ORA ($C2,X) C1/72D8: C702 CMP [$02] C1/72DA: 3108 AND ($08),Y C1/72DC: 00C2 BRK #$C2 C1/72DE: C702 CMP [$02] C1/72E0: 3100 AND ($00),Y C1/72E2: 00C2 BRK #$C2 C1/72E4: C702 CMP [$02] C1/72E6: 3106 AND ($06),Y C1/72E8: 02D4 COP #$D4 C1/72EA: C602 DEC $02 C1/72EC: 3109 AND ($09),Y C1/72EE: 01D4 ORA ($D4,X) C1/72F0: C602 DEC $02 C1/72F2: 3108 AND ($08),Y C1/72F4: 00D4 BRK #$D4 C1/72F6: C602 DEC $02 C1/72F8: 3100 AND ($00),Y C1/72FA: 00D4 BRK #$D4 C1/72FC: C601 DEC $01 C1/72FE: D4C6 PEI ($C6) C1/7300: 0014 BRK #$14 C1/7302: C8 INY C1/7303: 0034 BRK #$34 C1/7305: C8 INY C1/7306: 0054 BRK #$54 C1/7308: C8 INY C1/7309: 0078 BRK #$78 C1/730B: C8 INY C1/730C: 009E BRK #$9E C1/730E: C8 INY C1/730F: 0101 ORA ($01,X) C1/7311: 9EC801 STZ $01C8,X C1/7314: 01A4 ORA ($A4,X) C1/7316: C8 INY C1/7317: 0101 ORA ($01,X) C1/7319: A4C8 LDY $C8 C1/731B: 0101 ORA ($01,X) C1/731D: AA TAX C1/731E: C8 INY C1/731F: 01B0 ORA ($B0,X) C1/7321: C8 INY C1/7322: 0101 ORA ($01,X) C1/7324: B0C8 BCS $72EE C1/7326: 0101 ORA ($01,X) C1/7328: C2C8 REP #$C8 C1/732A: 01D4 ORA ($D4,X) C1/732C: C8 INY C1/732D: 01AA ORA ($AA,X) C1/732F: C8 INY C1/7330: 01B0 ORA ($B0,X) C1/7332: C8 INY C1/7333: 01D4 ORA ($D4,X) C1/7335: C8 INY C1/7336: 01E6 ORA ($E6,X) C1/7338: C8 INY C1/7339: 01F8 ORA ($F8,X) C1/733B: C8 INY C1/733C: 011A ORA ($1A,X) C1/733E: C900 CMP #$00 C1/7340: 2CC900 BIT $00C9 C1/7343: 6EC900 ROR $00C9 C1/7346: B0C9 BCS $7311 C1/7348: 00F2 BRK #$F2 C1/734A: C901 CMP #$01 C1/734C: F2C9 SBC ($C9) C1/734E: 0034 BRK #$34 C1/7350: CA DEX C1/7351: 0172 ORA ($72,X) C1/7353: CA DEX C1/7354: 02B8 COP #$B8 C1/7356: CA DEX C1/7357: 01FC ORA ($FC,X) C1/7359: CA DEX C1/735A: 00FC BRK #$FC C1/735C: CA DEX C1/735D: 00B8 BRK #$B8 C1/735F: CA DEX C1/7360: 0172 ORA ($72,X) C1/7362: CA DEX C1/7363: 0234 COP #$34 C1/7365: CA DEX C1/7366: 0134 ORA ($34,X) C1/7368: CA DEX C1/7369: 0046 BRK #$46 C1/736B: CB WAI C1/736C: 00 [D6] C1/736D: 0D 00 08 [Move: X: 00 Y: 08] C1/7370: 86CB 01 [Pointer: $CB86] C1/7373: 0D 00 08 [Move: X: 00 Y: 08] C1/7376: CECB 01 [Pointer: $CBCE] C1/7379: 12CC 02 [Pointer: $CC12] C1/737C: 0D 00 F8 [Move: X: 00 Y: -08] C1/737F: 12CC 01 [Pointer: $CC12] C1/7382: 0D 00 F8 [Move: X: 00 Y: -08] C1/7385: 2CC9 00 [Pointer: $C92C] [D7] C1/7388: 0D 00 08 [Move: X: 00 Y: 08] C1/738B: 12CC 01 [Pointer: $CC12] C1/738E: 12CC 01 [Pointer: $CC12] C1/7391: 0D 00 F8 [Move: X: 00 Y: -08] C1/7394: 12CC 00 [Pointer: $CC12] C1/7388: 0D0008 ORA $0800 C1/738B: 12CC ORA ($CC) C1/738D: 0112 ORA ($12,X) C1/738F: CC010D CPY $0D01 C1/7392: 00F8 BRK #$F8 C1/7394: 12CC ORA ($CC) C1/7396: 0017 BRK #$17 C1/7398: 88 DEY C1/7399: 0031 BRK #$31 C1/739B: 00FE BRK #$FE C1/739D: 48 PHA C1/739E: CC0231 CPY $3102 C1/73A1: 00FF BRK #$FF C1/73A3: 82CC01 BRL $7572 C1/73A6: 3100 AND ($00),Y C1/73A8: 00BA BRK #$BA C1/73AA: CC021B CPY $1B02 C1/73AD: 0D00FE ORA $FE00 C1/73B0: F4CC02 PEA $02CC C1/73B3: 0D0001 ORA $0100 C1/73B6: 04CD TSB $CD C1/73B8: 010D ORA ($0D,X) C1/73BA: 0001 BRK #$01 C1/73BC: 04CD TSB $CD C1/73BE: 021B COP #$1B C1/73C0: 1CCD00 TRB $00CD C1/73C3: 60 RTS C1/73C4: CD011C CMP $1C01 C1/73C7: CD0160 CMP $6001 C1/73CA: CD00B8 CMP $B800 C1/73CD: CA DEX C1/73CE: 0172 ORA ($72,X) C1/73D0: CA DEX C1/73D1: 01A4 ORA ($A4,X) C1/73D3: CD0325 CMP $2503 C1/73D6: E000 CPX #$00 C1/73D8: D8 CLD C1/73D9: C0EC CPY #$EC C1/73DB: CD07EC CMP $EC07 C1/73DE: CD0001 CMP $0100 C1/73E1: 15DC ORA $DC,X C1/73E3: 002C BRK #$2C C1/73E5: C901 CMP #$01 C1/73E7: A0CE LDY #$CE C1/73E9: 0325 ORA $25,S C1/73EB: E000 CPX #$00 C1/73ED: D8 CLD C1/73EE: C025 CPY #$25 C1/73F0: E000 CPX #$00 C1/73F2: 28 PLP C1/73F3: C0E2 CPY #$E2 C1/73F5: CE07E2 DEC $E207 C1/73F8: CE0024 DEC $2400 C1/73FB: CF01FCCA CMP $CAFC01 C1/73FF: 01FC ORA ($FC,X) C1/7401: CA DEX C1/7402: 0034 BRK #$34 C1/7404: CE0140 DEC $4001 C1/7407: CE0158 DEC $5801 C1/740A: CE0170 DEC $7001 C1/740D: CE0188 DEC $8801 C1/7410: CE0188 DEC $8801 C1/7413: CE00DA DEC $DA00 C1/7416: CF02EECF CMP $CFEE02 C1/741A: 021B COP #$1B C1/741C: 19C707 ORA $07C7,Y C1/741F: AA TAX C1/7420: C8 INY C1/7421: 02B4 COP #$B4 C1/7423: C8 INY C1/7424: 021B COP #$1B C1/7426: 19C707 ORA $07C7,Y C1/7429: BEC802 LDX $02C8,Y C1/742C: CCC802 CPY $02C8 C1/742F: 1B TCS C1/7430: 0D00FF ORA $FF00 C1/7433: 58 CLI C1/7434: D004 BNE $743A C1/7436: 0D0001 ORA $0100 C1/7439: 02D0 COP #$D0 C1/743B: 030D ORA $0D,S C1/743D: 0001 BRK #$01 C1/743F: AED004 LDX $04D0 C1/7442: 0D00FF ORA $FF00 C1/7445: 02D0 COP #$D0 C1/7447: 031B ORA $1B,S C1/7449: 0D00FF ORA $FF00 C1/744C: 62D104 PER $7920 C1/744F: 0D0001 ORA $0100 C1/7452: 04D1 TSB $D1 C1/7454: 030D ORA $0D,S C1/7456: 0001 BRK #$01 C1/7458: C0D1 CPY #$D1 C1/745A: 040D TSB $0D C1/745C: 00FF BRK #$FF C1/745E: 04D1 TSB $D1 C1/7460: 031B ORA $1B,S C1/7462: 0D00FF ORA $FF00 C1/7465: 1ED201 ASL $01D2,X C1/7468: 0D0001 ORA $0100 C1/746B: 72D2 ADC ($D2) C1/746D: 010D ORA ($0D,X) C1/746F: 00FF BRK #$FF C1/7471: 1ED202 ASL $02D2,X C1/7474: 0D0001 ORA $0100 C1/7477: 72D2 ADC ($D2) C1/7479: 020D COP #$0D C1/747B: 0001 BRK #$01 C1/747D: 72D2 ADC ($D2) C1/747F: 00C6 BRK #$C6 C1/7481: D201 CMP ($01) C1/7483: 24D3 BIT $D3 C1/7485: 0382 ORA $82,S C1/7487: D301 CMP ($01,S),Y C1/7489: E0D3 CPX #$D3 C1/748B: 033E ORA $3E,S C1/748D: D401 PEI ($01) C1/748F: 3ED400 ROL $00D4,X C1/7492: 9ED502 STZ $02D5,X C1/7495: 08 PHP C1/7496: D8 CLD C1/7497: 04B2 TSB $B2 C1/7499: D701 CMP [$01],Y C1/749B: 54D704 MVN $D7,$04 C1/749E: FED601 INC $01D6,X C1/74A1: FED600 INC $00D6,X C1/74A4: 12D9 ORA ($D9) C1/74A6: 0168 ORA ($68,X) C1/74A8: D90201 CMP $0102,Y C1/74AB: 12D9 ORA ($D9) C1/74AD: 0168 ORA ($68,X) C1/74AF: D90301 CMP $0103,Y C1/74B2: 5ED801 LSR $01D8,X C1/74B5: B8 CLV C1/74B6: D8 CLD C1/74B7: 03B8 ORA $B8,S C1/74B9: D8 CLD C1/74BA: 009C BRK #$9C C1/74BC: D401 PEI ($01) C1/74BE: F2D4 SBC ($D4) C1/74C0: 0148 ORA ($48,X) C1/74C2: D501 CMP $01,X C1/74C4: 9ED502 STZ $02D5,X C1/74C7: B2D7 LDA ($D7) C1/74C9: 0254 COP #$54 C1/74CB: D703 CMP [$03],Y C1/74CD: FED602 INC $02D6,X C1/74D0: FED600 INC $00D6,X C1/74D3: F2D4 SBC ($D4) C1/74D5: 01BE ORA ($BE,X) C1/74D7: D9039E CMP $9E03,Y C1/74DA: D501 CMP $01,X C1/74DC: F4D501 PEA $01D5 C1/74DF: 4ED603 LSR $03D6 C1/74E2: A8 TAY C1/74E3: D601 DEC $01,X C1/74E5: A8 TAY C1/74E6: D600 DEC $00,X C1/74E8: 9CD401 STZ $01D4 C1/74EB: F2D4 SBC ($D4) C1/74ED: 0148 ORA ($48,X) C1/74EF: D501 CMP $01,X C1/74F1: 9ED502 STZ $02D5,X C1/74F4: F4D501 PEA $01D5 C1/74F7: 4ED602 LSR $02D6 C1/74FA: A8 TAY C1/74FB: D601 DEC $01,X C1/74FD: 01F4 ORA ($F4,X) C1/74FF: D501 CMP $01,X C1/7501: 4ED603 LSR $03D6 C1/7504: A8 TAY C1/7505: D602 DEC $02,X C1/7507: A8 TAY C1/7508: D600 DEC $00,X C1/750A: FED603 INC $03D6,X C1/750D: 54D701 MVN $D7,$01 C1/7510: B2D7 LDA ($D7) C1/7512: 0208 COP #$08 C1/7514: D8 CLD C1/7515: 035E ORA $5E,S C1/7517: D8 CLD C1/7518: 01B8 ORA ($B8,X) C1/751A: D8 CLD C1/751B: 03B8 ORA $B8,S C1/751D: D8 CLD C1/751E: 00B2 BRK #$B2 C1/7520: D701 CMP [$01],Y C1/7522: 08 PHP C1/7523: D8 CLD C1/7524: 03FE ORA $FE,S C1/7526: D608 DEC $08,X C1/7528: FED600 INC $00D6,X C1/752B: FED601 INC $01D6,X C1/752E: 54D703 MVN $D7,$03 C1/7531: 9ED508 STZ $08D5,X C1/7534: 9ED500 STZ $00D5,X C1/7537: 14DA TRB $DA C1/7539: 034C ORA $4C,S C1/753B: DA PHX C1/753C: 031B ORA $1B,S C1/753E: 84DA STY $DA C1/7540: 01C4 ORA ($C4,X) C1/7542: DA PHX C1/7543: 01C4 ORA ($C4,X) C1/7545: DA PHX C1/7546: 0004 BRK #$04 C1/7548: DB STP C1/7549: 034E ORA $4E,S C1/754B: DB STP C1/754C: 031B ORA $1B,S C1/754E: 98 TYA C1/754F: DB STP C1/7550: 01D0 ORA ($D0,X) C1/7552: DB STP C1/7553: 011B ORA ($1B,X) C1/7555: C4DA CPY $DA C1/7557: 0184 ORA ($84,X) C1/7559: DA PHX C1/755A: 0184 ORA ($84,X) C1/755C: DA PHX C1/755D: 0008 BRK #$08 C1/755F: DC0238 JMP [$3802] C1/7562: DC0160 JMP [$6001] C1/7565: DC0190 JMP [$9001] C1/7568: DC01C0 JMP [$C001] C1/756B: DC01F2 JMP [$F201] C1/756E: DC013C JMP [$3C01] C1/7571: DD0186 CMP $8601,X C1/7574: DD01F0 CMP $F001,X C1/7577: DD015A CMP $5A01,X C1/757A: DE01C4 DEC $C401,X C1/757D: DE012E DEC $2E01,X C1/7580: DF032EDF CMP $DF2E03,X C1/7584: 0092 BRK #$92 C1/7586: DF0156DF CMP $DF5601,X C1/758A: 0156 ORA ($56,X) C1/758C: DF0156DF CMP $DF5601,X C1/7590: 0156 ORA ($56,X) C1/7592: DF0162DF CMP $DF6201,X C1/7596: 0162 ORA ($62,X) C1/7598: DF0162DF CMP $DF6201,X C1/759C: 016E ORA ($6E,X) C1/759E: DF016EDF CMP $DF6E01,X C1/75A2: 016E ORA ($6E,X) C1/75A4: DF016EDF CMP $DF6E01,X C1/75A8: 0162 ORA ($62,X) C1/75AA: DF0162DF CMP $DF6201,X C1/75AE: 0162 ORA ($62,X) C1/75B0: DF011103 CMP $031101,X C1/75B4: 00A4 BRK #$A4 C1/75B6: DF017ADF CMP $DF7A01,X C1/75BA: 0111 ORA ($11,X) C1/75BC: 0300 ORA $00,S C1/75BE: B6DF LDX $DF,Y C1/75C0: 0186 ORA ($86,X) C1/75C2: DF011103 CMP $031101,X C1/75C6: 0017 BRK #$17 C1/75C8: 8100 STA ($00,X) C1/75CA: 2508 AND $08 C1/75CC: 0100 ORA ($00,X) C1/75CE: 00C8 BRK #$C8 C1/75D0: DF0116E0 CMP $E01601,X C1/75D4: 01C8 ORA ($C8,X) C1/75D6: DF0116E0 CMP $E01601,X C1/75DA: 01C8 ORA ($C8,X) C1/75DC: DF0116E0 CMP $E01601,X C1/75E0: 01C8 ORA ($C8,X) C1/75E2: DF0116E0 CMP $E01601,X C1/75E6: 0111 ORA ($11,X) C1/75E8: 0300 ORA $00,S C1/75EA: 1780 ORA [$80],Y C1/75EC: 0025 BRK #$25 C1/75EE: 0901 ORA #$01 C1/75F0: 0000 BRK #$00 C1/75F2: 0DFE00 ORA $00FE C1/75F5: 6CE001 JMP ($01E0) C1/75F8: 0DFE00 ORA $00FE C1/75FB: BCE001 LDY $01E0,X C1/75FE: 0DFE00 ORA $00FE C1/7601: 6CE001 JMP ($01E0) C1/7604: 0DFE00 ORA $00FE C1/7607: BCE001 LDY $01E0,X C1/760A: 0DFE00 ORA $00FE C1/760D: 6CE001 JMP ($01E0) C1/7610: 0DFE00 ORA $00FE C1/7613: BCE001 LDY $01E0,X C1/7616: 0DFE00 ORA $00FE C1/7619: 6CE001 JMP ($01E0) C1/761C: 0DFE00 ORA $00FE C1/761F: BCE001 LDY $01E0,X C1/7622: 1103 ORA ($03),Y C1/7624: 000C BRK #$0C C1/7626: E101 SBC ($01,X) C1/7628: 2509 AND $09 C1/762A: 0100 ORA ($00,X) C1/762C: 005E BRK #$5E C1/762E: E101 SBC ($01,X) C1/7630: B0E1 BCS $7613 C1/7632: 0102 ORA ($02,X) C1/7634: E201 SEP #$01 C1/7636: 54E201 MVN $E2,$01 C1/7639: A6E2 LDX $E2 C1/763B: 01F8 ORA ($F8,X) C1/763D: E201 SEP #$01 C1/763F: 4A LSR A C1/7640: E301 SBC $01,S C1/7642: 9CE301 STZ $01E3 C1/7645: 1103 ORA ($03),Y C1/7647: 00EE BRK #$EE C1/7649: E301 SBC $01,S C1/764B: 0140 ORA ($40,X) C1/764D: E400 CPX $00 C1/764F: 8EE401 STX $01E4 C1/7652: E0E4 CPX #$E4 C1/7654: 0125 ORA ($25,X) C1/7656: 08 PHP C1/7657: 0100 ORA ($00,X) C1/7659: 0032 BRK #$32 C1/765B: E501 SBC $01 C1/765D: 84E5 STY $E5 C1/765F: 01D6 ORA ($D6,X) C1/7661: E501 SBC $01 C1/7663: 28 PLP C1/7664: E601 INC $01 C1/7666: 7A PLY C1/7667: E601 INC $01 C1/7669: CCE601 CPY $01E6 C1/766C: 1EE701 ASL $01E7,X C1/766F: 70E7 BVS $7658 C1/7671: 0111 ORA ($11,X) C1/7673: 0600 ASL $00 C1/7675: 2508 AND $08 C1/7677: 0100 ORA ($00,X) C1/7679: 00C2 BRK #$C2 C1/767B: E701 SBC [$01] C1/767D: 10E8 BPL $7667 C1/767F: 015E ORA ($5E,X) C1/7681: E8 INX C1/7682: 01AC ORA ($AC,X) C1/7684: E8 INX C1/7685: 00FA BRK #$FA C1/7687: E8 INX C1/7688: 0148 ORA ($48,X) C1/768A: E901 SBC #$01 C1/768C: 96E9 STX $E9,Y C1/768E: 01E4 ORA ($E4,X) C1/7690: E900 SBC #$00 C1/7692: 32EA AND ($EA) C1/7694: 0040 BRK #$40 C1/7696: EA NOP C1/7697: 004E BRK #$4E C1/7699: EA NOP C1/769A: 0025 BRK #$25 C1/769C: 08 PHP C1/769D: 0100 ORA ($00,X) C1/769F: 005C BRK #$5C C1/76A1: EA NOP C1/76A2: 00A8 BRK #$A8 C1/76A4: EA NOP C1/76A5: 01B2 ORA ($B2,X) C1/76A7: EA NOP C1/76A8: 01BC ORA ($BC,X) C1/76AA: EA NOP C1/76AB: 01CA ORA ($CA,X) C1/76AD: EA NOP C1/76AE: 01D8 ORA ($D8,X) C1/76B0: EA NOP C1/76B1: 01E2 ORA ($E2,X) C1/76B3: EA NOP C1/76B4: 01EC ORA ($EC,X) C1/76B6: EA NOP C1/76B7: 01F2 ORA ($F2,X) C1/76B9: EA NOP C1/76BA: 00F8 BRK #$F8 C1/76BC: EA NOP C1/76BD: 01FE ORA ($FE,X) C1/76BF: EA NOP C1/76C0: 0104 ORA ($04,X) C1/76C2: EB XBA C1/76C3: 010E ORA ($0E,X) C1/76C5: EB XBA C1/76C6: 0118 ORA ($18,X) C1/76C8: EB XBA C1/76C9: 0122 ORA ($22,X) C1/76CB: EB XBA C1/76CC: 012C ORA ($2C,X) C1/76CE: EB XBA C1/76CF: 0132 ORA ($32,X) C1/76D1: EB XBA C1/76D2: 0025 BRK #$25 C1/76D4: 0901 ORA #$01 C1/76D6: 0000 BRK #$00 C1/76D8: 2509 AND $09 C1/76DA: 0100 ORA ($00,X) C1/76DC: E025 CPX #$25 C1/76DE: 0901 ORA #$01 C1/76E0: 00C0 BRK #$C0 C1/76E2: 0DFA00 ORA $00FA C1/76E5: 6CE001 JMP ($01E0) C1/76E8: 0DFA00 ORA $00FA C1/76EB: BCE001 LDY $01E0,X C1/76EE: 0DFA00 ORA $00FA C1/76F1: 6CE001 JMP ($01E0) C1/76F4: 0DFA00 ORA $00FA C1/76F7: BCE001 LDY $01E0,X C1/76FA: 0DFA00 ORA $00FA C1/76FD: 6CE001 JMP ($01E0) C1/7700: 0DFA00 ORA $00FA C1/7703: BCE001 LDY $01E0,X C1/7706: 0DFA00 ORA $00FA C1/7709: 6CE001 JMP ($01E0) C1/770C: 0DFA00 ORA $00FA C1/770F: BCE001 LDY $01E0,X C1/7712: 1B TCS C1/7713: 38 SEC C1/7714: EB XBA C1/7715: 025A COP #$5A C1/7717: EB XBA C1/7718: 027C COP #$7C C1/771A: EB XBA C1/771B: 029E COP #$9E C1/771D: EB XBA C1/771E: 02C0 COP #$C0 C1/7720: EB XBA C1/7721: 02E2 COP #$E2 C1/7723: EB XBA C1/7724: 0204 COP #$04 C1/7726: EC0226 CPX $2602 C1/7729: EC0248 CPX $4802 C1/772C: EC026A CPX $6A02 C1/772F: EC028C CPX $8C02 C1/7732: EC02AE CPX $AE02 C1/7735: EC02D0 CPX $D002 C1/7738: EC02F2 CPX $F202 C1/773B: EC0214 CPX $1402 C1/773E: ED0236 SBC $3602 C1/7741: ED021B SBC $1B02 C1/7744: 58 CLI C1/7745: ED0164 SBC $6401 C1/7748: ED0174 SBC $7401 C1/774B: ED0188 SBC $8801 C1/774E: ED01A0 SBC $A001 C1/7751: ED01BC SBC $BC01 C1/7754: ED01D8 SBC $D801 C1/7757: ED00F0 SBC $F000 C1/775A: ED0106 SBC $0601 C1/775D: EE011C INC $1C01 C1/7760: EE011B C1/7763: 17 4400 C1/7766: 32EE 01 C1/7769: 50EE 01 76EE 01 A4EE 01 C6EE 01 DCEE 00 F2EE 02 FEEE 02 0AEF 02 16EF 02 C1/7784: 1B C1/7785: 19C736 ORA $36C7,Y C1/7788: EE044A INC $4A04 C1/778B: EE025E INC $5E02 C1/778E: EE044A INC $4A04 C1/7791: EE021B INC $1B02 [111] C1/7794: 19 C7 [Bank: C7] C1/7796: 0D FE FC [Move: X: -02 Y: -04] C1/7799: 8AEE 01 [Pointer: $EE8A] C1/779C: 0D FE FC [Move: X: -02 Y: -04] C1/779F: A2EE 01 [Pointer: $EEA2] C1/77A2: 0D FC FC [Move: X: -04 Y: -04] C1/77A5: A2EE 01 [Pointer: $EEA2] C1/77A8: 0D FC FE [Move: X: -04 Y: -02] C1/77AB: BAEE 01 [Pointer: $EEBA] C1/77AE: 0D FC 00 [Move: X: -04 Y: 00] C1/77B1: BAEE 01 [Pointer: $EEBA] C1/77B4: 0D FC 02 [Move: X: -04 Y: 02] C1/77B7: D2EE 01 [Pointer: $EED2] C1/77BA: 0D FC 04 [Move: X: -04 Y: 04] C1/77BD: D2EE 01 [Pointer: $EED2] C1/77C0: 0D FE 04 [Move: X: -02 Y: 04] C1/77C3: EAEE 01 [Pointer: $EEEA] C1/77C6: 0D FE 04 [Move: X: -02 Y: 04] C1/77C9: EAEE 00 [Pointer: $EEEA] C1/77C7: FE04EA INC $EA04,X C1/77CA: EE0019 INC $1900 C1/77CD: C702 CMP [$02] C1/77CF: EF031AEF SBC $EF1A03 C1/77D3: 031B ORA $1B,S C1/77D5: 19C732 ORA $32C7,Y C1/77D8: EF011B19 SBC $191B01 C1/77DC: C74A CMP [$4A] C1/77DE: EF011B19 SBC $191B01 C1/77E2: C762 CMP [$62] C1/77E4: EF011B19 SBC $191B01 C1/77E8: C772 CMP [$72] C1/77EA: EE011B INC $1B01 C1/77ED: 19C77A ORA $7AC7,Y C1/77F0: EF011B19 SBC $191B01 C1/77F4: C78C CMP [$8C] C1/77F6: EF0019C7 SBC $C71900 C1/77FA: 8CEF06 STY $06EF C1/77FD: A6EF LDX $EF C1/77FF: 0658 ASL $58 C1/7801: BE0019 LDX $1900,Y C1/7804: C7A6 CMP [$A6] C1/7806: EF068CEF SBC $EF8C06 C1/780A: 0019 BRK #$19 C1/780C: C7B8 CMP [$B8] C1/780E: EF0019C7 SBC $C71900 C1/7812: B8 CLV C1/7813: EF04BEEF SBC $EFBE04 C1/7817: 03C4 ORA $C4,S C1/7819: EF02CAEF SBC $EFCA02 C1/781D: 0019 BRK #$19 C1/781F: C7CA CMP [$CA] C1/7821: EF01C4EF SBC $EFC401 C1/7825: 02BE COP #$BE C1/7827: EF03B8EF SBC $EFB803 C1/782B: 0019 BRK #$19 C1/782D: C7D0 CMP [$D0] C1/782F: EF0019C7 SBC $C71900 C1/7833: E6EF INC $EF C1/7835: 06F8 ASL $F8 C1/7837: EF0019C7 SBC $C71900 C1/783B: E6EF INC $EF C1/783D: 06D0 ASL $D0 C1/783F: EF00 [121: (Wall Face)] C1/7841: 19 C7 [Bank: C7] C1/7843: F8EF 00 [Pointer: $EFF8] C1/7846: 19C7 SBC $C71900 C1/7848: D0EF BNE $7839 C1/784A: 0308 ORA $08,S C1/784C: F002 BEQ $7850 C1/784E: 1CF000 TRB $00F0 C1/7851: 19C71C ORA $1CC7,Y C1/7854: F001 BEQ $7857 C1/7856: 08 PHP C1/7857: F002 BEQ $785B C1/7859: D0EF BNE $784A C1/785B: 0019 BRK #$19 C1/785D: C717 CMP [$17] C1/785F: 5A PHY C1/7860: 0030 BRK #$30 C1/7862: F002 BEQ $7866 C1/7864: 175A ORA [$5A],Y C1/7866: 0036 BRK #$36 C1/7868: F002 BEQ $786C C1/786A: 175A ORA [$5A],Y C1/786C: 0040 BRK #$40 C1/786E: F002 BEQ $7872 C1/7870: 175A ORA [$5A],Y C1/7872: 004E BRK #$4E C1/7874: F002 BEQ $7878 C1/7876: 175A ORA [$5A],Y C1/7878: 0060 BRK #$60 C1/787A: F00C BEQ $7888 C1/787C: 60 RTS C1/787D: F000 BEQ $787F C1/787F: 19C776 ORA $76C7,Y C1/7882: F001 BEQ $7885 C1/7884: 0176 ORA ($76,X) C1/7886: F001 BEQ $7889 C1/7888: 0184 ORA ($84,X) C1/788A: F001 BEQ $788D C1/788C: 0184 ORA ($84,X) C1/788E: F001 BEQ $7891 C1/7890: 0192 ORA ($92,X) C1/7892: F001 BEQ $7895 C1/7894: 0192 ORA ($92,X) C1/7896: F001 BEQ $7899 C1/7898: 84F0 STY $F0 C1/789A: 0101 ORA ($01,X) C1/789C: 84F0 STY $F0 C1/789E: 0101 ORA ($01,X) C1/78A0: 76F0 ROR $F0,X C1/78A2: 0101 ORA ($01,X) C1/78A4: 76F0 ROR $F0,X C1/78A6: 01A0 ORA ($A0,X) C1/78A8: F001 BEQ $78AB C1/78AA: 01A0 ORA ($A0,X) C1/78AC: F001 BEQ $78AF C1/78AE: 01AE ORA ($AE,X) C1/78B0: F001 BEQ $78B3 C1/78B2: 01AE ORA ($AE,X) C1/78B4: F001 BEQ $78B7 C1/78B6: A0F0 LDY #$F0 C1/78B8: 0101 ORA ($01,X) C1/78BA: A0F0 LDY #$F0 C1/78BC: 011B ORA ($1B,X) C1/78BE: 19C7BC ORA $BCC7,Y C1/78C1: F000 BEQ $78C3 C1/78C3: 19C717 ORA $17C7,Y C1/78C6: 4A LSR A C1/78C7: 00CE BRK #$CE C1/78C9: F001 BEQ $78CC C1/78CB: E8 INX C1/78CC: F001 BEQ $78CF C1/78CE: 02F1 COP #$F1 C1/78D0: 0120 ORA ($20,X) C1/78D2: F101 SBC ($01),Y C1/78D4: 46F1 LSR $F1 C1/78D6: 0164 ORA ($64,X) C1/78D8: F101 SBC ($01),Y C1/78DA: 7A PLY C1/78DB: F100 SBC ($00),Y C1/78DD: 19C78C ORA $8CC7,Y C1/78E0: F101 SBC ($01),Y C1/78E2: 1B TCS C1/78E3: 19C78C ORA $8CC7,Y C1/78E6: F101 SBC ($01),Y C1/78E8: 1B TCS C1/78E9: 19C79E ORA $9EC7,Y C1/78EC: F101 SBC ($01),Y C1/78EE: 1B TCS C1/78EF: 19C7B0 ORA $B0C7,Y C1/78F2: F101 SBC ($01),Y C1/78F4: 1B TCS C1/78F5: 19C7E6 ORA $E6C7,Y C1/78F8: EF0019C7 SBC $C71900 C1/78FC: A6EF LDX $EF C1/78FE: 0019 BRK #$19 C1/7900: C7E6 CMP [$E6] C1/7902: EF06D0EF SBC $EFD006 C1/7906: 06E6 ASL $E6 C1/7908: EF06F8EF SBC $EFF806 C1/790C: 0019 BRK #$19 C1/790E: C7C2 CMP [$C2] C1/7910: F101 SBC ($01),Y C1/7912: 1B TCS C1/7913: 19C7CE ORA $CEC7,Y C1/7916: F101 SBC ($01),Y C1/7918: 1B TCS C1/7919: 19C7DA ORA $DAC7,Y C1/791C: F101 SBC ($01),Y C1/791E: 1B TCS C1/791F: 19C7E6 ORA $E6C7,Y C1/7922: F100 SBC ($00),Y C1/7924: 19C7DA ORA $DAC7,Y C1/7927: F603 INC $03,X C1/7929: EA NOP C1/792A: F603 INC $03,X C1/792C: DA PHX C1/792D: F600 INC $00,X C1/792F: 19C7FA ORA $FAC7,Y C1/7932: F601 INC $01,X C1/7934: 0EF701 ASL $01F7 C1/7937: 22F7010E JSR $0E01F7 C1/793B: F701 SBC [$01],Y C1/793D: 22F701FA JSR $FA01F7 C1/7941: F601 INC $01,X C1/7943: 1B TCS C1/7944: 19C736 ORA $36C7,Y C1/7947: F703 SBC [$03],Y C1/7949: 46F7 LSR $F7 C1/794B: 0336 ORA $36,S C1/794D: F700 SBC [$00],Y C1/794F: 19C756 ORA $56C7,Y C1/7952: F701 SBC [$01],Y C1/7954: 6A ROR A C1/7955: F701 SBC [$01],Y C1/7957: 7EF701 ROR $01F7,X C1/795A: 6A ROR A C1/795B: F701 SBC [$01],Y C1/795D: 7EF701 ROR $01F7,X C1/7960: 56F7 LSR $F7,X C1/7962: 011B ORA ($1B,X) C1/7964: 19C7B6 ORA $B6C7,Y C1/7967: F700 SBC [$00],Y C1/7969: 19C7C4 ORA $C4C7,Y C1/796C: F700 SBC [$00],Y C1/796E: 19C7B0 ORA $B0C7,Y C1/7971: F702 SBC [$02],Y C1/7973: 92F7 STA ($F7) C1/7975: 0111 ORA ($11,X) C1/7977: 0500 ORA $00 C1/7979: 19C792 ORA $92C7,Y C1/797C: F701 SBC [$01],Y C1/797E: 1B TCS C1/797F: 19C798 ORA $98C7,Y C1/7982: F701 SBC [$01],Y C1/7984: 1B TCS C1/7985: 19C79E ORA $9EC7,Y C1/7988: F701 SBC [$01],Y C1/798A: 1B TCS C1/798B: 19C7A4 ORA $A4C7,Y C1/798E: F701 SBC [$01],Y C1/7990: 1B TCS C1/7991: 19C7AA ORA $AAC7,Y C1/7994: F701 SBC [$01],Y C1/7996: 1B TCS C1/7997: 19C731 ORA $31C7,Y C1/799A: 0000 BRK #$00 C1/799C: D2F7 CMP ($F7) C1/799E: 0019 BRK #$19 C1/79A0: C731 CMP [$31] C1/79A2: 0000 BRK #$00 C1/79A4: F4F700 PEA $00F7 C1/79A7: 19C731 ORA $31C7,Y C1/79AA: 0000 BRK #$00 C1/79AC: 12F8 ORA ($F8) C1/79AE: 0019 BRK #$19 C1/79B0: C731 CMP [$31] C1/79B2: 0000 BRK #$00 C1/79B4: 34F8 BIT $F8,X C1/79B6: 0019 BRK #$19 C1/79B8: C731 CMP [$31] C1/79BA: 0000 BRK #$00 C1/79BC: D2F7 CMP ($F7) C1/79BE: 0252 COP #$52 C1/79C0: F8 SED C1/79C1: 021B COP #$1B C1/79C3: 19C79E ORA $9EC7,Y C1/79C6: F901BC SBC $BC01,Y C1/79C9: F901DA SBC $DA01,Y C1/79CC: F901F8 SBC $F801,Y C1/79CF: F90019 SBC $1900,Y C1/79D2: C79E CMP [$9E] C1/79D4: F902BC SBC $BC02,Y C1/79D7: F902DA SBC $DA02,Y C1/79DA: F902F8 SBC $F802,Y C1/79DD: F902DA SBC $DA02,Y C1/79E0: F902BC SBC $BC02,Y C1/79E3: F9021B SBC $1B02,Y C1/79E6: 19C79E ORA $9EC7,Y C1/79E9: F9011B SBC $1B01,Y C1/79EC: 19C731 ORA $31C7,Y C1/79EF: 0012 BRK #$12 C1/79F1: D2F7 CMP ($F7) C1/79F3: 0131 ORA ($31,X) C1/79F5: 000C BRK #$0C C1/79F7: D2F7 CMP ($F7) C1/79F9: 0131 ORA ($31,X) C1/79FB: 0006 BRK #$06 C1/79FD: D2F7 CMP ($F7) C1/79FF: 0131 ORA ($31,X) C1/7A01: 0000 BRK #$00 C1/7A03: D2F7 CMP ($F7) C1/7A05: 0019 BRK #$19 C1/7A07: C731 CMP [$31] C1/7A09: 0000 BRK #$00 C1/7A0B: D2F7 CMP ($F7) C1/7A0D: 0231 COP #$31 C1/7A0F: 0006 BRK #$06 C1/7A11: D2F7 CMP ($F7) C1/7A13: 0231 COP #$31 C1/7A15: 000C BRK #$0C C1/7A17: D2F7 CMP ($F7) C1/7A19: 0231 COP #$31 C1/7A1B: 0012 BRK #$12 C1/7A1D: D2F7 CMP ($F7) C1/7A1F: 0231 COP #$31 C1/7A21: 000C BRK #$0C C1/7A23: D2F7 CMP ($F7) C1/7A25: 0231 COP #$31 C1/7A27: 0006 BRK #$06 C1/7A29: D2F7 CMP ($F7) C1/7A2B: 021B COP #$1B C1/7A2D: 19C79E ORA $9EC7,Y C1/7A30: F90019 SBC $1900,Y C1/7A33: C7BC CMP [$BC] C1/7A35: F90019 SBC $1900,Y C1/7A38: C7DA CMP [$DA] C1/7A3A: F90019 SBC $1900,Y C1/7A3D: C7F8 CMP [$F8] C1/7A3F: F90019 SBC $1900,Y C1/7A42: C748 CMP [$48] C1/7A44: F903F2 SBC $F203,Y C1/7A47: F8 SED C1/7A48: 03A0 ORA $A0,S C1/7A4A: F8 SED C1/7A4B: 03F2 ORA $F2,S C1/7A4D: F8 SED C1/7A4E: 031B ORA $1B,S C1/7A50: 2E EF024C EF026A ROR A C1/7A57: EF0288EF02A6 COP #$A6 C1/7A5D: EF0288EF026A COP #$6A C1/7A63: EF024CEF021BC4 C1/7A6A: EF01E0EF01FC EF0101E0EF01C4 ORA ($C4,X) C1/7A77: EF001CF00138 ORA ($38,X) C1/7A7D: F0011CF00138 SEC C1/7A83: F001 BEQ $7A86 C1/7A85: 1CF001 TRB $01F0 C1/7A88: 38 SEC C1/7A89: F000 BEQ $7A8B C1/7A8B: 54F001 MVN $F0,$01 C1/7A8E: 70F0 BVS $7A80 C1/7A90: 018C ORA ($8C,X) C1/7A92: F001 BEQ $7A95 C1/7A94: A8 TAY C1/7A95: F001 BEQ $7A98 C1/7A97: C4F0 CPY $F0 C1/7A99: 01E0 ORA ($E0,X) C1/7A9B: F001 BEQ $7A9E C1/7A9D: FCF002 JSR ($02F0,X) C1/7AA0: 18 CLC C1/7AA1: F102 SBC ($02),Y C1/7AA3: 34F1 BIT $F1,X C1/7AA5: 0150 ORA ($50,X) C1/7AA7: F101 SBC ($01),Y C1/7AA9: 70F1 BVS $7A9C C1/7AAB: 0190 ORA ($90,X) C1/7AAD: F100 SBC ($00),Y C1/7AAF: B0F1 BCS $7AA2 C1/7AB1: 01D0 ORA ($D0,X) C1/7AB3: F101 SBC ($01),Y C1/7AB5: F0F1 BEQ $7AA8 C1/7AB7: 0110 ORA ($10,X) C1/7AB9: F201 SBC ($01) C1/7ABB: 30F2 BMI $7AAF C1/7ABD: 0150 ORA ($50,X) C1/7ABF: F201 SBC ($01) C1/7AC1: 70F2 BVS $7AB5 C1/7AC3: 0190 ORA ($90,X) C1/7AC5: F201 SBC ($01) C1/7AC7: B0F2 BCS $7ABB C1/7AC9: 01D0 ORA ($D0,X) C1/7ACB: F201 SBC ($01) C1/7ACD: F0F2 BEQ $7AC1 C1/7ACF: 0110 ORA ($10,X) C1/7AD1: F301 SBC ($01,S),Y C1/7AD3: 1B TCS C1/7AD4: 30F3 BMI $7AC9 C1/7AD6: 0152 ORA ($52,X) C1/7AD8: F301 SBC ($01,S),Y C1/7ADA: 74F3 STZ $F3,X C1/7ADC: 0196 ORA ($96,X) C1/7ADE: F302 SBC ($02,S),Y C1/7AE0: B8 CLV C1/7AE1: F301 SBC ($01,S),Y C1/7AE3: DA PHX C1/7AE4: F306 SBC ($06,S),Y C1/7AE6: B8 CLV C1/7AE7: F301 SBC ($01,S),Y C1/7AE9: 96F3 STX $F3,Y C1/7AEB: 0274 COP #$74 C1/7AED: F301 SBC ($01,S),Y C1/7AEF: 52F3 EOR ($F3) C1/7AF1: 0130 ORA ($30,X) C1/7AF3: F300 SBC ($00,S),Y C1/7AF5: FCF302 JSR ($02F3,X) C1/7AF8: 0EF401 ASL $01F4 C1/7AFB: 20F401 JSR $01F4 C1/7AFE: 32F4 AND ($F4) C1/7B00: 021B COP #$1B C1/7B02: FCF301 JSR ($01F3,X) C1/7B05: 20F401 JSR $01F4 C1/7B08: 1B TCS C1/7B09: 1715 ORA [$15],Y C1/7B0B: 0019 BRK #$19 C1/7B0D: DB STP C1/7B0E: 52FD EOR ($FD) C1/7B10: 0160 ORA ($60,X) C1/7B12: FD016E SBC $6E01,X C1/7B15: FD0188 SBC $8801,X C1/7B18: FD01A2 SBC $A201,X C1/7B1B: FD01BC SBC $BC01,X C1/7B1E: FD01D6 SBC $D601,X C1/7B21: FD01F0 SBC $F001,X C1/7B24: FD0029 SBC $2900,X C1/7B27: A0F4 LDY #$F4 C1/7B29: 03A6 ORA $A6,S C1/7B2B: F403AC PEA $AC03 C1/7B2E: F403B2 PEA $B203 C1/7B31: F4032B PEA $2B03 C1/7B34: B8 CLV C1/7B35: F401BE PEA $BE01 C1/7B38: F401D0 PEA $D001 C1/7B3B: F400E2 PEA $E200 C1/7B3E: F401E8 PEA $E801 C1/7B41: F401FA PEA $FA01 C1/7B44: F4010C PEA $0C01 C1/7B47: F501 SBC $01,X C1/7B49: 1EF500 ASL $00F5,X C1/7B4C: 2928 AND #$28 C1/7B4E: F503 SBC $03,X C1/7B50: 2EF503 ROL $03F5 C1/7B53: 34F5 BIT $F5,X C1/7B55: 033A ORA $3A,S C1/7B57: F503 SBC $03,X C1/7B59: 2B PLD C1/7B5A: 40 RTI C1/7B5B: F501 SBC $01,X C1/7B5D: 46F5 LSR $F5 C1/7B5F: 015C ORA ($5C,X) C1/7B61: F501 SBC $01,X C1/7B63: 6EF501 ROR $01F5 C1/7B66: 90F5 BCC $7B5D C1/7B68: 00 [Related to Acid Breath?] C1/7B69: A2F5 02 SBC $02,X C1/7B6C: A8F5 02 SBC $02,X C1/7B6F: B2F5 02 C0F5 02 SBC $02,X C1/7B75: D2F5 02 E8F5 08 SBC $08,X C1/7B7B: E8F5 00 SBC $00,X C1/7B7E: 02F6 01 08F6 01 INC $01,X C1/7B84: 0EF6 01 ASL $01F6 C1/7B87: 14F6 01 2AF6 01 INC $01,X C1/7B8D: 40F6 01 INC $01,X C1/7B90: 52F6 01 64F6 01 INC $01,X C1/7B96: 86F6 01 98F6 01 INC $01,X C1/7B9C: AAF6 01 INC $01,X C1/7B9F: BCF6 00 LDY $00F6,X C1/7BA2: 17CB ORA [$CB],Y C1/7BA4: 00 C1/7BA5: CEF6 01 INC $01,X C1/7BA8: D4F6 PEI ($F6) C1/7BAA: 01 E6F6 01 INC $01,X C1/7BAE: 17CB 00 FCF6 01 INC $01,X C1/7BB4: 1EF7 01 ASL $01F7,X C1/7BB7: 40F7 01 SBC [$01],Y C1/7BBA: 17 CB00 56F7 01 SBC [$01],Y C1/7BC0: 78F7 01 SBC [$01],Y C1/7BC3: 8A TXA C1/7BC4: F701 SBC [$01],Y C1/7BC6: 9CF700 STZ $00F7 C1/7BC9: AEF701 LDX $01F7 C1/7BCC: B4F7 LDY $F7,X C1/7BCE: 01C6 ORA ($C6,X) C1/7BD0: F701 SBC [$01],Y C1/7BD2: DCF701 JMP [$01F7] C1/7BD5: EEF701 INC $01F7 C1/7BD8: 04F8 TSB $F8 C1/7BDA: 012A ORA ($2A,X) C1/7BDC: F8 SED C1/7BDD: 0140 ORA ($40,X) C1/7BDF: F8 SED C1/7BE0: 0152 ORA ($52,X) C1/7BE2: F8 SED C1/7BE3: 0164 ORA ($64,X) C1/7BE5: F8 SED C1/7BE6: 007A BRK #$7A C1/7BE8: F8 SED C1/7BE9: 0184 ORA ($84,X) C1/7BEB: F8 SED C1/7BEC: 012F ORA ($2F,X) C1/7BEE: 0000 BRK #$00 C1/7BF0: 8A TXA C1/7BF1: F8 SED C1/7BF2: 012F ORA ($2F,X) C1/7BF4: FF070184 SBC $840107,X C1/7BF8: F8 SED C1/7BF9: 0101 ORA ($01,X) C1/7BFB: 94F8 STY $F8,X C1/7BFD: 019E ORA ($9E,X) C1/7BFF: F8 SED C1/7C00: 012F ORA ($2F,X) C1/7C02: 0000 BRK #$00 C1/7C04: A4F8 LDY $F8 C1/7C06: 012F ORA ($2F,X) C1/7C08: FF07019E SBC $9E0107,X C1/7C0C: F8 SED C1/7C0D: 0101 ORA ($01,X) C1/7C0F: AEF801 LDX $01F8 C1/7C12: B8 CLV C1/7C13: F8 SED C1/7C14: 012F ORA ($2F,X) C1/7C16: 0000 BRK #$00 C1/7C18: BEF801 LDX $01F8,Y C1/7C1B: 2FFF0701 AND $0107FF C1/7C1F: B8 CLV C1/7C20: F8 SED C1/7C21: 0029 BRK #$29 C1/7C23: C8 INY C1/7C24: F8 SED C1/7C25: 00E2 BRK #$E2 C1/7C27: F8 SED C1/7C28: 01E8 ORA ($E8,X) C1/7C2A: F8 SED C1/7C2B: 01EE ORA ($EE,X) C1/7C2D: F8 SED C1/7C2E: 01F4 ORA ($F4,X) C1/7C30: F8 SED C1/7C31: 01FA ORA ($FA,X) C1/7C33: F8 SED C1/7C34: 010C ORA ($0C,X) C1/7C36: F9011E SBC $1E01,Y C1/7C39: F90130 SBC $3001,Y C1/7C3C: F90142 SBC $4201,Y C1/7C3F: F90054 SBC $5400,Y C1/7C42: F9015A SBC $5A01,Y C1/7C45: F90160 SBC $6001,Y C1/7C48: F90176 SBC $7601,Y C1/7C4B: F9018C SBC $8C01,Y C1/7C4E: F901B2 SBC $B201,Y C1/7C51: F901D4 SBC $D401,Y C1/7C54: F901F6 SBC $F601,Y C1/7C57: F90118 SBC $1801,Y C1/7C5A: FA PLX C1/7C5B: 013A ORA ($3A,X) C1/7C5D: FA PLX C1/7C5E: 014C ORA ($4C,X) C1/7C60: FA PLX C1/7C61: 005E BRK #$5E C1/7C63: FA PLX C1/7C64: 0164 ORA ($64,X) C1/7C66: FA PLX C1/7C67: 016E ORA ($6E,X) C1/7C69: FA PLX C1/7C6A: 017C ORA ($7C,X) C1/7C6C: FA PLX C1/7C6D: 018E ORA ($8E,X) C1/7C6F: FA PLX C1/7C70: 01A4 ORA ($A4,X) C1/7C72: FA PLX C1/7C73: 01BA ORA ($BA,X) C1/7C75: FA PLX C1/7C76: 01D0 ORA ($D0,X) C1/7C78: FA PLX C1/7C79: 01E6 ORA ($E6,X) C1/7C7B: FA PLX C1/7C7C: 01F8 ORA ($F8,X) C1/7C7E: FA PLX C1/7C7F: 0106 ORA ($06,X) C1/7C81: FB XCE C1/7C82: 0110 ORA ($10,X) C1/7C84: FB XCE C1/7C85: 015E ORA ($5E,X) C1/7C87: FA PLX C1/7C88: 0164 ORA ($64,X) C1/7C8A: FA PLX C1/7C8B: 016E ORA ($6E,X) C1/7C8D: FA PLX C1/7C8E: 017C ORA ($7C,X) C1/7C90: FA PLX C1/7C91: 018E ORA ($8E,X) C1/7C93: FA PLX C1/7C94: 01A4 ORA ($A4,X) C1/7C96: FA PLX C1/7C97: 01BA ORA ($BA,X) C1/7C99: FA PLX C1/7C9A: 01D0 ORA ($D0,X) C1/7C9C: FA PLX C1/7C9D: 01E6 ORA ($E6,X) C1/7C9F: FA PLX C1/7CA0: 01F8 ORA ($F8,X) C1/7CA2: FA PLX C1/7CA3: 0106 ORA ($06,X) C1/7CA5: FB XCE C1/7CA6: 0110 ORA ($10,X) C1/7CA8: FB XCE C1/7CA9: 0016 BRK #$16 C1/7CAB: FB XCE C1/7CAC: 011C ORA ($1C,X) C1/7CAE: FB XCE C1/7CAF: 012E ORA ($2E,X) C1/7CB1: FB XCE C1/7CB2: 0140 ORA ($40,X) C1/7CB4: FB XCE C1/7CB5: 0152 ORA ($52,X) C1/7CB7: FB XCE C1/7CB8: 0164 ORA ($64,X) C1/7CBA: FB XCE C1/7CBB: 0116 ORA ($16,X) C1/7CBD: FB XCE C1/7CBE: 011C ORA ($1C,X) C1/7CC0: FB XCE C1/7CC1: 012E ORA ($2E,X) C1/7CC3: FB XCE C1/7CC4: 0140 ORA ($40,X) C1/7CC6: FB XCE C1/7CC7: 0152 ORA ($52,X) C1/7CC9: FB XCE C1/7CCA: 0164 ORA ($64,X) C1/7CCC: FB XCE C1/7CCD: 0076 BRK #$76 C1/7CCF: FB XCE C1/7CD0: 027C COP #$7C C1/7CD2: FB XCE C1/7CD3: 0282 COP #$82 C1/7CD5: FB XCE C1/7CD6: 0288 COP #$88 C1/7CD8: FB XCE C1/7CD9: 0188 ORA ($88,X) C1/7CDB: FB XCE C1/7CDC: 008E BRK #$8E C1/7CDE: FB XCE C1/7CDF: 0194 ORA ($94,X) C1/7CE1: FB XCE C1/7CE2: 019E ORA ($9E,X) C1/7CE4: FB XCE C1/7CE5: 01AC ORA ($AC,X) C1/7CE7: FB XCE C1/7CE8: 01BE ORA ($BE,X) C1/7CEA: FB XCE C1/7CEB: 01D4 ORA ($D4,X) C1/7CED: FB XCE C1/7CEE: 01F6 ORA ($F6,X) C1/7CF0: FB XCE C1/7CF1: 0118 ORA ($18,X) C1/7CF3: FC013A JSR ($3A01,X) C1/7CF6: FC015C JSR ($5C01,X) C1/7CF9: FC017E JSR ($7E01,X) C1/7CFC: FC01A0 JSR ($A001,X) C1/7CFF: FC01C2 JSR ($C201,X) C1/7D02: FC0017 JSR ($1700,X) C1/7D05: 8700 STA [$00] C1/7D07: 29E4 AND #$E4 C1/7D09: FC01F2 JSR ($F201,X) C1/7D0C: FC0100 JSR ($0001,X) C1/7D0F: FD0116 SBC $1601,X C1/7D12: FD012C SBC $2C01,X C1/7D15: FD014A SBC $4A01,X C1/7D18: FD0168 SBC $6801,X C1/7D1B: FD0186 SBC $8601,X C1/7D1E: FD01A4 SBC $A401,X C1/7D21: FD01BA SBC $BA01,X C1/7D24: FD01D0 SBC $D001,X C1/7D27: FD01DE SBC $DE01,X C1/7D2A: FD062B SBC $2B06,X C1/7D2D: ECFD01 CPX $01FD C1/7D30: F2FD SBC ($FD) C1/7D32: 0108 ORA ($08,X) C1/7D34: FE011A INC $1A01,X C1/7D37: FE002C INC $2C00,X C1/7D3A: FE0132 INC $3201,X C1/7D3D: FE0138 INC $3801,X C1/7D40: FE014A INC $4A01,X C1/7D43: FE0160 INC $6001,X C1/7D46: FE016A INC $6A01,X C1/7D49: FE0184 INC $8401,X C1/7D4C: FE01AE INC $AE01,X C1/7D4F: FE01D4 INC $D401,X C1/7D52: FE01F6 INC $F601,X C1/7D55: FE0029 INC $2900,X C1/7D58: 08 PHP C1/7D59: FF030EFF SBC $FF0E03,X C1/7D5D: 0314 ORA $14,S C1/7D5F: FF031A FF SBC $FF1A03,X C1/7D63: 032B ORA $2B,S C1/7D65: 20 FF0126 FF0138 ORA ($38,X) C1/7D6C: FF014A FF0019DBA0 FC01A6 ORA ($A6,X) C1/7D77: FC01AC JSR ($AC01,X) C1/7D7A: FC01C2 JSR ($C201,X) C1/7D7D: FC01DC JSR ($DC01,X) C1/7D80: FC01F2 JSR ($F201,X) C1/7D83: FC0118 JSR ($1801,X) C1/7D86: FD012E SBC $2E01,X C1/7D89: FD0140 SBC $4001,X C1/7D8C: FD0017 SBC $1700,X C1/7D8F: 150019DB52 ORA $52DB,Y C1/7D94: FD0160 SBC $6001,X C1/7D97: FD016E SBC $6E01,X C1/7D9A: FD0188 SBC $8801,X C1/7D9D: FD01A2 SBC $A201,X C1/7DA0: FD01BC SBC $BC01,X C1/7DA3: FD01D6 SBC $D601,X C1/7DA6: FD01F0 SBC $F001,X C1/7DA9: FD0019 SBC $1900,X C1/7DAC: DB STP C1/7DAD: 0A ASL A C1/7DAE: FE0019 INC $1900,X C1/7DB1: DB STP C1/7DB2: 0A ASL A C1/7DB3: FE0019 INC $1900,X C1/7DB6: DB STP C1/7DB7: 78 SEI C1/7DB8: FE0019 INC $1900,X C1/7DBB: DB STP C1/7DBC: C2FE REP #$FE C1/7DBE: 01D8 ORA ($D8,X) C1/7DC0: FE01F2 INC $F201,X C1/7DC3: FE010C INC $0C01,X C1/7DC6: FF0126FF SBC $FF2601,X C1/7DCA: 00 [175] C1/7DCB: 19 DB [Bank: DB] C1/7DCD: 30FF 00 [Pointer: $FF30] [176] C1/7DD0: 19 DB [Bank: DB] C1/7DD2: 42FF 00 [Pointer: $FF42] [177] C1/7DD5: 19 DB [Bank: DB] C1/7DD7: 54FF 00 [Pointer: $FF54] [178] C1/7DDA: 19 DB [Bank: DB] C1/7DDC: 66FF 00 [Pointer: $FF66] [179] C1/7DDF: 19 DB [Bank: DB] C1/7DE1: 78FF 00 [Pointer: $FF78] [17A] C1/7DE4: 44F4 01 [Pointer: $F444] C1/7DE7: 1B [Unknown] [] C1/7DE8: 22EF0020 JSR $2000EF C1/7DEC: F8 SED C1/7DED: 0126 ORA ($26,X) C1/7DEF: F8 SED C1/7DF0: 012C ORA ($2C,X) C1/7DF2: F8 SED C1/7DF3: 0132 ORA ($32,X) C1/7DF5: F8 SED C1/7DF6: 0138 ORA ($38,X) C1/7DF8: F8 SED C1/7DF9: 014A ORA ($4A,X) C1/7DFB: F8 SED C1/7DFC: 015C ORA ($5C,X) C1/7DFE: F8 SED C1/7DFF: 016E ORA ($6E,X) C1/7E01: F8 SED C1/7E02: 0180 ORA ($80,X) C1/7E04: F8 SED C1/7E05: 0092 BRK #$92 C1/7E07: F80198 ORA ($98,X) C1/7E0A: F8019E ORA ($9E,X) C1/7E0D: F801B4 ORA ($B4,X) C1/7E10: F801CA ORA ($CA,X) C1/7E13: F801F0 ORA ($F0,X) C1/7E16: F80112 ORA ($12,X) C1/7E19: F90134 SBC $3401,Y C1/7E1C: F90156 SBC $5601,Y C1/7E1F: F90178 SBC $7801,Y C1/7E22: F9018A SBC $8A01,Y C1/7E25: F9009C SBC $9C00,Y C1/7E28: F901A2 SBC $A201,Y C1/7E2B: F901AC SBC $AC01,Y C1/7E2E: F901BA SBC $BA01,Y C1/7E31: F901CC SBC $CC01,Y C1/7E34: F901E2 SBC $E201,Y C1/7E37: F901F8 SBC $F801,Y C1/7E3A: F9010E SBC $0E01,Y C1/7E3D: FA0124 ORA ($24,X) C1/7E40: FA0136 ORA ($36,X) C1/7E43: FA0144 ORA ($44,X) C1/7E46: FA014E ORA ($4E,X) C1/7E49: FA019C ORA ($9C,X) C1/7E4C: F901A2 SBC $A201,Y C1/7E4F: F901AC SBC $AC01,Y C1/7E52: F901BA SBC $BA01,Y C1/7E55: F901CC SBC $CC01,Y C1/7E58: F901E2 SBC $E201,Y C1/7E5B: F901F8 SBC $F801,Y C1/7E5E: F9010E SBC $0E01,Y C1/7E61: FA0124 ORA ($24,X) C1/7E64: FA0136 ORA ($36,X) C1/7E67: FA0144 ORA ($44,X) C1/7E6A: FA014E ORA ($4E,X) C1/7E6D: FA0054 BRK #$54 C1/7E70: FA015A ORA ($5A,X) C1/7E73: FA016C ORA ($6C,X) C1/7E76: FA017E ORA ($7E,X) C1/7E79: FA0190 ORA ($90,X) C1/7E7C: FA01A2 ORA ($A2,X) C1/7E7F: FA0154 ORA ($54,X) C1/7E82: FA015A ORA ($5A,X) C1/7E85: FA016C ORA ($6C,X) C1/7E88: FA017E ORA ($7E,X) C1/7E8B: FA0190 ORA ($90,X) C1/7E8E: FA01A2 ORA ($A2,X) C1/7E91: FA00B4 BRK #$B4 C1/7E94: FA02BA COP #$BA C1/7E97: FA02C0 COP #$C0 C1/7E9A: FA02C6 COP #$C6 C1/7E9D: FA01C6 ORA ($C6,X) C1/7EA0: FA00CC BRK #$CC C1/7EA3: FA01D2 ORA ($D2,X) C1/7EA6: FA01DC ORA ($DC,X) C1/7EA9: FA01EA ORA ($EA,X) C1/7EAC: FA01FC ORA ($FC,X) C1/7EAF: FA0112 ORA ($12,X) C1/7EB2: FB0134 ORA ($34,X) C1/7EB5: FB0156 ORA ($56,X) C1/7EB8: FB0178 ORA ($78,X) C1/7EBB: FB019A ORA ($9A,X) C1/7EBE: FB01BC ORA ($BC,X) C1/7EC1: FB01DE ORA ($DE,X) C1/7EC4: FB0100 ORA ($00,X) C1/7EC7: FC0017 JSR ($1700,X) C1/7ECA: 8700 STA [$00] C1/7ECC: 2922FC AND #$FC22 C1/7ECF: 0130 ORA ($30,X) C1/7ED1: FC013E JSR ($3E01,X) C1/7ED4: FC0154 JSR ($5401,X) C1/7ED7: FC016A JSR ($6A01,X) C1/7EDA: FC0188 JSR ($8801,X) C1/7EDD: FC01A6 JSR ($A601,X) C1/7EE0: FC01C4 JSR ($C401,X) C1/7EE3: FC01E2 JSR ($E201,X) C1/7EE6: FC01F8 JSR ($F801,X) C1/7EE9: FC010E JSR ($0E01,X) C1/7EEC: FD011C SBC $1C01,X C1/7EEF: FD062B SBC $2B06,X C1/7EF2: 2A ROL A C1/7EF3: FD0130 SBC $3001,X C1/7EF6: FD0146 SBC $4601,X C1/7EF9: FD0158 SBC $5801,X C1/7EFC: FD006A SBC $6A00,X C1/7EFF: FD0170 SBC $7001,X C1/7F02: FD0176 SBC $7601,X C1/7F05: FD0188 SBC $8801,X C1/7F08: FD019E SBC $9E01,X C1/7F0B: FD01A8 SBC $A801,X C1/7F0E: FD01C2 SBC $C201,X C1/7F11: FD01EC SBC $EC01,X C1/7F14: FD0112 SBC $1201,X C1/7F17: FE0134 INC $3401,X C1/7F1A: FE0029 INC $2900,X C1/7F1D: 46FE LSR $FE C1/7F1F: 034C ORA $4C,S C1/7F21: FE0352 INC $5203,X C1/7F24: FE0358 INC $5803,X C1/7F27: FE032B INC $2B03,X C1/7F2A: 5EFE01 LSR $01FE,X C1/7F2D: 64FE STZ $FE C1/7F2F: 0176 ORA ($76,X) C1/7F31: FE0188 INC $8801,X C1/7F34: FE0019 INC $1900,X C1/7F37: DB STP C1/7F38: A0FC01 LDY #$01FC C1/7F3B: A6FC LDX $FC C1/7F3D: 01AC ORA ($AC,X) C1/7F3F: FC01C2 JSR ($C201,X) C1/7F42: FC01DC JSR ($DC01,X) C1/7F45: FC01F2 JSR ($F201,X) C1/7F48: FC0118 JSR ($1801,X) C1/7F4B: FD012E SBC $2E01,X C1/7F4E: FD0140 SBC $4001,X C1/7F51: FD0017 SBC $1700,X C1/7F54: 1500 ORA $00,X C1/7F56: 19DB52 ORA $52DB,Y C1/7F59: FD0160 SBC $6001,X C1/7F5C: FD016E SBC $6E01,X C1/7F5F: FD0188 SBC $8801,X C1/7F62: FD01A2 SBC $A201,X C1/7F65: FD01BC SBC $BC01,X C1/7F68: FD01D6 SBC $D601,X C1/7F6B: FD01F0 SBC $F001,X C1/7F6E: FD0019 SBC $1900,X C1/7F71: DB STP C1/7F72: 0A ASL A C1/7F73: FE0019 INC $1900,X C1/7F76: DB STP C1/7F77: 0A ASL A C1/7F78: FE0019 INC $1900,X C1/7F7B: DB STP C1/7F7C: 78 SEI C1/7F7D: FE0019 INC $1900,X C1/7F80: DB STP C1/7F81: C2FE REP #$FE C1/7F83: 01D8 ORA ($D8,X) C1/7F85: FE01F2 INC $F201,X C1/7F88: FE010C INC $0C01,X C1/7F8B: FF0126FF SBC $FF2601,X C1/7F8F: 0019 BRK #$19 C1/7F91: DB STP C1/7F92: 30FF BMI $7F93 C1/7F94: 00 [] C1/7F95: 19 DB STP C1/7F97: 42FF 00 [] C1/7F9A: 19 DB STP C1/7F9C: 54FF 00 MVN $FF,$00 C1/7F9F: 19 DB 66FF 00 C1/7FA4: 19DB SBC $DB1900,X C1/7FA6: 78FF 00 82F3 01 C1/7FAC: 1B C1/7FAD: 24EB BIT $EB C1/7FAF: 0001 BRK #$01 C1/7FB1: 30FE BMI $7FB1 C1/7FB3: 014A ORA ($4A,X) C1/7FB5: FE0164 INC $6401,X C1/7FB8: FE017E INC $7E01,X C1/7FBB: FE0019 INC $1900,X C1/7FBE: DB STP C1/7FBF: 88 DEY C1/7FC0: FE0019 INC $1900,X C1/7FC3: DB STP C1/7FC4: 9A TXS C1/7FC5: FE0019 INC $1900,X C1/7FC8: DB STP C1/7FC9: ACFE00 LDY $00FE C1/7FCC: 19DBBE ORA $BEDB,Y C1/7FCF: FE0019 INC $1900,X C1/7FD2: DBD0FE003E BRK #$3E C1/7FD7: F3011BE0EA00 CPX #$00EA C1/7FDD: 19 DB C1/7FDF: 9AFE 00 19 DB C1/7FE4: ACFE00 19 DB BEFE 00 19 DB STP C1/7FEE: D0FE 00 32F3 01 SBC ($01,S),Y C1/7FF4: 1B F4EB 00 F3 01 1B F4EB 00 0000 BRK #$00 [Oh hoh, now we might be cooking with gas] [Everything from here on down seems to be present at startup. Good to know.] C1/8000: 4C53E7 JMP $E753 C1/8003: 4C12CB JMP $CB12 [A jump...to RANDOM?] C1/8006: 4C99C5 JMP $C599 C1/8009: 4C83C5 JMP $C583 C1/800C: 4C5280 JMP $8052 C1/800F: 4C6F80 JMP $806F C1/8012: 4C3D80 JMP $803D C1/8015: 4C1880 JMP $8018 C1/8018: 08 PHP C1/8019: 0B PHD C1/801A: 8B PHB C1/801B: E220 SEP #$20 C1/801D: EB XBA C1/801E: A900 LDA #$00 C1/8020: 48 PHA C1/8021: 48 PHA C1/8022: 2B PLD C1/8023: 24F1 BIT $F1 C1/8025: 3012 BMI $8039 C1/8027: A97E LDA #$7E C1/8029: 48 PHA C1/802A: AB PLB C1/802B: EB XBA C1/802C: 9D4FE0 STA $E04F,X C1/802F: A901 LDA #$01 C1/8031: 9D61E0 STA $E061,X C1/8034: 841E STY $1E C1/8036: 200E81 JSR $810E C1/8039: AB PLB C1/803A: 2B PLD C1/803B: 28 PLP C1/803C: 6B RTL C1/803D: 08 PHP C1/803E: 8B PHB C1/803F: 0B PHD C1/8040: C220 REP #$20 C1/8042: A90000 LDA #$0000 C1/8045: 5B TCD C1/8046: E220 SEP #$20 C1/8048: 48 PHA C1/8049: AB PLB C1/804A: 228CCB00 JSR $00CB8C C1/804E: 2B PLD C1/804F: AB PLB C1/8050: 28 PLP C1/8051: 6B RTL C1/8052: 08 PHP C1/8053: 5A PHY C1/8054: E220 SEP #$20 C1/8056: 9D11E0 STA $E011,X C1/8059: 9E06E0 STZ $E006,X C1/805C: 9E07E0 STZ $E007,X C1/805F: 206CCA JSR $CA6C C1/8062: A940 LDA #$40 C1/8064: 9D1CE0 STA $E01C,X C1/8067: A980 LDA #$80 C1/8069: 9D64E0 STA $E064,X C1/806C: 7A PLY C1/806D: 28 PLP C1/806E: 6B RTL C1/806F: 08 PHP C1/8070: 8B PHB C1/8071: 0B PHD C1/8072: E220 SEP #$20 C1/8074: A97E LDA #$7E C1/8076: 48 PHA C1/8077: AB PLB C1/8078: C220 REP #$20 C1/807A: A90000 LDA #$0000 C1/807D: 5B TCD C1/807E: 20C788 JSR $88C7 C1/8081: 22078701 JSR $018707 C1/8085: 2B PLD C1/8086: AB PLB C1/8087: 28 PLP C1/8088: 6B RTL [Has a bunch of checks. Hrm.] C1/8089: E220 SEP #$20 C1/808B: A552 LDA $52 C1/808D: 05FF ORA $FF C1/808F: D026 * BNE $80B7 C1/8091: A5F1 LDA $F1 C1/8093: 3022 * BMI $80B7 C1/8095: A5E8 LDA $E8 C1/8097: 2904 AND #$04 C1/8099: D01C * BNE $80B7 C1/809B: A5D0 LDA $D0 [Load this thing] C1/809D: F00F + BEQ $80AE [If it's 0, skip ahead. Event Command 50 will set it to 1] C1/809F: E00006 CPX #$0600 C1/80A2: 9006 ++ BCC $80AA C1/80A4: E43A CPX $3A C1/80A6: D006 + BNE $80AE C1/80A8: F00D * BEQ $80B7 C1/80AA: ++ E4D4 CPX $D4 [Compare X with Lead Character Data Index] C1/80AC: F009 * BEQ $80B7 C1/80AE: + 24ED BIT $ED C1/80B0: 3006 + BMI $80B8 C1/80B2: E00006 CPX #$0600 C1/80B5: 9001 + BCC $80B8 C1/80B7: * 6B RTL C1/80B8: + A900 LDA #$00 [Can be jumped here by Command 20 with #$FF instead of #$00] C1/80BA: DA PHX C1/80BB: 222D00C0 JSR $C0002D C1/80BF: E220 SEP #$20 C1/80C1: C900 CMP #$00 C1/80C3: F047 BEQ $810C C1/80C5: C901 CMP #$01 C1/80C7: D00B BNE $80D4 C1/80C9: 8A TXA C1/80CA: FA PLX C1/80CB: 9D4FE0 STA $E04F,X C1/80CE: 841E STY $1E C1/80D0: 200E81 JSR $810E C1/80D3: 6B RTL C1/80D4: C902 CMP #$02 C1/80D6: D01B + BNE $80F3 C1/80D8: FA PLX C1/80D9: EB XBA C1/80DA: 0980 ORA #$80 C1/80DC: 9D11E0 STA $E011,X C1/80DF: 2058CA JSR $CA58 C1/80E2: A940 LDA #$40 C1/80E4: 9D1CE0 STA $E01C,X C1/80E7: 9E06E0 STZ $E006,X C1/80EA: 9E07E0 STZ $E007,X C1/80ED: A9FF LDA #$FF C1/80EF: 9D30E0 STA $E030,X C1/80F2: 6B RTL C1/80F3: + C903 CMP #$03 C1/80F5: D007 + BNE $80FE C1/80F7: 2026E3 JSR $E326 C1/80FA: C210 REP #$10 C1/80FC: FA PLX C1/80FD: 6B RTL C1/80FE: + C904 CMP #$04 C1/8100: D00A + BNE $810C C1/8102: 8A TXA C1/8103: FA PLX C1/8104: 890F BIT #$0F C1/8106: F0F5 BEQ $80FD C1/8108: 209C93 JSR $939C C1/810B: 6B RTL C1/810C: + FA PLX C1/810D: 6B RTL C1/810E: 8614 STX $14 C1/8110: E220 SEP #$20 C1/8112: BD60E0 LDA $E060,X C1/8115: F005 BEQ $811C C1/8117: C940 CMP #$40 C1/8119: F004 BEQ $811F C1/811B: 60 RTS C1/811C: 20F185 JSR $85F1 C1/811F: A614 LDX $14 C1/8121: 20D885 JSR $85D8 C1/8124: C210 REP #$10 C1/8126: A614 LDX $14 C1/8128: E220 SEP #$20 C1/812A: A903 LDA #$03 C1/812C: 9D84E0 STA $E084,X C1/812F: A940 LDA #$40 C1/8131: 9D60E0 STA $E060,X C1/8134: C220 REP #$20 C1/8136: BD92E0 LDA $E092,X C1/8139: 290030 AND #$3000 C1/813C: 1D86E0 ORA $E086,X C1/813F: 9DD2E0 STA $E0D2,X C1/8142: 18 CLC C1/8143: 690200 ADC #$0002 C1/8146: 9DD6E0 STA $E0D6,X C1/8149: 18 CLC C1/814A: 690200 ADC #$0002 C1/814D: 891000 BIT #$0010 C1/8150: F003 BEQ $8155 C1/8152: 691000 ADC #$0010 C1/8155: 9DDAE0 STA $E0DA,X C1/8158: A9F400 LDA #$00F4 C1/815B: 9DD0E0 STA $E0D0,X C1/815E: A9FC00 LDA #$00FC C1/8161: 9DD4E0 STA $E0D4,X C1/8164: A90400 LDA #$0004 C1/8167: 9DD8E0 STA $E0D8,X C1/816A: 9E18E1 STZ $E118,X C1/816D: BD74E0 LDA $E074,X C1/8170: 297F00 AND #$007F C1/8173: 9D1AE1 STA $E11A,X C1/8176: A90828 LDA #$2808 C1/8179: 9D1CE1 STA $E11C,X C1/817C: 9E1EE1 STZ $E11E,X C1/817F: 202584 JSR $8425 C1/8182: E00006 CPX #$0600 C1/8185: B003 BCS $818A C1/8187: 2026E3 JSR $E326 C1/818A: C210 REP #$10 C1/818C: A614 LDX $14 C1/818E: 60 RTS C1/818F: E220 SEP #$20 C1/8191: 9E0CE0 STZ $E00C,X C1/8194: 29E0 AND #$E0 C1/8196: C980 CMP #$80 C1/8198: D004 BNE $819E C1/819A: 204582 JSR $8245 C1/819D: 6B RTL C1/819E: C9E0 CMP #$E0 C1/81A0: D004 BNE $81A6 C1/81A2: 204E82 JSR $824E C1/81A5: 6B RTL C1/81A6: C9C0 CMP #$C0 C1/81A8: D004 BNE $81AE C1/81AA: 20AF81 JSR $81AF C1/81AD: 6B RTL C1/81AE: 6B RTL C1/81AF: BD10E1 LDA $E110,X C1/81B2: C905 CMP #$05 C1/81B4: D006 BNE $81BC C1/81B6: BD14E1 LDA $E114,X C1/81B9: F001 BEQ $81BC C1/81BB: 60 RTS C1/81BC: 207682 JSR $8276 C1/81BF: B001 BCS $81C2 C1/81C1: 60 RTS C1/81C2: E220 SEP #$20 C1/81C4: BD21E1 LDA $E121,X C1/81C7: 48 PHA C1/81C8: 9E60E0 STZ $E060,X C1/81CB: 9E0CE0 STZ $E00C,X C1/81CE: 9E84E0 STZ $E084,X C1/81D1: 9B TXY C1/81D2: 20F281 JSR $81F2 C1/81D5: 20AB8D JSR $8DAB C1/81D8: E220 SEP #$20 C1/81DA: 68 PLA C1/81DB: C906 CMP #$06 C1/81DD: D012 BNE $81F1 C1/81DF: C220 REP #$20 C1/81E1: AD0801 LDA $0108 C1/81E4: F007 BEQ $81ED C1/81E6: 090008 ORA #$0800 C1/81E9: 226DE701 JSR $01E76D C1/81ED: E220 SEP #$20 C1/81EF: 64E0 STZ $E0 C1/81F1: 60 RTS C1/81F2: DA PHX C1/81F3: 5A PHY C1/81F4: BB TYX C1/81F5: BC0CE1 LDY $E10C,X C1/81F8: BD18E1 LDA $E118,X C1/81FB: C901 CMP #$01 C1/81FD: D009 BNE $8208 C1/81FF: BD21E1 LDA $E121,X C1/8202: 223300C0 JSR $C00033 C1/8206: 8004 BRA $820C C1/8208: 221E00C0 JSR $C0001E C1/820C: 7A PLY C1/820D: FA PLX C1/820E: E220 SEP #$20 C1/8210: 204FCA JSR $CA4F C1/8213: B928E1 LDA $E128,Y C1/8216: 991CE0 STA $E01C,Y C1/8219: B929E1 LDA $E129,Y C1/821C: 995DE0 STA $E05D,Y C1/821F: A9FF LDA #$FF C1/8221: 9908E0 STA $E008,Y C1/8224: C220 REP #$20 C1/8226: B92EE1 LDA $E12E,Y C1/8229: 9904E1 STA $E104,Y C1/822C: B924E1 LDA $E124,Y C1/822F: 9906E1 STA $E106,Y C1/8232: B934E1 LDA $E134,Y C1/8235: 9906E0 STA $E006,Y C1/8238: B922E1 LDA $E122,Y C1/823B: 9908E0 STA $E008,Y C1/823E: B92AE1 LDA $E12A,Y C1/8241: 995EE0 STA $E05E,Y C1/8244: 60 RTS C1/8245: 207682 JSR $8276 C1/8248: B001 BCS $824B C1/824A: 60 RTS [Refresh crap] C1/824B: 4C7587 JMP $8775 C1/824E: 207682 JSR $8276 C1/8251: B00B BCS $825E C1/8253: BD10E1 LDA $E110,X C1/8256: C904D0 CMP #$D004 C1/8259: 0382 ORA $82,S C1/825B: C90860 CMP #$6008 C1/825E: C220 REP #$20 C1/8260: BDFEE0 LDA $E0FE,X C1/8263: 9DFCE0 STA $E0FC,X C1/8266: E220 SEP #$20 C1/8268: BD10E1 LDA $E110,X C1/826B: C904 CMP #$04 C1/826D: D0DF BNE $824E C1/826F: 204D89 JSR $894D C1/8272: E220 SEP #$20 C1/8274: 80D8 BRA $824E C1/8276: A9D1 LDA #$D1 C1/8278: 8502 STA $02 C1/827A: BD12E0 LDA $E012,X C1/827D: F006 BEQ $8285 C1/827F: 3A DEC A C1/8280: 9D12E0 STA $E012,X C1/8283: 18 CLC C1/8284: 60 RTS C1/8285: C220 REP #$20 C1/8287: BDFCE0 LDA $E0FC,X C1/828A: 8500 STA $00 C1/828C: E220 SEP #$20 C1/828E: A700 LDA [$00] C1/8290: 1005 BPL $8297 C1/8292: 20F982 JSR $82F9 C1/8295: B0F5 BCS $828C C1/8297: E220 SEP #$20 C1/8299: BD60E0 LDA $E060,X C1/829C: C9C0 CMP #$C0 C1/829E: D014 BNE $82B4 C1/82A0: C220 REP #$20 C1/82A2: BD06E0 LDA $E006,X C1/82A5: 9D1CE1 STA $E11C,X C1/82A8: BD36E0 LDA $E036,X C1/82AB: 9D1EE1 STA $E11E,X C1/82AE: 9E06E0 STZ $E006,X C1/82B1: 9E36E0 STZ $E036,X C1/82B4: C220 REP #$20 C1/82B6: A500 LDA $00 C1/82B8: 1A INC A C1/82B9: 1A INC A C1/82BA: 9DFCE0 STA $E0FC,X [Incrementing this pointer, eh?] C1/82BD: E220 SEP #$20 C1/82BF: FE0CE0 INC $E00C,X C1/82C2: C220 REP #$20 C1/82C4: A700 LDA [$00] C1/82C6: E220 SEP #$20 C1/82C8: 48 PHA C1/82C9: 0A ASL A C1/82CA: 9D28E0 STA $E028,X C1/82CD: 68 PLA C1/82CE: 2907 AND #$07 C1/82D0: C904 CMP #$04 C1/82D2: 9002 BCC $82D6 C1/82D4: A900 LDA #$00 C1/82D6: 9D12E0 STA $E012,X C1/82D9: EB XBA C1/82DA: C9FF CMP #$FF C1/82DC: F010 BEQ $82EE C1/82DE: C220 REP #$20 C1/82E0: 29FF00 AND #$00FF C1/82E3: 0A ASL A C1/82E4: 9D26E0 STA $E026,X C1/82E7: E220 SEP #$20 C1/82E9: 9E25E0 STZ $E025,X C1/82EC: 18 CLC C1/82ED: 60 RTS C1/82EE: 9E0CE0 STZ $E00C,X C1/82F1: 9E84E0 STZ $E084,X C1/82F4: 18 CLC C1/82F5: 60 RTS C1/82F6: 7A PLY C1/82F7: 38 SEC C1/82F8: 60 RTS C1/82F9: C9FF CMP #$FF C1/82FB: D019 BNE $8316 C1/82FD: A900 LDA #$00 C1/82FF: 9D12E0 STA $E012,X C1/8302: BD5DE0 LDA $E05D,X C1/8305: F00C BEQ $8313 C1/8307: 9E5DE0 STZ $E05D,X C1/830A: C220 REP #$20 C1/830C: BD5EE0 LDA $E05E,X C1/830F: 8500 STA $00 C1/8311: 38 SEC C1/8312: 60 RTS C1/8313: 82E0FF BRL $82F6 C1/8316: C9B0B0 CMP #$B0B0 C1/8319: 0622 ASL $22 C1/831B: C0D501 CPY #$01D5 C1/831E: 38 SEC C1/831F: 60 RTS C1/8320: C9F0B0 CMP #$B0F0 C1/8323: 0622 ASL $22 C1/8325: DCD601 JMP [$01D6] C1/8328: 38 SEC C1/8329: 60 RTS C1/832A: C9F8B0 CMP #$B0F8 C1/832D: 0622 ASL $22 C1/832F: 2A ROL A C1/8330: D501 CMP $01,X C1/8332: 38 SEC C1/8333: 60 RTS C1/8334: 228DD401 JSR $01D48D C1/8338: 38 SEC C1/8339: 60 RTS C1/833A: E220 SEP #$20 C1/833C: BD60E0 LDA $E060,X C1/833F: 29E0 AND #$E0 C1/8341: C940 CMP #$40 C1/8343: F010 BEQ $8355 C1/8345: C9E0 CMP #$E0 C1/8347: D004 BNE $834D C1/8349: 20808D JSR $8D80 C1/834C: 6B RTL C1/834D: C9C0 CMP #$C0 C1/834F: D003 BNE $8354 C1/8351: 20E191 JSR $91E1 C1/8354: 6B RTL C1/8355: BD1FE1 LDA $E11F,X C1/8358: D01C BNE $8376 C1/835A: BD1EE1 LDA $E11E,X C1/835D: 18 CLC C1/835E: 7D1CE1 ADC $E11C,X C1/8361: 9D1EE1 STA $E11E,X C1/8364: D01B BNE $8381 C1/8366: 1E1CE1 ASL $E11C,X C1/8369: BD1DE1 LDA $E11D,X C1/836C: 4A LSR A C1/836D: 9D1DE1 STA $E11D,X C1/8370: C902 CMP #$02 C1/8372: B00D BCS $8381 C1/8374: A9FF LDA #$FF C1/8376: 38 SEC C1/8377: E907 SBC #$07 C1/8379: 9D1FE1 STA $E11F,X C1/837C: 907B BCC $83F9 C1/837E: 805B BRA $83DB C1/8380: 6B RTL C1/8381: BD1EE1 LDA $E11E,X C1/8384: 1002 BPL $8388 C1/8386: 49FF EOR #$FF C1/8388: C220 REP #$20 C1/838A: 297F00 AND #$007F C1/838D: 0A ASL A C1/838E: 0A ASL A C1/838F: DA PHX C1/8390: AA TAX C1/8391: BF22FD00 LDA $00FD22,X C1/8395: FA PLX C1/8396: C90001 CMP #$0100 C1/8399: E220 SEP #$20 C1/839B: 9002 BCC $839F C1/839D: A9FF LDA #$FF C1/839F: 8F024200 STA $004202 C1/83A3: BD1DE1 LDA $E11D,X C1/83A6: 8F034200 STA $004203 C1/83AA: EA NOP C1/83AB: EA NOP C1/83AC: EA NOP C1/83AD: C220 REP #$20 C1/83AF: AF164200 LDA $004216 C1/83B3: EB XBA C1/83B4: 48 PHA C1/83B5: 29FF00 AND #$00FF C1/83B8: 49FFFF EOR #$FFFF C1/83BB: 1A INC A C1/83BC: 9D1AE1 STA $E11A,X C1/83BF: BD74E0 LDA $E074,X C1/83C2: 297F00 AND #$007F C1/83C5: 18 CLC C1/83C6: 7D1AE1 ADC $E11A,X C1/83C9: 9D1AE1 STA $E11A,X C1/83CC: 68 PLA C1/83CD: E220 SEP #$20 C1/83CF: 4A LSR A C1/83D0: 9DD1E0 STA $E0D1,X C1/83D3: 4A LSR A C1/83D4: 9DD9E0 STA $E0D9,X C1/83D7: 206485 JSR $8564 C1/83DA: 6B RTL C1/83DB: C938 CMP #$38 C1/83DD: B016 BCS $83F5 C1/83DF: BDD0E0 LDA $E0D0,X C1/83E2: DDD4E0 CMP $E0D4,X C1/83E5: F003 BEQ $83EA C1/83E7: FED0E0 INC $E0D0,X C1/83EA: BDD8E0 LDA $E0D8,X C1/83ED: DDD4E0 CMP $E0D4,X C1/83F0: F003 BEQ $83F5 C1/83F2: DED8E0 DEC $E0D8,X C1/83F5: 206485 JSR $8564 C1/83F8: 6B RTL C1/83F9: E220 SEP #$20 C1/83FB: 9E0CE0 STZ $E00C,X C1/83FE: 9E59E0 STZ $E059,X C1/8401: 9E60E0 STZ $E060,X C1/8404: 9E84E0 STZ $E084,X C1/8407: 245C BIT $5C C1/8409: 100B BPL $8416 C1/840B: E00006 CPX #$0600 C1/840E: 9006 BCC $8416 C1/8410: A901 LDA #$01 C1/8412: 9D01E0 STA $E001,X C1/8415: 6B RTL C1/8416: A901 LDA #$01 C1/8418: 9D0CE0 STA $E00C,X C1/841B: 8614 STX $14 C1/841D: 22E48501 JSR $0185E4 C1/8421: 202B85 JSR $852B C1/8424: 6B RTL C1/8425: 20C984 JSR $84C9 C1/8428: 202B85 JSR $852B C1/842B: C230 REP #$30 C1/842D: 8A TXA C1/842E: 0A ASL A C1/842F: 0A ASL A C1/8430: 0A ASL A C1/8431: 18 CLC C1/8432: 690028 ADC #$2800 C1/8435: 8508 STA $08 C1/8437: A51E LDA $1E C1/8439: C93200 CMP #$0032 C1/843C: B002 BCS $8440 C1/843E: 8053 BRA $8493 C1/8440: C9C800 CMP #$00C8 C1/8443: B008 BCS $844D C1/8445: A508 LDA $08 C1/8447: 18 CLC C1/8448: 698002 ADC #$0280 C1/844B: 8508 STA $08 C1/844D: A504 LDA $04 C1/844F: 3013 BMI $8464 C1/8451: 0A ASL A C1/8452: 0A ASL A C1/8453: 0A ASL A C1/8454: 0A ASL A C1/8455: 0A ASL A C1/8456: 0A ASL A C1/8457: 18 CLC C1/8458: 6508 ADC $08 C1/845A: 990000 STA $0000,Y C1/845D: 18 CLC C1/845E: 692000 ADC #$0020 C1/8461: 990400 STA $0004,Y C1/8464: A502 LDA $02 C1/8466: 3013 BMI $847B C1/8468: 0A ASL A C1/8469: 0A ASL A C1/846A: 0A ASL A C1/846B: 0A ASL A C1/846C: 0A ASL A C1/846D: 0A ASL A C1/846E: 18 CLC C1/846F: 6508 ADC $08 C1/8471: 990800 STA $0008,Y C1/8474: 18 CLC C1/8475: 692000 ADC #$0020 C1/8478: 990C00 STA $000C,Y C1/847B: A500 LDA $00 C1/847D: 3013 BMI $8492 C1/847F: 0A ASL A C1/8480: 0A ASL A C1/8481: 0A ASL A C1/8482: 0A ASL A C1/8483: 0A ASL A C1/8484: 0A ASL A C1/8485: 18 CLC C1/8486: 6508 ADC $08 C1/8488: 991000 STA $0010,Y C1/848B: 18 CLC C1/848C: 692000 ADC #$0020 C1/848F: 991400 STA $0014,Y C1/8492: 60 RTS C1/8493: A508 LDA $08 C1/8495: 18 CLC C1/8496: 690005 ADC #$0500 C1/8499: 8508 STA $08 C1/849B: A504 LDA $04 C1/849D: 300B BMI $84AA C1/849F: 0A ASL A C1/84A0: 0A ASL A C1/84A1: 0A ASL A C1/84A2: 0A ASL A C1/84A3: 0A ASL A C1/84A4: 18 CLC C1/84A5: 6508 ADC $08 C1/84A7: 990000 STA $0000,Y C1/84AA: A502 LDA $02 C1/84AC: 300B BMI $84B9 C1/84AE: 0A ASL A C1/84AF: 0A ASL A C1/84B0: 0A ASL A C1/84B1: 0A ASL A C1/84B2: 0A ASL A C1/84B3: 18 CLC C1/84B4: 6508 ADC $08 C1/84B6: 990800 STA $0008,Y C1/84B9: A500 LDA $00 C1/84BB: 300B BMI $84C8 C1/84BD: 0A ASL A C1/84BE: 0A ASL A C1/84BF: 0A ASL A C1/84C0: 0A ASL A C1/84C1: 0A ASL A C1/84C2: 18 CLC C1/84C3: 6508 ADC $08 C1/84C5: 991000 STA $0010,Y C1/84C8: 60 RTS C1/84C9: C220 REP #$20 C1/84CB: A900CB LDA #$CB00 C1/84CE: 8502 STA $02 C1/84D0: 8504 STA $04 C1/84D2: A51E LDA $1E C1/84D4: 8F044200 STA $004204 C1/84D8: E220 SEP #$20 C1/84DA: 200385 JSR $8503 C1/84DD: 8500 STA $00 C1/84DF: 6401 STZ $01 C1/84E1: AF144200 LDA $004214 C1/84E5: F02F BEQ $8516 C1/84E7: 20F984 JSR $84F9 C1/84EA: 8502 STA $02 C1/84EC: 6403 STZ $03 C1/84EE: AF144200 LDA $004214 C1/84F2: F02E BEQ $8522 C1/84F4: 8504 STA $04 C1/84F6: 6405 STZ $05 C1/84F8: 60 RTS C1/84F9: 8F044200 STA $004204 C1/84FD: A900 LDA #$00 C1/84FF: 8F054200 STA $004205 C1/8503: A90A LDA #$0A C1/8505: 8F064200 STA $004206 C1/8509: EA NOP C1/850A: EA NOP C1/850B: EA NOP C1/850C: EA NOP C1/850D: EA NOP C1/850E: EA NOP C1/850F: EA NOP C1/8510: EA NOP C1/8511: AF164200 LDA $004216 C1/8515: 60 RTS C1/8516: C220 REP #$20 C1/8518: A500 LDA $00 C1/851A: 8502 STA $02 C1/851C: A900CB LDA #$CB00 C1/851F: 8500 STA $00 C1/8521: 60 RTS C1/8522: C220 REP #$20 C1/8524: A9FCFF LDA #$FFFC C1/8527: 9D18E1 STA $E118,X C1/852A: 60 RTS C1/852B: C220 REP #$20 C1/852D: BC6CE0 LDY $E06C,X C1/8530: A900CB LDA #$CB00 C1/8533: 990000 STA $0000,Y C1/8536: 990200 STA $0002,Y C1/8539: 990400 STA $0004,Y C1/853C: 990600 STA $0006,Y C1/853F: 990800 STA $0008,Y C1/8542: 990A00 STA $000A,Y C1/8545: 990C00 STA $000C,Y C1/8548: 990E00 STA $000E,Y C1/854B: 991000 STA $0010,Y C1/854E: 991200 STA $0012,Y C1/8551: 991400 STA $0014,Y C1/8554: 991600 STA $0016,Y C1/8557: 991800 STA $0018,Y C1/855A: 991A00 STA $001A,Y C1/855D: 991C00 STA $001C,Y C1/8560: 991E00 STA $001E,Y C1/8563: 60 RTS [Involved in loading weapon palettes!] C1/8564: E220 SEP #$20 C1/8566: BD1FE1 LDA $E11F,X C1/8569: F011 BEQ $857C C1/856B: C9E0 CMP #$E0 C1/856D: B023 BCS $8592 C1/856F: 4A LSR A C1/8570: 4A LSR A C1/8571: 4A LSR A C1/8572: 4A LSR A C1/8573: 4A LSR A C1/8574: 4907 EOR #$07 C1/8576: C903 CMP #$03 C1/8578: B01E BCS $8598 C1/857A: 9016 BCC $8592 C1/857C: BD1CE1 LDA $E11C,X C1/857F: C908 CMP #$08 C1/8581: D00F BNE $8592 C1/8583: BD1EE1 LDA $E11E,X C1/8586: C980 CMP #$80 C1/8588: B00C BCS $8596 C1/858A: C930 CMP #$30 C1/858C: B004 BCS $8592 C1/858E: A900 LDA #$00 C1/8590: 8006 BRA $8598 C1/8592: A901 LDA #$01 C1/8594: 8002 BRA $8598 C1/8596: A902 LDA #$02 C1/8598: 1D4FE0 ORA $E04F,X C1/859B: DA PHX C1/859C: 8F024200 STA $004202 C1/85A0: A90A LDA #$0A C1/85A2: 8F034200 STA $004203 C1/85A6: BCFAE0 LDY $E0FA,X C1/85A9: EA NOP C1/85AA: C220 REP #$20 C1/85AC: AF164200 LDA $004216 C1/85B0: AA TAX C1/85B1: BF00F6D1 LDA $D1F600,X [Weapon Palette[0]] C1/85B5: 990007 STA $0700,Y C1/85B8: BF02F6D1 LDA $D1F602,X C1/85BC: 990207 STA $0702,Y C1/85BF: BF04F6D1 LDA $D1F604,X C1/85C3: 990407 STA $0704,Y C1/85C6: BF06F6D1 LDA $D1F606,X C1/85CA: 990607 STA $0706,Y C1/85CD: BF08F6D1 LDA $D1F608,X C1/85D1: 990807 STA $0708,Y C1/85D4: FA PLX C1/85D5: E220 SEP #$20 C1/85D7: 60 RTS C1/85D8: C210 REP #$10 C1/85DA: E220 SEP #$20 C1/85DC: A614 LDX $14 C1/85DE: BD4FE0 LDA $E04F,X C1/85E1: 4C9B85 JMP $859B C1/85E4: C210 REP #$10 C1/85E6: E220 SEP #$20 C1/85E8: A614 LDX $14 C1/85EA: BD69E0 LDA $E069,X C1/85ED: 209B85 JSR $859B C1/85F0: 6B RTL C1/85F1: C230 REP #$30 C1/85F3: 8614 STX $14 C1/85F5: A93200 LDA #$0032 C1/85F8: 8508 STA $08 C1/85FA: A90008 LDA #$0800 C1/85FD: 8500 STA $00 C1/85FF: A000F1 LDY #$F100 C1/8602: A9D100 LDA #$00D1 C1/8605: 2299C501 JSR $01C599 C1/8609: 60 RTS C1/860A: C230 REP #$30 C1/860C: 8614 STX $14 C1/860E: A94000 LDA #$0040 C1/8611: 8508 STA $08 C1/8613: A501 LDA $01 C1/8615: 29FF00 AND #$00FF C1/8618: 0A ASL A C1/8619: 0A ASL A C1/861A: 0A ASL A C1/861B: 0A ASL A C1/861C: 8500 STA $00 C1/861E: 0A ASL A C1/861F: 6500 ADC $00 C1/8621: 6900DF ADC #$DF00 C1/8624: A8 TAY C1/8625: A90000 LDA #$0000 C1/8628: 8500 STA $00 C1/862A: A9D000 LDA #$00D0 C1/862D: 2299C501 JSR $01C599 C1/8631: 4CD885 JMP $85D8 C1/8634: C230 REP #$30 C1/8636: A614 LDX $14 C1/8638: A94000 LDA #$0040 C1/863B: 8508 STA $08 C1/863D: A90008 LDA #$0800 C1/8640: 8500 STA $00 C1/8642: A000BA LDY #$BA00 C1/8645: A9D400 LDA #$00D4 C1/8648: 2299C501 JSR $01C599 C1/864C: 60 RTS C1/864D: 203486 JSR $8634 C1/8650: 20D885 JSR $85D8 C1/8653: 6B RTL [Handles something with spells] C1/8654: 8614 STX $14 C1/8656: C220 REP #$20 C1/8658: 48 PHA C1/8659: 297F00 AND #$007F C1/865C: 0A ASL A C1/865D: 0A ASL A C1/865E: 0A ASL A C1/865F: 0A ASL A C1/8660: 0A ASL A C1/8661: 0A ASL A C1/8662: 8508 STA $08 C1/8664: 68 PLA C1/8665: E220 SEP #$20 [Enable 8-bit emulation mode] C1/8667: A00200 LDY #$0002 [Load #$0002 into Y] C1/866A: EB XBA [Switch A and B] C1/866B: 850A STA $0A C1/866D: 290F AND #$0F C1/866F: C908 CMP #$08 C1/8671: 9008 + BCC $867B C1/8673: C8 INY C1/8674: C8 INY C1/8675: 240A BIT $0A C1/8677: 1002 + BPL $867B C1/8679: C8 INY C1/867A: C8 INY C1/867B: + C220 REP #$20 C1/867D: 98 TYA [Transfer Y to Accumulator] C1/867E: 18 CLC [Clear Carry] C1/867F: 6508 ADC $08 [ C1/8681: AA TAX [Transfer Accumulator to X] C1/8682: BFA02AD0 LDA $D02AA0,X [First element of...some crap in spells] C1/8686: A614 LDX $14 C1/8688: 48 PHA [Push Spell Element 0 onto Stack for use later] C1/8689: 29FF07 AND #$07FF [Check all bits below $0800] C1/868C: 0A ASL A [Multiply by 2] C1/868D: 0A ASL A [Again, by 2] C1/868E: 0A ASL A [Yet again, by 2] C1/868F: 8500 STA $00 [Store here] C1/8691: 0A ASL A [Again, by 2] C1/8692: 6500 ADC $00 [Add it there] C1/8694: A8 TAY [Transfer that to Y] {Energy Absorb Y = 9C78?} C1/8695: 68 PLA [Pull Spell Element 0 off of Stack into Accumulator] C1/8696: 890008 BIT #$0800 [Check bit #$0800] C1/8699: D014 BNE $86AF C1/869B: A97F00 LDA #$007F C1/869E: 8508 STA $08 C1/86A0: A90000 LDA #$0000 C1/86A3: 8500 STA $00 C1/86A5: A9D400 LDA #$00D4 C1/86A8: 2299C501 JSR $01C599 C1/86AC: A614 LDX $14 C1/86AE: 60 RTS C1/86AF: A94000 LDA #$0040 C1/86B2: 8508 STA $08 C1/86B4: A90000 LDA #$0000 C1/86B7: 8500 STA $00 C1/86B9: A9D400 LDA #$00D4 C1/86BC: 2299C501 JSR $01C599 C1/86C0: 203486 JSR $8634 C1/86C3: A614 LDX $14 C1/86C5: 60 RTS [] C1/86C6: C220 REP #$20 C1/86C8: 8414 STY $14 C1/86CA: BF5841D0 LDA $D04158,X C1/86CE: 4C8686 JMP $8686 [] C1/86D1: E220 SEP #$20 C1/86D3: BD11E1 LDA $E111,X C1/86D6: EB XBA C1/86D7: BD70E1 LDA $E170,X [] C1/86DA: C220 REP #$20 C1/86DC: 48 PHA C1/86DD: 297F00 AND #$007F C1/86E0: 0A ASL A C1/86E1: 0A ASL A C1/86E2: 0A ASL A C1/86E3: 0A ASL A C1/86E4: 0A ASL A C1/86E5: 0A ASL A C1/86E6: 8518 STA $18 C1/86E8: 68 PLA C1/86E9: E220 SEP #$20 C1/86EB: EB XBA C1/86EC: C988 CMP #$88 C1/86EE: D004 + BNE $86F4 C1/86F0: A930 LDA #$30 C1/86F2: 800B ++ BRA $86FF C1/86F4: + C220 REP #$20 C1/86F6: 290E00 AND #$000E C1/86F9: 0A ASL A C1/86FA: 0A ASL A C1/86FB: 18 CLC C1/86FC: 690800 ADC #$0008 C1/86FF: ++ C220 REP #$20 C1/8701: 293F00 AND #$003F C1/8704: 0518 ORA $18 C1/8706: 60 RTS C1/8707: E220 SEP #$20 C1/8709: 9E12E0 STZ $E012,X C1/870C: 9E25E0 STZ $E025,X C1/870F: 9E84E0 STZ $E084,X C1/8712: 24F1 BIT $F1 C1/8714: 1004 BPL $871A C1/8716: 9E60E0 STZ $E060,X C1/8719: 6B RTL C1/871A: E00006 CPX #$0600 C1/871D: 9004 BCC $8723 C1/871F: 207587 JSR $8775 C1/8722: 6B RTL [Involved in Spell Stuff] C1/8723: 8614 STX $14 C1/8725: 209888 JSR $8898 C1/8728: E220 SEP #$20 C1/872A: A980 LDA #$80 C1/872C: 9D60E0 STA $E060,X C1/872F: BD70E1 LDA $E170,X [Spell to cast?] C1/8732: 9B TXY C1/8733: C220 REP #$20 C1/8735: 297F00 AND #$007F C1/8738: 0A ASL A C1/8739: 0A ASL A C1/873A: 0A ASL A C1/873B: 0A ASL A C1/873C: 0A ASL A C1/873D: 0A ASL A C1/873E: AA TAX [Transfer result (64 * $E170,X) to X] C1/873F: C220 REP #$20 C1/8741: BFA02AD0 LDA $D02AA0,X [Load SpellHeader[0] into Accumulator] C1/8745: 99FCE0 STA $E0FC,Y [Store there] C1/8748: B977E1 LDA $E177,Y C1/874B: 290700 AND #$0007 C1/874E: 0A ASL A C1/874F: 0A ASL A C1/8750: AA TAX C1/8751: BF822AD0 LDA $D02A82,X [Load Elemental something] C1/8755: 996AE0 STA $E06A,Y [Store into...Animation Pointer?] C1/8758: BF802AD0 LDA $D02A80,X [Load Elemental something] C1/875C: 8500 STA $00 C1/875E: E220 SEP #$20 C1/8760: C00004 CPY #$0400 C1/8763: 9004 + BCC $8769 C1/8765: 4A LSR A C1/8766: 4A LSR A C1/8767: 4A LSR A C1/8768: 4A LSR A C1/8769: + 09F0 ORA #$F0 C1/876B: 994FE0 STA $E04F,Y C1/876E: BB TYX C1/876F: C220 REP #$20 C1/8771: 200A86 JSR $860A C1/8774: 6B RTL C1/8775: 8614 STX $14 C1/8777: E220 SEP #$20 C1/8779: 9E12E0 STZ $E012,X C1/877C: 9E84E0 STZ $E084,X C1/877F: 20828B JSR $8B82 C1/8782: B003 BCS $8787 C1/8784: 4C968C JMP $8C96 C1/8787: E220 SEP #$20 C1/8789: BD11E1 LDA $E111,X C1/878C: EB XBA C1/878D: BD70E1 LDA $E170,X C1/8790: 205486 JSR $8654 C1/8793: 20D186 JSR $86D1 C1/8796: 9B TXY C1/8797: AA TAX C1/8798: E220 SEP #$20 C1/879A: BFA02AD0 LDA $D02AA0,X [Load Spell Word 0] C1/879E: 994FE0 STA $E04F,Y C1/87A1: A9E0 LDA #$E0 C1/87A3: 9960E0 STA $E060,Y C1/87A6: C220 REP #$20 C1/87A8: BFA22AD0 LDA $D02AA2,X [Load Spell Word 1] C1/87AC: 996AE0 STA $E06A,Y C1/87AF: BFA42AD0 LDA $D02AA4,X [Load Spell Word 2] C1/87B3: 99FCE0 STA $E0FC,Y C1/87B6: 99FEE0 STA $E0FE,Y C1/87B9: E220 SEP #$20 C1/87BB: B94FE0 LDA $E04F,Y C1/87BE: BB TYX C1/87BF: 4C9B85 JMP $859B C1/87C2: E220 SEP #$20 C1/87C4: A900 LDA #$00 C1/87C6: 9921E1 STA $E121,Y C1/87C9: 9908E1 STA $E108,Y C1/87CC: A5F1 LDA $F1 C1/87CE: 3013 BMI $87E3 C1/87D0: A5D0 LDA $D0 [Load this thing] C1/87D2: F010 BEQ $87E4 [Skip ahead if 0, Event Command 50 sets it to 1] C1/87D4: C00006 CPY #$0600 C1/87D7: 9006 + BCC $87DF C1/87D9: C43A CPY $3A C1/87DB: D007 BNE $87E4 [Progress condition] C1/87DD: F004 BEQ $87E3 [Escape condition] C1/87DF: + C4D4 CPY $D4 [Compare Y with Lead Character Data Index] C1/87E1: D001 BNE $87E4 C1/87E3: 60 RTS [SpellHeader[1..5]?] C1/87E4: B909E1 LDA $E109,Y C1/87E7: 9910E1 STA $E110,Y C1/87EA: B90BE1 LDA $E10B,Y C1/87ED: EB XBA C1/87EE: B90AE1 LDA $E10A,Y C1/87F1: C220 REP #$20 C1/87F3: 48 PHA C1/87F4: BB TYX C1/87F5: 205486 JSR $8654 [?] C1/87F8: 9B TXY C1/87F9: C220 REP #$20 C1/87FB: 68 PLA C1/87FC: 20DA86 JSR $86DA [?] C1/87FF: AA TAX C1/8800: E220 SEP #$20 C1/8802: BFA02AD0 LDA $D02AA0,X [Spell effect crap] C1/8806: 994FE0 STA $E04F,Y C1/8809: A9C0 LDA #$C0 C1/880B: 9960E0 STA $E060,Y C1/880E: B91CE0 LDA $E01C,Y C1/8811: 9928E1 STA $E128,Y C1/8814: B95DE0 LDA $E05D,Y C1/8817: 9929E1 STA $E129,Y C1/881A: A940 LDA #$40 C1/881C: 991CE0 STA $E01C,Y C1/881F: A900 LDA #$00 C1/8821: 9914E1 STA $E114,Y C1/8824: 995DE0 STA $E05D,Y C1/8827: 9912E0 STA $E012,Y C1/882A: 990CE0 STA $E00C,Y C1/882D: 9925E0 STA $E025,Y C1/8830: 9984E0 STA $E084,Y C1/8833: C220 REP #$20 C1/8835: B904E1 LDA $E104,Y C1/8838: 992EE1 STA $E12E,Y C1/883B: B906E1 LDA $E106,Y C1/883E: 9924E1 STA $E124,Y C1/8841: B95EE0 LDA $E05E,Y C1/8844: 992AE1 STA $E12A,Y C1/8847: B906E0 LDA $E006,Y C1/884A: 9934E1 STA $E134,Y C1/884D: B908E0 LDA $E008,Y C1/8850: 9922E1 STA $E122,Y C1/8853: BFA62AD0 LDA $D02AA6,X [Spell effect crap] C1/8857: 99FCE0 STA $E0FC,Y C1/885A: BFA22AD0 LDA $D02AA2,X [Huh] C1/885E: 996AE0 STA $E06A,Y C1/8861: A90000 LDA #$0000 C1/8864: 9904E1 STA $E104,Y C1/8867: 9906E0 STA $E006,Y C1/886A: 9908E0 STA $E008,Y C1/886D: 9918E1 STA $E118,Y C1/8870: 991AE1 STA $E11A,Y C1/8873: 991CE1 STA $E11C,Y C1/8876: 991EE1 STA $E11E,Y C1/8879: E220 SEP #$20 C1/887B: B910E1 LDA $E110,Y C1/887E: C907 CMP #$07 C1/8880: D00F BNE $8891 C1/8882: A900 LDA #$00 C1/8884: 9910E1 STA $E110,Y C1/8887: A9C0 LDA #$C0 C1/8889: 991AE1 STA $E11A,Y C1/888C: A9FF LDA #$FF C1/888E: 991BE1 STA $E11B,Y C1/8891: B94FE0 LDA $E04F,Y C1/8894: BB TYX C1/8895: 4C9B85 JMP $859B C1/8898: E220 SEP #$20 C1/889A: A900 LDA #$00 C1/889C: EB XBA C1/889D: BD10E0 LDA $E010,X C1/88A0: C220 REP #$20 C1/88A2: F019 BEQ $88BD C1/88A4: 3008 BMI $88AE C1/88A6: 3A DEC A C1/88A7: F00F BEQ $88B8 C1/88A9: A91800 LDA #$0018 C1/88AC: 8003 BRA $88B1 C1/88AE: A9E8FF LDA #$FFE8 C1/88B1: 9D18E1 STA $E118,X C1/88B4: 9E1AE1 STZ $E11A,X C1/88B7: 60 RTS C1/88B8: A91800 LDA #$0018 C1/88BB: 8003 BRA $88C0 C1/88BD: A9E8FF LDA #$FFE8 C1/88C0: 9D1AE1 STA $E11A,X C1/88C3: 9E18E1 STZ $E118,X C1/88C6: 60 RTS [] C1/88C7: E220 SEP #$20 C1/88C9: 8614 STX $14 C1/88CB: 24F1 BIT $F1 C1/88CD: 3014 BMI $88E3 C1/88CF: A5D0 LDA $D0 C1/88D1: F004 BEQ $88D7 C1/88D3: E4D4 CPX $D4 [Compare X with Lead Character Data Index] C1/88D5: F00C BEQ $88E3 C1/88D7: BD00E0 LDA $E000,X C1/88DA: F007 BEQ $88E3 C1/88DC: 3005 BMI $88E3 C1/88DE: BD60E0 LDA $E060,X C1/88E1: F001 BEQ $88E4 C1/88E3: 60 RTS C1/88E4: 9E11E1 STZ $E111,X C1/88E7: BD79E1 LDA $E179,X C1/88EA: 1D7AE1 ORA $E17A,X C1/88ED: 2907 AND #$07 C1/88EF: F005 BEQ $88F6 C1/88F1: A980 LDA #$80 C1/88F3: 9D11E1 STA $E111,X C1/88F6: BD71E1 LDA $E171,X C1/88F9: 290F AND #$0F C1/88FB: 1D11E1 ORA $E111,X C1/88FE: 9D11E1 STA $E111,X C1/8901: 9E08E1 STZ $E108,X C1/8904: E00006 CPX #$0600 C1/8907: 900F BCC $8918 C1/8909: 209888 JSR $8898 C1/890C: E220 SEP #$20 C1/890E: A920 LDA #$20 C1/8910: 9D60E0 STA $E060,X C1/8913: C210 REP #$10 C1/8915: A614 LDX $14 C1/8917: 60 RTS C1/8918: E220 SEP #$20 C1/891A: A9CE LDA #$CE C1/891C: E00004 CPX #$0400 C1/891F: 9001 BCC $8922 C1/8921: 1A INC A C1/8922: 9D4FE0 STA $E04F,X C1/8925: A940 LDA #$40 C1/8927: 9D1CE0 STA $E01C,X C1/892A: A9FF LDA #$FF C1/892C: 9D30E0 STA $E030,X C1/892F: A994 LDA #$94 C1/8931: 9D11E0 STA $E011,X C1/8934: 9E06E0 STZ $E006,X C1/8937: 9E07E0 STZ $E007,X C1/893A: 9E08E0 STZ $E008,X C1/893D: A920 LDA #$20 C1/893F: 9D60E0 STA $E060,X C1/8942: 203486 JSR $8634 C1/8945: 20D885 JSR $85D8 C1/8948: C210 REP #$10 C1/894A: A614 LDX $14 C1/894C: 60 RTS C1/894D: A905 LDA #$05 C1/894F: 9D24E1 STA $E124,X C1/8952: BD1EE1 LDA $E11E,X C1/8955: 850E STA $0E C1/8957: 38 SEC C1/8958: E910 SBC #$10 C1/895A: 1002 BPL $895E C1/895C: A920 LDA #$20 C1/895E: 850C STA $0C C1/8960: 640D STZ $0D C1/8962: 640F STZ $0F C1/8964: C220 REP #$20 C1/8966: 8A TXA C1/8967: 050C ORA $0C C1/8969: A8 TAY C1/896A: B918E1 LDA $E118,Y C1/896D: 18 CLC C1/896E: 7D20E0 ADC $E020,X C1/8971: 8504 STA $04 C1/8973: BD74E0 LDA $E074,X C1/8976: 297F00 AND #$007F C1/8979: 18 CLC C1/897A: 7D45E0 ADC $E045,X C1/897D: 49FFFF EOR #$FFFF C1/8980: 38 SEC C1/8981: 7D22E0 ADC $E022,X C1/8984: 791AE1 ADC $E11A,Y C1/8987: 8506 STA $06 C1/8989: 5A PHY C1/898A: BC16E1 LDY $E116,X C1/898D: B974E0 LDA $E074,Y C1/8990: 297F00 AND #$007F C1/8993: 18 CLC C1/8994: 7945E0 ADC $E045,Y C1/8997: 49FFFF EOR #$FFFF C1/899A: 38 SEC C1/899B: 7922E0 ADC $E022,Y C1/899E: 38 SEC C1/899F: E506 SBC $06 C1/89A1: 8506 STA $06 C1/89A3: B920E0 LDA $E020,Y C1/89A6: 38 SEC C1/89A7: E504 SBC $04 C1/89A9: 8504 STA $04 C1/89AB: 7A PLY C1/89AC: DA PHX C1/89AD: 8A TXA C1/89AE: 050E ORA $0E C1/89B0: AA TAX C1/89B1: A504 LDA $04 C1/89B3: 100A BPL $89BF C1/89B5: C9E2FF CMP #$FFE2 C1/89B8: B00D BCS $89C7 C1/89BA: A9E2FF LDA #$FFE2 C1/89BD: 8008 BRA $89C7 C1/89BF: C91E00 CMP #$001E C1/89C2: 9003 BCC $89C7 C1/89C4: A91E00 LDA #$001E C1/89C7: 18 CLC C1/89C8: 7918E1 ADC $E118,Y C1/89CB: 9D18E1 STA $E118,X C1/89CE: A506 LDA $06 C1/89D0: 100A BPL $89DC C1/89D2: C9E2FF CMP #$FFE2 C1/89D5: B00D BCS $89E4 C1/89D7: A9E2FF LDA #$FFE2 C1/89DA: 8008 BRA $89E4 C1/89DC: C91E00 CMP #$001E C1/89DF: 9003 BCC $89E4 C1/89E1: A91E00 LDA #$001E C1/89E4: 18 CLC C1/89E5: 791AE1 ADC $E11A,Y C1/89E8: 9D1AE1 STA $E11A,X C1/89EB: FA PLX C1/89EC: E220 SEP #$20 C1/89EE: BD1EE1 LDA $E11E,X C1/89F1: 18 CLC C1/89F2: 6910 ADC #$10 C1/89F4: C930 CMP #$30 C1/89F6: 9002 BCC $89FA C1/89F8: A900 LDA #$00 C1/89FA: 9D1EE1 STA $E11E,X C1/89FD: C220 REP #$20 C1/89FF: A504 LDA $04 C1/8A01: 1003 BPL $8A06 C1/8A03: 49FFFF EOR #$FFFF C1/8A06: C90800 CMP #$0008 C1/8A09: B00C BCS $8A17 C1/8A0B: A506 LDA $06 C1/8A0D: 1003 BPL $8A12 C1/8A0F: 49FFFF EOR #$FFFF C1/8A12: C90800 CMP #$0008 C1/8A15: 900D BCC $8A24 C1/8A17: E220 SEP #$20 C1/8A19: BC16E1 LDY $E116,X C1/8A1C: B900E0 LDA $E000,Y C1/8A1F: F003 BEQ $8A24 C1/8A21: 3001 BMI $8A24 C1/8A23: 60 RTS C1/8A24: BC16E1 LDY $E116,X C1/8A27: DA PHX C1/8A28: 20128D JSR $8D12 C1/8A2B: FA PLX C1/8A2C: 8614 STX $14 C1/8A2E: B021 BCS $8A51 C1/8A30: C220 REP #$20 C1/8A32: BD26E1 LDA $E126,X C1/8A35: 100A BPL $8A41 C1/8A37: 9E10E1 STZ $E110,X C1/8A3A: 9E20E1 STZ $E120,X C1/8A3D: 9E30E1 STZ $E130,X C1/8A40: 60 RTS C1/8A41: 9D16E1 STA $E116,X C1/8A44: BD36E1 LDA $E136,X C1/8A47: 9D26E1 STA $E126,X C1/8A4A: A90080 LDA #$8000 C1/8A4D: 9D36E1 STA $E136,X C1/8A50: 60 RTS C1/8A51: C220 REP #$20 C1/8A53: 9D16E1 STA $E116,X C1/8A56: E220 SEP #$20 C1/8A58: A980 LDA #$80 C1/8A5A: 9D27E1 STA $E127,X C1/8A5D: 9D37E1 STA $E137,X C1/8A60: 60 RTS C1/8A61: BD37E1 LDA $E137,X C1/8A64: DD17E1 CMP $E117,X C1/8A67: D003 BNE $8A6C C1/8A69: 9E30E1 STZ $E130,X C1/8A6C: BD27E1 LDA $E127,X C1/8A6F: DD17E1 CMP $E117,X C1/8A72: D003 BNE $8A77 C1/8A74: 9E20E1 STZ $E120,X C1/8A77: C220 REP #$20 C1/8A79: BD10E1 LDA $E110,X C1/8A7C: 9D20E1 STA $E120,X C1/8A7F: 9D30E1 STA $E130,X C1/8A82: 9E2EE1 STZ $E12E,X C1/8A85: 9E1EE1 STZ $E11E,X C1/8A88: 9E3CE1 STZ $E13C,X C1/8A8B: A90800 LDA #$0008 C1/8A8E: 9D2CE1 STA $E12C,X C1/8A91: A91000 LDA #$0010 C1/8A94: 9D1CE1 STA $E11C,X C1/8A97: 9E12E1 STZ $E112,X C1/8A9A: A90404 LDA #$0404 C1/8A9D: 9D22E1 STA $E122,X C1/8AA0: 9D32E1 STA $E132,X C1/8AA3: 9E24E1 STZ $E124,X C1/8AA6: BD18E1 LDA $E118,X C1/8AA9: 9D28E1 STA $E128,X C1/8AAC: 9D38E1 STA $E138,X C1/8AAF: BD2AE1 LDA $E12A,X C1/8AB2: 9D1AE1 STA $E11A,X C1/8AB5: 8A TXA C1/8AB6: 4A LSR A C1/8AB7: A8 TAY C1/8AB8: A91000 LDA #$0010 C1/8ABB: 8500 STA $00 C1/8ABD: A900CB LDA #$CB00 C1/8AC0: 9960C0 STA $C060,Y C1/8AC3: C8 INY C1/8AC4: C8 INY C1/8AC5: C600 DEC $00 C1/8AC7: D0F7 BNE $8AC0 C1/8AC9: E220 SEP #$20 C1/8ACB: A900 LDA #$00 C1/8ACD: EB XBA C1/8ACE: BD10E0 LDA $E010,X C1/8AD1: C220 REP #$20 C1/8AD3: F02B BEQ $8B00 C1/8AD5: 3016 BMI $8AED C1/8AD7: 3A DEC A C1/8AD8: F039 BEQ $8B13 C1/8ADA: BD18E1 LDA $E118,X C1/8ADD: 18 CLC C1/8ADE: 690C00 ADC #$000C C1/8AE1: 9D28E1 STA $E128,X C1/8AE4: 18 CLC C1/8AE5: 691200 ADC #$0012 C1/8AE8: 9D38E1 STA $E138,X C1/8AEB: 8037 BRA $8B24 C1/8AED: BD18E1 LDA $E118,X C1/8AF0: 38 SEC C1/8AF1: E90C00 SBC #$000C C1/8AF4: 9D28E1 STA $E128,X C1/8AF7: 38 SEC C1/8AF8: E91200 SBC #$0012 C1/8AFB: 9D38E1 STA $E138,X C1/8AFE: 8024 BRA $8B24 C1/8B00: BD1AE1 LDA $E11A,X C1/8B03: 38 SEC C1/8B04: E90C00 SBC #$000C C1/8B07: 9D2AE1 STA $E12A,X C1/8B0A: 38 SEC C1/8B0B: E91200 SBC #$0012 C1/8B0E: 9D3AE1 STA $E13A,X C1/8B11: 8011 BRA $8B24 C1/8B13: BD1AE1 LDA $E11A,X C1/8B16: 18 CLC C1/8B17: 690C00 ADC #$000C C1/8B1A: 9D2AE1 STA $E12A,X C1/8B1D: 18 CLC C1/8B1E: 691200 ADC #$0012 C1/8B21: 9D3AE1 STA $E13A,X C1/8B24: 38 SEC C1/8B25: 60 RTS C1/8B26: C220 REP #$20 C1/8B28: BD13E1 LDA $E113,X C1/8B2B: 297F00 AND #$007F C1/8B2E: D001 BNE $8B31 C1/8B30: 60 RTS C1/8B31: 18 CLC C1/8B32: 7D1CE1 ADC $E11C,X C1/8B35: 293F00 AND #$003F C1/8B38: 9D1CE1 STA $E11C,X C1/8B3B: BD2CE1 LDA $E12C,X C1/8B3E: 18 CLC C1/8B3F: 7D23E1 ADC $E123,X C1/8B42: 293F00 AND #$003F C1/8B45: 9D2CE1 STA $E12C,X C1/8B48: BD3CE1 LDA $E13C,X C1/8B4B: 18 CLC C1/8B4C: 7D33E1 ADC $E133,X C1/8B4F: 293F00 AND #$003F C1/8B52: 9D3CE1 STA $E13C,X C1/8B55: E220 SEP #$20 C1/8B57: BD32E1 LDA $E132,X C1/8B5A: 9D33E1 STA $E133,X C1/8B5D: BD23E1 LDA $E123,X C1/8B60: 9D32E1 STA $E132,X C1/8B63: BD22E1 LDA $E122,X C1/8B66: 9D23E1 STA $E123,X C1/8B69: BD13E1 LDA $E113,X C1/8B6C: 9D22E1 STA $E122,X C1/8B6F: BD24E1 LDA $E124,X C1/8B72: F00A BEQ $8B7E C1/8B74: 3A DEC A C1/8B75: 9D24E1 STA $E124,X C1/8B78: F005 BEQ $8B7F C1/8B7A: C902 CMP #$02 C1/8B7C: F001 BEQ $8B7F C1/8B7E: 60 RTS C1/8B7F: 82D0FD BRL $8952 C1/8B82: C220 REP #$20 C1/8B84: BD18E1 LDA $E118,X C1/8B87: 18 CLC C1/8B88: 690800 ADC #$0008 C1/8B8B: 9D28E1 STA $E128,X C1/8B8E: 38 SEC C1/8B8F: E91000 SBC #$0010 C1/8B92: 9D38E1 STA $E138,X C1/8B95: BD1AE1 LDA $E11A,X C1/8B98: 18 CLC C1/8B99: 690500 ADC #$0005 C1/8B9C: 9D2AE1 STA $E12A,X C1/8B9F: 690300 ADC #$0003 C1/8BA2: 9D3AE1 STA $E13A,X C1/8BA5: 38 SEC C1/8BA6: E91000 SBC #$0010 C1/8BA9: 9D1AE1 STA $E11A,X C1/8BAC: 9E1CE1 STZ $E11C,X C1/8BAF: 9B TXY C1/8BB0: 20D186 JSR $86D1 C1/8BB3: AA TAX C1/8BB4: E220 SEP #$20 C1/8BB6: BFA12AD0 LDA $D02AA1,X C1/8BBA: BB TYX C1/8BBB: 48 PHA C1/8BBC: 9D10E1 STA $E110,X C1/8BBF: 9D20E1 STA $E120,X C1/8BC2: 9D30E1 STA $E130,X C1/8BC5: BD11E1 LDA $E111,X C1/8BC8: 290F AND #$0F C1/8BCA: C908 CMP #$08 C1/8BCC: D004 BNE $8BD2 C1/8BCE: A940 LDA #$40 C1/8BD0: 04F1 TSB $F1 C1/8BD2: BD79E1 LDA $E179,X C1/8BD5: D006 BNE $8BDD C1/8BD7: BD78E1 LDA $E178,X C1/8BDA: 9D79E1 STA $E179,X C1/8BDD: BD7AE1 LDA $E17A,X C1/8BE0: D006 BNE $8BE8 C1/8BE2: BD78E1 LDA $E178,X C1/8BE5: 9D7AE1 STA $E17A,X C1/8BE8: BD78E1 LDA $E178,X C1/8BEB: 2907 AND #$07 C1/8BED: 3A DEC A C1/8BEE: 0A ASL A C1/8BEF: 9D17E1 STA $E117,X C1/8BF2: 9E16E1 STZ $E116,X C1/8BF5: BD79E1 LDA $E179,X C1/8BF8: 2907 AND #$07 C1/8BFA: 3A DEC A C1/8BFB: 0A ASL A C1/8BFC: 9D27E1 STA $E127,X C1/8BFF: 9E26E1 STZ $E126,X C1/8C02: BD7AE1 LDA $E17A,X C1/8C05: 2907 AND #$07 C1/8C07: 3A DEC A C1/8C08: 0A ASL A C1/8C09: 9D37E1 STA $E137,X C1/8C0C: 9E36E1 STZ $E136,X C1/8C0F: 68 PLA C1/8C10: D01C BNE $8C2E C1/8C12: BD78E1 LDA $E178,X C1/8C15: DD7AE1 CMP $E17A,X C1/8C18: D005 BNE $8C1F C1/8C1A: A980 LDA #$80 C1/8C1C: 9D37E1 STA $E137,X C1/8C1F: BD78E1 LDA $E178,X C1/8C22: DD79E1 CMP $E179,X C1/8C25: D005 BNE $8C2C C1/8C27: A980 LDA #$80 C1/8C29: 9D27E1 STA $E127,X C1/8C2C: 18 CLC C1/8C2D: 60 RTS C1/8C2E: C904 CMP #$04 C1/8C30: D003 BNE $8C35 C1/8C32: 822CFE BRL $8A61 C1/8C35: B0DB BCS $8C12 C1/8C37: A905 LDA #$05 C1/8C39: 9D14E1 STA $E114,X C1/8C3C: A90F LDA #$0F C1/8C3E: 9D24E1 STA $E124,X C1/8C41: A919 LDA #$19 C1/8C43: 9D34E1 STA $E134,X C1/8C46: A970 LDA #$70 C1/8C48: 9D15E1 STA $E115,X C1/8C4B: 9D25E1 STA $E125,X C1/8C4E: 9D35E1 STA $E135,X C1/8C51: 9E13E1 STZ $E113,X C1/8C54: 9E23E1 STZ $E123,X C1/8C57: 9E33E1 STZ $E133,X C1/8C5A: BD10E0 LDA $E010,X C1/8C5D: 3014 BMI $8C73 C1/8C5F: F020 BEQ $8C81 C1/8C61: C901 CMP #$01 C1/8C63: F020 BEQ $8C85 C1/8C65: A9C0 LDA #$C0 C1/8C67: 9D12E1 STA $E112,X C1/8C6A: A900 LDA #$00 C1/8C6C: 9D22E1 STA $E122,X C1/8C6F: A940 LDA #$40 C1/8C71: 801E BRA $8C91 C1/8C73: A9C0 LDA #$C0 C1/8C75: 9D12E1 STA $E112,X C1/8C78: A940 LDA #$40 C1/8C7A: 9D22E1 STA $E122,X C1/8C7D: A980 LDA #$80 C1/8C7F: 8010 BRA $8C91 C1/8C81: A9C0 LDA #$C0 C1/8C83: 8002 BRA $8C87 C1/8C85: A940 LDA #$40 C1/8C87: 9D12E1 STA $E112,X C1/8C8A: A900 LDA #$00 C1/8C8C: 9D22E1 STA $E122,X C1/8C8F: A980 LDA #$80 C1/8C91: 9D32E1 STA $E132,X C1/8C94: 38 SEC C1/8C95: 60 RTS C1/8C96: A614 LDX $14 C1/8C98: E220 SEP #$20 C1/8C9A: BD10E1 LDA $E110,X C1/8C9D: C908 CMP #$08 C1/8C9F: 9018 BCC $8CB9 C1/8CA1: 48 PHA C1/8CA2: DA PHX C1/8CA3: 2228E300 JSR $00E328 C1/8CA7: E220 SEP #$20 C1/8CA9: FA PLX C1/8CAA: 68 PLA C1/8CAB: 8614 STX $14 C1/8CAD: 223800C1 JSR $C10038 C1/8CB1: 2251E300 JSR $00E351 C1/8CB5: E220 SEP #$20 C1/8CB7: A614 LDX $14 C1/8CB9: 9E60E0 STZ $E060,X C1/8CBC: BC16E1 LDY $E116,X C1/8CBF: DA PHX C1/8CC0: 20128D JSR $8D12 C1/8CC3: C210 REP #$10 C1/8CC5: FA PLX C1/8CC6: 9003 BCC $8CCB C1/8CC8: 20098D JSR $8D09 C1/8CCB: BC26E1 LDY $E126,X C1/8CCE: 301D BMI $8CED C1/8CD0: DA PHX C1/8CD1: 20128D JSR $8D12 C1/8CD4: C210 REP #$10 C1/8CD6: FA PLX C1/8CD7: 9003 BCC $8CDC C1/8CD9: 20098D JSR $8D09 C1/8CDC: BC36E1 LDY $E136,X C1/8CDF: 300C BMI $8CED C1/8CE1: DA PHX C1/8CE2: 20128D JSR $8D12 C1/8CE5: C210 REP #$10 C1/8CE7: FA PLX C1/8CE8: 9003 BCC $8CED C1/8CEA: 20098D JSR $8D09 C1/8CED: E220 SEP #$20 C1/8CEF: BD08E1 LDA $E108,X C1/8CF2: 1004 BPL $8CF8 C1/8CF4: 9B TXY C1/8CF5: 4CC287 JMP $87C2 C1/8CF8: E00006 CPX #$0600 C1/8CFB: B00B BCS $8D08 C1/8CFD: BD60E0 LDA $E060,X C1/8D00: D006 BNE $8D08 C1/8D02: 9E04E1 STZ $E104,X C1/8D05: 4CAB8D JMP $8DAB C1/8D08: 60 RTS C1/8D09: A8 TAY C1/8D0A: DA PHX C1/8D0B: 20128D JSR $8D12 C1/8D0E: C210 REP #$10 C1/8D10: FA PLX C1/8D11: 60 RTS C1/8D12: E220 SEP #$20 C1/8D14: 24ED BIT $ED C1/8D16: 3007 BMI $8D1F C1/8D18: C00006 CPY #$0600 C1/8D1B: 9002 BCC $8D1F C1/8D1D: 18 CLC C1/8D1E: 60 RTS C1/8D1F: B900E0 LDA $E000,Y C1/8D22: F0F9 BEQ $8D1D C1/8D24: 30F7 BMI $8D1D C1/8D26: C220 REP #$20 C1/8D28: BD16E1 LDA $E116,X C1/8D2B: DA PHX C1/8D2C: 5A PHY C1/8D2D: 225400C0 JSR $C00054 C1/8D31: C220 REP #$20 C1/8D33: 29FF00 AND #$00FF C1/8D36: F007 BEQ $8D3F C1/8D38: C98000 CMP #$0080 C1/8D3B: 8A TXA C1/8D3C: 7A PLY C1/8D3D: FA PLX C1/8D3E: 60 RTS C1/8D3F: 7A PLY C1/8D40: FA PLX C1/8D41: E220 SEP #$20 C1/8D43: A980 LDA #$80 C1/8D45: 9908E1 STA $E108,Y C1/8D48: BD70E1 LDA $E170,X C1/8D4B: 990AE1 STA $E10A,Y C1/8D4E: BD10E1 LDA $E110,X C1/8D51: 9909E1 STA $E109,Y C1/8D54: BD11E1 LDA $E111,X C1/8D57: 990BE1 STA $E10B,Y C1/8D5A: DA PHX C1/8D5B: B960E0 LDA $E060,Y C1/8D5E: F015 BEQ $8D75 C1/8D60: C940 CMP #$40 C1/8D62: F011 BEQ $8D75 C1/8D64: C9C0 CMP #$C0 C1/8D66: D005 BNE $8D6D C1/8D68: 20F281 JSR $81F2 C1/8D6B: 8008 BRA $8D75 C1/8D6D: C220 REP #$20 C1/8D6F: 68 PLA C1/8D70: 990CE1 STA $E10C,Y C1/8D73: 18 CLC C1/8D74: 60 RTS C1/8D75: C220 REP #$20 C1/8D77: 68 PLA C1/8D78: 990CE1 STA $E10C,Y C1/8D7B: 20C287 JSR $87C2 C1/8D7E: 18 CLC C1/8D7F: 60 RTS C1/8D80: BD10E1 LDA $E110,X C1/8D83: 1D20E1 ORA $E120,X C1/8D86: 1D30E1 ORA $E130,X C1/8D89: F002 BEQ $8D8D C1/8D8B: 8038 BRA $8DC5 C1/8D8D: C220 REP #$20 C1/8D8F: E220 SEP #$20 C1/8D91: 9E04E1 STZ $E104,X C1/8D94: BD08E1 LDA $E108,X C1/8D97: 1004 BPL $8D9D C1/8D99: 9B TXY C1/8D9A: 4CC287 JMP $87C2 C1/8D9D: E220 SEP #$20 C1/8D9F: 9E60E0 STZ $E060,X C1/8DA2: E00006 CPX #$0600 C1/8DA5: 9004 BCC $8DAB C1/8DA7: 24ED BIT $ED C1/8DA9: 1013 BPL $8DBE C1/8DAB: E220 SEP #$20 C1/8DAD: E00006 CPX #$0600 C1/8DB0: 9004 BCC $8DB6 C1/8DB2: 245C BIT $5C C1/8DB4: 3009 BMI $8DBF C1/8DB6: 22F4E900 JSR $00E9F4 C1/8DBA: C210 REP #$10 C1/8DBC: A614 LDX $14 C1/8DBE: 60 RTS C1/8DBF: A902 LDA #$02 C1/8DC1: 9D01E0 STA $E001,X C1/8DC4: 60 RTS C1/8DC5: E220 SEP #$20 C1/8DC7: BD10E1 LDA $E110,X C1/8DCA: C904 CMP #$04 C1/8DCC: D001 BNE $8DCF C1/8DCE: 60 RTS C1/8DCF: A00000 LDY #$0000 C1/8DD2: 20DE8D JSR $8DDE C1/8DD5: A01000 LDY #$0010 C1/8DD8: 20DE8D JSR $8DDE C1/8DDB: A02000 LDY #$0020 C1/8DDE: 8400 STY $00 C1/8DE0: C220 REP #$20 C1/8DE2: 8A TXA C1/8DE3: 0500 ORA $00 C1/8DE5: A8 TAY C1/8DE6: E220 SEP #$20 C1/8DE8: B910E1 LDA $E110,Y C1/8DEB: F009 BEQ $8DF6 C1/8DED: B914E1 LDA $E114,Y C1/8DF0: F005 BEQ $8DF7 C1/8DF2: 3A DEC A C1/8DF3: 9914E1 STA $E114,Y C1/8DF6: 60 RTS C1/8DF7: B913E1 LDA $E113,Y C1/8DFA: D915E1 CMP $E115,Y C1/8DFD: B005 BCS $8E04 C1/8DFF: 1A INC A C1/8E00: 1A INC A C1/8E01: 9913E1 STA $E113,Y C1/8E04: 5A PHY C1/8E05: B917E1 LDA $E117,Y C1/8E08: EB XBA C1/8E09: A900 LDA #$00 C1/8E0B: A8 TAY C1/8E0C: B900E0 LDA $E000,Y C1/8E0F: F002 BEQ $8E13 C1/8E11: 1007 BPL $8E1A C1/8E13: A900 LDA #$00 C1/8E15: 7A PLY C1/8E16: 9910E1 STA $E110,Y C1/8E19: 60 RTS C1/8E1A: 7A PLY C1/8E1B: C220 REP #$20 C1/8E1D: B912E1 LDA $E112,Y C1/8E20: 8502 STA $02 C1/8E22: B91CE1 LDA $E11C,Y C1/8E25: 290F0F AND #$0F0F C1/8E28: 850C STA $0C C1/8E2A: B918E1 LDA $E118,Y C1/8E2D: 18 CLC C1/8E2E: 7D20E0 ADC $E020,X C1/8E31: 8504 STA $04 C1/8E33: BD74E0 LDA $E074,X C1/8E36: 297F00 AND #$007F C1/8E39: 18 CLC C1/8E3A: 7D45E0 ADC $E045,X C1/8E3D: 49FFFF EOR #$FFFF C1/8E40: 38 SEC C1/8E41: 7D22E0 ADC $E022,X C1/8E44: 18 CLC C1/8E45: 791AE1 ADC $E11A,Y C1/8E48: 8506 STA $06 C1/8E4A: B916E1 LDA $E116,Y C1/8E4D: 5A PHY C1/8E4E: A8 TAY C1/8E4F: 20938E JSR $8E93 C1/8E52: 7A PLY C1/8E53: 901F BCC $8E74 C1/8E55: C220 REP #$20 C1/8E57: A502 LDA $02 C1/8E59: 9912E1 STA $E112,Y C1/8E5C: A50C LDA $0C C1/8E5E: 991CE1 STA $E11C,Y C1/8E61: A504 LDA $04 C1/8E63: 18 CLC C1/8E64: 7918E1 ADC $E118,Y C1/8E67: 9918E1 STA $E118,Y C1/8E6A: A506 LDA $06 C1/8E6C: 18 CLC C1/8E6D: 791AE1 ADC $E11A,Y C1/8E70: 991AE1 STA $E11A,Y C1/8E73: 60 RTS C1/8E74: C220 REP #$20 C1/8E76: B916E1 LDA $E116,Y C1/8E79: 5A PHY C1/8E7A: DA PHX C1/8E7B: A8 TAY C1/8E7C: 20128D JSR $8D12 C1/8E7F: B00A BCS $8E8B C1/8E81: FA PLX C1/8E82: 7A PLY C1/8E83: E220 SEP #$20 C1/8E85: A900 LDA #$00 C1/8E87: 9910E1 STA $E110,Y C1/8E8A: 60 RTS C1/8E8B: FA PLX C1/8E8C: 7A PLY C1/8E8D: C220 REP #$20 C1/8E8F: 9916E1 STA $E116,Y C1/8E92: 60 RTS C1/8E93: E220 SEP #$20 C1/8E95: C220 REP #$20 C1/8E97: B974E0 LDA $E074,Y C1/8E9A: 297F00 AND #$007F C1/8E9D: 18 CLC C1/8E9E: 7945E0 ADC $E045,Y C1/8EA1: 49FFFF EOR #$FFFF C1/8EA4: 38 SEC C1/8EA5: 7922E0 ADC $E022,Y C1/8EA8: 38 SEC C1/8EA9: E506 SBC $06 C1/8EAB: 8508 STA $08 C1/8EAD: B920E0 LDA $E020,Y C1/8EB0: 38 SEC C1/8EB1: E504 SBC $04 C1/8EB3: 850A STA $0A C1/8EB5: 101A BPL $8ED1 C1/8EB7: 49FFFF EOR #$FFFF C1/8EBA: 1A INC A C1/8EBB: 850A STA $0A C1/8EBD: A508 LDA $08 C1/8EBF: 3005 BMI $8EC6 C1/8EC1: A94000 LDA #$0040 C1/8EC4: 8018 BRA $8EDE C1/8EC6: 49FFFF EOR #$FFFF C1/8EC9: 1A INC A C1/8ECA: 8508 STA $08 C1/8ECC: A98000 LDA #$0080 C1/8ECF: 801E BRA $8EEF C1/8ED1: A508 LDA $08 C1/8ED3: 1017 BPL $8EEC C1/8ED5: 49FFFF EOR #$FFFF C1/8ED8: 1A INC A C1/8ED9: 8508 STA $08 C1/8EDB: A9C000 LDA #$00C0 C1/8EDE: 48 PHA C1/8EDF: A50A LDA $0A C1/8EE1: 48 PHA C1/8EE2: A508 LDA $08 C1/8EE4: 850A STA $0A C1/8EE6: 68 PLA C1/8EE7: 8508 STA $08 C1/8EE9: 68 PLA C1/8EEA: 8003 BRA $8EEF C1/8EEC: A90000 LDA #$0000 C1/8EEF: 8500 STA $00 C1/8EF1: A508 LDA $08 C1/8EF3: C50A CMP $0A C1/8EF5: 900F BCC $8F06 C1/8EF7: 48 PHA C1/8EF8: A50A LDA $0A C1/8EFA: 8508 STA $08 C1/8EFC: 68 PLA C1/8EFD: 850A STA $0A C1/8EFF: A90080 LDA #$8000 C1/8F02: 0400 TSB $00 C1/8F04: A508 LDA $08 C1/8F06: 0A ASL A C1/8F07: 0A ASL A C1/8F08: 0A ASL A C1/8F09: 0A ASL A C1/8F0A: 8F044200 STA $004204 C1/8F0E: E220 SEP #$20 C1/8F10: A50A LDA $0A C1/8F12: C918 CMP #$18 C1/8F14: B002 BCS $8F18 C1/8F16: 18 CLC C1/8F17: 60 RTS C1/8F18: 8F064200 STA $004206 C1/8F1C: 49FF EOR #$FF C1/8F1E: 4A LSR A C1/8F1F: 4A LSR A C1/8F20: 4A LSR A C1/8F21: 4A LSR A C1/8F22: 4A LSR A C1/8F23: C903 CMP #$03 C1/8F25: B002 BCS $8F29 C1/8F27: A903 LDA #$03 C1/8F29: 850A STA $0A C1/8F2B: A900 LDA #$00 C1/8F2D: EB XBA C1/8F2E: AF144200 LDA $004214 C1/8F32: C911 CMP #$11 C1/8F34: 9002 BCC $8F38 C1/8F36: A910 LDA #$10 C1/8F38: DA PHX C1/8F39: AA TAX C1/8F3A: A503 LDA $03 C1/8F3C: C920 CMP #$20 C1/8F3E: 902B BCC $8F6B C1/8F40: BF069001 LDA $019006,X C1/8F44: 2401 BIT $01 C1/8F46: 1002 BPL $8F4A C1/8F48: 493F EOR #$3F C1/8F4A: 0500 ORA $00 C1/8F4C: 38 SEC C1/8F4D: E502 SBC $02 C1/8F4F: F01A BEQ $8F6B C1/8F51: 100D BPL $8F60 C1/8F53: C9FB CMP #$FB C1/8F55: B00F BCS $8F66 C1/8F57: A502 LDA $02 C1/8F59: 38 SEC C1/8F5A: E50A SBC $0A C1/8F5C: 8502 STA $02 C1/8F5E: 800B BRA $8F6B C1/8F60: C905 CMP #$05 C1/8F62: 9003 BCC $8F67 C1/8F64: A50A LDA $0A C1/8F66: 18 CLC C1/8F67: 6502 ADC $02 C1/8F69: 8502 STA $02 C1/8F6B: A503 LDA $03 C1/8F6D: 8F024200 STA $004202 C1/8F71: C220 REP #$20 C1/8F73: A502 LDA $02 C1/8F75: 293F00 AND #$003F C1/8F78: 0A ASL A C1/8F79: 0A ASL A C1/8F7A: 0A ASL A C1/8F7B: AA TAX C1/8F7C: 5A PHY C1/8F7D: 49FE01 EOR #$01FE C1/8F80: 1A INC A C1/8F81: 1A INC A C1/8F82: A8 TAY C1/8F83: 2401 BIT $01 C1/8F85: 5004 BVC $8F8B C1/8F87: 5A PHY C1/8F88: DA PHX C1/8F89: 7A PLY C1/8F8A: FA PLX C1/8F8B: BF22FD00 LDA $00FD22,X C1/8F8F: 4A LSR A C1/8F90: 850A STA $0A C1/8F92: BB TYX C1/8F93: BF22FD00 LDA $00FD22,X C1/8F97: 4A LSR A C1/8F98: 7A PLY C1/8F99: FA PLX C1/8F9A: E220 SEP #$20 C1/8F9C: 8F034200 STA $004203 C1/8FA0: A900 LDA #$00 C1/8FA2: EB XBA C1/8FA3: 2402 BIT $02 C1/8FA5: 1004 BPL $8FAB C1/8FA7: 7018 BVS $8FC1 C1/8FA9: 5002 BVC $8FAD C1/8FAB: 5014 BVC $8FC1 C1/8FAD: AF174200 LDA $004217 C1/8FB1: 18 CLC C1/8FB2: 650C ADC $0C C1/8FB4: 850C STA $0C C1/8FB6: 4A LSR A C1/8FB7: 4A LSR A C1/8FB8: 4A LSR A C1/8FB9: C220 REP #$20 C1/8FBB: 49FFFF EOR #$FFFF C1/8FBE: 1A INC A C1/8FBF: 800E BRA $8FCF C1/8FC1: AF174200 LDA $004217 C1/8FC5: 18 CLC C1/8FC6: 650C ADC $0C C1/8FC8: 850C STA $0C C1/8FCA: 4A LSR A C1/8FCB: 4A LSR A C1/8FCC: 4A LSR A C1/8FCD: C220 REP #$20 C1/8FCF: 8504 STA $04 C1/8FD1: E220 SEP #$20 C1/8FD3: A50A LDA $0A C1/8FD5: 8F034200 STA $004203 C1/8FD9: A900 LDA #$00 C1/8FDB: EB XBA C1/8FDC: 2402 BIT $02 C1/8FDE: 1014 BPL $8FF4 C1/8FE0: AF174200 LDA $004217 C1/8FE4: 18 CLC C1/8FE5: 650D ADC $0D C1/8FE7: 850D STA $0D C1/8FE9: 4A LSR A C1/8FEA: 4A LSR A C1/8FEB: 4A LSR A C1/8FEC: C220 REP #$20 C1/8FEE: 49FFFF EOR #$FFFF C1/8FF1: 1A INC A C1/8FF2: 800E BRA $9002 C1/8FF4: AF174200 LDA $004217 C1/8FF8: 18 CLC C1/8FF9: 650D ADC $0D C1/8FFB: 850D STA $0D C1/8FFD: 4A LSR A C1/8FFE: 4A LSR A C1/8FFF: 4A LSR A C1/9000: C220 REP #$20 C1/9002: 8506 STA $06 C1/9004: 38 SEC C1/9005: 60 RTS C1/9006: 0002 BRK #$02 C1/9008: 0507 ORA $07 C1/900A: 0A ASL A C1/900B: 0C0E10 TSB $100E C1/900E: 1315 ORA ($15,S),Y C1/9010: 1618 ASL $18,X C1/9012: 1A INC A C1/9013: 1B TCS C1/9014: 1D1E20 ORA $201E,X C1/9017: E220 SEP #$20 C1/9019: A614 LDX $14 C1/901B: BD10E1 LDA $E110,X C1/901E: 1D20E1 ORA $E120,X C1/9021: 1D30E1 ORA $E130,X C1/9024: C903 CMP #$03 C1/9026: F002 BEQ $902A C1/9028: 18 CLC C1/9029: 6B RTL C1/902A: C220 REP #$20 C1/902C: 8A TXA C1/902D: 4A LSR A C1/902E: A8 TAY C1/902F: B96CC0 LDA $C06C,Y C1/9032: 9960C0 STA $C060,Y C1/9035: 9964C0 STA $C064,Y C1/9038: 9968C0 STA $C068,Y C1/903B: A90000 LDA #$0000 C1/903E: E220 SEP #$20 C1/9040: BD10E0 LDA $E010,X C1/9043: C220 REP #$20 C1/9045: F017 BEQ $905E C1/9047: 3008 BMI $9051 C1/9049: 3A DEC A C1/904A: F00D BEQ $9059 C1/904C: A91800 LDA #$0018 C1/904F: 8003 BRA $9054 C1/9051: A9E8FF LDA #$FFE8 C1/9054: A00000 LDY #$0000 C1/9057: 800B BRA $9064 C1/9059: A01800 LDY #$0018 C1/905C: 8003 BRA $9061 C1/905E: A0E8FF LDY #$FFE8 C1/9061: A90000 LDA #$0000 C1/9064: 18 CLC C1/9065: 7D20E0 ADC $E020,X C1/9068: 8504 STA $04 C1/906A: 8406 STY $06 C1/906C: BD74E0 LDA $E074,X C1/906F: 297F00 AND #$007F C1/9072: 18 CLC C1/9073: 7D45E0 ADC $E045,X C1/9076: 49FFFF EOR #$FFFF C1/9079: 38 SEC C1/907A: 6506 ADC $06 C1/907C: 18 CLC C1/907D: 7D22E0 ADC $E022,X C1/9080: 8506 STA $06 C1/9082: C220 REP #$20 C1/9084: 6402 STZ $02 C1/9086: A514 LDA $14 C1/9088: 4A LSR A C1/9089: 096000 ORA #$0060 C1/908C: AA TAX C1/908D: A414 LDY $14 C1/908F: 20B790 JSR $90B7 C1/9092: C220 REP #$20 C1/9094: A514 LDA $14 C1/9096: 091000 ORA #$0010 C1/9099: A8 TAY C1/909A: 20B790 JSR $90B7 C1/909D: C220 REP #$20 C1/909F: A514 LDA $14 C1/90A1: 092000 ORA #$0020 C1/90A4: A8 TAY C1/90A5: 20B790 JSR $90B7 C1/90A8: C220 REP #$20 C1/90AA: A514 LDA $14 C1/90AC: 4A LSR A C1/90AD: 0960C0 ORA #$C060 C1/90B0: AA TAX C1/90B1: A502 LDA $02 C1/90B3: C90100 CMP #$0001 C1/90B6: 6B RTL C1/90B7: E220 SEP #$20 C1/90B9: B914E1 LDA $E114,Y C1/90BC: D007 BNE $90C5 C1/90BE: B910E1 LDA $E110,Y C1/90C1: C903 CMP #$03 C1/90C3: F001 BEQ $90C6 C1/90C5: 60 RTS C1/90C6: B913E1 LDA $E113,Y C1/90C9: C950 CMP #$50 C1/90CB: B0F8 BCS $90C5 C1/90CD: 98 TYA C1/90CE: F026 BEQ $90F6 C1/90D0: C910 CMP #$10 C1/90D2: F011 BEQ $90E5 C1/90D4: BD00C0 LDA $C000,X C1/90D7: 38 SEC C1/90D8: E908 SBC #$08 C1/90DA: 9D00C0 STA $C000,X C1/90DD: BD01C0 LDA $C001,X C1/90E0: 18 CLC C1/90E1: 6908 ADC #$08 C1/90E3: 8017 BRA $90FC C1/90E5: BD00C0 LDA $C000,X C1/90E8: 18 CLC C1/90E9: 6908 ADC #$08 C1/90EB: 9D00C0 STA $C000,X C1/90EE: BD01C0 LDA $C001,X C1/90F1: 18 CLC C1/90F2: 6905 ADC #$05 C1/90F4: 8006 BRA $90FC C1/90F6: BD01C0 LDA $C001,X C1/90F9: 38 SEC C1/90FA: E908 SBC #$08 C1/90FC: 9D01C0 STA $C001,X C1/90FF: E602 INC $02 C1/9101: E8 INX C1/9102: E8 INX C1/9103: E8 INX C1/9104: E8 INX C1/9105: 60 RTS C1/9106: E220 SEP #$20 C1/9108: B910E1 LDA $E110,Y C1/910B: F009 BEQ $9116 C1/910D: C904 CMP #$04 C1/910F: B007 BCS $9118 C1/9111: B914E1 LDA $E114,Y C1/9114: F002 BEQ $9118 C1/9116: 18 CLC C1/9117: 6B RTL C1/9118: C220 REP #$20 C1/911A: A614 LDX $14 C1/911C: BD84E0 LDA $E084,X C1/911F: 290F00 AND #$000F C1/9122: 8502 STA $02 C1/9124: B918E1 LDA $E118,Y C1/9127: 18 CLC C1/9128: 7D20E0 ADC $E020,X C1/912B: 8504 STA $04 C1/912D: BD74E0 LDA $E074,X C1/9130: 297F00 AND #$007F C1/9133: 18 CLC C1/9134: 7D45E0 ADC $E045,X C1/9137: 49FFFF EOR #$FFFF C1/913A: 38 SEC C1/913B: 791AE1 ADC $E11A,Y C1/913E: 7D22E0 ADC $E022,X C1/9141: 8506 STA $06 C1/9143: A514 LDA $14 C1/9145: 4A LSR A C1/9146: 0900C0 ORA #$C000 C1/9149: AA TAX C1/914A: E220 SEP #$20 C1/914C: B910E1 LDA $E110,Y C1/914F: C901 CMP #$01 C1/9151: D008 BNE $915B C1/9153: A502 LDA $02 C1/9155: F002 BEQ $9159 C1/9157: 38 SEC C1/9158: 6B RTL C1/9159: 18 CLC C1/915A: 6B RTL C1/915B: C904 CMP #$04 C1/915D: B00C BCS $916B C1/915F: A903 LDA #$03 C1/9161: 8502 STA $02 C1/9163: B912E1 LDA $E112,Y C1/9166: 208A91 JSR $918A C1/9169: 38 SEC C1/916A: 6B RTL C1/916B: D01B BNE $9188 C1/916D: C220 REP #$20 C1/916F: A514 LDA $14 C1/9171: 4A LSR A C1/9172: 191CE1 ORA $E11C,Y C1/9175: 0900C0 ORA #$C000 C1/9178: AA TAX C1/9179: E220 SEP #$20 C1/917B: B913E1 LDA $E113,Y C1/917E: 4A LSR A C1/917F: 4A LSR A C1/9180: 8502 STA $02 C1/9182: F002 BEQ $9186 C1/9184: 38 SEC C1/9185: 6B RTL C1/9186: 18 CLC C1/9187: 6B RTL C1/9188: 18 CLC C1/9189: 6B RTL C1/918A: C910 CMP #$10 C1/918C: B002 BCS $9190 C1/918E: 802A BRA $91BA C1/9190: C930 CMP #$30 C1/9192: B002 BCS $9196 C1/9194: 8028 BRA $91BE C1/9196: C950 CMP #$50 C1/9198: B002 BCS $919C C1/919A: 8026 BRA $91C2 C1/919C: C970 CMP #$70 C1/919E: B002 BCS $91A2 C1/91A0: 8024 BRA $91C6 C1/91A2: C990 CMP #$90 C1/91A4: B002 BCS $91A8 C1/91A6: 8022 BRA $91CA C1/91A8: C9B0 CMP #$B0 C1/91AA: B002 BCS $91AE C1/91AC: 8020 BRA $91CE C1/91AE: C9D0 CMP #$D0 C1/91B0: B002 BCS $91B4 C1/91B2: 801E BRA $91D2 C1/91B4: C9F0 CMP #$F0 C1/91B6: B002 BCS $91BA C1/91B8: 8019 BRA $91D3 C1/91BA: A918 LDA #$18 C1/91BC: 8017 BRA $91D5 C1/91BE: A948 LDA #$48 C1/91C0: 8013 BRA $91D5 C1/91C2: A924 LDA #$24 C1/91C4: 800F BRA $91D5 C1/91C6: A954 LDA #$54 C1/91C8: 800B BRA $91D5 C1/91CA: A93C LDA #$3C C1/91CC: 8007 BRA $91D5 C1/91CE: A930 LDA #$30 C1/91D0: 8003 BRA $91D5 C1/91D2: 60 RTS C1/91D3: A90C LDA #$0C C1/91D5: C220 REP #$20 C1/91D7: 29FF00 AND #$00FF C1/91DA: 8500 STA $00 C1/91DC: 8A TXA C1/91DD: 0500 ORA $00 C1/91DF: AA TAX C1/91E0: 60 RTS C1/91E1: BD1EE1 LDA $E11E,X C1/91E4: F008 BEQ $91EE C1/91E6: DE1FE1 DEC $E11F,X C1/91E9: 1041 BPL $922C C1/91EB: 9D1FE1 STA $E11F,X C1/91EE: BD1CE1 LDA $E11C,X C1/91F1: F019 BEQ $920C C1/91F3: C980C2 CMP #$C280 C1/91F6: 209009 JSR $0990 C1/91F9: 297F00 AND #$007F C1/91FC: 49FFFF EOR #$FFFF C1/91FF: 1A INC A C1/9200: 8003 BRA $9205 C1/9202: 297F00 AND #$007F C1/9205: 18 CLC C1/9206: 7D18E1 ADC $E118,X C1/9209: 9D18E1 STA $E118,X C1/920C: E220 SEP #$20 C1/920E: BD1DE1 LDA $E11D,X C1/9211: F019 BEQ $922C C1/9213: C980 CMP #$80 C1/9215: C220 REP #$20 C1/9217: 9009 BCC $9222 C1/9219: 297F00 AND #$007F C1/921C: 49FFFF EOR #$FFFF C1/921F: 1A INC A C1/9220: 8003 BRA $9225 C1/9222: 297F00 AND #$007F C1/9225: 18 CLC C1/9226: 7D1AE1 ADC $E11A,X C1/9229: 9D1AE1 STA $E11A,X C1/922C: E220 SEP #$20 C1/922E: BD14E1 LDA $E114,X C1/9231: 1005 BPL $9238 C1/9233: 2207A402 JSR $02A407 C1/9237: 60 RTS C1/9238: 8940 BIT #$40 C1/923A: F00A BEQ $9246 C1/923C: BD10E1 LDA $E110,X C1/923F: C905 CMP #$05 C1/9241: F004 BEQ $9247 C1/9243: FE16E1 INC $E116,X C1/9246: 60 RTS C1/9247: 22A8AC02 JSR $02ACA8 C1/924B: 60 RTS C1/924C: C220 REP #$20 C1/924E: 8A TXA C1/924F: 4A LSR A C1/9250: AA TAX C1/9251: BD26C0 LDA $C026,X C1/9254: 9D62C0 STA $C062,X C1/9257: 9D66C0 STA $C066,X C1/925A: 9D6AC0 STA $C06A,X C1/925D: BD24C0 LDA $C024,X C1/9260: 9D6CC0 STA $C06C,X C1/9263: BD00C0 LDA $C000,X C1/9266: 18 CLC C1/9267: 69000F ADC #$0F00 C1/926A: 4900FF EOR #$FF00 C1/926D: 9D24C0 STA $C024,X C1/9270: BD02C0 LDA $C002,X C1/9273: 490080 EOR #$8000 C1/9276: 9D26C0 STA $C026,X C1/9279: BD04C0 LDA $C004,X C1/927C: 18 CLC C1/927D: 69000F ADC #$0F00 C1/9280: 4900FF EOR #$FF00 C1/9283: 9D28C0 STA $C028,X C1/9286: BD06C0 LDA $C006,X C1/9289: 490080 EOR #$8000 C1/928C: 9D2AC0 STA $C02A,X C1/928F: BD08C0 LDA $C008,X C1/9292: 18 CLC C1/9293: 69000F ADC #$0F00 C1/9296: 4900FF EOR #$FF00 C1/9299: 9D2CC0 STA $C02C,X C1/929C: BD0AC0 LDA $C00A,X C1/929F: 490080 EOR #$8000 C1/92A2: 9D2EC0 STA $C02E,X C1/92A5: BD0CC0 LDA $C00C,X C1/92A8: 48 PHA C1/92A9: 18 CLC C1/92AA: 69000F ADC #$0F00 C1/92AD: 4900FF EOR #$FF00 C1/92B0: 9D48C0 STA $C048,X C1/92B3: 68 PLA C1/92B4: E220 SEP #$20 C1/92B6: 18 CLC C1/92B7: 690F ADC #$0F C1/92B9: 49FF EOR #$FF C1/92BB: C220 REP #$20 C1/92BD: 9D30C0 STA $C030,X C1/92C0: 18 CLC C1/92C1: 69000F ADC #$0F00 C1/92C4: 4900FF EOR #$FF00 C1/92C7: 9D54C0 STA $C054,X C1/92CA: BD0EC0 LDA $C00E,X C1/92CD: 490040 EOR #$4000 C1/92D0: 9D32C0 STA $C032,X C1/92D3: 4900C0 EOR #$C000 C1/92D6: 9D4AC0 STA $C04A,X C1/92D9: 490040 EOR #$4000 C1/92DC: 9D56C0 STA $C056,X C1/92DF: BD10C0 LDA $C010,X C1/92E2: 48 PHA C1/92E3: 18 CLC C1/92E4: 69000F ADC #$0F00 C1/92E7: 4900FF EOR #$FF00 C1/92EA: 9D4CC0 STA $C04C,X C1/92ED: 68 PLA C1/92EE: E220 SEP #$20 C1/92F0: 18 CLC C1/92F1: 690F ADC #$0F C1/92F3: 49FF EOR #$FF C1/92F5: C220 REP #$20 C1/92F7: 9D34C0 STA $C034,X C1/92FA: 18 CLC C1/92FB: 69000F ADC #$0F00 C1/92FE: 4900FF EOR #$FF00 C1/9301: 9D58C0 STA $C058,X C1/9304: BD12C0 LDA $C012,X C1/9307: 490040 EOR #$4000 C1/930A: 9D36C0 STA $C036,X C1/930D: 4900C0 EOR #$C000 C1/9310: 9D4EC0 STA $C04E,X C1/9313: 490040 EOR #$4000 C1/9316: 9D5AC0 STA $C05A,X C1/9319: BD14C0 LDA $C014,X C1/931C: 48 PHA C1/931D: 18 CLC C1/931E: 69000F ADC #$0F00 C1/9321: 4900FF EOR #$FF00 C1/9324: 9D50C0 STA $C050,X C1/9327: 68 PLA C1/9328: E220 SEP #$20 C1/932A: 18 CLC C1/932B: 690F ADC #$0F C1/932D: 49FF EOR #$FF C1/932F: C220 REP #$20 C1/9331: 9D38C0 STA $C038,X C1/9334: 18 CLC C1/9335: 69000F ADC #$0F00 C1/9338: 4900FF EOR #$FF00 C1/933B: 9D5CC0 STA $C05C,X C1/933E: BD16C0 LDA $C016,X C1/9341: 490040 EOR #$4000 C1/9344: 9D3AC0 STA $C03A,X C1/9347: 4900C0 EOR #$C000 C1/934A: 9D52C0 STA $C052,X C1/934D: 490040 EOR #$4000 C1/9350: 9D5EC0 STA $C05E,X C1/9353: BD18C0 LDA $C018,X C1/9356: E220 SEP #$20 C1/9358: 18 CLC C1/9359: 690F ADC #$0F C1/935B: 49FF EOR #$FF C1/935D: C220 REP #$20 C1/935F: 9D3CC0 STA $C03C,X C1/9362: BD1AC0 LDA $C01A,X C1/9365: 490040 EOR #$4000 C1/9368: 9D3EC0 STA $C03E,X C1/936B: BD1CC0 LDA $C01C,X C1/936E: E220 SEP #$20 C1/9370: 18 CLC C1/9371: 690F ADC #$0F C1/9373: 49FF EOR #$FF C1/9375: C220 REP #$20 C1/9377: 9D40C0 STA $C040,X C1/937A: BD1EC0 LDA $C01E,X C1/937D: 490040 EOR #$4000 C1/9380: 9D42C0 STA $C042,X C1/9383: BD20C0 LDA $C020,X C1/9386: E220 SEP #$20 C1/9388: 18 CLC C1/9389: 690F ADC #$0F C1/938B: 49FF EOR #$FF C1/938D: C220 REP #$20 C1/938F: 9D44C0 STA $C044,X C1/9392: BD22C0 LDA $C022,X C1/9395: 490040 EOR #$4000 C1/9398: 9D46C0 STA $C046,X C1/939B: 6B RTL C1/939C: 5A PHY C1/939D: 8901F0 BIT #$F001 C1/93A0: 2F48DA20 AND $20DA48 C1/93A4: EA NOP C1/93A5: 94E2 STY $E2,X C1/93A7: 20BD80 JSR $80BD C1/93AA: E122 SBC ($22,X) C1/93AC: 2000C1 JSR $C100 C1/93AF: FA PLX C1/93B0: E00006 CPX #$0600 C1/93B3: B00E BCS $93C3 C1/93B5: DA PHX C1/93B6: 8B PHB C1/93B7: A90048 LDA #$4800 C1/93BA: AB PLB C1/93BB: 22A8E601 JSR $01E6A8 C1/93BF: AB PLB C1/93C0: C210 REP #$10 C1/93C2: FA PLX C1/93C3: 2022E0 JSR $E022 C1/93C6: 20D3DF JSR $DFD3 C1/93C9: 223DEA00 JSR $00EA3D C1/93CD: E220 SEP #$20 C1/93CF: 68 PLA C1/93D0: 8904 BIT #$04 C1/93D2: F010 BEQ $93E4 C1/93D4: 48 PHA C1/93D5: DA PHX C1/93D6: 9E69E0 STZ $E069,X C1/93D9: 20EA94 JSR $94EA C1/93DC: 22F4E900 JSR $00E9F4 C1/93E0: E220 SEP #$20 C1/93E2: FA PLX C1/93E3: 68 PLA C1/93E4: 7A PLY C1/93E5: 8902 BIT #$02 C1/93E7: D001 BNE $93EA C1/93E9: 60 RTS C1/93EA: C220 REP #$20 C1/93EC: 98 TYA C1/93ED: E220 SEP #$20 C1/93EF: EB XBA C1/93F0: 1071 BPL $9463 C1/93F2: 20EA94 JSR $94EA C1/93F5: E00006 CPX #$0600 C1/93F8: B004 BCS $93FE C1/93FA: 221EB002 JSR $02B01E C1/93FE: BD91E1 LDA $E191,X C1/9401: 102C BPL $942F C1/9403: 9E67E0 STZ $E067,X C1/9406: E00006 CPX #$0600 C1/9409: B0DE BCS $93E9 C1/940B: BD2CE0 LDA $E02C,X C1/940E: D005 BNE $9415 C1/9410: BD8CE0 LDA $E08C,X C1/9413: F01A BEQ $942F C1/9415: 9E2CE0 STZ $E02C,X C1/9418: 9E8CE0 STZ $E08C,X C1/941B: DA PHX C1/941C: E210 SEP #$10 C1/941E: 3A DEC A C1/941F: C903 CMP #$03 C1/9421: 9002 BCC $9425 C1/9423: A902 LDA #$02 C1/9425: AA TAX C1/9426: 74D9 STZ $D9,X C1/9428: 22BBBD00 JSR $00BDBB C1/942C: C210 REP #$10 C1/942E: FA PLX C1/942F: AD00E0 LDA $E000 C1/9432: F007 BEQ $943B C1/9434: 3005 BMI $943B C1/9436: AD91E1 LDA $E191 C1/9439: 1027 BPL $9462 C1/943B: AD00E2 LDA $E200 C1/943E: F007 BEQ $9447 C1/9440: 3005 BMI $9447 C1/9442: AD91E3 LDA $E391 C1/9445: 101B BPL $9462 C1/9447: AD00E4 LDA $E400 C1/944A: F007 BEQ $9453 C1/944C: 3005 BMI $9453 C1/944E: AD91E5 LDA $E591 C1/9451: 100F BPL $9462 C1/9453: DA PHX C1/9454: C220 REP #$20 C1/9456: 64D4 STZ $D4 C1/9458: A9FF07 LDA #$07FF C1/945B: 226DE701 JSR $01E76D C1/945F: C210 REP #$10 C1/9461: FA PLX C1/9462: 60 RTS C1/9463: 8920F0 BIT #$F020 C1/9466: 0B PHD C1/9467: 48 PHA C1/9468: EB XBA C1/9469: 48 PHA C1/946A: 2022E0 JSR $E022 C1/946D: E220 SEP #$20 C1/946F: 68 PLA C1/9470: EB XBA C1/9471: 68 PLA C1/9472: 8941 BIT #$41 C1/9474: D005 BNE $947B C1/9476: EB XBA C1/9477: 8960 BIT #$60 C1/9479: F06E BEQ $94E9 C1/947B: E00006 CPX #$0600 C1/947E: B018 BCS $9498 C1/9480: BD91E1 LDA $E191,X C1/9483: 8941 BIT #$41 C1/9485: D007 BNE $948E C1/9487: BD90E1 LDA $E190,X C1/948A: 8960 BIT #$60 C1/948C: F027 BEQ $94B5 C1/948E: BD8CE0 LDA $E08C,X C1/9491: D005 BNE $9498 C1/9493: BD2CE0 LDA $E02C,X C1/9496: D001 BNE $9499 C1/9498: 60 RTS C1/9499: 9D8CE0 STA $E08C,X C1/949C: 9E2CE0 STZ $E02C,X C1/949F: 9E64E0 STZ $E064,X C1/94A2: 9E62E0 STZ $E062,X C1/94A5: 9E06E0 STZ $E006,X C1/94A8: 9E07E0 STZ $E007,X C1/94AB: DA PHX C1/94AC: BD80E1 LDA $E180,X C1/94AF: 222000C1 JSR $C10020 C1/94B3: FA PLX C1/94B4: 60 RTS C1/94B5: BD8CE0 LDA $E08C,X C1/94B8: D001 BNE $94BB C1/94BA: 60 RTS C1/94BB: 9E8CE0 STZ $E08C,X C1/94BE: 8500 STA $00 C1/94C0: BD2CE0 LDA $E02C,X C1/94C3: D0F5 BNE $94BA C1/94C5: A900 LDA #$00 C1/94C7: EB XBA C1/94C8: A500 LDA $00 C1/94CA: 3A DEC A C1/94CB: C903 CMP #$03 C1/94CD: 9002 BCC $94D1 C1/94CF: A902 LDA #$02 C1/94D1: A8 TAY C1/94D2: B9D900 LDA $00D9,Y C1/94D5: F0E3 BEQ $94BA C1/94D7: A500 LDA $00 C1/94D9: 9D2CE0 STA $E02C,X C1/94DC: 9E13E0 STZ $E013,X C1/94DF: DA PHX C1/94E0: 68 PLA C1/94E1: 68 PLA C1/94E2: D002 BNE $94E6 C1/94E4: A901 LDA #$01 C1/94E6: 99D900 STA $00D9,Y C1/94E9: 60 RTS C1/94EA: 206CCA JSR $CA6C C1/94ED: BD60E0 LDA $E060,X C1/94F0: F002 BEQ $94F4 C1/94F2: E220 SEP #$20 C1/94F4: 9E1CE0 STZ $E01C,X C1/94F7: 9E11E0 STZ $E011,X C1/94FA: 9E84E0 STZ $E084,X C1/94FD: 9E60E0 STZ $E060,X C1/9500: 9E61E0 STZ $E061,X C1/9503: 9E64E0 STZ $E064,X C1/9506: 9E62E0 STZ $E062,X C1/9509: 9E0AE0 STZ $E00A,X C1/950C: 60 RTS [What the hell is this shit?] [A horrid mess of code duplication, that's what.] [Related to Combat Zone Flag, updating character sprites in set places in VRAM] [VRAM Sprite Placement] [Called every frame] C1/950D: C220 REP #$20 C1/950F: E210 SEP #$10 C1/9511: 0B PHD C1/9512: A90043 LDA #$4300 [Tricksy bastards] C1/9515: 5B TCD C1/9516: A200 LDX #$00 C1/9518: 8646 STX $46 [Store X into DMA Size Channel 4] C1/951A: 8656 STX $56 C1/951C: 8666 STX $66 C1/951E: 8676 STX $76 C1/9520: A90118 LDA #$1801 {VRAM Data Write, 2 Registers Write Once?} C1/9523: 8540 STA $40 [Store into DMA Control Channel 4] C1/9525: 8550 STA $50 C1/9527: 8560 STA $60 C1/9529: 8570 STA $70 C1/952B: A280 LDX #$80 {increment after writing $2119} C1/952D: 8E1521 STX $2115 [Store into Video Port Control] C1/9530: AD5600 LDA $0056 C1/9533: 0A ASL A C1/9534: AA TAX C1/9535: ACED00 LDY $00ED [Combat Zone Flag?] C1/9538: D003 + BNE $953D C1/953A: 7C5C95 JMP ($955C,X) C1/953D: + AC5C00 LDY $005C C1/9540: 1003 + BPL $9545 C1/9542: 7C5295 JMP ($9552,X) C1/9545: + 7C4895 JMP ($9548,X) ;For later use: STA $2116 [Store into VRAM Address Low Byte] [$5C positive] {How are $5C positive and $5C nonpositive different?} [Normal combat zones] C1/9548: 7F9D [NPC #1?] C1/954A: 85A1 [NPC #2?] C1/954C: 8BA5 [NPC #3?] C1/954E: BC95 [Boy, Girl, Sprite?] C1/9550: CB99 [Girl, Sprite] [$5C nonpositive] C1/9552: 6695 [Enemy #1] C1/9554: 6D95 [Enemy #2] C1/9556: 7495 [Enemy #3] C1/9558: BC95 [Boy, Girl, Sprite?] C1/955A: CB99 [Girl, Sprite] [$ED == 0] {i.e., we're in a town or some other nonaggressive area} C1/955C: 91A9 [NPC #1, NPC #2, NPC #3?] C1/955E: C7AB [NPC #4, NPC #5, NPC #6?] C1/9560: FDAD [NPC #7, NPC #8, NPC #9?] C1/9562: BC95 [Boy, Girl, Sprite?] C1/9564: CB99 [Girl, Sprite?] [Something that checks enemy slots] {Enemy #1} C1/9566: C210 REP #$10 C1/9568: A20006 LDX #$0600 C1/956B: 800C BRA $9579 {Enemy #2} C1/956D: C210 REP #$10 C1/956F: A20008 LDX #$0800 C1/9572: 8005 BRA $9579 {Enemy #3} C1/9574: C210 REP #$10 C1/9576: A2000A LDX #$0A00 {Common} C1/9579: E220 SEP #$20 C1/957B: BF60E07E LDA $7EE060,X C1/957F: F033 + BEQ $95B4 [No bits set] C1/9581: 3012 ++ BMI $9595 [$7EE060,X with 0x80 set] C1/9583: BF61E07E LDA $7EE061,X C1/9587: F02B + BEQ $95B4 C1/9589: A900 LDA #$00 C1/958B: 9F61E07E STA $7EE061,X C1/958F: DA PHX C1/9590: 220900C2 JSR $C20009 [...?] C1/9594: FA PLX {} C1/9595: ++ E00006 CPX #$0600 C1/9598: F013 ++ BEQ $95AD C1/959A: E00008 CPX #$0800 C1/959D: F007 +! BEQ $95A6 {Enemy #3} C1/959F: C220 REP #$20 C1/95A1: E210 SEP #$10 C1/95A3: 821012 BRL $A7B6 {Enemy #2} C1/95A6: +! C220 REP #$20 C1/95A8: E210 SEP #$10 C1/95AA: 82030E BRL $A3B0 {Enemy #1} C1/95AD: ++ C220 REP #$20 C1/95AF: E210 SEP #$10 C1/95B1: 82F609 BRL $9FAA {} C1/95B4: + 2B PLD C1/95B5: C230 REP #$30 C1/95B7: 220900C2 JSR $C20009 C1/95BB: 6B RTL ;Basic pattern for each of these sections: ;Load and store the VRAM address (word addresses, cut off the 0 and multiply by 2 to find the byte address) ;Load and store each sprite address (not sure how they're loaded into $0C00 et al. yet) [Boy, Girl, Sprite?] {Boy Section} [Source Addresses: 7C00~7D40] C1/95BC: AF83E07E LDA $7EE083 C1/95C0: AA TAX C1/95C1: D003 + BNE $95C6 C1/95C3: 82B200 BRL $9678 {$7EE083 - 0: Head} [DMA Addresses: 0C00~0C0E] C1/95C6: + A9007C LDA #$7C00 {Upper half of head, body sprites} C1/95C9: 8D1621 STA $2116 [VRAM Address] C1/95CC: AD000C LDA $0C00 C1/95CF: 8542 STA $42 [DMA Source Address Channel 4] C1/95D1: AD020C LDA $0C02 C1/95D4: 8552 STA $52 [DMA Source Address Channel 5] C1/95D6: AD080C LDA $0C08 C1/95D9: 8562 STA $62 [DMA Source Address Channel 6] C1/95DB: AD0A0C LDA $0C0A C1/95DE: 8572 STA $72 [DMA Source Address Channel 7] C1/95E0: AF82E07E LDA $7EE082 [Load Sprite Pointer Bank] C1/95E4: 29FF00 AND #$00FF C1/95E7: 090020 ORA #$2000 {DMA Size} C1/95EA: 8544 STA $44 [DMA Source Bank/Size Channel 4] C1/95EC: 8554 STA $54 [DMA Source Bank/Size Channel 5] C1/95EE: 8564 STA $64 [DMA Source Bank/Size Channel 6] C1/95F0: 8574 STA $74 [DMA Source Bank/Size Channel 7] C1/95F2: A0F0 LDY #$F0 C1/95F4: 8C0B42 STY $420B [Store into DMA Enable] {Channels 7~4} {} C1/95F7: A9007D LDA #$7D00 {Lower half of head, body sprites} C1/95FA: 8D1621 STA $2116 [VRAM Address] C1/95FD: AD040C LDA $0C04 C1/9600: 8542 STA $42 [DMA Source Address Channel 4] C1/9602: AD060C LDA $0C06 C1/9605: 8552 STA $52 [DMA Source Address Channel 5] C1/9607: AD0C0C LDA $0C0C C1/960A: 8562 STA $62 [DMA Source Address Channel 6] C1/960C: AD0E0C LDA $0C0E C1/960F: 8572 STA $72 [DMA Source Address Channel 7] C1/9611: A020 LDY #$20 C1/9613: 8445 STY $45 [DMA Size Channel 4] C1/9615: 8455 STY $55 [DMA Size Channel 5] C1/9617: 8465 STY $65 [DMA Size Channel 6] C1/9619: 8475 STY $75 [DMA Size Channel 7] C1/961B: A0F0 LDY #$F0 C1/961D: 8C0B42 STY $420B [Store into DMA Enable] {Channels 7~4} C1/9620: CA DEX C1/9621: F055 BEQ $9678 C1/9623: CA DEX C1/9624: F052 BEQ $9678 {$7EE083 - 2} C1/9626: A9407C LDA #$7C40 C1/9629: 8D1621 STA $2116 [VRAM Address] C1/962C: AD100C LDA $0C10 C1/962F: 8542 STA $42 [DMA Source Address Channel 4] C1/9631: AD120C LDA $0C12 C1/9634: 8552 STA $52 [DMA Source Address Channel 4] C1/9636: AD180C LDA $0C18 C1/9639: 8562 STA $62 [DMA Source Address Channel 4] C1/963B: AD1A0C LDA $0C1A C1/963E: 8572 STA $72 [DMA Source Address Channel 4] C1/9640: A020 LDY #$20 C1/9642: 8445 STY $45 [DMA Size Channel 4] C1/9644: 8455 STY $55 [DMA Size Channel 5] C1/9646: 8465 STY $65 [DMA Size Channel 6] C1/9648: 8475 STY $75 [DMA Size Channel 7] C1/964A: A0F0 LDY #$F0 C1/964C: 8C0B42 STY $420B [Store into DMA Enable] {Channels 7~4} {} C1/964F: A9407D LDA #$7D40 C1/9652: 8D1621 STA $2116 [VRAM Address] C1/9655: AD140C LDA $0C14 C1/9658: 8542 STA $42 [DMA Source Address Channel 4] C1/965A: AD160C LDA $0C16 C1/965D: 8552 STA $52 [DMA Source Address Channel 5] C1/965F: AD1C0C LDA $0C1C C1/9662: 8562 STA $62 [DMA Source Address Channel 6] C1/9664: AD1E0C LDA $0C1E C1/9667: 8572 STA $72 [DMA Source Address Channel 7] C1/9669: A020 LDY #$20 C1/966B: 8445 STY $45 [DMA Size Channel 4] C1/966D: 8455 STY $55 [DMA Size Channel 5] C1/966F: 8465 STY $65 [DMA Size Channel 6] C1/9671: 8475 STY $75 [DMA Size Channel 7] C1/9673: A0F0 LDY #$F0 C1/9675: 8C0B42 STY $420B [Store into DMA Enable] {Channels 7~4} {Girl Section} [Source Addresses: 7C80~7DC0] C1/9678: AF83E27E LDA $7EE283 C1/967C: AA TAX C1/967D: D003 BNE $9682 C1/967F: 82B200 BRL $9734 {$7EE283 - 0} [DMA Addresses: $0C20~$0C2E] C1/9682: A9807C LDA #$7C80 C1/9685: 8D1621 STA $2116 [VRAM Address] C1/9688: AD200C LDA $0C20 C1/968B: 8542 STA $42 C1/968D: AD220C LDA $0C22 C1/9690: 8552 STA $52 C1/9692: AD280C LDA $0C28 C1/9695: 8562 STA $62 C1/9697: AD2A0C LDA $0C2A C1/969A: 8572 STA $72 C1/969C: AF82E27E LDA $7EE282 C1/96A0: 29FF00 AND #$00FF C1/96A3: 090020 ORA #$2000 C1/96A6: 8544 STA $44 C1/96A8: 8554 STA $54 C1/96AA: 8564 STA $64 C1/96AC: 8574 STA $74 C1/96AE: A0F0 LDY #$F0 C1/96B0: 8C0B42 STY $420B {} C1/96B3: A9807D LDA #$7D80 C1/96B6: 8D1621 STA $2116 [VRAM Address] C1/96B9: AD240C LDA $0C24 C1/96BC: 8542 STA $42 C1/96BE: AD260C LDA $0C26 C1/96C1: 8552 STA $52 C1/96C3: AD2C0C LDA $0C2C C1/96C6: 8562 STA $62 C1/96C8: AD2E0C LDA $0C2E C1/96CB: 8572 STA $72 C1/96CD: A020 LDY #$20 C1/96CF: 8445 STY $45 C1/96D1: 8455 STY $55 C1/96D3: 8465 STY $65 C1/96D5: 8475 STY $75 C1/96D7: A0F0 LDY #$F0 C1/96D9: 8C0B42 STY $420B C1/96DC: CA DEX C1/96DD: F055 BEQ $9734 C1/96DF: CA DEX C1/96E0: F052 BEQ $9734 {$7EE283 - 2} [DMA Addresses: $0C30~$0C3E] C1/96E2: A9C07C LDA #$7CC0 C1/96E5: 8D1621 STA $2116 [VRAM Address] C1/96E8: AD300C LDA $0C30 C1/96EB: 8542 STA $42 C1/96ED: AD320C LDA $0C32 C1/96F0: 8552 STA $52 C1/96F2: AD380C LDA $0C38 C1/96F5: 8562 STA $62 C1/96F7: AD3A0C LDA $0C3A C1/96FA: 8572 STA $72 C1/96FC: A020 LDY #$20 C1/96FE: 8445 STY $45 C1/9700: 8455 STY $55 C1/9702: 8465 STY $65 C1/9704: 8475 STY $75 C1/9706: A0F0 LDY #$F0 C1/9708: 8C0B42 STY $420B {} C1/970B: A9C07D LDA #$7DC0 C1/970E: 8D1621 STA $2116 [VRAM Address] C1/9711: AD340C LDA $0C34 C1/9714: 8542 STA $42 C1/9716: AD360C LDA $0C36 C1/9719: 8552 STA $52 C1/971B: AD3C0C LDA $0C3C C1/971E: 8562 STA $62 C1/9720: AD3E0C LDA $0C3E C1/9723: 8572 STA $72 C1/9725: A020 LDY #$20 C1/9727: 8445 STY $45 C1/9729: 8455 STY $55 C1/972B: 8465 STY $65 C1/972D: 8475 STY $75 C1/972F: A0F0 LDY #$F0 C1/9731: 8C0B42 STY $420B {Sprite Section} [Source Addresses: 7E00~$7F40] [DMA Addresses: $0C40~$0C4E] C1/9734: AF83E47E LDA $7EE483 C1/9738: AA TAX C1/9739: D003 BNE $973E C1/973B: 82B200 BRL $97F0 {$7EE483 - 0} C1/973E: A9007E LDA #$7E00 C1/9741: 8D1621 STA $2116 [VRAM Address] C1/9744: AD400C LDA $0C40 C1/9747: 8542 STA $42 C1/9749: AD420C LDA $0C42 C1/974C: 8552 STA $52 C1/974E: AD480C LDA $0C48 C1/9751: 8562 STA $62 C1/9753: AD4A0C LDA $0C4A C1/9756: 8572 STA $72 C1/9758: AF82E47E LDA $7EE482 C1/975C: 29FF00 AND #$00FF C1/975F: 090020 ORA #$2000 C1/9762: 8544 STA $44 C1/9764: 8554 STA $54 C1/9766: 8564 STA $64 C1/9768: 8574 STA $74 C1/976A: A0F0 LDY #$F0 C1/976C: 8C0B42 STY $420B {} C1/976F: A9007F LDA #$7F00 C1/9772: 8D1621 STA $2116 [VRAM Address] C1/9775: AD440C LDA $0C44 C1/9778: 8542 STA $42 C1/977A: AD460C LDA $0C46 C1/977D: 8552 STA $52 C1/977F: AD4C0C LDA $0C4C C1/9782: 8562 STA $62 C1/9784: AD4E0C LDA $0C4E C1/9787: 8572 STA $72 C1/9789: A020 LDY #$20 C1/978B: 8445 STY $45 C1/978D: 8455 STY $55 C1/978F: 8465 STY $65 C1/9791: 8475 STY $75 C1/9793: A0F0 LDY #$F0 C1/9795: 8C0B42 STY $420B C1/9798: CA DEX C1/9799: F055 BEQ $97F0 C1/979B: CA DEX C1/979C: F052 BEQ $97F0 {$7EE483 - 2} [DMA Addresses: $0C50~$0C5E] C1/979E: A9407E LDA #$7E40 C1/97A1: 8D1621 STA $2116 [VRAM Address] C1/97A4: AD500C LDA $0C50 C1/97A7: 8542 STA $42 C1/97A9: AD520C LDA $0C52 C1/97AC: 8552 STA $52 C1/97AE: AD580C LDA $0C58 C1/97B1: 8562 STA $62 C1/97B3: AD5A0C LDA $0C5A C1/97B6: 8572 STA $72 C1/97B8: A020 LDY #$20 C1/97BA: 8445 STY $45 C1/97BC: 8455 STY $55 C1/97BE: 8465 STY $65 C1/97C0: 8475 STY $75 C1/97C2: A0F0 LDY #$F0 C1/97C4: 8C0B42 STY $420B {} C1/97C7: A9407F LDA #$7F40 C1/97CA: 8D1621 STA $2116 [VRAM Address] C1/97CD: AD540C LDA $0C54 C1/97D0: 8542 STA $42 C1/97D2: AD560C LDA $0C56 C1/97D5: 8552 STA $52 C1/97D7: AD5C0C LDA $0C5C C1/97DA: 8562 STA $62 C1/97DC: AD5E0C LDA $0C5E C1/97DF: 8572 STA $72 C1/97E1: A020 LDY #$20 C1/97E3: 8445 STY $45 C1/97E5: 8455 STY $55 C1/97E7: 8465 STY $65 C1/97E9: 8475 STY $75 C1/97EB: A0F0 LDY #$F0 C1/97ED: 8C0B42 STY $420B {Boy Section #2} [Source addresses: 7440~7740] C1/97F0: AF84E07E LDA $7EE084 C1/97F4: AA TAX C1/97F5: D003 BNE $97FA C1/97F7: 82BC01 BRL $99B6 {$7EE084 - 0} C1/97FA: A94074 LDA #$7440 C1/97FD: 8D1621 STA $2116 C1/9800: AD600C LDA $0C60 C1/9803: 8542 STA $42 C1/9805: AD620C LDA $0C62 C1/9808: 8552 STA $52 C1/980A: AD680C LDA $0C68 C1/980D: 8562 STA $62 C1/980F: AD6A0C LDA $0C6A C1/9812: 8572 STA $72 C1/9814: A97E20 LDA #$207E C1/9817: 8544 STA $44 C1/9819: 8554 STA $54 C1/981B: 8564 STA $64 C1/981D: 8574 STA $74 C1/981F: A0F0 LDY #$F0 C1/9821: 8C0B42 STY $420B {} C1/9824: A94075 LDA #$7540 C1/9827: 8D1621 STA $2116 C1/982A: AD640C LDA $0C64 C1/982D: 8542 STA $42 C1/982F: AD660C LDA $0C66 C1/9832: 8552 STA $52 C1/9834: AD6C0C LDA $0C6C C1/9837: 8562 STA $62 C1/9839: AD6E0C LDA $0C6E C1/983C: 8572 STA $72 C1/983E: A020 LDY #$20 C1/9840: 8445 STY $45 C1/9842: 8455 STY $55 C1/9844: 8465 STY $65 C1/9846: 8475 STY $75 C1/9848: A0F0 LDY #$F0 C1/984A: 8C0B42 STY $420B C1/984D: CA DEX C1/984E: D003 BNE $9853 C1/9850: 826301 BRL $99B6 C1/9853: CA DEX C1/9854: F0FA BEQ $9850 {} C1/9856: A98074 LDA #$7480 C1/9859: 8D1621 STA $2116 C1/985C: AD700C LDA $0C70 C1/985F: 8542 STA $42 C1/9861: AD720C LDA $0C72 C1/9864: 8552 STA $52 C1/9866: AD780C LDA $0C78 C1/9869: 8562 STA $62 C1/986B: AD7A0C LDA $0C7A C1/986E: 8572 STA $72 C1/9870: A020 LDY #$20 C1/9872: 8445 STY $45 C1/9874: 8455 STY $55 C1/9876: 8465 STY $65 C1/9878: 8475 STY $75 C1/987A: A0F0 LDY #$F0 C1/987C: 8C0B42 STY $420B {} C1/987F: A98075 LDA #$7580 C1/9882: 8D1621 STA $2116 C1/9885: AD740C LDA $0C74 C1/9888: 8542 STA $42 C1/988A: AD760C LDA $0C76 C1/988D: 8552 STA $52 C1/988F: AD7C0C LDA $0C7C C1/9892: 8562 STA $62 C1/9894: AD7E0C LDA $0C7E C1/9897: 8572 STA $72 C1/9899: A020 LDY #$20 C1/989B: 8445 STY $45 C1/989D: 8455 STY $55 C1/989F: 8465 STY $65 C1/98A1: 8475 STY $75 C1/98A3: A0F0 LDY #$F0 C1/98A5: 8C0B42 STY $420B C1/98A8: CA DEX C1/98A9: D003 BNE $98AE C1/98AB: 820801 BRL $99B6 C1/98AE: CA DEX C1/98AF: F0FA BEQ $98AB {} C1/98B1: A9C074 LDA #$74C0 C1/98B4: 8D1621 STA $2116 C1/98B7: AD800C LDA $0C80 C1/98BA: 8542 STA $42 C1/98BC: AD820C LDA $0C82 C1/98BF: 8552 STA $52 C1/98C1: AD880C LDA $0C88 C1/98C4: 8562 STA $62 C1/98C6: AD8A0C LDA $0C8A C1/98C9: 8572 STA $72 C1/98CB: A020 LDY #$20 C1/98CD: 8445 STY $45 C1/98CF: 8455 STY $55 C1/98D1: 8465 STY $65 C1/98D3: 8475 STY $75 C1/98D5: A0F0 LDY #$F0 C1/98D7: 8C0B42 STY $420B {} C1/98DA: A9C075 LDA #$75C0 C1/98DD: 8D1621 STA $2116 C1/98E0: AD840C LDA $0C84 C1/98E3: 8542 STA $42 C1/98E5: AD860C LDA $0C86 C1/98E8: 8552 STA $52 C1/98EA: AD8C0C LDA $0C8C C1/98ED: 8562 STA $62 C1/98EF: AD8E0C LDA $0C8E C1/98F2: 8572 STA $72 C1/98F4: A020 LDY #$20 C1/98F6: 8445 STY $45 C1/98F8: 8455 STY $55 C1/98FA: 8465 STY $65 C1/98FC: 8475 STY $75 C1/98FE: A0F0 LDY #$F0 C1/9900: 8C0B42 STY $420B C1/9903: CA DEX C1/9904: D003 BNE $9909 C1/9906: 82AD00 BRL $99B6 C1/9909: CA DEX C1/990A: F0FA BEQ $9906 {} C1/990C: A90076 LDA #$7600 C1/990F: 8D1621 STA $2116 C1/9912: AD900C LDA $0C90 C1/9915: 8542 STA $42 C1/9917: AD920C LDA $0C92 C1/991A: 8552 STA $52 C1/991C: AD980C LDA $0C98 C1/991F: 8562 STA $62 C1/9921: AD9A0C LDA $0C9A C1/9924: 8572 STA $72 C1/9926: A020 LDY #$20 C1/9928: 8445 STY $45 C1/992A: 8455 STY $55 C1/992C: 8465 STY $65 C1/992E: 8475 STY $75 C1/9930: A0F0 LDY #$F0 C1/9932: 8C0B42 STY $420B {} C1/9935: A90077 LDA #$7700 C1/9938: 8D1621 STA $2116 C1/993B: AD940C LDA $0C94 C1/993E: 8542 STA $42 C1/9940: AD960C LDA $0C96 C1/9943: 8552 STA $52 C1/9945: AD9C0C LDA $0C9C C1/9948: 8562 STA $62 C1/994A: AD9E0C LDA $0C9E C1/994D: 8572 STA $72 C1/994F: A020 LDY #$20 C1/9951: 8445 STY $45 C1/9953: 8455 STY $55 C1/9955: 8465 STY $65 C1/9957: 8475 STY $75 C1/9959: A0F0 LDY #$F0 C1/995B: 8C0B42 STY $420B C1/995E: CA DEX C1/995F: F055 BEQ $99B6 C1/9961: CA DEX C1/9962: F052 BEQ $99B6 {} C1/9964: A94076 LDA #$7640 C1/9967: 8D1621 STA $2116 C1/996A: ADA00C LDA $0CA0 C1/996D: 8542 STA $42 C1/996F: ADA20C LDA $0CA2 C1/9972: 8552 STA $52 C1/9974: ADA80C LDA $0CA8 C1/9977: 8562 STA $62 C1/9979: ADAA0C LDA $0CAA C1/997C: 8572 STA $72 C1/997E: A020 LDY #$20 C1/9980: 8445 STY $45 C1/9982: 8455 STY $55 C1/9984: 8465 STY $65 C1/9986: 8475 STY $75 C1/9988: A0F0 LDY #$F0 C1/998A: 8C0B42 STY $420B {} C1/998D: A94077 LDA #$7740 C1/9990: 8D1621 STA $2116 C1/9993: ADA40C LDA $0CA4 C1/9996: 8542 STA $42 C1/9998: ADA60C LDA $0CA6 C1/999B: 8552 STA $52 C1/999D: ADAC0C LDA $0CAC C1/99A0: 8562 STA $62 C1/99A2: ADAE0C LDA $0CAE C1/99A5: 8572 STA $72 C1/99A7: A020 LDY #$20 C1/99A9: 8445 STY $45 C1/99AB: 8455 STY $55 C1/99AD: 8465 STY $65 C1/99AF: 8475 STY $75 C1/99B1: A0F0 LDY #$F0 C1/99B3: 8C0B42 STY $420B {End} C1/99B6: AF8DE07E LDA $7EE08D C1/99BA: AA TAX C1/99BB: F00C BEQ $99C9 C1/99BD: 2900FF AND #$FF00 C1/99C0: 8F8DE07E STA $7EE08D C1/99C4: A204 LDX #$04 C1/99C6: 829BFF BRL $9964 C1/99C9: 2B PLD C1/99CA: 6B RTL [Girl, Sprite?] [Source addresses: 7680~7BC0] [Addresses: 7680, 7780, 76C0, 77C0, 7800, 7900, 7840, 7940, C1/99CB: AF84E27E LDA $7EE284 C1/99CF: AA TAX C1/99D0: D003 BNE $99D5 C1/99D2: 82BC01 BRL $9B91 {} C1/99D5: A98076 LDA #$7680 C1/99D8: 8D1621 STA $2116 C1/99DB: ADB00C LDA $0CB0 C1/99DE: 8542 STA $42 C1/99E0: ADB20C LDA $0CB2 C1/99E3: 8552 STA $52 C1/99E5: ADB80C LDA $0CB8 C1/99E8: 8562 STA $62 C1/99EA: ADBA0C LDA $0CBA C1/99ED: 8572 STA $72 C1/99EF: A97E20 LDA #$207E C1/99F2: 8544 STA $44 C1/99F4: 8554 STA $54 C1/99F6: 8564 STA $64 C1/99F8: 8574 STA $74 C1/99FA: A0F0 LDY #$F0 C1/99FC: 8C0B42 STY $420B {} C1/99FF: A98077 LDA #$7780 C1/9A02: 8D1621 STA $2116 C1/9A05: ADB40C LDA $0CB4 C1/9A08: 8542 STA $42 C1/9A0A: ADB60C LDA $0CB6 C1/9A0D: 8552 STA $52 C1/9A0F: ADBC0C LDA $0CBC C1/9A12: 8562 STA $62 C1/9A14: ADBE0C LDA $0CBE C1/9A17: 8572 STA $72 C1/9A19: A020 LDY #$20 C1/9A1B: 8445 STY $45 C1/9A1D: 8455 STY $55 C1/9A1F: 8465 STY $65 C1/9A21: 8475 STY $75 C1/9A23: A0F0 LDY #$F0 C1/9A25: 8C0B42 STY $420B C1/9A28: CA DEX C1/9A29: D003 BNE $9A2E C1/9A2B: 826301 BRL $9B91 C1/9A2E: CA DEX C1/9A2F: F0FA BEQ $9A2B {} C1/9A31: A9C076 LDA #$76C0 C1/9A34: 8D1621 STA $2116 C1/9A37: ADC00C LDA $0CC0 C1/9A3A: 8542 STA $42 C1/9A3C: ADC20C LDA $0CC2 C1/9A3F: 8552 STA $52 C1/9A41: ADC80C LDA $0CC8 C1/9A44: 8562 STA $62 C1/9A46: ADCA0C LDA $0CCA C1/9A49: 8572 STA $72 C1/9A4B: A020 LDY #$20 C1/9A4D: 8445 STY $45 C1/9A4F: 8455 STY $55 C1/9A51: 8465 STY $65 C1/9A53: 8475 STY $75 C1/9A55: A0F0 LDY #$F0 C1/9A57: 8C0B42 STY $420B {} C1/9A5A: A9C077 LDA #$77C0 C1/9A5D: 8D1621 STA $2116 C1/9A60: ADC40C LDA $0CC4 C1/9A63: 8542 STA $42 C1/9A65: ADC60C LDA $0CC6 C1/9A68: 8552 STA $52 C1/9A6A: ADCC0C LDA $0CCC C1/9A6D: 8562 STA $62 C1/9A6F: ADCE0C LDA $0CCE C1/9A72: 8572 STA $72 C1/9A74: A020 LDY #$20 C1/9A76: 8445 STY $45 C1/9A78: 8455 STY $55 C1/9A7A: 8465 STY $65 C1/9A7C: 8475 STY $75 C1/9A7E: A0F0 LDY #$F0 C1/9A80: 8C0B42 STY $420B C1/9A83: CA DEX C1/9A84: D003 BNE $9A89 C1/9A86: 820801 BRL $9B91 C1/9A89: CA DEX C1/9A8A: F0FA BEQ $9A86 {} C1/9A8C: A90078 LDA #$7800 C1/9A8F: 8D1621 STA $2116 C1/9A92: ADD00C LDA $0CD0 C1/9A95: 8542 STA $42 C1/9A97: ADD20C LDA $0CD2 C1/9A9A: 8552 STA $52 C1/9A9C: ADD80C LDA $0CD8 C1/9A9F: 8562 STA $62 C1/9AA1: ADDA0C LDA $0CDA C1/9AA4: 8572 STA $72 C1/9AA6: A020 LDY #$20 C1/9AA8: 8445 STY $45 C1/9AAA: 8455 STY $55 C1/9AAC: 8465 STY $65 C1/9AAE: 8475 STY $75 C1/9AB0: A0F0 LDY #$F0 C1/9AB2: 8C0B42 STY $420B {} C1/9AB5: A90079 LDA #$7900 C1/9AB8: 8D1621 STA $2116 C1/9ABB: ADD40C LDA $0CD4 C1/9ABE: 8542 STA $42 C1/9AC0: ADD60C LDA $0CD6 C1/9AC3: 8552 STA $52 C1/9AC5: ADDC0C LDA $0CDC C1/9AC8: 8562 STA $62 C1/9ACA: ADDE0C LDA $0CDE C1/9ACD: 8572 STA $72 C1/9ACF: A020 LDY #$20 C1/9AD1: 8445 STY $45 C1/9AD3: 8455 STY $55 C1/9AD5: 8465 STY $65 C1/9AD7: 8475 STY $75 C1/9AD9: A0F0 LDY #$F0 C1/9ADB: 8C0B42 STY $420B C1/9ADE: CA DEX C1/9ADF: D003 BNE $9AE4 C1/9AE1: 82AD00 BRL $9B91 C1/9AE4: CA DEX C1/9AE5: F0FA BEQ $9AE1 {} C1/9AE7: A94078 LDA #$7840 C1/9AEA: 8D1621 STA $2116 C1/9AED: ADE00C LDA $0CE0 C1/9AF0: 8542 STA $42 C1/9AF2: ADE20C LDA $0CE2 C1/9AF5: 8552 STA $52 C1/9AF7: ADE80C LDA $0CE8 C1/9AFA: 8562 STA $62 C1/9AFC: ADEA0C LDA $0CEA C1/9AFF: 8572 STA $72 C1/9B01: A020 LDY #$20 C1/9B03: 8445 STY $45 C1/9B05: 8455 STY $55 C1/9B07: 8465 STY $65 C1/9B09: 8475 STY $75 C1/9B0B: A0F0 LDY #$F0 C1/9B0D: 8C0B42 STY $420B {} C1/9B10: A94079 LDA #$7940 C1/9B13: 8D1621 STA $2116 C1/9B16: ADE40C LDA $0CE4 C1/9B19: 8542 STA $42 C1/9B1B: ADE60C LDA $0CE6 C1/9B1E: 8552 STA $52 C1/9B20: ADEC0C LDA $0CEC C1/9B23: 8562 STA $62 C1/9B25: ADEE0C LDA $0CEE C1/9B28: 8572 STA $72 C1/9B2A: A020 LDY #$20 C1/9B2C: 8445 STY $45 C1/9B2E: 8455 STY $55 C1/9B30: 8465 STY $65 C1/9B32: 8475 STY $75 C1/9B34: A0F0 LDY #$F0 C1/9B36: 8C0B42 STY $420B C1/9B39: CA DEX C1/9B3A: F055 BEQ $9B91 C1/9B3C: CA DEX C1/9B3D: F052 BEQ $9B91 {} C1/9B3F: A98078 LDA #$7880 C1/9B42: 8D1621 STA $2116 C1/9B45: ADF00C LDA $0CF0 C1/9B48: 8542 STA $42 C1/9B4A: ADF20C LDA $0CF2 C1/9B4D: 8552 STA $52 C1/9B4F: ADF80C LDA $0CF8 C1/9B52: 8562 STA $62 C1/9B54: ADFA0C LDA $0CFA C1/9B57: 8572 STA $72 C1/9B59: A020 LDY #$20 C1/9B5B: 8445 STY $45 C1/9B5D: 8455 STY $55 C1/9B5F: 8465 STY $65 C1/9B61: 8475 STY $75 C1/9B63: A0F0 LDY #$F0 C1/9B65: 8C0B42 STY $420B {} C1/9B68: A98079 LDA #$7980 C1/9B6B: 8D1621 STA $2116 C1/9B6E: ADF40C LDA $0CF4 C1/9B71: 8542 STA $42 C1/9B73: ADF60C LDA $0CF6 C1/9B76: 8552 STA $52 C1/9B78: ADFC0C LDA $0CFC C1/9B7B: 8562 STA $62 C1/9B7D: ADFE0C LDA $0CFE C1/9B80: 8572 STA $72 C1/9B82: A020 LDY #$20 C1/9B84: 8445 STY $45 C1/9B86: 8455 STY $55 C1/9B88: 8465 STY $65 C1/9B8A: 8475 STY $75 C1/9B8C: A0F0 LDY #$F0 C1/9B8E: 8C0B42 STY $420B C1/9B91: AF8DE27E LDA $7EE28D C1/9B95: AA TAX C1/9B96: F00C BEQ $9BA4 C1/9B98: 2900FF AND #$FF00 C1/9B9B: 8F8DE27E STA $7EE28D C1/9B9F: A204 LDX #$04 C1/9BA1: 829BFF BRL $9B3F C1/9BA4: AF84E47E LDA $7EE484 C1/9BA8: AA TAX C1/9BA9: D003 BNE $9BAE C1/9BAB: 82BC01 BRL $9D6A C1/9BAE: A9C078 LDA #$78C0 C1/9BB1: 8D1621 STA $2116 C1/9BB4: AD000D LDA $0D00 C1/9BB7: 8542 STA $42 C1/9BB9: AD020D LDA $0D02 C1/9BBC: 8552 STA $52 C1/9BBE: AD080D LDA $0D08 C1/9BC1: 8562 STA $62 C1/9BC3: AD0A0D LDA $0D0A C1/9BC6: 8572 STA $72 C1/9BC8: A97E20 LDA #$207E C1/9BCB: 8544 STA $44 C1/9BCD: 8554 STA $54 C1/9BCF: 8564 STA $64 C1/9BD1: 8574 STA $74 C1/9BD3: A0F0 LDY #$F0 C1/9BD5: 8C0B42 STY $420B C1/9BD8: A9C079 LDA #$79C0 C1/9BDB: 8D1621 STA $2116 C1/9BDE: AD040D LDA $0D04 C1/9BE1: 8542 STA $42 C1/9BE3: AD060D LDA $0D06 C1/9BE6: 8552 STA $52 C1/9BE8: AD0C0D LDA $0D0C C1/9BEB: 8562 STA $62 C1/9BED: AD0E0D LDA $0D0E C1/9BF0: 8572 STA $72 C1/9BF2: A020 LDY #$20 C1/9BF4: 8445 STY $45 C1/9BF6: 8455 STY $55 C1/9BF8: 8465 STY $65 C1/9BFA: 8475 STY $75 C1/9BFC: A0F0 LDY #$F0 C1/9BFE: 8C0B42 STY $420B C1/9C01: CA DEX C1/9C02: D003 BNE $9C07 C1/9C04: 826301 BRL $9D6A C1/9C07: CA DEX C1/9C08: F0FA BEQ $9C04 C1/9C0A: A9007A LDA #$7A00 C1/9C0D: 8D1621 STA $2116 C1/9C10: AD100D LDA $0D10 C1/9C13: 8542 STA $42 C1/9C15: AD120D LDA $0D12 C1/9C18: 8552 STA $52 C1/9C1A: AD180D LDA $0D18 C1/9C1D: 8562 STA $62 C1/9C1F: AD1A0D LDA $0D1A C1/9C22: 8572 STA $72 C1/9C24: A020 LDY #$20 C1/9C26: 8445 STY $45 C1/9C28: 8455 STY $55 C1/9C2A: 8465 STY $65 C1/9C2C: 8475 STY $75 C1/9C2E: A0F0 LDY #$F0 C1/9C30: 8C0B42 STY $420B C1/9C33: A9007B LDA #$7B00 C1/9C36: 8D1621 STA $2116 C1/9C39: AD140D LDA $0D14 C1/9C3C: 8542 STA $42 C1/9C3E: AD160D LDA $0D16 C1/9C41: 8552 STA $52 C1/9C43: AD1C0D LDA $0D1C C1/9C46: 8562 STA $62 C1/9C48: AD1E0D LDA $0D1E C1/9C4B: 8572 STA $72 C1/9C4D: A020 LDY #$20 C1/9C4F: 8445 STY $45 C1/9C51: 8455 STY $55 C1/9C53: 8465 STY $65 C1/9C55: 8475 STY $75 C1/9C57: A0F0 LDY #$F0 C1/9C59: 8C0B42 STY $420B C1/9C5C: CA DEX C1/9C5D: D003 BNE $9C62 C1/9C5F: 820801 BRL $9D6A C1/9C62: CA DEX C1/9C63: F0FA BEQ $9C5F C1/9C65: A9407A LDA #$7A40 C1/9C68: 8D1621 STA $2116 C1/9C6B: AD200D LDA $0D20 C1/9C6E: 8542 STA $42 C1/9C70: AD220D LDA $0D22 C1/9C73: 8552 STA $52 C1/9C75: AD280D LDA $0D28 C1/9C78: 8562 STA $62 C1/9C7A: AD2A0D LDA $0D2A C1/9C7D: 8572 STA $72 C1/9C7F: A020 LDY #$20 C1/9C81: 8445 STY $45 C1/9C83: 8455 STY $55 C1/9C85: 8465 STY $65 C1/9C87: 8475 STY $75 C1/9C89: A0F0 LDY #$F0 C1/9C8B: 8C0B42 STY $420B C1/9C8E: A9407B LDA #$7B40 C1/9C91: 8D1621 STA $2116 C1/9C94: AD240D LDA $0D24 C1/9C97: 8542 STA $42 C1/9C99: AD260D LDA $0D26 C1/9C9C: 8552 STA $52 C1/9C9E: AD2C0D LDA $0D2C C1/9CA1: 8562 STA $62 C1/9CA3: AD2E0D LDA $0D2E C1/9CA6: 8572 STA $72 C1/9CA8: A020 LDY #$20 C1/9CAA: 8445 STY $45 C1/9CAC: 8455 STY $55 C1/9CAE: 8465 STY $65 C1/9CB0: 8475 STY $75 C1/9CB2: A0F0 LDY #$F0 C1/9CB4: 8C0B42 STY $420B C1/9CB7: CA DEX C1/9CB8: D003 BNE $9CBD C1/9CBA: 82AD00 BRL $9D6A C1/9CBD: CA DEX C1/9CBE: F0FA BEQ $9CBA C1/9CC0: A9807A LDA #$7A80 C1/9CC3: 8D1621 STA $2116 C1/9CC6: AD300D LDA $0D30 C1/9CC9: 8542 STA $42 C1/9CCB: AD320D LDA $0D32 C1/9CCE: 8552 STA $52 C1/9CD0: AD380D LDA $0D38 C1/9CD3: 8562 STA $62 C1/9CD5: AD3A0D LDA $0D3A C1/9CD8: 8572 STA $72 C1/9CDA: A020 LDY #$20 C1/9CDC: 8445 STY $45 C1/9CDE: 8455 STY $55 C1/9CE0: 8465 STY $65 C1/9CE2: 8475 STY $75 C1/9CE4: A0F0 LDY #$F0 C1/9CE6: 8C0B42 STY $420B C1/9CE9: A9807B LDA #$7B80 C1/9CEC: 8D1621 STA $2116 C1/9CEF: AD340D LDA $0D34 C1/9CF2: 8542 STA $42 C1/9CF4: AD360D LDA $0D36 C1/9CF7: 8552 STA $52 C1/9CF9: AD3C0D LDA $0D3C C1/9CFC: 8562 STA $62 C1/9CFE: AD3E0D LDA $0D3E C1/9D01: 8572 STA $72 C1/9D03: A020 LDY #$20 C1/9D05: 8445 STY $45 C1/9D07: 8455 STY $55 C1/9D09: 8465 STY $65 C1/9D0B: 8475 STY $75 C1/9D0D: A0F0 LDY #$F0 C1/9D0F: 8C0B42 STY $420B C1/9D12: CA DEX C1/9D13: F055 BEQ $9D6A C1/9D15: CA DEX C1/9D16: F052 BEQ $9D6A C1/9D18: A9C07A LDA #$7AC0 C1/9D1B: 8D1621 STA $2116 C1/9D1E: AD400D LDA $0D40 C1/9D21: 8542 STA $42 C1/9D23: AD420D LDA $0D42 C1/9D26: 8552 STA $52 C1/9D28: AD480D LDA $0D48 C1/9D2B: 8562 STA $62 C1/9D2D: AD4A0D LDA $0D4A C1/9D30: 8572 STA $72 C1/9D32: A020 LDY #$20 C1/9D34: 8445 STY $45 C1/9D36: 8455 STY $55 C1/9D38: 8465 STY $65 C1/9D3A: 8475 STY $75 C1/9D3C: A0F0 LDY #$F0 C1/9D3E: 8C0B42 STY $420B C1/9D41: A9C07B LDA #$7BC0 C1/9D44: 8D1621 STA $2116 C1/9D47: AD440D LDA $0D44 C1/9D4A: 8542 STA $42 C1/9D4C: AD460D LDA $0D46 C1/9D4F: 8552 STA $52 C1/9D51: AD4C0D LDA $0D4C C1/9D54: 8562 STA $62 C1/9D56: AD4E0D LDA $0D4E C1/9D59: 8572 STA $72 C1/9D5B: A020 LDY #$20 C1/9D5D: 8445 STY $45 C1/9D5F: 8455 STY $55 C1/9D61: 8465 STY $65 C1/9D63: 8475 STY $75 C1/9D65: A0F0 LDY #$F0 C1/9D67: 8C0B42 STY $420B C1/9D6A: AF8DE47E LDA $7EE48D C1/9D6E: AA TAX C1/9D6F: F00C BEQ $9D7D C1/9D71: 2900FF AND #$FF00 C1/9D74: 8F8DE47E STA $7EE48D C1/9D78: A204 LDX #$04 C1/9D7A: 829BFF BRL $9D18 {End} C1/9D7D: 2B PLD C1/9D7E: 6B RTL [Related to animations?] [NPC #1?] {How is this different from the enemy set?} [Source addresses: 6400~6F80] C1/9D7F: AF83E67E LDA $7EE683 C1/9D83: AA TAX C1/9D84: D003 BNE $9D89 C1/9D86: 822102 BRL $9FAA {$7EE683 - 0 (Top)} C1/9D89: A90064 LDA #$6400 C1/9D8C: 8D1621 STA $2116 C1/9D8F: AD600E LDA $0E60 C1/9D92: 8542 STA $42 C1/9D94: AD620E LDA $0E62 C1/9D97: 8552 STA $52 C1/9D99: AD680E LDA $0E68 C1/9D9C: 8562 STA $62 C1/9D9E: AD6A0E LDA $0E6A C1/9DA1: 8572 STA $72 C1/9DA3: AF82E67E LDA $7EE682 C1/9DA7: 29FF00 AND #$00FF C1/9DAA: 090020 ORA #$2000 C1/9DAD: 8544 STA $44 C1/9DAF: 8554 STA $54 C1/9DB1: 8564 STA $64 C1/9DB3: 8574 STA $74 C1/9DB5: A0F0 LDY #$F0 C1/9DB7: 8C0B42 STY $420B {} C1/9DBA: A90065 LDA #$6500 C1/9DBD: 8D1621 STA $2116 C1/9DC0: AD640E LDA $0E64 C1/9DC3: 8542 STA $42 C1/9DC5: AD660E LDA $0E66 C1/9DC8: 8552 STA $52 C1/9DCA: AD6C0E LDA $0E6C C1/9DCD: 8562 STA $62 C1/9DCF: AD6E0E LDA $0E6E C1/9DD2: 8572 STA $72 C1/9DD4: A020 LDY #$20 C1/9DD6: 8445 STY $45 C1/9DD8: 8455 STY $55 C1/9DDA: 8465 STY $65 C1/9DDC: 8475 STY $75 C1/9DDE: A0F0 LDY #$F0 C1/9DE0: 8C0B42 STY $420B C1/9DE3: CA DEX C1/9DE4: D003 BNE $9DE9 C1/9DE6: 82C101 BRL $9FAA C1/9DE9: CA DEX C1/9DEA: F0FA BEQ $9DE6 {$7EE683 - 2} C1/9DEC: A94064 LDA #$6440 C1/9DEF: 8D1621 STA $2116 C1/9DF2: AD700E LDA $0E70 C1/9DF5: 8542 STA $42 C1/9DF7: AD720E LDA $0E72 C1/9DFA: 8552 STA $52 C1/9DFC: AD780E LDA $0E78 C1/9DFF: 8562 STA $62 C1/9E01: AD7A0E LDA $0E7A C1/9E04: 8572 STA $72 C1/9E06: A020 LDY #$20 C1/9E08: 8445 STY $45 C1/9E0A: 8455 STY $55 C1/9E0C: 8465 STY $65 C1/9E0E: 8475 STY $75 C1/9E10: A0F0 LDY #$F0 C1/9E12: 8C0B42 STY $420B {} C1/9E15: A94065 LDA #$6540 C1/9E18: 8D1621 STA $2116 C1/9E1B: AD740E LDA $0E74 C1/9E1E: 8542 STA $42 C1/9E20: AD760E LDA $0E76 C1/9E23: 8552 STA $52 C1/9E25: AD7C0E LDA $0E7C C1/9E28: 8562 STA $62 C1/9E2A: AD7E0E LDA $0E7E C1/9E2D: 8572 STA $72 C1/9E2F: A020 LDY #$20 C1/9E31: 8445 STY $45 C1/9E33: 8455 STY $55 C1/9E35: 8465 STY $65 C1/9E37: 8475 STY $75 C1/9E39: A0F0 LDY #$F0 C1/9E3B: 8C0B42 STY $420B C1/9E3E: CA DEX C1/9E3F: D003 BNE $9E44 C1/9E41: 826601 BRL $9FAA C1/9E44: CA DEX C1/9E45: F0FA BEQ $9E41 {$7EE683 - 4} C1/9E47: A98064 LDA #$6480 C1/9E4A: 8D1621 STA $2116 C1/9E4D: AD800E LDA $0E80 C1/9E50: 8542 STA $42 C1/9E52: AD820E LDA $0E82 C1/9E55: 8552 STA $52 C1/9E57: AD880E LDA $0E88 C1/9E5A: 8562 STA $62 C1/9E5C: AD8A0E LDA $0E8A C1/9E5F: 8572 STA $72 C1/9E61: A020 LDY #$20 C1/9E63: 8445 STY $45 C1/9E65: 8455 STY $55 C1/9E67: 8465 STY $65 C1/9E69: 8475 STY $75 C1/9E6B: A0F0 LDY #$F0 C1/9E6D: 8C0B42 STY $420B {} C1/9E70: A98065 LDA #$6580 C1/9E73: 8D1621 STA $2116 C1/9E76: AD840E LDA $0E84 C1/9E79: 8542 STA $42 C1/9E7B: AD860E LDA $0E86 C1/9E7E: 8552 STA $52 C1/9E80: AD8C0E LDA $0E8C C1/9E83: 8562 STA $62 C1/9E85: AD8E0E LDA $0E8E C1/9E88: 8572 STA $72 C1/9E8A: A020 LDY #$20 C1/9E8C: 8445 STY $45 C1/9E8E: 8455 STY $55 C1/9E90: 8465 STY $65 C1/9E92: 8475 STY $75 C1/9E94: A0F0 LDY #$F0 C1/9E96: 8C0B42 STY $420B C1/9E99: CA DEX C1/9E9A: D003 BNE $9E9F C1/9E9C: 820B01 BRL $9FAA C1/9E9F: CA DEX C1/9EA0: F0FA BEQ $9E9C {$7EE683 - 6} C1/9EA2: A9C064 LDA #$64C0 C1/9EA5: 8D1621 STA $2116 C1/9EA8: AD900E LDA $0E90 C1/9EAB: 8542 STA $42 C1/9EAD: AD920E LDA $0E92 C1/9EB0: 8552 STA $52 C1/9EB2: AD980E LDA $0E98 C1/9EB5: 8562 STA $62 C1/9EB7: AD9A0E LDA $0E9A C1/9EBA: 8572 STA $72 C1/9EBC: A020 LDY #$20 C1/9EBE: 8445 STY $45 C1/9EC0: 8455 STY $55 C1/9EC2: 8465 STY $65 C1/9EC4: 8475 STY $75 C1/9EC6: A0F0 LDY #$F0 C1/9EC8: 8C0B42 STY $420B {} C1/9ECB: A9C065 LDA #$65C0 C1/9ECE: 8D1621 STA $2116 C1/9ED1: AD940E LDA $0E94 C1/9ED4: 8542 STA $42 C1/9ED6: AD960E LDA $0E96 C1/9ED9: 8552 STA $52 C1/9EDB: AD9C0E LDA $0E9C C1/9EDE: 8562 STA $62 C1/9EE0: AD9E0E LDA $0E9E C1/9EE3: 8572 STA $72 C1/9EE5: A020 LDY #$20 C1/9EE7: 8445 STY $45 C1/9EE9: 8455 STY $55 C1/9EEB: 8465 STY $65 C1/9EED: 8475 STY $75 C1/9EEF: A0F0 LDY #$F0 C1/9EF1: 8C0B42 STY $420B C1/9EF4: CA DEX C1/9EF5: D003 BNE $9EFA C1/9EF7: 82B000 BRL $9FAA C1/9EFA: CA DEX C1/9EFB: F0FA BEQ $9EF7 {$7EE683 - 8} C1/9EFD: A90066 LDA #$6600 C1/9F00: 8D1621 STA $2116 C1/9F03: ADA00E LDA $0EA0 C1/9F06: 8542 STA $42 C1/9F08: ADA20E LDA $0EA2 C1/9F0B: 8552 STA $52 C1/9F0D: ADA80E LDA $0EA8 C1/9F10: 8562 STA $62 C1/9F12: ADAA0E LDA $0EAA C1/9F15: 8572 STA $72 C1/9F17: A020 LDY #$20 C1/9F19: 8445 STY $45 C1/9F1B: 8455 STY $55 C1/9F1D: 8465 STY $65 C1/9F1F: 8475 STY $75 C1/9F21: A0F0 LDY #$F0 C1/9F23: 8C0B42 STY $420B {} C1/9F26: A90067 LDA #$6700 C1/9F29: 8D1621 STA $2116 C1/9F2C: ADA40E LDA $0EA4 C1/9F2F: 8542 STA $42 C1/9F31: ADA60E LDA $0EA6 C1/9F34: 8552 STA $52 C1/9F36: ADAC0E LDA $0EAC C1/9F39: 8562 STA $62 C1/9F3B: ADAE0E LDA $0EAE C1/9F3E: 8572 STA $72 C1/9F40: A020 LDY #$20 C1/9F42: 8445 STY $45 C1/9F44: 8455 STY $55 C1/9F46: 8465 STY $65 C1/9F48: 8475 STY $75 C1/9F4A: A0F0 LDY #$F0 C1/9F4C: 8C0B42 STY $420B C1/9F4F: CA DEX C1/9F50: D003 BNE $9F55 C1/9F52: 825500 BRL $9FAA C1/9F55: CA DEX C1/9F56: F0FA BEQ $9F52 {$7EE683 - 0x0A} C1/9F58: A94066 LDA #$6640 C1/9F5B: 8D1621 STA $2116 C1/9F5E: ADB00E LDA $0EB0 C1/9F61: 8542 STA $42 C1/9F63: ADB20E LDA $0EB2 C1/9F66: 8552 STA $52 C1/9F68: ADB80E LDA $0EB8 C1/9F6B: 8562 STA $62 C1/9F6D: ADBA0E LDA $0EBA C1/9F70: 8572 STA $72 C1/9F72: A020 LDY #$20 C1/9F74: 8445 STY $45 C1/9F76: 8455 STY $55 C1/9F78: 8465 STY $65 C1/9F7A: 8475 STY $75 C1/9F7C: A0F0 LDY #$F0 C1/9F7E: 8C0B42 STY $420B {} C1/9F81: A94067 LDA #$6740 C1/9F84: 8D1621 STA $2116 C1/9F87: ADB40E LDA $0EB4 C1/9F8A: 8542 STA $42 C1/9F8C: ADB60E LDA $0EB6 C1/9F8F: 8552 STA $52 C1/9F91: ADBC0E LDA $0EBC C1/9F94: 8562 STA $62 C1/9F96: ADBE0E LDA $0EBE C1/9F99: 8572 STA $72 C1/9F9B: A020 LDY #$20 C1/9F9D: 8445 STY $45 C1/9F9F: 8455 STY $55 C1/9FA1: 8465 STY $65 C1/9FA3: 8475 STY $75 C1/9FA5: A0F0 LDY #$F0 C1/9FA7: 8C0B42 STY $420B {Branched to from a lot of places, associated with Enemy #1?} C1/9FAA: AF84E67E LDA $7EE684 C1/9FAE: AA TAX C1/9FAF: D003 BNE $9FB4 C1/9FB1: 82BC01 BRL $A170 {$7EE684 - 0} C1/9FB4: A9806C LDA #$6C80 C1/9FB7: 8D1621 STA $2116 C1/9FBA: AD600D LDA $0D60 C1/9FBD: 8542 STA $42 C1/9FBF: AD620D LDA $0D62 C1/9FC2: 8552 STA $52 C1/9FC4: AD680D LDA $0D68 C1/9FC7: 8562 STA $62 C1/9FC9: AD6A0D LDA $0D6A C1/9FCC: 8572 STA $72 C1/9FCE: A97E20 LDA #$207E C1/9FD1: 8544 STA $44 C1/9FD3: 8554 STA $54 C1/9FD5: 8564 STA $64 C1/9FD7: 8574 STA $74 C1/9FD9: A0F0 LDY #$F0 C1/9FDB: 8C0B42 STY $420B {} C1/9FDE: A9806D LDA #$6D80 C1/9FE1: 8D1621 STA $2116 C1/9FE4: AD640D LDA $0D64 C1/9FE7: 8542 STA $42 C1/9FE9: AD660D LDA $0D66 C1/9FEC: 8552 STA $52 C1/9FEE: AD6C0D LDA $0D6C C1/9FF1: 8562 STA $62 C1/9FF3: AD6E0D LDA $0D6E C1/9FF6: 8572 STA $72 C1/9FF8: A020 LDY #$20 C1/9FFA: 8445 STY $45 C1/9FFC: 8455 STY $55 C1/9FFE: 8465 STY $65 C1/A000: 8475 STY $75 C1/A002: A0F0 LDY #$F0 C1/A004: 8C0B42 STY $420B C1/A007: CA DEX C1/A008: D003 BNE $A00D C1/A00A: 826301 BRL $A170 C1/A00D: CA DEX C1/A00E: F0FA BEQ $A00A {$7EE684 - 2} C1/A010: A9C06C LDA #$6CC0 C1/A013: 8D1621 STA $2116 C1/A016: AD700D LDA $0D70 C1/A019: 8542 STA $42 C1/A01B: AD720D LDA $0D72 C1/A01E: 8552 STA $52 C1/A020: AD780D LDA $0D78 C1/A023: 8562 STA $62 C1/A025: AD7A0D LDA $0D7A C1/A028: 8572 STA $72 C1/A02A: A020 LDY #$20 C1/A02C: 8445 STY $45 C1/A02E: 8455 STY $55 C1/A030: 8465 STY $65 C1/A032: 8475 STY $75 C1/A034: A0F0 LDY #$F0 C1/A036: 8C0B42 STY $420B {} C1/A039: A9C06D LDA #$6DC0 C1/A03C: 8D1621 STA $2116 C1/A03F: AD740D LDA $0D74 C1/A042: 8542 STA $42 C1/A044: AD760D LDA $0D76 C1/A047: 8552 STA $52 C1/A049: AD7C0D LDA $0D7C C1/A04C: 8562 STA $62 C1/A04E: AD7E0D LDA $0D7E C1/A051: 8572 STA $72 C1/A053: A020 LDY #$20 C1/A055: 8445 STY $45 C1/A057: 8455 STY $55 C1/A059: 8465 STY $65 C1/A05B: 8475 STY $75 C1/A05D: A0F0 LDY #$F0 C1/A05F: 8C0B42 STY $420B C1/A062: CA DEX C1/A063: D003 BNE $A068 C1/A065: 820801 BRL $A170 C1/A068: CA DEX C1/A069: F0FA BEQ $A065 {$7EE684 - 4} C1/A06B: A9006E LDA #$6E00 C1/A06E: 8D1621 STA $2116 C1/A071: AD800D LDA $0D80 C1/A074: 8542 STA $42 C1/A076: AD820D LDA $0D82 C1/A079: 8552 STA $52 C1/A07B: AD880D LDA $0D88 C1/A07E: 8562 STA $62 C1/A080: AD8A0D LDA $0D8A C1/A083: 8572 STA $72 C1/A085: A020 LDY #$20 C1/A087: 8445 STY $45 C1/A089: 8455 STY $55 C1/A08B: 8465 STY $65 C1/A08D: 8475 STY $75 C1/A08F: A0F0 LDY #$F0 C1/A091: 8C0B42 STY $420B {} C1/A094: A9006F LDA #$6F00 C1/A097: 8D1621 STA $2116 C1/A09A: AD840D LDA $0D84 C1/A09D: 8542 STA $42 C1/A09F: AD860D LDA $0D86 C1/A0A2: 8552 STA $52 C1/A0A4: AD8C0D LDA $0D8C C1/A0A7: 8562 STA $62 C1/A0A9: AD8E0D LDA $0D8E C1/A0AC: 8572 STA $72 C1/A0AE: A020 LDY #$20 C1/A0B0: 8445 STY $45 C1/A0B2: 8455 STY $55 C1/A0B4: 8465 STY $65 C1/A0B6: 8475 STY $75 C1/A0B8: A0F0 LDY #$F0 C1/A0BA: 8C0B42 STY $420B C1/A0BD: CA DEX C1/A0BE: D003 BNE $A0C3 C1/A0C0: 82AD00 BRL $A170 C1/A0C3: CA DEX C1/A0C4: F0FA BEQ $A0C0 {$7EE684 - 6} C1/A0C6: A9406E LDA #$6E40 C1/A0C9: 8D1621 STA $2116 C1/A0CC: AD900D LDA $0D90 C1/A0CF: 8542 STA $42 C1/A0D1: AD920D LDA $0D92 C1/A0D4: 8552 STA $52 C1/A0D6: AD980D LDA $0D98 C1/A0D9: 8562 STA $62 C1/A0DB: AD9A0D LDA $0D9A C1/A0DE: 8572 STA $72 C1/A0E0: A020 LDY #$20 C1/A0E2: 8445 STY $45 C1/A0E4: 8455 STY $55 C1/A0E6: 8465 STY $65 C1/A0E8: 8475 STY $75 C1/A0EA: A0F0 LDY #$F0 C1/A0EC: 8C0B42 STY $420B {} C1/A0EF: A9406F LDA #$6F40 C1/A0F2: 8D1621 STA $2116 C1/A0F5: AD940D LDA $0D94 C1/A0F8: 8542 STA $42 C1/A0FA: AD960D LDA $0D96 C1/A0FD: 8552 STA $52 C1/A0FF: AD9C0D LDA $0D9C C1/A102: 8562 STA $62 C1/A104: AD9E0D LDA $0D9E C1/A107: 8572 STA $72 C1/A109: A020 LDY #$20 C1/A10B: 8445 STY $45 C1/A10D: 8455 STY $55 C1/A10F: 8465 STY $65 C1/A111: 8475 STY $75 C1/A113: A0F0 LDY #$F0 C1/A115: 8C0B42 STY $420B C1/A118: CA DEX C1/A119: F055 BEQ $A170 C1/A11B: CA DEX C1/A11C: F052 BEQ $A170 {$7EE684 - 8} C1/A11E: A9806E LDA #$6E80 C1/A121: 8D1621 STA $2116 C1/A124: ADA00D LDA $0DA0 C1/A127: 8542 STA $42 C1/A129: ADA20D LDA $0DA2 C1/A12C: 8552 STA $52 C1/A12E: ADA80D LDA $0DA8 C1/A131: 8562 STA $62 C1/A133: ADAA0D LDA $0DAA C1/A136: 8572 STA $72 C1/A138: A020 LDY #$20 C1/A13A: 8445 STY $45 C1/A13C: 8455 STY $55 C1/A13E: 8465 STY $65 C1/A140: 8475 STY $75 C1/A142: A0F0 LDY #$F0 C1/A144: 8C0B42 STY $420B {} C1/A147: A9806F LDA #$6F80 C1/A14A: 8D1621 STA $2116 C1/A14D: ADA40D LDA $0DA4 C1/A150: 8542 STA $42 C1/A152: ADA60D LDA $0DA6 C1/A155: 8552 STA $52 C1/A157: ADAC0D LDA $0DAC C1/A15A: 8562 STA $62 C1/A15C: ADAE0D LDA $0DAE C1/A15F: 8572 STA $72 C1/A161: A020 LDY #$20 C1/A163: 8445 STY $45 C1/A165: 8455 STY $55 C1/A167: 8465 STY $65 C1/A169: 8475 STY $75 C1/A16B: A0F0 LDY #$F0 C1/A16D: 8C0B42 STY $420B {End} C1/A170: AF8DE67E LDA $7EE68D C1/A174: AA TAX C1/A175: F00C BEQ $A183 C1/A177: 2900FF AND #$FF00 C1/A17A: 8F8DE67E STA $7EE68D C1/A17E: A204 LDX #$04 C1/A180: 829BFF BRL $A11E C1/A183: 2B PLD C1/A184: 6B RTL [Animation stuff?] [NPC #2?] C1/A185: AF83E87E LDA $7EE883 C1/A189: AA TAX C1/A18A: D003 + BNE $A18F C1/A18C: 822102 BRL $A3B0 {} C1/A18F: + A98066 LDA #$6680 C1/A192: 8D1621 STA $2116 C1/A195: ADC00E LDA $0EC0 C1/A198: 8542 STA $42 C1/A19A: ADC20E LDA $0EC2 C1/A19D: 8552 STA $52 C1/A19F: ADC80E LDA $0EC8 C1/A1A2: 8562 STA $62 C1/A1A4: ADCA0E LDA $0ECA C1/A1A7: 8572 STA $72 C1/A1A9: AF82E87E LDA $7EE882 C1/A1AD: 29FF00 AND #$00FF C1/A1B0: 090020 ORA #$2000 C1/A1B3: 8544 STA $44 C1/A1B5: 8554 STA $54 C1/A1B7: 8564 STA $64 C1/A1B9: 8574 STA $74 C1/A1BB: A0F0 LDY #$F0 C1/A1BD: 8C0B42 STY $420B C1/A1C0: A98067 LDA #$6780 C1/A1C3: 8D1621 STA $2116 C1/A1C6: ADC40E LDA $0EC4 C1/A1C9: 8542 STA $42 C1/A1CB: ADC60E LDA $0EC6 C1/A1CE: 8552 STA $52 C1/A1D0: ADCC0E LDA $0ECC C1/A1D3: 8562 STA $62 C1/A1D5: ADCE0E LDA $0ECE C1/A1D8: 8572 STA $72 C1/A1DA: A020 LDY #$20 C1/A1DC: 8445 STY $45 C1/A1DE: 8455 STY $55 C1/A1E0: 8465 STY $65 C1/A1E2: 8475 STY $75 C1/A1E4: A0F0 LDY #$F0 C1/A1E6: 8C0B42 STY $420B C1/A1E9: CA DEX C1/A1EA: D003 + BNE $A1EF C1/A1EC: - 82C101 BRL $A3B0 C1/A1EF: + CA DEX C1/A1F0: F0FA - BEQ $A1EC {} C1/A1F2: A9C066 LDA #$66C0 C1/A1F5: 8D1621 STA $2116 C1/A1F8: ADD00E LDA $0ED0 C1/A1FB: 8542 STA $42 C1/A1FD: ADD20E LDA $0ED2 C1/A200: 8552 STA $52 C1/A202: ADD80E LDA $0ED8 C1/A205: 8562 STA $62 C1/A207: ADDA0E LDA $0EDA C1/A20A: 8572 STA $72 C1/A20C: A020 LDY #$20 C1/A20E: 8445 STY $45 C1/A210: 8455 STY $55 C1/A212: 8465 STY $65 C1/A214: 8475 STY $75 C1/A216: A0F0 LDY #$F0 C1/A218: 8C0B42 STY $420B C1/A21B: A9C067 LDA #$67C0 C1/A21E: 8D1621 STA $2116 C1/A221: ADD40E LDA $0ED4 C1/A224: 8542 STA $42 C1/A226: ADD60E LDA $0ED6 C1/A229: 8552 STA $52 C1/A22B: ADDC0E LDA $0EDC C1/A22E: 8562 STA $62 C1/A230: ADDE0E LDA $0EDE C1/A233: 8572 STA $72 C1/A235: A020 LDY #$20 C1/A237: 8445 STY $45 C1/A239: 8455 STY $55 C1/A23B: 8465 STY $65 C1/A23D: 8475 STY $75 C1/A23F: A0F0 LDY #$F0 C1/A241: 8C0B42 STY $420B C1/A244: CA DEX C1/A245: D003 + BNE $A24A C1/A247: - 826601 BRL $A3B0 C1/A24A: + CA DEX C1/A24B: F0FA - BEQ $A247 {} C1/A24D: A90068 LDA #$6800 C1/A250: 8D1621 STA $2116 C1/A253: ADE00E LDA $0EE0 C1/A256: 8542 STA $42 C1/A258: ADE20E LDA $0EE2 C1/A25B: 8552 STA $52 C1/A25D: ADE80E LDA $0EE8 C1/A260: 8562 STA $62 C1/A262: ADEA0E LDA $0EEA C1/A265: 8572 STA $72 C1/A267: A020 LDY #$20 C1/A269: 8445 STY $45 C1/A26B: 8455 STY $55 C1/A26D: 8465 STY $65 C1/A26F: 8475 STY $75 C1/A271: A0F0 LDY #$F0 C1/A273: 8C0B42 STY $420B C1/A276: A90069 LDA #$6900 C1/A279: 8D1621 STA $2116 C1/A27C: ADE40E LDA $0EE4 C1/A27F: 8542 STA $42 C1/A281: ADE60E LDA $0EE6 C1/A284: 8552 STA $52 C1/A286: ADEC0E LDA $0EEC C1/A289: 8562 STA $62 C1/A28B: ADEE0E LDA $0EEE C1/A28E: 8572 STA $72 C1/A290: A020 LDY #$20 C1/A292: 8445 STY $45 C1/A294: 8455 STY $55 C1/A296: 8465 STY $65 C1/A298: 8475 STY $75 C1/A29A: A0F0 LDY #$F0 C1/A29C: 8C0B42 STY $420B C1/A29F: CA DEX C1/A2A0: D003 + BNE $A2A5 C1/A2A2: - 820B01 BRL $A3B0 C1/A2A5: + CA DEX C1/A2A6: F0FA - BEQ $A2A2 {} C1/A2A8: A94068 LDA #$6840 C1/A2AB: 8D1621 STA $2116 C1/A2AE: ADF00E LDA $0EF0 C1/A2B1: 8542 STA $42 C1/A2B3: ADF20E LDA $0EF2 C1/A2B6: 8552 STA $52 C1/A2B8: ADF80E LDA $0EF8 C1/A2BB: 8562 STA $62 C1/A2BD: ADFA0E LDA $0EFA C1/A2C0: 8572 STA $72 C1/A2C2: A020 LDY #$20 C1/A2C4: 8445 STY $45 C1/A2C6: 8455 STY $55 C1/A2C8: 8465 STY $65 C1/A2CA: 8475 STY $75 C1/A2CC: A0F0 LDY #$F0 C1/A2CE: 8C0B42 STY $420B C1/A2D1: A94069 LDA #$6940 C1/A2D4: 8D1621 STA $2116 C1/A2D7: ADF40E LDA $0EF4 C1/A2DA: 8542 STA $42 C1/A2DC: ADF60E LDA $0EF6 C1/A2DF: 8552 STA $52 C1/A2E1: ADFC0E LDA $0EFC C1/A2E4: 8562 STA $62 C1/A2E6: ADFE0E LDA $0EFE C1/A2E9: 8572 STA $72 C1/A2EB: A020 LDY #$20 C1/A2ED: 8445 STY $45 C1/A2EF: 8455 STY $55 C1/A2F1: 8465 STY $65 C1/A2F3: 8475 STY $75 C1/A2F5: A0F0 LDY #$F0 C1/A2F7: 8C0B42 STY $420B C1/A2FA: CA DEX C1/A2FB: D003 + BNE $A300 C1/A2FD: - 82B000 BRL $A3B0 C1/A300: + CA DEX C1/A301: F0FA - BEQ $A2FD {} C1/A303: A98068 LDA #$6880 C1/A306: 8D1621 STA $2116 C1/A309: AD000F LDA $0F00 C1/A30C: 8542 STA $42 C1/A30E: AD020F LDA $0F02 C1/A311: 8552 STA $52 C1/A313: AD080F LDA $0F08 C1/A316: 8562 STA $62 C1/A318: AD0A0F LDA $0F0A C1/A31B: 8572 STA $72 C1/A31D: A020 LDY #$20 C1/A31F: 8445 STY $45 C1/A321: 8455 STY $55 C1/A323: 8465 STY $65 C1/A325: 8475 STY $75 C1/A327: A0F0 LDY #$F0 C1/A329: 8C0B42 STY $420B C1/A32C: A98069 LDA #$6980 C1/A32F: 8D1621 STA $2116 C1/A332: AD040F LDA $0F04 C1/A335: 8542 STA $42 C1/A337: AD060F LDA $0F06 C1/A33A: 8552 STA $52 C1/A33C: AD0C0F LDA $0F0C C1/A33F: 8562 STA $62 C1/A341: AD0E0F LDA $0F0E C1/A344: 8572 STA $72 C1/A346: A020 LDY #$20 C1/A348: 8445 STY $45 C1/A34A: 8455 STY $55 C1/A34C: 8465 STY $65 C1/A34E: 8475 STY $75 C1/A350: A0F0 LDY #$F0 C1/A352: 8C0B42 STY $420B C1/A355: CA DEX C1/A356: D003 BNE $A35B C1/A358: 825500 BRL $A3B0 C1/A35B: CA DEX C1/A35C: F0FA BEQ $A358 {} C1/A35E: A9C068 LDA #$68C0 C1/A361: 8D1621 STA $2116 C1/A364: AD100F LDA $0F10 C1/A367: 8542 STA $42 C1/A369: AD120F LDA $0F12 C1/A36C: 8552 STA $52 C1/A36E: AD180F LDA $0F18 C1/A371: 8562 STA $62 C1/A373: AD1A0F LDA $0F1A C1/A376: 8572 STA $72 C1/A378: A020 LDY #$20 C1/A37A: 8445 STY $45 C1/A37C: 8455 STY $55 C1/A37E: 8465 STY $65 C1/A380: 8475 STY $75 C1/A382: A0F0 LDY #$F0 C1/A384: 8C0B42 STY $420B C1/A387: A9C069 LDA #$69C0 C1/A38A: 8D1621 STA $2116 C1/A38D: AD140F LDA $0F14 C1/A390: 8542 STA $42 C1/A392: AD160F LDA $0F16 C1/A395: 8552 STA $52 C1/A397: AD1C0F LDA $0F1C C1/A39A: 8562 STA $62 C1/A39C: AD1E0F LDA $0F1E C1/A39F: 8572 STA $72 C1/A3A1: A020 LDY #$20 C1/A3A3: 8445 STY $45 C1/A3A5: 8455 STY $55 C1/A3A7: 8465 STY $65 C1/A3A9: 8475 STY $75 C1/A3AB: A0F0 LDY #$F0 C1/A3AD: 8C0B42 STY $420B {Branched to from a lot of places, associate with Enemy #2?} C1/A3B0: AF84E87E LDA $7EE884 C1/A3B4: AA TAX C1/A3B5: D003 BNE $A3BA C1/A3B7: 82BC01 BRL $A576 {} C1/A3BA: A9C06E LDA #$6EC0 C1/A3BD: 8D1621 STA $2116 C1/A3C0: ADB00D LDA $0DB0 C1/A3C3: 8542 STA $42 C1/A3C5: ADB20D LDA $0DB2 C1/A3C8: 8552 STA $52 C1/A3CA: ADB80D LDA $0DB8 C1/A3CD: 8562 STA $62 C1/A3CF: ADBA0D LDA $0DBA C1/A3D2: 8572 STA $72 C1/A3D4: A97E20 LDA #$207E C1/A3D7: 8544 STA $44 C1/A3D9: 8554 STA $54 C1/A3DB: 8564 STA $64 C1/A3DD: 8574 STA $74 C1/A3DF: A0F0 LDY #$F0 C1/A3E1: 8C0B42 STY $420B C1/A3E4: A9C06F LDA #$6FC0 C1/A3E7: 8D1621 STA $2116 C1/A3EA: ADB40D LDA $0DB4 C1/A3ED: 8542 STA $42 C1/A3EF: ADB60D LDA $0DB6 C1/A3F2: 8552 STA $52 C1/A3F4: ADBC0D LDA $0DBC C1/A3F7: 8562 STA $62 C1/A3F9: ADBE0D LDA $0DBE C1/A3FC: 8572 STA $72 C1/A3FE: A020 LDY #$20 C1/A400: 8445 STY $45 C1/A402: 8455 STY $55 C1/A404: 8465 STY $65 C1/A406: 8475 STY $75 C1/A408: A0F0 LDY #$F0 C1/A40A: 8C0B42 STY $420B C1/A40D: CA DEX C1/A40E: D003 BNE $A413 C1/A410: 826301 BRL $A576 {} C1/A413: CA DEX C1/A414: F0FA BEQ $A410 C1/A416: A90070 LDA #$7000 C1/A419: 8D1621 STA $2116 C1/A41C: ADC00D LDA $0DC0 C1/A41F: 8542 STA $42 C1/A421: ADC20D LDA $0DC2 C1/A424: 8552 STA $52 C1/A426: ADC80D LDA $0DC8 C1/A429: 8562 STA $62 C1/A42B: ADCA0D LDA $0DCA C1/A42E: 8572 STA $72 C1/A430: A020 LDY #$20 C1/A432: 8445 STY $45 C1/A434: 8455 STY $55 C1/A436: 8465 STY $65 C1/A438: 8475 STY $75 C1/A43A: A0F0 LDY #$F0 C1/A43C: 8C0B42 STY $420B C1/A43F: A90071 LDA #$7100 C1/A442: 8D1621 STA $2116 C1/A445: ADC40D LDA $0DC4 C1/A448: 8542 STA $42 C1/A44A: ADC60D LDA $0DC6 C1/A44D: 8552 STA $52 C1/A44F: ADCC0D LDA $0DCC C1/A452: 8562 STA $62 C1/A454: ADCE0D LDA $0DCE C1/A457: 8572 STA $72 C1/A459: A020 LDY #$20 C1/A45B: 8445 STY $45 C1/A45D: 8455 STY $55 C1/A45F: 8465 STY $65 C1/A461: 8475 STY $75 C1/A463: A0F0 LDY #$F0 C1/A465: 8C0B42 STY $420B C1/A468: CA DEX C1/A469: D003 BNE $A46E C1/A46B: 820801 BRL $A576 {} C1/A46E: CA DEX C1/A46F: F0FA BEQ $A46B C1/A471: A94070 LDA #$7040 C1/A474: 8D1621 STA $2116 C1/A477: ADD00D LDA $0DD0 C1/A47A: 8542 STA $42 C1/A47C: ADD20D LDA $0DD2 C1/A47F: 8552 STA $52 C1/A481: ADD80D LDA $0DD8 C1/A484: 8562 STA $62 C1/A486: ADDA0D LDA $0DDA C1/A489: 8572 STA $72 C1/A48B: A020 LDY #$20 C1/A48D: 8445 STY $45 C1/A48F: 8455 STY $55 C1/A491: 8465 STY $65 C1/A493: 8475 STY $75 C1/A495: A0F0 LDY #$F0 C1/A497: 8C0B42 STY $420B C1/A49A: A94071 LDA #$7140 C1/A49D: 8D1621 STA $2116 C1/A4A0: ADD40D LDA $0DD4 C1/A4A3: 8542 STA $42 C1/A4A5: ADD60D LDA $0DD6 C1/A4A8: 8552 STA $52 C1/A4AA: ADDC0D LDA $0DDC C1/A4AD: 8562 STA $62 C1/A4AF: ADDE0D LDA $0DDE C1/A4B2: 8572 STA $72 C1/A4B4: A020 LDY #$20 C1/A4B6: 8445 STY $45 C1/A4B8: 8455 STY $55 C1/A4BA: 8465 STY $65 C1/A4BC: 8475 STY $75 C1/A4BE: A0F0 LDY #$F0 C1/A4C0: 8C0B42 STY $420B C1/A4C3: CA DEX C1/A4C4: D003 BNE $A4C9 C1/A4C6: 82AD00 BRL $A576 {} C1/A4C9: CA DEX C1/A4CA: F0FA BEQ $A4C6 C1/A4CC: A98070 LDA #$7080 C1/A4CF: 8D1621 STA $2116 C1/A4D2: ADE00D LDA $0DE0 C1/A4D5: 8542 STA $42 C1/A4D7: ADE20D LDA $0DE2 C1/A4DA: 8552 STA $52 C1/A4DC: ADE80D LDA $0DE8 C1/A4DF: 8562 STA $62 C1/A4E1: ADEA0D LDA $0DEA C1/A4E4: 8572 STA $72 C1/A4E6: A020 LDY #$20 C1/A4E8: 8445 STY $45 C1/A4EA: 8455 STY $55 C1/A4EC: 8465 STY $65 C1/A4EE: 8475 STY $75 C1/A4F0: A0F0 LDY #$F0 C1/A4F2: 8C0B42 STY $420B C1/A4F5: A98071 LDA #$7180 C1/A4F8: 8D1621 STA $2116 C1/A4FB: ADE40D LDA $0DE4 C1/A4FE: 8542 STA $42 C1/A500: ADE60D LDA $0DE6 C1/A503: 8552 STA $52 C1/A505: ADEC0D LDA $0DEC C1/A508: 8562 STA $62 C1/A50A: ADEE0D LDA $0DEE C1/A50D: 8572 STA $72 C1/A50F: A020 LDY #$20 C1/A511: 8445 STY $45 C1/A513: 8455 STY $55 C1/A515: 8465 STY $65 C1/A517: 8475 STY $75 C1/A519: A0F0 LDY #$F0 C1/A51B: 8C0B42 STY $420B C1/A51E: CA DEX C1/A51F: F055 BEQ $A576 C1/A521: CA DEX C1/A522: F052 BEQ $A576 {Loop} C1/A524: - A9C070 LDA #$70C0 C1/A527: 8D1621 STA $2116 C1/A52A: ADF00D LDA $0DF0 C1/A52D: 8542 STA $42 C1/A52F: ADF20D LDA $0DF2 C1/A532: 8552 STA $52 C1/A534: ADF80D LDA $0DF8 C1/A537: 8562 STA $62 C1/A539: ADFA0D LDA $0DFA C1/A53C: 8572 STA $72 C1/A53E: A020 LDY #$20 C1/A540: 8445 STY $45 C1/A542: 8455 STY $55 C1/A544: 8465 STY $65 C1/A546: 8475 STY $75 C1/A548: A0F0 LDY #$F0 C1/A54A: 8C0B42 STY $420B {} C1/A54D: A9C071 LDA #$71C0 C1/A550: 8D1621 STA $2116 C1/A553: ADF40D LDA $0DF4 C1/A556: 8542 STA $42 C1/A558: ADF60D LDA $0DF6 C1/A55B: 8552 STA $52 C1/A55D: ADFC0D LDA $0DFC C1/A560: 8562 STA $62 C1/A562: ADFE0D LDA $0DFE C1/A565: 8572 STA $72 C1/A567: A020 LDY #$20 C1/A569: 8445 STY $45 C1/A56B: 8455 STY $55 C1/A56D: 8465 STY $65 C1/A56F: 8475 STY $75 C1/A571: A0F0 LDY #$F0 C1/A573: 8C0B42 STY $420B {} C1/A576: AF8DE87E LDA $7EE88D C1/A57A: AA TAX C1/A57B: F00C BEQ $A589 C1/A57D: 2900FF AND #$FF00 C1/A580: 8F8DE87E STA $7EE88D C1/A584: A204 LDX #$04 C1/A586: 829BFF - BRL $A524 {End} C1/A589: 2B PLD C1/A58A: 6B RTL [Animation stuff?] [NPC #3] C1/A58B: AF83EA7E LDA $7EEA83 C1/A58F: AA TAX C1/A590: D003 + BNE $A595 C1/A592: 822102 BRL $A7B6 {} C1/A595: + A9006A LDA #$6A00 C1/A598: 8D1621 STA $2116 C1/A59B: AD200F LDA $0F20 C1/A59E: 8542 STA $42 C1/A5A0: AD220F LDA $0F22 C1/A5A3: 8552 STA $52 C1/A5A5: AD280F LDA $0F28 C1/A5A8: 8562 STA $62 C1/A5AA: AD2A0F LDA $0F2A C1/A5AD: 8572 STA $72 C1/A5AF: AF82EA7E LDA $7EEA82 C1/A5B3: 29FF00 AND #$00FF C1/A5B6: 090020 ORA #$2000 C1/A5B9: 8544 STA $44 C1/A5BB: 8554 STA $54 C1/A5BD: 8564 STA $64 C1/A5BF: 8574 STA $74 C1/A5C1: A0F0 LDY #$F0 C1/A5C3: 8C0B42 STY $420B {} C1/A5C6: A9006B LDA #$6B00 C1/A5C9: 8D1621 STA $2116 C1/A5CC: AD240F LDA $0F24 C1/A5CF: 8542 STA $42 C1/A5D1: AD260F LDA $0F26 C1/A5D4: 8552 STA $52 C1/A5D6: AD2C0F LDA $0F2C C1/A5D9: 8562 STA $62 C1/A5DB: AD2E0F LDA $0F2E C1/A5DE: 8572 STA $72 C1/A5E0: A020 LDY #$20 C1/A5E2: 8445 STY $45 C1/A5E4: 8455 STY $55 C1/A5E6: 8465 STY $65 C1/A5E8: 8475 STY $75 C1/A5EA: A0F0 LDY #$F0 C1/A5EC: 8C0B42 STY $420B C1/A5EF: CA DEX C1/A5F0: D003 + BNE $A5F5 C1/A5F2: - 82C101 BRL $A7B6 [Branch to End] C1/A5F5: + CA DEX C1/A5F6: F0FA - BEQ $A5F2 {} C1/A5F8: A9406A LDA #$6A40 C1/A5FB: 8D1621 STA $2116 C1/A5FE: AD300F LDA $0F30 C1/A601: 8542 STA $42 C1/A603: AD320F LDA $0F32 C1/A606: 8552 STA $52 C1/A608: AD380F LDA $0F38 C1/A60B: 8562 STA $62 C1/A60D: AD3A0F LDA $0F3A C1/A610: 8572 STA $72 C1/A612: A020 LDY #$20 C1/A614: 8445 STY $45 C1/A616: 8455 STY $55 C1/A618: 8465 STY $65 C1/A61A: 8475 STY $75 C1/A61C: A0F0 LDY #$F0 C1/A61E: 8C0B42 STY $420B C1/A621: A9406B LDA #$6B40 C1/A624: 8D1621 STA $2116 C1/A627: AD340F LDA $0F34 C1/A62A: 8542 STA $42 C1/A62C: AD360F LDA $0F36 C1/A62F: 8552 STA $52 C1/A631: AD3C0F LDA $0F3C C1/A634: 8562 STA $62 C1/A636: AD3E0F LDA $0F3E C1/A639: 8572 STA $72 C1/A63B: A020 LDY #$20 C1/A63D: 8445 STY $45 C1/A63F: 8455 STY $55 C1/A641: 8465 STY $65 C1/A643: 8475 STY $75 C1/A645: A0F0 LDY #$F0 C1/A647: 8C0B42 STY $420B C1/A64A: CA DEX C1/A64B: D003 BNE $A650 C1/A64D: 826601 BRL $A7B6 C1/A650: CA DEX C1/A651: F0FA BEQ $A64D C1/A653: A9806A LDA #$6A80 C1/A656: 8D1621 STA $2116 C1/A659: AD400F LDA $0F40 C1/A65C: 8542 STA $42 C1/A65E: AD420F LDA $0F42 C1/A661: 8552 STA $52 C1/A663: AD480F LDA $0F48 C1/A666: 8562 STA $62 C1/A668: AD4A0F LDA $0F4A C1/A66B: 8572 STA $72 C1/A66D: A020 LDY #$20 C1/A66F: 8445 STY $45 C1/A671: 8455 STY $55 C1/A673: 8465 STY $65 C1/A675: 8475 STY $75 C1/A677: A0F0 LDY #$F0 C1/A679: 8C0B42 STY $420B C1/A67C: A9806B LDA #$6B80 C1/A67F: 8D1621 STA $2116 C1/A682: AD440F LDA $0F44 C1/A685: 8542 STA $42 C1/A687: AD460F LDA $0F46 C1/A68A: 8552 STA $52 C1/A68C: AD4C0F LDA $0F4C C1/A68F: 8562 STA $62 C1/A691: AD4E0F LDA $0F4E C1/A694: 8572 STA $72 C1/A696: A020 LDY #$20 C1/A698: 8445 STY $45 C1/A69A: 8455 STY $55 C1/A69C: 8465 STY $65 C1/A69E: 8475 STY $75 C1/A6A0: A0F0 LDY #$F0 C1/A6A2: 8C0B42 STY $420B C1/A6A5: CA DEX C1/A6A6: D003 BNE $A6AB C1/A6A8: 820B01 BRL $A7B6 C1/A6AB: CA DEX C1/A6AC: F0FA BEQ $A6A8 C1/A6AE: A9C06A LDA #$6AC0 C1/A6B1: 8D1621 STA $2116 C1/A6B4: AD500F LDA $0F50 C1/A6B7: 8542 STA $42 C1/A6B9: AD520F LDA $0F52 C1/A6BC: 8552 STA $52 C1/A6BE: AD580F LDA $0F58 C1/A6C1: 8562 STA $62 C1/A6C3: AD5A0F LDA $0F5A C1/A6C6: 8572 STA $72 C1/A6C8: A020 LDY #$20 C1/A6CA: 8445 STY $45 C1/A6CC: 8455 STY $55 C1/A6CE: 8465 STY $65 C1/A6D0: 8475 STY $75 C1/A6D2: A0F0 LDY #$F0 C1/A6D4: 8C0B42 STY $420B C1/A6D7: A9C06B LDA #$6BC0 C1/A6DA: 8D1621 STA $2116 C1/A6DD: AD540F LDA $0F54 C1/A6E0: 8542 STA $42 C1/A6E2: AD560F LDA $0F56 C1/A6E5: 8552 STA $52 C1/A6E7: AD5C0F LDA $0F5C C1/A6EA: 8562 STA $62 C1/A6EC: AD5E0F LDA $0F5E C1/A6EF: 8572 STA $72 C1/A6F1: A020 LDY #$20 C1/A6F3: 8445 STY $45 C1/A6F5: 8455 STY $55 C1/A6F7: 8465 STY $65 C1/A6F9: 8475 STY $75 C1/A6FB: A0F0 LDY #$F0 C1/A6FD: 8C0B42 STY $420B C1/A700: CA DEX C1/A701: D003 BNE $A706 C1/A703: 82B000 BRL $A7B6 C1/A706: CA DEX C1/A707: F0FA BEQ $A703 C1/A709: A9006C LDA #$6C00 C1/A70C: 8D1621 STA $2116 C1/A70F: AD600F LDA $0F60 C1/A712: 8542 STA $42 C1/A714: AD620F LDA $0F62 C1/A717: 8552 STA $52 C1/A719: AD680F LDA $0F68 C1/A71C: 8562 STA $62 C1/A71E: AD6A0F LDA $0F6A C1/A721: 8572 STA $72 C1/A723: A020 LDY #$20 C1/A725: 8445 STY $45 C1/A727: 8455 STY $55 C1/A729: 8465 STY $65 C1/A72B: 8475 STY $75 C1/A72D: A0F0 LDY #$F0 C1/A72F: 8C0B42 STY $420B C1/A732: A9006D LDA #$6D00 C1/A735: 8D1621 STA $2116 C1/A738: AD640F LDA $0F64 C1/A73B: 8542 STA $42 C1/A73D: AD660F LDA $0F66 C1/A740: 8552 STA $52 C1/A742: AD6C0F LDA $0F6C C1/A745: 8562 STA $62 C1/A747: AD6E0F LDA $0F6E C1/A74A: 8572 STA $72 C1/A74C: A020 LDY #$20 C1/A74E: 8445 STY $45 C1/A750: 8455 STY $55 C1/A752: 8465 STY $65 C1/A754: 8475 STY $75 C1/A756: A0F0 LDY #$F0 C1/A758: 8C0B42 STY $420B C1/A75B: CA DEX C1/A75C: D003 BNE $A761 C1/A75E: 825500 BRL $A7B6 C1/A761: CA DEX C1/A762: F0FA BEQ $A75E C1/A764: A9406C LDA #$6C40 C1/A767: 8D1621 STA $2116 C1/A76A: AD700F LDA $0F70 C1/A76D: 8542 STA $42 C1/A76F: AD720F LDA $0F72 C1/A772: 8552 STA $52 C1/A774: AD780F LDA $0F78 C1/A777: 8562 STA $62 C1/A779: AD7A0F LDA $0F7A C1/A77C: 8572 STA $72 C1/A77E: A020 LDY #$20 C1/A780: 8445 STY $45 C1/A782: 8455 STY $55 C1/A784: 8465 STY $65 C1/A786: 8475 STY $75 C1/A788: A0F0 LDY #$F0 C1/A78A: 8C0B42 STY $420B C1/A78D: A9406D LDA #$6D40 C1/A790: 8D1621 STA $2116 C1/A793: AD740F LDA $0F74 C1/A796: 8542 STA $42 C1/A798: AD760F LDA $0F76 C1/A79B: 8552 STA $52 C1/A79D: AD7C0F LDA $0F7C C1/A7A0: 8562 STA $62 C1/A7A2: AD7E0F LDA $0F7E C1/A7A5: 8572 STA $72 C1/A7A7: A020 LDY #$20 C1/A7A9: 8445 STY $45 C1/A7AB: 8455 STY $55 C1/A7AD: 8465 STY $65 C1/A7AF: 8475 STY $75 C1/A7B1: A0F0 LDY #$F0 C1/A7B3: 8C0B42 STY $420B C1/A7B6: AF84EA7E LDA $7EEA84 C1/A7BA: AA TAX C1/A7BB: D003 BNE $A7C0 C1/A7BD: 82BC01 BRL $A97C C1/A7C0: A90072 LDA #$7200 C1/A7C3: 8D1621 STA $2116 C1/A7C6: AD000E LDA $0E00 C1/A7C9: 8542 STA $42 C1/A7CB: AD020E LDA $0E02 C1/A7CE: 8552 STA $52 C1/A7D0: AD080E LDA $0E08 C1/A7D3: 8562 STA $62 C1/A7D5: AD0A0E LDA $0E0A C1/A7D8: 8572 STA $72 C1/A7DA: A97E20 LDA #$207E C1/A7DD: 8544 STA $44 C1/A7DF: 8554 STA $54 C1/A7E1: 8564 STA $64 C1/A7E3: 8574 STA $74 C1/A7E5: A0F0 LDY #$F0 C1/A7E7: 8C0B42 STY $420B C1/A7EA: A90073 LDA #$7300 C1/A7ED: 8D1621 STA $2116 C1/A7F0: AD040E LDA $0E04 C1/A7F3: 8542 STA $42 C1/A7F5: AD060E LDA $0E06 C1/A7F8: 8552 STA $52 C1/A7FA: AD0C0E LDA $0E0C C1/A7FD: 8562 STA $62 C1/A7FF: AD0E0E LDA $0E0E C1/A802: 8572 STA $72 C1/A804: A020 LDY #$20 C1/A806: 8445 STY $45 C1/A808: 8455 STY $55 C1/A80A: 8465 STY $65 C1/A80C: 8475 STY $75 C1/A80E: A0F0 LDY #$F0 C1/A810: 8C0B42 STY $420B C1/A813: CA DEX C1/A814: D003 BNE $A819 C1/A816: 826301 BRL $A97C C1/A819: CA DEX C1/A81A: F0FA BEQ $A816 C1/A81C: A94072 LDA #$7240 C1/A81F: 8D1621 STA $2116 C1/A822: AD100E LDA $0E10 C1/A825: 8542 STA $42 C1/A827: AD120E LDA $0E12 C1/A82A: 8552 STA $52 C1/A82C: AD180E LDA $0E18 C1/A82F: 8562 STA $62 C1/A831: AD1A0E LDA $0E1A C1/A834: 8572 STA $72 C1/A836: A020 LDY #$20 C1/A838: 8445 STY $45 C1/A83A: 8455 STY $55 C1/A83C: 8465 STY $65 C1/A83E: 8475 STY $75 C1/A840: A0F0 LDY #$F0 C1/A842: 8C0B42 STY $420B C1/A845: A94073 LDA #$7340 C1/A848: 8D1621 STA $2116 C1/A84B: AD140E LDA $0E14 C1/A84E: 8542 STA $42 C1/A850: AD160E LDA $0E16 C1/A853: 8552 STA $52 C1/A855: AD1C0E LDA $0E1C C1/A858: 8562 STA $62 C1/A85A: AD1E0E LDA $0E1E C1/A85D: 8572 STA $72 C1/A85F: A020 LDY #$20 C1/A861: 8445 STY $45 C1/A863: 8455 STY $55 C1/A865: 8465 STY $65 C1/A867: 8475 STY $75 C1/A869: A0F0 LDY #$F0 C1/A86B: 8C0B42 STY $420B C1/A86E: CA DEX C1/A86F: D003 BNE $A874 C1/A871: 820801 BRL $A97C C1/A874: CA DEX C1/A875: F0FA BEQ $A871 C1/A877: A98072 LDA #$7280 C1/A87A: 8D1621 STA $2116 C1/A87D: AD200E LDA $0E20 C1/A880: 8542 STA $42 C1/A882: AD220E LDA $0E22 C1/A885: 8552 STA $52 C1/A887: AD280E LDA $0E28 C1/A88A: 8562 STA $62 C1/A88C: AD2A0E LDA $0E2A C1/A88F: 8572 STA $72 C1/A891: A020 LDY #$20 C1/A893: 8445 STY $45 C1/A895: 8455 STY $55 C1/A897: 8465 STY $65 C1/A899: 8475 STY $75 C1/A89B: A0F0 LDY #$F0 C1/A89D: 8C0B42 STY $420B C1/A8A0: A98073 LDA #$7380 C1/A8A3: 8D1621 STA $2116 C1/A8A6: AD240E LDA $0E24 C1/A8A9: 8542 STA $42 C1/A8AB: AD260E LDA $0E26 C1/A8AE: 8552 STA $52 C1/A8B0: AD2C0E LDA $0E2C C1/A8B3: 8562 STA $62 C1/A8B5: AD2E0E LDA $0E2E C1/A8B8: 8572 STA $72 C1/A8BA: A020 LDY #$20 C1/A8BC: 8445 STY $45 C1/A8BE: 8455 STY $55 C1/A8C0: 8465 STY $65 C1/A8C2: 8475 STY $75 C1/A8C4: A0F0 LDY #$F0 C1/A8C6: 8C0B42 STY $420B C1/A8C9: CA DEX C1/A8CA: D003 + BNE $A8CF C1/A8CC: - 82AD00 BRL $A97C C1/A8CF: + CA DEX C1/A8D0: F0FA - BEQ $A8CC {} C1/A8D2: A9C072 LDA #$72C0 C1/A8D5: 8D1621 STA $2116 C1/A8D8: AD300E LDA $0E30 C1/A8DB: 8542 STA $42 C1/A8DD: AD320E LDA $0E32 C1/A8E0: 8552 STA $52 C1/A8E2: AD380E LDA $0E38 C1/A8E5: 8562 STA $62 C1/A8E7: AD3A0E LDA $0E3A C1/A8EA: 8572 STA $72 C1/A8EC: A020 LDY #$20 C1/A8EE: 8445 STY $45 C1/A8F0: 8455 STY $55 C1/A8F2: 8465 STY $65 C1/A8F4: 8475 STY $75 C1/A8F6: A0F0 LDY #$F0 C1/A8F8: 8C0B42 STY $420B {} C1/A8FB: A9C073 LDA #$73C0 C1/A8FE: 8D1621 STA $2116 C1/A901: AD340E LDA $0E34 C1/A904: 8542 STA $42 C1/A906: AD360E LDA $0E36 C1/A909: 8552 STA $52 C1/A90B: AD3C0E LDA $0E3C C1/A90E: 8562 STA $62 C1/A910: AD3E0E LDA $0E3E C1/A913: 8572 STA $72 C1/A915: A020 LDY #$20 C1/A917: 8445 STY $45 C1/A919: 8455 STY $55 C1/A91B: 8465 STY $65 C1/A91D: 8475 STY $75 C1/A91F: A0F0 LDY #$F0 C1/A921: 8C0B42 STY $420B C1/A924: CA DEX C1/A925: F055 BEQ $A97C [Branch to End] C1/A927: CA DEX C1/A928: F052 BEQ $A97C [Branch to End] {} C1/A92A: A90074 LDA #$7400 C1/A92D: 8D1621 STA $2116 C1/A930: AD400E LDA $0E40 C1/A933: 8542 STA $42 C1/A935: AD420E LDA $0E42 C1/A938: 8552 STA $52 C1/A93A: AD480E LDA $0E48 C1/A93D: 8562 STA $62 C1/A93F: AD4A0E LDA $0E4A C1/A942: 8572 STA $72 C1/A944: A020 LDY #$20 C1/A946: 8445 STY $45 C1/A948: 8455 STY $55 C1/A94A: 8465 STY $65 C1/A94C: 8475 STY $75 C1/A94E: A0F0 LDY #$F0 C1/A950: 8C0B42 STY $420B {} C1/A953: A90075 LDA #$7500 C1/A956: 8D1621 STA $2116 C1/A959: AD440E LDA $0E44 C1/A95C: 8542 STA $42 C1/A95E: AD460E LDA $0E46 C1/A961: 8552 STA $52 C1/A963: AD4C0E LDA $0E4C C1/A966: 8562 STA $62 C1/A968: AD4E0E LDA $0E4E C1/A96B: 8572 STA $72 C1/A96D: A020 LDY #$20 C1/A96F: 8445 STY $45 C1/A971: 8455 STY $55 C1/A973: 8465 STY $65 C1/A975: 8475 STY $75 C1/A977: A0F0 LDY #$F0 C1/A979: 8C0B42 STY $420B {End} C1/A97C: AF8DEA7E LDA $7EEA8D C1/A980: AA TAX C1/A981: F00C BEQ $A98F C1/A983: 2900FF AND #$FF00 C1/A986: 8F8DEA7E STA $7EEA8D C1/A98A: A204 LDX #$04 C1/A98C: 829BFF BRL $A92A C1/A98F: 2B PLD C1/A990: 6B RTL [What the hell is all this] [NPC #1, NPC #2, NPC #3?] C1/A991: AF83E67E LDA $7EE683 C1/A995: AA TAX C1/A996: D003 + BNE $A99B C1/A998: 82B200 BRL $AA4D {} C1/A99B: + A90064 LDA #$6400 C1/A99E: 8D1621 STA $2116 C1/A9A1: AD600E LDA $0E60 C1/A9A4: 8542 STA $42 C1/A9A6: AD620E LDA $0E62 C1/A9A9: 8552 STA $52 C1/A9AB: AD680E LDA $0E68 C1/A9AE: 8562 STA $62 C1/A9B0: AD6A0E LDA $0E6A C1/A9B3: 8572 STA $72 C1/A9B5: AF82E67E LDA $7EE682 C1/A9B9: 29FF00 AND #$00FF C1/A9BC: 090020 ORA #$2000 C1/A9BF: 8544 STA $44 C1/A9C1: 8554 STA $54 C1/A9C3: 8564 STA $64 C1/A9C5: 8574 STA $74 C1/A9C7: A0F0 LDY #$F0 C1/A9C9: 8C0B42 STY $420B {} C1/A9CC: A90065 LDA #$6500 C1/A9CF: 8D1621 STA $2116 C1/A9D2: AD640E LDA $0E64 C1/A9D5: 8542 STA $42 C1/A9D7: AD660E LDA $0E66 C1/A9DA: 8552 STA $52 C1/A9DC: AD6C0E LDA $0E6C C1/A9DF: 8562 STA $62 C1/A9E1: AD6E0E LDA $0E6E C1/A9E4: 8572 STA $72 C1/A9E6: A020 LDY #$20 C1/A9E8: 8445 STY $45 C1/A9EA: 8455 STY $55 C1/A9EC: 8465 STY $65 C1/A9EE: 8475 STY $75 C1/A9F0: A0F0 LDY #$F0 C1/A9F2: 8C0B42 STY $420B C1/A9F5: CA DEX C1/A9F6: F055 BEQ $AA4D C1/A9F8: CA DEX C1/A9F9: F052 BEQ $AA4D {} C1/A9FB: A94064 LDA #$6440 C1/A9FE: 8D1621 STA $2116 C1/AA01: AD700E LDA $0E70 C1/AA04: 8542 STA $42 C1/AA06: AD720E LDA $0E72 C1/AA09: 8552 STA $52 C1/AA0B: AD780E LDA $0E78 C1/AA0E: 8562 STA $62 C1/AA10: AD7A0E LDA $0E7A C1/AA13: 8572 STA $72 C1/AA15: A020 LDY #$20 C1/AA17: 8445 STY $45 C1/AA19: 8455 STY $55 C1/AA1B: 8465 STY $65 C1/AA1D: 8475 STY $75 C1/AA1F: A0F0 LDY #$F0 C1/AA21: 8C0B42 STY $420B {} C1/AA24: A94065 LDA #$6540 C1/AA27: 8D1621 STA $2116 C1/AA2A: AD740E LDA $0E74 C1/AA2D: 8542 STA $42 C1/AA2F: AD760E LDA $0E76 C1/AA32: 8552 STA $52 C1/AA34: AD7C0E LDA $0E7C C1/AA37: 8562 STA $62 C1/AA39: AD7E0E LDA $0E7E C1/AA3C: 8572 STA $72 C1/AA3E: A020 LDY #$20 C1/AA40: 8445 STY $45 C1/AA42: 8455 STY $55 C1/AA44: 8465 STY $65 C1/AA46: 8475 STY $75 C1/AA48: A0F0 LDY #$F0 C1/AA4A: 8C0B42 STY $420B C1/AA4D: AF83E87E LDA $7EE883 C1/AA51: AA TAX C1/AA52: D003 + BNE $AA57 C1/AA54: 82B200 BRL $AB09 {} C1/AA57: + A98064 LDA #$6480 C1/AA5A: 8D1621 STA $2116 C1/AA5D: AD800E LDA $0E80 C1/AA60: 8542 STA $42 C1/AA62: AD820E LDA $0E82 C1/AA65: 8552 STA $52 C1/AA67: AD880E LDA $0E88 C1/AA6A: 8562 STA $62 C1/AA6C: AD8A0E LDA $0E8A C1/AA6F: 8572 STA $72 C1/AA71: AF82E87E LDA $7EE882 C1/AA75: 29FF00 AND #$00FF C1/AA78: 090020 ORA #$2000 C1/AA7B: 8544 STA $44 C1/AA7D: 8554 STA $54 C1/AA7F: 8564 STA $64 C1/AA81: 8574 STA $74 C1/AA83: A0F0 LDY #$F0 C1/AA85: 8C0B42 STY $420B C1/AA88: A98065 LDA #$6580 C1/AA8B: 8D1621 STA $2116 C1/AA8E: AD840E LDA $0E84 C1/AA91: 8542 STA $42 C1/AA93: AD860E LDA $0E86 C1/AA96: 8552 STA $52 C1/AA98: AD8C0E LDA $0E8C C1/AA9B: 8562 STA $62 C1/AA9D: AD8E0E LDA $0E8E C1/AAA0: 8572 STA $72 C1/AAA2: A020 LDY #$20 C1/AAA4: 8445 STY $45 C1/AAA6: 8455 STY $55 C1/AAA8: 8465 STY $65 C1/AAAA: 8475 STY $75 C1/AAAC: A0F0 LDY #$F0 C1/AAAE: 8C0B42 STY $420B C1/AAB1: CA DEX C1/AAB2: F055 BEQ $AB09 C1/AAB4: CA DEX C1/AAB5: F052 BEQ $AB09 C1/AAB7: A9C064 LDA #$64C0 C1/AABA: 8D1621 STA $2116 C1/AABD: AD900E LDA $0E90 C1/AAC0: 8542 STA $42 C1/AAC2: AD920E LDA $0E92 C1/AAC5: 8552 STA $52 C1/AAC7: AD980E LDA $0E98 C1/AACA: 8562 STA $62 C1/AACC: AD9A0E LDA $0E9A C1/AACF: 8572 STA $72 C1/AAD1: A020 LDY #$20 C1/AAD3: 8445 STY $45 C1/AAD5: 8455 STY $55 C1/AAD7: 8465 STY $65 C1/AAD9: 8475 STY $75 C1/AADB: A0F0 LDY #$F0 C1/AADD: 8C0B42 STY $420B C1/AAE0: A9C065 LDA #$65C0 C1/AAE3: 8D1621 STA $2116 C1/AAE6: AD940E LDA $0E94 C1/AAE9: 8542 STA $42 C1/AAEB: AD960E LDA $0E96 C1/AAEE: 8552 STA $52 C1/AAF0: AD9C0E LDA $0E9C C1/AAF3: 8562 STA $62 C1/AAF5: AD9E0E LDA $0E9E C1/AAF8: 8572 STA $72 C1/AAFA: A020 LDY #$20 C1/AAFC: 8445 STY $45 C1/AAFE: 8455 STY $55 C1/AB00: 8465 STY $65 C1/AB02: 8475 STY $75 C1/AB04: A0F0 LDY #$F0 C1/AB06: 8C0B42 STY $420B C1/AB09: AF83EA7E LDA $7EEA83 C1/AB0D: AA TAX C1/AB0E: D003 BNE $AB13 C1/AB10: 82B200 BRL $ABC5 C1/AB13: A90066 LDA #$6600 C1/AB16: 8D1621 STA $2116 C1/AB19: ADA00E LDA $0EA0 C1/AB1C: 8542 STA $42 C1/AB1E: ADA20E LDA $0EA2 C1/AB21: 8552 STA $52 C1/AB23: ADA80E LDA $0EA8 C1/AB26: 8562 STA $62 C1/AB28: ADAA0E LDA $0EAA C1/AB2B: 8572 STA $72 C1/AB2D: AF82EA7E LDA $7EEA82 C1/AB31: 29FF00 AND #$00FF C1/AB34: 090020 ORA #$2000 C1/AB37: 8544 STA $44 C1/AB39: 8554 STA $54 C1/AB3B: 8564 STA $64 C1/AB3D: 8574 STA $74 C1/AB3F: A0F0 LDY #$F0 C1/AB41: 8C0B42 STY $420B C1/AB44: A90067 LDA #$6700 C1/AB47: 8D1621 STA $2116 C1/AB4A: ADA40E LDA $0EA4 C1/AB4D: 8542 STA $42 C1/AB4F: ADA60E LDA $0EA6 C1/AB52: 8552 STA $52 C1/AB54: ADAC0E LDA $0EAC C1/AB57: 8562 STA $62 C1/AB59: ADAE0E LDA $0EAE C1/AB5C: 8572 STA $72 C1/AB5E: A020 LDY #$20 C1/AB60: 8445 STY $45 C1/AB62: 8455 STY $55 C1/AB64: 8465 STY $65 C1/AB66: 8475 STY $75 C1/AB68: A0F0 LDY #$F0 C1/AB6A: 8C0B42 STY $420B C1/AB6D: CA DEX C1/AB6E: F055 BEQ $ABC5 C1/AB70: CA DEX C1/AB71: F052 BEQ $ABC5 C1/AB73: A94066 LDA #$6640 C1/AB76: 8D1621 STA $2116 C1/AB79: ADB00E LDA $0EB0 C1/AB7C: 8542 STA $42 C1/AB7E: ADB20E LDA $0EB2 C1/AB81: 8552 STA $52 C1/AB83: ADB80E LDA $0EB8 C1/AB86: 8562 STA $62 C1/AB88: ADBA0E LDA $0EBA C1/AB8B: 8572 STA $72 C1/AB8D: A020 LDY #$20 C1/AB8F: 8445 STY $45 C1/AB91: 8455 STY $55 C1/AB93: 8465 STY $65 C1/AB95: 8475 STY $75 C1/AB97: A0F0 LDY #$F0 C1/AB99: 8C0B42 STY $420B C1/AB9C: A94067 LDA #$6740 C1/AB9F: 8D1621 STA $2116 C1/ABA2: ADB40E LDA $0EB4 C1/ABA5: 8542 STA $42 C1/ABA7: ADB60E LDA $0EB6 C1/ABAA: 8552 STA $52 C1/ABAC: ADBC0E LDA $0EBC C1/ABAF: 8562 STA $62 C1/ABB1: ADBE0E LDA $0EBE C1/ABB4: 8572 STA $72 C1/ABB6: A020 LDY #$20 C1/ABB8: 8445 STY $45 C1/ABBA: 8455 STY $55 C1/ABBC: 8465 STY $65 C1/ABBE: 8475 STY $75 C1/ABC0: A0F0 LDY #$F0 C1/ABC2: 8C0B42 STY $420B C1/ABC5: 2B PLD C1/ABC6: 6B RTL [What the hell is all this] [NPC #4, NPC #5, NPC #6?] C1/ABC7: AF83EC7E LDA $7EEC83 C1/ABCB: AA TAX C1/ABCC: D003 BNE $ABD1 C1/ABCE: 82B200 BRL $AC83 C1/ABD1: A98066 LDA #$6680 C1/ABD4: 8D1621 STA $2116 C1/ABD7: ADC00E LDA $0EC0 C1/ABDA: 8542 STA $42 C1/ABDC: ADC20E LDA $0EC2 C1/ABDF: 8552 STA $52 C1/ABE1: ADC80E LDA $0EC8 C1/ABE4: 8562 STA $62 C1/ABE6: ADCA0E LDA $0ECA C1/ABE9: 8572 STA $72 C1/ABEB: AF82EC7E LDA $7EEC82 C1/ABEF: 29FF00 AND #$00FF C1/ABF2: 090020 ORA #$2000 C1/ABF5: 8544 STA $44 C1/ABF7: 8554 STA $54 C1/ABF9: 8564 STA $64 C1/ABFB: 8574 STA $74 C1/ABFD: A0F0 LDY #$F0 C1/ABFF: 8C0B42 STY $420B C1/AC02: A98067 LDA #$6780 C1/AC05: 8D1621 STA $2116 C1/AC08: ADC40E LDA $0EC4 C1/AC0B: 8542 STA $42 C1/AC0D: ADC60E LDA $0EC6 C1/AC10: 8552 STA $52 C1/AC12: ADCC0E LDA $0ECC C1/AC15: 8562 STA $62 C1/AC17: ADCE0E LDA $0ECE C1/AC1A: 8572 STA $72 C1/AC1C: A020 LDY #$20 C1/AC1E: 8445 STY $45 C1/AC20: 8455 STY $55 C1/AC22: 8465 STY $65 C1/AC24: 8475 STY $75 C1/AC26: A0F0 LDY #$F0 C1/AC28: 8C0B42 STY $420B C1/AC2B: CA DEX C1/AC2C: F055 BEQ $AC83 C1/AC2E: CA DEX C1/AC2F: F052 BEQ $AC83 C1/AC31: A9C066 LDA #$66C0 C1/AC34: 8D1621 STA $2116 C1/AC37: ADD00E LDA $0ED0 C1/AC3A: 8542 STA $42 C1/AC3C: ADD20E LDA $0ED2 C1/AC3F: 8552 STA $52 C1/AC41: ADD80E LDA $0ED8 C1/AC44: 8562 STA $62 C1/AC46: ADDA0E LDA $0EDA C1/AC49: 8572 STA $72 C1/AC4B: A020 LDY #$20 C1/AC4D: 8445 STY $45 C1/AC4F: 8455 STY $55 C1/AC51: 8465 STY $65 C1/AC53: 8475 STY $75 C1/AC55: A0F0 LDY #$F0 C1/AC57: 8C0B42 STY $420B C1/AC5A: A9C067 LDA #$67C0 C1/AC5D: 8D1621 STA $2116 C1/AC60: ADD40E LDA $0ED4 C1/AC63: 8542 STA $42 C1/AC65: ADD60E LDA $0ED6 C1/AC68: 8552 STA $52 C1/AC6A: ADDC0E LDA $0EDC C1/AC6D: 8562 STA $62 C1/AC6F: ADDE0E LDA $0EDE C1/AC72: 8572 STA $72 C1/AC74: A020 LDY #$20 C1/AC76: 8445 STY $45 C1/AC78: 8455 STY $55 C1/AC7A: 8465 STY $65 C1/AC7C: 8475 STY $75 C1/AC7E: A0F0 LDY #$F0 C1/AC80: 8C0B42 STY $420B C1/AC83: AF83EE7E LDA $7EEE83 C1/AC87: AA TAX C1/AC88: D003 BNE $AC8D C1/AC8A: 82B200 BRL $AD3F C1/AC8D: A90068 LDA #$6800 C1/AC90: 8D1621 STA $2116 C1/AC93: ADE00E LDA $0EE0 C1/AC96: 8542 STA $42 C1/AC98: ADE20E LDA $0EE2 C1/AC9B: 8552 STA $52 C1/AC9D: ADE80E LDA $0EE8 C1/ACA0: 8562 STA $62 C1/ACA2: ADEA0E LDA $0EEA C1/ACA5: 8572 STA $72 C1/ACA7: AF82EE7E LDA $7EEE82 C1/ACAB: 29FF00 AND #$00FF C1/ACAE: 090020 ORA #$2000 C1/ACB1: 8544 STA $44 C1/ACB3: 8554 STA $54 C1/ACB5: 8564 STA $64 C1/ACB7: 8574 STA $74 C1/ACB9: A0F0 LDY #$F0 C1/ACBB: 8C0B42 STY $420B C1/ACBE: A90069 LDA #$6900 C1/ACC1: 8D1621 STA $2116 C1/ACC4: ADE40E LDA $0EE4 C1/ACC7: 8542 STA $42 C1/ACC9: ADE60E LDA $0EE6 C1/ACCC: 8552 STA $52 C1/ACCE: ADEC0E LDA $0EEC C1/ACD1: 8562 STA $62 C1/ACD3: ADEE0E LDA $0EEE C1/ACD6: 8572 STA $72 C1/ACD8: A020 LDY #$20 C1/ACDA: 8445 STY $45 C1/ACDC: 8455 STY $55 C1/ACDE: 8465 STY $65 C1/ACE0: 8475 STY $75 C1/ACE2: A0F0 LDY #$F0 C1/ACE4: 8C0B42 STY $420B C1/ACE7: CA DEX C1/ACE8: F055 BEQ $AD3F C1/ACEA: CA DEX C1/ACEB: F052 BEQ $AD3F C1/ACED: A94068 LDA #$6840 C1/ACF0: 8D1621 STA $2116 C1/ACF3: ADF00E LDA $0EF0 C1/ACF6: 8542 STA $42 C1/ACF8: ADF20E LDA $0EF2 C1/ACFB: 8552 STA $52 C1/ACFD: ADF80E LDA $0EF8 C1/AD00: 8562 STA $62 C1/AD02: ADFA0E LDA $0EFA C1/AD05: 8572 STA $72 C1/AD07: A020 LDY #$20 C1/AD09: 8445 STY $45 C1/AD0B: 8455 STY $55 C1/AD0D: 8465 STY $65 C1/AD0F: 8475 STY $75 C1/AD11: A0F0 LDY #$F0 C1/AD13: 8C0B42 STY $420B C1/AD16: A94069 LDA #$6940 C1/AD19: 8D1621 STA $2116 C1/AD1C: ADF40E LDA $0EF4 C1/AD1F: 8542 STA $42 C1/AD21: ADF60E LDA $0EF6 C1/AD24: 8552 STA $52 C1/AD26: ADFC0E LDA $0EFC C1/AD29: 8562 STA $62 C1/AD2B: ADFE0E LDA $0EFE C1/AD2E: 8572 STA $72 C1/AD30: A020 LDY #$20 C1/AD32: 8445 STY $45 C1/AD34: 8455 STY $55 C1/AD36: 8465 STY $65 C1/AD38: 8475 STY $75 C1/AD3A: A0F0 LDY #$F0 C1/AD3C: 8C0B42 STY $420B C1/AD3F: AF83F07E LDA $7EF083 C1/AD43: AA TAX C1/AD44: D003 BNE $AD49 C1/AD46: 82B200 BRL $ADFB C1/AD49: A98068 LDA #$6880 C1/AD4C: 8D1621 STA $2116 C1/AD4F: AD000F LDA $0F00 C1/AD52: 8542 STA $42 C1/AD54: AD020F LDA $0F02 C1/AD57: 8552 STA $52 C1/AD59: AD080F LDA $0F08 C1/AD5C: 8562 STA $62 C1/AD5E: AD0A0F LDA $0F0A C1/AD61: 8572 STA $72 C1/AD63: AF82F07E LDA $7EF082 C1/AD67: 29FF00 AND #$00FF C1/AD6A: 090020 ORA #$2000 C1/AD6D: 8544 STA $44 C1/AD6F: 8554 STA $54 C1/AD71: 8564 STA $64 C1/AD73: 8574 STA $74 C1/AD75: A0F0 LDY #$F0 C1/AD77: 8C0B42 STY $420B C1/AD7A: A98069 LDA #$6980 C1/AD7D: 8D1621 STA $2116 C1/AD80: AD040F LDA $0F04 C1/AD83: 8542 STA $42 C1/AD85: AD060F LDA $0F06 C1/AD88: 8552 STA $52 C1/AD8A: AD0C0F LDA $0F0C C1/AD8D: 8562 STA $62 C1/AD8F: AD0E0F LDA $0F0E C1/AD92: 8572 STA $72 C1/AD94: A020 LDY #$20 C1/AD96: 8445 STY $45 C1/AD98: 8455 STY $55 C1/AD9A: 8465 STY $65 C1/AD9C: 8475 STY $75 C1/AD9E: A0F0 LDY #$F0 C1/ADA0: 8C0B42 STY $420B C1/ADA3: CA DEX C1/ADA4: F055 BEQ $ADFB C1/ADA6: CA DEX C1/ADA7: F052 BEQ $ADFB C1/ADA9: A9C068 LDA #$68C0 C1/ADAC: 8D1621 STA $2116 C1/ADAF: AD100F LDA $0F10 C1/ADB2: 8542 STA $42 C1/ADB4: AD120F LDA $0F12 C1/ADB7: 8552 STA $52 C1/ADB9: AD180F LDA $0F18 C1/ADBC: 8562 STA $62 C1/ADBE: AD1A0F LDA $0F1A C1/ADC1: 8572 STA $72 C1/ADC3: A020 LDY #$20 C1/ADC5: 8445 STY $45 C1/ADC7: 8455 STY $55 C1/ADC9: 8465 STY $65 C1/ADCB: 8475 STY $75 C1/ADCD: A0F0 LDY #$F0 C1/ADCF: 8C0B42 STY $420B C1/ADD2: A9C069 LDA #$69C0 C1/ADD5: 8D1621 STA $2116 C1/ADD8: AD140F LDA $0F14 C1/ADDB: 8542 STA $42 C1/ADDD: AD160F LDA $0F16 C1/ADE0: 8552 STA $52 C1/ADE2: AD1C0F LDA $0F1C C1/ADE5: 8562 STA $62 C1/ADE7: AD1E0F LDA $0F1E C1/ADEA: 8572 STA $72 C1/ADEC: A020 LDY #$20 C1/ADEE: 8445 STY $45 C1/ADF0: 8455 STY $55 C1/ADF2: 8465 STY $65 C1/ADF4: 8475 STY $75 C1/ADF6: A0F0 LDY #$F0 C1/ADF8: 8C0B42 STY $420B C1/ADFB: 2B PLD C1/ADFC: 6B RTL [NPC #7, NPC #8, NPC #9?] C1/ADFD: AF83F27E LDA $7EF283 C1/AE01: AA TAX C1/AE02: D003 BNE $AE07 C1/AE04: 82B200 BRL $AEB9 C1/AE07: A9006A LDA #$6A00 C1/AE0A: 8D1621 STA $2116 C1/AE0D: AD200F LDA $0F20 C1/AE10: 8542 STA $42 C1/AE12: AD220F LDA $0F22 C1/AE15: 8552 STA $52 C1/AE17: AD280F LDA $0F28 C1/AE1A: 8562 STA $62 C1/AE1C: AD2A0F LDA $0F2A C1/AE1F: 8572 STA $72 C1/AE21: AF82F27E LDA $7EF282 C1/AE25: 29FF00 AND #$00FF C1/AE28: 090020 ORA #$2000 C1/AE2B: 8544 STA $44 C1/AE2D: 8554 STA $54 C1/AE2F: 8564 STA $64 C1/AE31: 8574 STA $74 C1/AE33: A0F0 LDY #$F0 C1/AE35: 8C0B42 STY $420B C1/AE38: A9006B LDA #$6B00 C1/AE3B: 8D1621 STA $2116 C1/AE3E: AD240F LDA $0F24 C1/AE41: 8542 STA $42 C1/AE43: AD260F LDA $0F26 C1/AE46: 8552 STA $52 C1/AE48: AD2C0F LDA $0F2C C1/AE4B: 8562 STA $62 C1/AE4D: AD2E0F LDA $0F2E C1/AE50: 8572 STA $72 C1/AE52: A020 LDY #$20 C1/AE54: 8445 STY $45 C1/AE56: 8455 STY $55 C1/AE58: 8465 STY $65 C1/AE5A: 8475 STY $75 C1/AE5C: A0F0 LDY #$F0 C1/AE5E: 8C0B42 STY $420B C1/AE61: CA DEX C1/AE62: F055 BEQ $AEB9 C1/AE64: CA DEX C1/AE65: F052 BEQ $AEB9 C1/AE67: A9406A LDA #$6A40 C1/AE6A: 8D1621 STA $2116 C1/AE6D: AD300F LDA $0F30 C1/AE70: 8542 STA $42 C1/AE72: AD320F LDA $0F32 C1/AE75: 8552 STA $52 C1/AE77: AD380F LDA $0F38 C1/AE7A: 8562 STA $62 C1/AE7C: AD3A0F LDA $0F3A C1/AE7F: 8572 STA $72 C1/AE81: A020 LDY #$20 C1/AE83: 8445 STY $45 C1/AE85: 8455 STY $55 C1/AE87: 8465 STY $65 C1/AE89: 8475 STY $75 C1/AE8B: A0F0 LDY #$F0 C1/AE8D: 8C0B42 STY $420B C1/AE90: A9406B LDA #$6B40 C1/AE93: 8D1621 STA $2116 C1/AE96: AD340F LDA $0F34 C1/AE99: 8542 STA $42 C1/AE9B: AD360F LDA $0F36 C1/AE9E: 8552 STA $52 C1/AEA0: AD3C0F LDA $0F3C C1/AEA3: 8562 STA $62 C1/AEA5: AD3E0F LDA $0F3E C1/AEA8: 8572 STA $72 C1/AEAA: A020 LDY #$20 C1/AEAC: 8445 STY $45 C1/AEAE: 8455 STY $55 C1/AEB0: 8465 STY $65 C1/AEB2: 8475 STY $75 C1/AEB4: A0F0 LDY #$F0 C1/AEB6: 8C0B42 STY $420B C1/AEB9: AF83F47E LDA $7EF483 C1/AEBD: AA TAX C1/AEBE: D003 BNE $AEC3 C1/AEC0: 82B200 BRL $AF75 C1/AEC3: A9806A LDA #$6A80 C1/AEC6: 8D1621 STA $2116 C1/AEC9: AD400F LDA $0F40 C1/AECC: 8542 STA $42 C1/AECE: AD420F LDA $0F42 C1/AED1: 8552 STA $52 C1/AED3: AD480F LDA $0F48 C1/AED6: 8562 STA $62 C1/AED8: AD4A0F LDA $0F4A C1/AEDB: 8572 STA $72 C1/AEDD: AF82F47E LDA $7EF482 C1/AEE1: 29FF00 AND #$00FF C1/AEE4: 090020 ORA #$2000 C1/AEE7: 8544 STA $44 C1/AEE9: 8554 STA $54 C1/AEEB: 8564 STA $64 C1/AEED: 8574 STA $74 C1/AEEF: A0F0 LDY #$F0 C1/AEF1: 8C0B42 STY $420B C1/AEF4: A9806B LDA #$6B80 C1/AEF7: 8D1621 STA $2116 C1/AEFA: AD440F LDA $0F44 C1/AEFD: 8542 STA $42 C1/AEFF: AD460F LDA $0F46 C1/AF02: 8552 STA $52 C1/AF04: AD4C0F LDA $0F4C C1/AF07: 8562 STA $62 C1/AF09: AD4E0F LDA $0F4E C1/AF0C: 8572 STA $72 C1/AF0E: A020 LDY #$20 C1/AF10: 8445 STY $45 C1/AF12: 8455 STY $55 C1/AF14: 8465 STY $65 C1/AF16: 8475 STY $75 C1/AF18: A0F0 LDY #$F0 C1/AF1A: 8C0B42 STY $420B C1/AF1D: CA DEX C1/AF1E: F055 BEQ $AF75 C1/AF20: CA DEX C1/AF21: F052 BEQ $AF75 C1/AF23: A9C06A LDA #$6AC0 C1/AF26: 8D1621 STA $2116 C1/AF29: AD500F LDA $0F50 C1/AF2C: 8542 STA $42 C1/AF2E: AD520F LDA $0F52 C1/AF31: 8552 STA $52 C1/AF33: AD580F LDA $0F58 C1/AF36: 8562 STA $62 C1/AF38: AD5A0F LDA $0F5A C1/AF3B: 8572 STA $72 C1/AF3D: A020 LDY #$20 C1/AF3F: 8445 STY $45 C1/AF41: 8455 STY $55 C1/AF43: 8465 STY $65 C1/AF45: 8475 STY $75 C1/AF47: A0F0 LDY #$F0 C1/AF49: 8C0B42 STY $420B C1/AF4C: A9C06B LDA #$6BC0 C1/AF4F: 8D1621 STA $2116 C1/AF52: AD540F LDA $0F54 C1/AF55: 8542 STA $42 C1/AF57: AD560F LDA $0F56 C1/AF5A: 8552 STA $52 C1/AF5C: AD5C0F LDA $0F5C C1/AF5F: 8562 STA $62 C1/AF61: AD5E0F LDA $0F5E C1/AF64: 8572 STA $72 C1/AF66: A020 LDY #$20 C1/AF68: 8445 STY $45 C1/AF6A: 8455 STY $55 C1/AF6C: 8465 STY $65 C1/AF6E: 8475 STY $75 C1/AF70: A0F0 LDY #$F0 C1/AF72: 8C0B42 STY $420B C1/AF75: AF83F67E LDA $7EF683 C1/AF79: AA TAX C1/AF7A: D003 BNE $AF7F C1/AF7C: 82B200 BRL $B031 C1/AF7F: A9006C LDA #$6C00 C1/AF82: 8D1621 STA $2116 C1/AF85: AD600F LDA $0F60 C1/AF88: 8542 STA $42 C1/AF8A: AD620F LDA $0F62 C1/AF8D: 8552 STA $52 C1/AF8F: AD680F LDA $0F68 C1/AF92: 8562 STA $62 C1/AF94: AD6A0F LDA $0F6A C1/AF97: 8572 STA $72 C1/AF99: AF82F67E LDA $7EF682 C1/AF9D: 29FF00 AND #$00FF C1/AFA0: 090020 ORA #$2000 C1/AFA3: 8544 STA $44 C1/AFA5: 8554 STA $54 C1/AFA7: 8564 STA $64 C1/AFA9: 8574 STA $74 C1/AFAB: A0F0 LDY #$F0 C1/AFAD: 8C0B42 STY $420B C1/AFB0: A9006D LDA #$6D00 C1/AFB3: 8D1621 STA $2116 C1/AFB6: AD640F LDA $0F64 C1/AFB9: 8542 STA $42 C1/AFBB: AD660F LDA $0F66 C1/AFBE: 8552 STA $52 C1/AFC0: AD6C0F LDA $0F6C C1/AFC3: 8562 STA $62 C1/AFC5: AD6E0F LDA $0F6E C1/AFC8: 8572 STA $72 C1/AFCA: A020 LDY #$20 C1/AFCC: 8445 STY $45 C1/AFCE: 8455 STY $55 C1/AFD0: 8465 STY $65 C1/AFD2: 8475 STY $75 C1/AFD4: A0F0 LDY #$F0 C1/AFD6: 8C0B42 STY $420B C1/AFD9: CA DEX C1/AFDA: F055 BEQ $B031 C1/AFDC: CA DEX C1/AFDD: F052 BEQ $B031 C1/AFDF: A9406C LDA #$6C40 C1/AFE2: 8D1621 STA $2116 C1/AFE5: AD700F LDA $0F70 C1/AFE8: 8542 STA $42 C1/AFEA: AD720F LDA $0F72 C1/AFED: 8552 STA $52 C1/AFEF: AD780F LDA $0F78 C1/AFF2: 8562 STA $62 C1/AFF4: AD7A0F LDA $0F7A C1/AFF7: 8572 STA $72 C1/AFF9: A020 LDY #$20 C1/AFFB: 8445 STY $45 C1/AFFD: 8455 STY $55 C1/AFFF: 8465 STY $65 C1/B001: 8475 STY $75 C1/B003: A0F0 LDY #$F0 C1/B005: 8C0B42 STY $420B C1/B008: A9406D LDA #$6D40 C1/B00B: 8D1621 STA $2116 C1/B00E: AD740F LDA $0F74 C1/B011: 8542 STA $42 C1/B013: AD760F LDA $0F76 C1/B016: 8552 STA $52 C1/B018: AD7C0F LDA $0F7C C1/B01B: 8562 STA $62 C1/B01D: AD7E0F LDA $0F7E C1/B020: 8572 STA $72 C1/B022: A020 LDY #$20 C1/B024: 8445 STY $45 C1/B026: 8455 STY $55 C1/B028: 8465 STY $65 C1/B02A: 8475 STY $75 C1/B02C: A0F0 LDY #$F0 C1/B02E: 8C0B42 STY $420B C1/B031: 2B PLD C1/B032: 6B RTL [] C1/B033: E230 SEP #$30 C1/B035: 2490 BIT $90 C1/B037: 7001 BVS $B03A C1/B039: 6B RTL C1/B03A: A5F4 LDA $F4 C1/B03C: 2907 AND #$07 C1/B03E: 0A ASL A C1/B03F: 0A ASL A C1/B040: 0A ASL A C1/B041: AA TAX C1/B042: 8B PHB C1/B043: A97F LDA #$7F C1/B045: 48 PHA C1/B046: AB PLB C1/B047: 2052B0 JSR $B052 C1/B04A: E220 SEP #$20 C1/B04C: AB PLB C1/B04D: A9C0 LDA #$C0 C1/B04F: 8590 STA $90 C1/B051: 6B RTL C1/B052: BD0380 LDA $8003,X C1/B055: 3005 BMI $B05C C1/B057: 6492 STZ $92 C1/B059: 6493 STZ $93 C1/B05B: 60 RTS C1/B05C: BD0080 LDA $8000,X C1/B05F: 3047 BMI $B0A8 C1/B061: 0A ASL A C1/B062: 3020 BMI $B084 C1/B064: C220 REP #$20 C1/B066: BD0680 LDA $8006,X C1/B069: 18 CLC C1/B06A: 698000 ADC #$0080 C1/B06D: 29FF01 AND #$01FF C1/B070: 9D0680 STA $8006,X C1/B073: 18 CLC C1/B074: 7D0280 ADC $8002,X C1/B077: 8592 STA $92 C1/B079: BD0480 LDA $8004,X C1/B07C: 090000 ORA #$0000 C1/B07F: 8596 STA $96 C1/B081: E220 SEP #$20 C1/B083: 60 RTS C1/B084: BD0180 LDA $8001,X C1/B087: A8 TAY C1/B088: 1A INC A C1/B089: C906 CMP #$06 C1/B08B: 9002 BCC $B08F C1/B08D: A900 LDA #$00 C1/B08F: 9D0180 STA $8001,X C1/B092: 98 TYA C1/B093: C904 CMP #$04 C1/B095: 9008 BCC $B09F C1/B097: D004 BNE $B09D C1/B099: A902 LDA #$02 C1/B09B: 8002 BRA $B09F C1/B09D: A901 LDA #$01 C1/B09F: C220 REP #$20 C1/B0A1: 290300 AND #$0003 C1/B0A4: EB XBA C1/B0A5: 4A LSR A C1/B0A6: 80CB BRA $B073 C1/B0A8: 0A ASL A C1/B0A9: 301D BMI $B0C8 C1/B0AB: BD0180 LDA $8001,X C1/B0AE: A8 TAY C1/B0AF: 1A INC A C1/B0B0: C90390 CMP #$9003 C1/B0B3: 02A9 COP #$A9 C1/B0B5: 009D BRK #$9D C1/B0B7: 0180 ORA ($80,X) C1/B0B9: C002 CPY #$02 C1/B0BB: D0A7 BNE $B064 C1/B0BD: C220 REP #$20 C1/B0BF: BD0680 LDA $8006,X C1/B0C2: 38 SEC C1/B0C3: E98000 SBC #$0080 C1/B0C6: 80A5 BRA $B06D C1/B0C8: C220 REP #$20 C1/B0CA: BD0680 LDA $8006,X C1/B0CD: D095 BNE $B064 C1/B0CF: E220 SEP #$20 C1/B0D1: BD0180 LDA $8001,X C1/B0D4: 100B BPL $B0E1 C1/B0D6: A5F4 LDA $F4 C1/B0D8: 65F5 ADC $F5 C1/B0DA: 297F AND #$7F C1/B0DC: 9D0180 STA $8001,X C1/B0DF: 8083 BRA $B064 C1/B0E1: 3A DEC A C1/B0E2: 9D0180 STA $8001,X C1/B0E5: C220 REP #$20 C1/B0E7: A90000 LDA #$0000 C1/B0EA: 8087 BRA $B073 C1/B0EC: E230 SEP #$30 C1/B0EE: A61C LDX $1C C1/B0F0: 8A TXA C1/B0F1: 3003 BMI $B0F6 C1/B0F3: 6490 STZ $90 C1/B0F5: 6B RTL [What is this?] C1/B0F6: A940 LDA #$40 C1/B0F8: 8590 STA $90 C1/B0FA: 8A TXA C1/B0FB: 293F AND #$3F C1/B0FD: AA TAX C1/B0FE: BF0104C8 LDA $C80401,X C1/B102: 38 SEC C1/B103: FF0004C8 SBC $C80400,X C1/B107: 0A ASL A C1/B108: D002 + BNE $B10C C1/B10A: A902 LDA #$02 C1/B10C: + 8501 STA $01 C1/B10E: 6400 STZ $00 C1/B110: BF0004C8 LDA $C80400,X C1/B114: C230 REP #$30 C1/B116: 29FF00 AND #$00FF C1/B119: 0A ASL A C1/B11A: AA TAX C1/B11B: A00000 LDY #$0000 C1/B11E: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/B120: 8B PHB C1/B121: A97F LDA #$7F C1/B123: 48 PHA C1/B124: AB PLB C1/B125: 9C1380 STZ $8013 C1/B128: 9C1B80 STZ $801B C1/B12B: 9C2380 STZ $8023 C1/B12E: 9C2B80 STZ $802B C1/B131: 9C3380 STZ $8033 C1/B134: 9C3B80 STZ $803B C1/B137: - BF4104C8 LDA $C80441,X C1/B13B: 2047B1 JSR $B147 C1/B13E: E8 INX C1/B13F: E600 INC $00 C1/B141: C601 DEC $01 C1/B143: D0F2 - BNE $B137 C1/B145: AB PLB C1/B146: 6B RTL C1/B147: 990080 STA $8000,Y C1/B14A: C8 INY C1/B14B: 48 PHA C1/B14C: A900 LDA #$00 C1/B14E: 990080 STA $8000,Y C1/B151: 68 PLA C1/B152: C8 INY C1/B153: 293F AND #$3F C1/B155: 0A ASL A C1/B156: 0980 ORA #$80 C1/B158: EB XBA C1/B159: A900 LDA #$00 C1/B15B: C220 REP #$20 C1/B15D: 990080 STA $8000,Y C1/B160: C8 INY C1/B161: C8 INY C1/B162: A500 LDA $00 C1/B164: 290700 AND #$0007 C1/B167: EB XBA C1/B168: 4A LSR A C1/B169: 4A LSR A C1/B16A: 18 CLC C1/B16B: 690036 ADC #$3600 C1/B16E: 990080 STA $8000,Y C1/B171: C8 INY C1/B172: C8 INY C1/B173: A90000 LDA #$0000 C1/B176: 990080 STA $8000,Y C1/B179: C8 INY C1/B17A: C8 INY C1/B17B: E220 SEP #$20 C1/B17D: 60 RTS C1/B17E: E230 SEP #$30 C1/B180: A61C LDX $1C C1/B182: 8A TXA C1/B183: 2940 AND #$40 C1/B185: D003 BNE $B18A C1/B187: 649A STZ $9A C1/B189: 6B RTL C1/B18A: 6412 STZ $12 C1/B18C: 8B PHB C1/B18D: A97F LDA #$7F C1/B18F: 48 PHA C1/B190: AB PLB C1/B191: 8A TXA C1/B192: C230 REP #$30 C1/B194: 293F00 AND #$003F C1/B197: 0A ASL A C1/B198: AA TAX C1/B199: BF0206C8 LDA $C80602,X C1/B19D: 38 SEC C1/B19E: FF0006C8 SBC $C80600,X C1/B1A2: 4A LSR A C1/B1A3: C91100 CMP #$0011 C1/B1A6: 9003 BCC $B1AB C1/B1A8: A91000 LDA #$0010 C1/B1AB: 8510 STA $10 C1/B1AD: E220 SEP #$20 C1/B1AF: 859A STA $9A C1/B1B1: C220 REP #$20 C1/B1B3: BF0006C8 LDA $C80600,X C1/B1B7: AA TAX C1/B1B8: A90084 LDA #$8400 C1/B1BB: 8506 STA $06 C1/B1BD: 6414 STZ $14 C1/B1BF: DA PHX C1/B1C0: 20D0B1 JSR $B1D0 C1/B1C3: C230 REP #$30 C1/B1C5: FA PLX C1/B1C6: E8 INX C1/B1C7: E8 INX C1/B1C8: C610 DEC $10 C1/B1CA: D0F3 BNE $B1BF C1/B1CC: E230 SEP #$30 C1/B1CE: AB PLB C1/B1CF: 6B RTL C1/B1D0: BF0000C8 LDA $C80000,X C1/B1D4: 48 PHA C1/B1D5: A614 LDX $14 C1/B1D7: 29FF AND #$FF C1/B1D9: 030A ORA $0A,S C1/B1DB: 0A ASL A C1/B1DC: 0A ASL A C1/B1DD: 0A ASL A C1/B1DE: 0900 ORA #$00 C1/B1E0: 009D BRK #$9D C1/B1E2: 0682 ASL $82 C1/B1E4: 68 PLA C1/B1E5: 48 PHA C1/B1E6: 4A LSR A C1/B1E7: 4A LSR A C1/B1E8: 4A LSR A C1/B1E9: 4A LSR A C1/B1EA: 2900 AND #$00 C1/B1EC: 0F9D0082 ORA $82009D C1/B1F0: 68 PLA C1/B1F1: 4A LSR A C1/B1F2: 4A LSR A C1/B1F3: 2900 AND #$00 C1/B1F5: 03E2 ORA $E2,S C1/B1F7: 20D009 JSR $09D0 C1/B1FA: A901 LDA #$01 C1/B1FC: EB XBA C1/B1FD: A512 LDA $12 C1/B1FF: 2901 AND #$01 C1/B201: 8015 BRA $B218 C1/B203: EB XBA C1/B204: C903 CMP #$03 C1/B206: D009 BNE $B211 C1/B208: 38 SEC C1/B209: 2A ROL A C1/B20A: EB XBA C1/B20B: A512 LDA $12 C1/B20D: 2907 AND #$07 C1/B20F: 8007 BRA $B218 C1/B211: 38 SEC C1/B212: 2A ROL A C1/B213: EB XBA C1/B214: A512 LDA $12 C1/B216: 2903 AND #$03 C1/B218: E612 INC $12 C1/B21A: C220 REP #$20 C1/B21C: 9D0882 STA $8208,X C1/B21F: A506 LDA $06 C1/B221: 9D0282 STA $8202,X C1/B224: A90000 LDA #$0000 C1/B227: 9D0482 STA $8204,X C1/B22A: A514 LDA $14 C1/B22C: 18 CLC C1/B22D: 691000 ADC #$0010 C1/B230: 8514 STA $14 C1/B232: BD0682 LDA $8206,X C1/B235: E220 SEP #$20 C1/B237: 48 PHA C1/B238: A900 LDA #$00 C1/B23A: 48 PHA C1/B23B: AB PLB C1/B23C: A980 LDA #$80 C1/B23E: 8D1521 STA $2115 [Store into Video Port Control] C1/B241: 68 PLA C1/B242: C220 REP #$20 C1/B244: 8D1621 STA $2116 C1/B247: A98139 LDA #$3981 C1/B24A: 8D7043 STA $4370 C1/B24D: A506 LDA $06 C1/B24F: 8D7243 STA $4372 C1/B252: A9C000 LDA #$00C0 C1/B255: 8D7543 STA $4375 C1/B258: AD3921 LDA $2139 C1/B25B: E230 SEP #$30 C1/B25D: A97F LDA #$7F C1/B25F: 8D7443 STA $4374 C1/B262: A980 LDA #$80 C1/B264: 8D0B42 STA $420B C1/B267: A97F LDA #$7F C1/B269: 48 PHA C1/B26A: AB PLB C1/B26B: BD0182 LDA $8201,X C1/B26E: C908 CMP #$08 C1/B270: 9003 BCC $B275 C1/B272: 4CA1C1 JMP $C1A1 C1/B275: 8036 BRA $B2AD C1/B277: E230 SEP #$30 C1/B279: A208 LDX #$08 C1/B27B: 20F7B2 JSR $B2F7 C1/B27E: 205FB3 JSR $B35F C1/B281: CA DEX C1/B282: D0F7 BNE $B27B C1/B284: 60 RTS C1/B285: E230 SEP #$30 C1/B287: A208 LDX #$08 C1/B289: 202AB3 JSR $B32A C1/B28C: 2092B3 JSR $B392 C1/B28F: CA DEX C1/B290: D0F7 BNE $B289 C1/B292: 60 RTS C1/B293: E230 SEP #$30 C1/B295: A207 LDX #$07 C1/B297: 20C7B3 JSR $B3C7 C1/B29A: CA DEX C1/B29B: D0FA BNE $B297 C1/B29D: 4C06B4 JMP $B406 C1/B2A0: E230 SEP #$30 C1/B2A2: A207 LDX #$07 C1/B2A4: 20E6B3 JSR $B3E6 C1/B2A7: CA DEX C1/B2A8: D0FA BNE $B2A4 C1/B2AA: 4C06B4 JMP $B406 C1/B2AD: C904 CMP #$04 C1/B2AF: B00E BCS $B2BF C1/B2B1: C900 CMP #$00 C1/B2B3: F0C2 BEQ $B277 C1/B2B5: C901 CMP #$01 C1/B2B7: F0CC BEQ $B285 C1/B2B9: C902 CMP #$02 C1/B2BB: F0D6 BEQ $B293 C1/B2BD: 80E1 BRA $B2A0 C1/B2BF: F00A BEQ $B2CB C1/B2C1: C905 CMP #$05 C1/B2C3: F009 BEQ $B2CE C1/B2C5: C906 CMP #$06 C1/B2C7: F008 BEQ $B2D1 C1/B2C9: 8019 BRA $B2E4 C1/B2CB: 4C87B6 JMP $B687 C1/B2CE: 4CADB5 JMP $B5AD C1/B2D1: E230 SEP #$30 C1/B2D3: A207 LDX #$07 C1/B2D5: 2011B4 JSR $B411 C1/B2D8: 2078B4 JSR $B478 C1/B2DB: CA DEX C1/B2DC: D0F7 BNE $B2D5 C1/B2DE: 2011B4 JSR $B411 C1/B2E1: 4C06B4 JMP $B406 C1/B2E4: E230 SEP #$30 C1/B2E6: A207 LDX #$07 C1/B2E8: 20DFB4 JSR $B4DF C1/B2EB: 2046B5 JSR $B546 C1/B2EE: CA DEX C1/B2EF: D0F7 BNE $B2E8 C1/B2F1: 20DFB4 JSR $B4DF C1/B2F4: 4C06B4 JMP $B406 C1/B2F7: C220 REP #$20 C1/B2F9: A506 LDA $06 C1/B2FB: 18 CLC C1/B2FC: 692000 ADC #$0020 C1/B2FF: 8508 STA $08 C1/B301: E230 SEP #$30 C1/B303: A000 LDY #$00 C1/B305: B106 LDA ($06),Y C1/B307: C980 CMP #$80 C1/B309: 2A ROL A C1/B30A: 9108 STA ($08),Y C1/B30C: C8 INY C1/B30D: B106 LDA ($06),Y C1/B30F: C980 CMP #$80 C1/B311: 2A ROL A C1/B312: 9108 STA ($08),Y C1/B314: C8 INY C1/B315: C220 REP #$20 C1/B317: B106 LDA ($06),Y C1/B319: 9108 STA ($08),Y C1/B31B: E220 SEP #$20 C1/B31D: C8 INY C1/B31E: C8 INY C1/B31F: C020 CPY #$20 C1/B321: 90E2 BCC $B305 C1/B323: C220 REP #$20 C1/B325: A508 LDA $08 C1/B327: 8506 STA $06 C1/B329: 60 RTS C1/B32A: C220 REP #$20 C1/B32C: A506 LDA $06 C1/B32E: 18 CLC C1/B32F: 692000 ADC #$0020 C1/B332: 8508 STA $08 C1/B334: E230 SEP #$30 C1/B336: A000 LDY #$00 C1/B338: B106 LDA ($06),Y C1/B33A: 48 PHA C1/B33B: 4A LSR A C1/B33C: 68 PLA C1/B33D: 6A ROR A C1/B33E: 9108 STA ($08),Y C1/B340: C8 INY C1/B341: B106 LDA ($06),Y C1/B343: 48 PHA C1/B344: 4A LSR A C1/B345: 68 PLA C1/B346: 6A ROR A C1/B347: 9108 STA ($08),Y C1/B349: C8 INY C1/B34A: C220 REP #$20 C1/B34C: B106 LDA ($06),Y C1/B34E: 9108 STA ($08),Y C1/B350: E220 SEP #$20 C1/B352: C8 INY C1/B353: C8 INY C1/B354: C020 CPY #$20 C1/B356: 90E0 BCC $B338 C1/B358: C220 REP #$20 C1/B35A: A508 LDA $08 C1/B35C: 8506 STA $06 C1/B35E: 60 RTS C1/B35F: C220 REP #$20 C1/B361: A506 LDA $06 C1/B363: 18 CLC C1/B364: 692000 ADC #$0020 C1/B367: 8508 STA $08 C1/B369: E230 SEP #$30 C1/B36B: A000 LDY #$00 C1/B36D: C220 REP #$20 C1/B36F: B106 LDA ($06),Y C1/B371: 9108 STA ($08),Y C1/B373: E220 SEP #$20 C1/B375: C8 INY C1/B376: C8 INY C1/B377: B106 LDA ($06),Y C1/B379: C980 CMP #$80 C1/B37B: 2A ROL A C1/B37C: 9108 STA ($08),Y C1/B37E: C8 INY C1/B37F: B106 LDA ($06),Y C1/B381: C980 CMP #$80 C1/B383: 2A ROL A C1/B384: 9108 STA ($08),Y C1/B386: C8 INY C1/B387: C020 CPY #$20 C1/B389: 90E2 BCC $B36D C1/B38B: C220 REP #$20 C1/B38D: A508 LDA $08 C1/B38F: 8506 STA $06 C1/B391: 60 RTS C1/B392: C220 REP #$20 C1/B394: A506 LDA $06 C1/B396: 18 CLC C1/B397: 692000 ADC #$0020 C1/B39A: 8508 STA $08 C1/B39C: E230 SEP #$30 C1/B39E: A000 LDY #$00 C1/B3A0: C220 REP #$20 C1/B3A2: B106 LDA ($06),Y C1/B3A4: 9108 STA ($08),Y C1/B3A6: E220 SEP #$20 C1/B3A8: C8 INY C1/B3A9: C8 INY C1/B3AA: B106 LDA ($06),Y C1/B3AC: 48 PHA C1/B3AD: 4A LSR A C1/B3AE: 68 PLA C1/B3AF: 6A ROR A C1/B3B0: 9108 STA ($08),Y C1/B3B2: C8 INY C1/B3B3: B106 LDA ($06),Y C1/B3B5: 48 PHA C1/B3B6: 4A LSR A C1/B3B7: 68 PLA C1/B3B8: 6A ROR A C1/B3B9: 9108 STA ($08),Y C1/B3BB: C8 INY C1/B3BC: C020 CPY #$20 C1/B3BE: 90E0 BCC $B3A0 C1/B3C0: C220 REP #$20 C1/B3C2: A508 LDA $08 C1/B3C4: 8506 STA $06 C1/B3C6: 60 RTS C1/B3C7: C220 REP #$20 C1/B3C9: A506 LDA $06 C1/B3CB: 18 CLC C1/B3CC: 692000 ADC #$0020 C1/B3CF: 8508 STA $08 C1/B3D1: E230 SEP #$30 C1/B3D3: A01F LDY #$1F C1/B3D5: B106 LDA ($06),Y C1/B3D7: C980 CMP #$80 C1/B3D9: 2A ROL A C1/B3DA: 9108 STA ($08),Y C1/B3DC: 88 DEY C1/B3DD: 10F6 BPL $B3D5 C1/B3DF: C220 REP #$20 C1/B3E1: A508 LDA $08 C1/B3E3: 8506 STA $06 C1/B3E5: 60 RTS C1/B3E6: C220 REP #$20 C1/B3E8: A506 LDA $06 C1/B3EA: 18 CLC C1/B3EB: 692000 ADC #$0020 C1/B3EE: 8508 STA $08 C1/B3F0: E230 SEP #$30 C1/B3F2: A01F LDY #$1F C1/B3F4: B106 LDA ($06),Y C1/B3F6: 48 PHA C1/B3F7: 4A LSR A C1/B3F8: 68 PLA C1/B3F9: 6A ROR A C1/B3FA: 9108 STA ($08),Y C1/B3FC: 88 DEY C1/B3FD: 10F5 BPL $B3F4 C1/B3FF: C220 REP #$20 C1/B401: A508 LDA $08 C1/B403: 8506 STA $06 C1/B405: 60 RTS C1/B406: C220 REP #$20 C1/B408: A506 LDA $06 C1/B40A: 18 CLC C1/B40B: 692000 ADC #$0020 C1/B40E: 8506 STA $06 C1/B410: 60 RTS C1/B411: C220 REP #$20 C1/B413: A506 LDA $06 C1/B415: 18 CLC C1/B416: 692000 ADC #$0020 C1/B419: 8508 STA $08 C1/B41B: A000 LDY #$00 C1/B41D: B106 LDA ($06),Y C1/B41F: 295555 AND #$5555 C1/B422: 850A STA $0A C1/B424: C8 INY C1/B425: C8 INY C1/B426: B106 LDA ($06),Y C1/B428: 295555 AND #$5555 C1/B42B: 850C STA $0C C1/B42D: 88 DEY C1/B42E: 88 DEY C1/B42F: B106 LDA ($06),Y C1/B431: 29AAAA AND #$AAAA C1/B434: 050C ORA $0C C1/B436: 9108 STA ($08),Y C1/B438: C8 INY C1/B439: C8 INY C1/B43A: C00E CPY #$0E C1/B43C: 90E6 BCC $B424 C1/B43E: B106 LDA ($06),Y C1/B440: 29AAAA AND #$AAAA C1/B443: 050A ORA $0A C1/B445: 9108 STA ($08),Y C1/B447: C8 INY C1/B448: C8 INY C1/B449: B106 LDA ($06),Y C1/B44B: 295555 AND #$5555 C1/B44E: 850A STA $0A C1/B450: C8 INY C1/B451: C8 INY C1/B452: B106 LDA ($06),Y C1/B454: 295555 AND #$5555 C1/B457: 850C STA $0C C1/B459: 88 DEY C1/B45A: 88 DEY C1/B45B: B106 LDA ($06),Y C1/B45D: 29AAAA AND #$AAAA C1/B460: 050C ORA $0C C1/B462: 9108 STA ($08),Y C1/B464: C8 INY C1/B465: C8 INY C1/B466: C01E CPY #$1E C1/B468: 90E6 BCC $B450 C1/B46A: B106 LDA ($06),Y C1/B46C: 29AAAA AND #$AAAA C1/B46F: 050A ORA $0A C1/B471: 9108 STA ($08),Y C1/B473: A508 LDA $08 C1/B475: 8506 STA $06 C1/B477: 60 RTS C1/B478: C220 REP #$20 C1/B47A: A506 LDA $06 C1/B47C: 18 CLC C1/B47D: 692000 ADC #$0020 C1/B480: 8508 STA $08 C1/B482: A000 LDY #$00 C1/B484: B106 LDA ($06),Y C1/B486: 29AAAA AND #$AAAA C1/B489: 850A STA $0A C1/B48B: C8 INY C1/B48C: C8 INY C1/B48D: B106 LDA ($06),Y C1/B48F: 29AAAA AND #$AAAA C1/B492: 850C STA $0C C1/B494: 88 DEY C1/B495: 88 DEY C1/B496: B106 LDA ($06),Y C1/B498: 295555 AND #$5555 C1/B49B: 050C ORA $0C C1/B49D: 9108 STA ($08),Y C1/B49F: C8 INY C1/B4A0: C8 INY C1/B4A1: C00E CPY #$0E C1/B4A3: 90E6 BCC $B48B C1/B4A5: B106 LDA ($06),Y C1/B4A7: 295555 AND #$5555 C1/B4AA: 050A ORA $0A C1/B4AC: 9108 STA ($08),Y C1/B4AE: C8 INY C1/B4AF: C8 INY C1/B4B0: B106 LDA ($06),Y C1/B4B2: 29AAAA AND #$AAAA C1/B4B5: 850A STA $0A C1/B4B7: C8 INY C1/B4B8: C8 INY C1/B4B9: B106 LDA ($06),Y C1/B4BB: 29AAAA AND #$AAAA C1/B4BE: 850C STA $0C C1/B4C0: 88 DEY C1/B4C1: 88 DEY C1/B4C2: B106 LDA ($06),Y C1/B4C4: 295555 AND #$5555 C1/B4C7: 050C ORA $0C C1/B4C9: 9108 STA ($08),Y C1/B4CB: C8 INY C1/B4CC: C8 INY C1/B4CD: C01E CPY #$1E C1/B4CF: 90E6 BCC $B4B7 C1/B4D1: B106 LDA ($06),Y C1/B4D3: 295555 AND #$5555 C1/B4D6: 050A ORA $0A C1/B4D8: 9108 STA ($08),Y C1/B4DA: A508 LDA $08 C1/B4DC: 8506 STA $06 C1/B4DE: 60 RTS C1/B4DF: C220 REP #$20 C1/B4E1: A506 LDA $06 C1/B4E3: 18 CLC C1/B4E4: 692000 ADC #$0020 C1/B4E7: 8508 STA $08 C1/B4E9: A01E LDY #$1E C1/B4EB: B106 LDA ($06),Y C1/B4ED: 295555 AND #$5555 C1/B4F0: 850A STA $0A C1/B4F2: 88 DEY C1/B4F3: 88 DEY C1/B4F4: B106 LDA ($06),Y C1/B4F6: 295555 AND #$5555 C1/B4F9: 850C STA $0C C1/B4FB: C8 INY C1/B4FC: C8 INY C1/B4FD: B106 LDA ($06),Y C1/B4FF: 29AAAA AND #$AAAA C1/B502: 050C ORA $0C C1/B504: 9108 STA ($08),Y C1/B506: 88 DEY C1/B507: 88 DEY C1/B508: C012 CPY #$12 C1/B50A: B0E6 BCS $B4F2 C1/B50C: B106 LDA ($06),Y C1/B50E: 29AAAA AND #$AAAA C1/B511: 050A ORA $0A C1/B513: 9108 STA ($08),Y C1/B515: 88 DEY C1/B516: 88 DEY C1/B517: B106 LDA ($06),Y C1/B519: 295555 AND #$5555 C1/B51C: 850A STA $0A C1/B51E: 88 DEY C1/B51F: 88 DEY C1/B520: B106 LDA ($06),Y C1/B522: 295555 AND #$5555 C1/B525: 850C STA $0C C1/B527: C8 INY C1/B528: C8 INY C1/B529: B106 LDA ($06),Y C1/B52B: 29AAAA AND #$AAAA C1/B52E: 050C ORA $0C C1/B530: 9108 STA ($08),Y C1/B532: 88 DEY C1/B533: 88 DEY C1/B534: C002 CPY #$02 C1/B536: B0E6 BCS $B51E C1/B538: B106 LDA ($06),Y C1/B53A: 29AAAA AND #$AAAA C1/B53D: 050A ORA $0A C1/B53F: 9108 STA ($08),Y C1/B541: A508 LDA $08 C1/B543: 8506 STA $06 C1/B545: 60 RTS C1/B546: C220 REP #$20 C1/B548: A506 LDA $06 C1/B54A: 18 CLC C1/B54B: 692000 ADC #$0020 C1/B54E: 8508 STA $08 C1/B550: A01E LDY #$1E C1/B552: B106 LDA ($06),Y C1/B554: 29AAAA AND #$AAAA C1/B557: 850A STA $0A C1/B559: 88 DEY C1/B55A: 88 DEY C1/B55B: B106 LDA ($06),Y C1/B55D: 29AAAA AND #$AAAA C1/B560: 850C STA $0C C1/B562: C8 INY C1/B563: C8 INY C1/B564: B106 LDA ($06),Y C1/B566: 295555 AND #$5555 C1/B569: 050C ORA $0C C1/B56B: 9108 STA ($08),Y C1/B56D: 88 DEY C1/B56E: 88 DEY C1/B56F: C012 CPY #$12 C1/B571: B0E6 BCS $B559 C1/B573: B106 LDA ($06),Y C1/B575: 295555 AND #$5555 C1/B578: 050A ORA $0A C1/B57A: 9108 STA ($08),Y C1/B57C: 88 DEY C1/B57D: 88 DEY C1/B57E: B106 LDA ($06),Y C1/B580: 29AAAA AND #$AAAA C1/B583: 850A STA $0A C1/B585: 88 DEY C1/B586: 88 DEY C1/B587: B106 LDA ($06),Y C1/B589: 29AAAA AND #$AAAA C1/B58C: 850C STA $0C C1/B58E: C8 INY C1/B58F: C8 INY C1/B590: B106 LDA ($06),Y C1/B592: 295555 AND #$5555 C1/B595: 050C ORA $0C C1/B597: 9108 STA ($08),Y C1/B599: 88 DEY C1/B59A: 88 DEY C1/B59B: C002 CPY #$02 C1/B59D: B0E6 BCS $B585 C1/B59F: B106 LDA ($06),Y C1/B5A1: 295555 AND #$5555 C1/B5A4: 050A ORA $0A C1/B5A6: 9108 STA ($08),Y C1/B5A8: A508 LDA $08 C1/B5AA: 8506 STA $06 C1/B5AC: 60 RTS C1/B5AD: C220 REP #$20 C1/B5AF: A506 LDA $06 C1/B5B1: 48 PHA C1/B5B2: 20D4B5 JSR $B5D4 C1/B5B5: 2087B6 JSR $B687 C1/B5B8: C220 REP #$20 C1/B5BA: 68 PLA C1/B5BB: 8506 STA $06 C1/B5BD: E230 SEP #$30 C1/B5BF: A210 LDX #$10 C1/B5C1: 20D4B5 JSR $B5D4 C1/B5C4: C220 REP #$20 C1/B5C6: A506 LDA $06 C1/B5C8: 18 CLC C1/B5C9: 694000 ADC #$0040 C1/B5CC: 8506 STA $06 C1/B5CE: E220 SEP #$20 C1/B5D0: CA DEX C1/B5D1: D0EE BNE $B5C1 C1/B5D3: 60 RTS C1/B5D4: E230 SEP #$30 C1/B5D6: A000 LDY #$00 C1/B5D8: 2009B6 JSR $B609 C1/B5DB: C8 INY C1/B5DC: 2009B6 JSR $B609 C1/B5DF: 98 TYA C1/B5E0: 18 CLC C1/B5E1: 690F ADC #$0F C1/B5E3: A8 TAY C1/B5E4: 2009B6 JSR $B609 C1/B5E7: C8 INY C1/B5E8: 2009B6 JSR $B609 C1/B5EB: 98 TYA C1/B5EC: 18 CLC C1/B5ED: 690F ADC #$0F C1/B5EF: A8 TAY C1/B5F0: 2009B6 JSR $B609 C1/B5F3: C8 INY C1/B5F4: 2009B6 JSR $B609 C1/B5F7: 98 TYA C1/B5F8: 18 CLC C1/B5F9: 690F ADC #$0F C1/B5FB: A8 TAY C1/B5FC: 2009B6 JSR $B609 C1/B5FF: C8 INY C1/B600: 2009B6 JSR $B609 C1/B603: 98 TYA C1/B604: 38 SEC C1/B605: E931 SBC #$31 C1/B607: A8 TAY C1/B608: 60 RTS C1/B609: B106 LDA ($06),Y C1/B60B: 206EB6 JSR $B66E C1/B60E: C8 INY C1/B60F: C8 INY C1/B610: B106 LDA ($06),Y C1/B612: 206EB6 JSR $B66E C1/B615: C8 INY C1/B616: C8 INY C1/B617: B106 LDA ($06),Y C1/B619: 206EB6 JSR $B66E C1/B61C: C8 INY C1/B61D: C8 INY C1/B61E: B106 LDA ($06),Y C1/B620: 206EB6 JSR $B66E C1/B623: C8 INY C1/B624: C8 INY C1/B625: B106 LDA ($06),Y C1/B627: 206EB6 JSR $B66E C1/B62A: C8 INY C1/B62B: C8 INY C1/B62C: B106 LDA ($06),Y C1/B62E: 206EB6 JSR $B66E C1/B631: C8 INY C1/B632: C8 INY C1/B633: B106 LDA ($06),Y C1/B635: 206EB6 JSR $B66E C1/B638: C8 INY C1/B639: C8 INY C1/B63A: B106 LDA ($06),Y C1/B63C: 206EB6 JSR $B66E C1/B63F: A50F LDA $0F C1/B641: 9106 STA ($06),Y C1/B643: 88 DEY C1/B644: 88 DEY C1/B645: A50E LDA $0E C1/B647: 9106 STA ($06),Y C1/B649: 88 DEY C1/B64A: 88 DEY C1/B64B: A50D LDA $0D C1/B64D: 9106 STA ($06),Y C1/B64F: 88 DEY C1/B650: 88 DEY C1/B651: A50C LDA $0C C1/B653: 9106 STA ($06),Y C1/B655: 88 DEY C1/B656: 88 DEY C1/B657: A50B LDA $0B C1/B659: 9106 STA ($06),Y C1/B65B: 88 DEY C1/B65C: 88 DEY C1/B65D: A50A LDA $0A C1/B65F: 9106 STA ($06),Y C1/B661: 88 DEY C1/B662: 88 DEY C1/B663: A509 LDA $09 C1/B665: 9106 STA ($06),Y C1/B667: 88 DEY C1/B668: 88 DEY C1/B669: A508 LDA $08 C1/B66B: 9106 STA ($06),Y C1/B66D: 60 RTS C1/B66E: 0A ASL A C1/B66F: 2608 ROL $08 C1/B671: 0A ASL A C1/B672: 2609 ROL $09 C1/B674: 0A ASL A C1/B675: 260A ROL $0A C1/B677: 0A ASL A C1/B678: 260B ROL $0B C1/B67A: 0A ASL A C1/B67B: 260C ROL $0C C1/B67D: 0A ASL A C1/B67E: 260D ROL $0D C1/B680: 0A ASL A C1/B681: 260E ROL $0E C1/B683: 0A ASL A C1/B684: 260F ROL $0F C1/B686: 60 RTS C1/B687: C230 REP #$30 C1/B689: A506 LDA $06 C1/B68B: AA TAX C1/B68C: 18 CLC C1/B68D: 694000 ADC #$0040 C1/B690: A8 TAY C1/B691: A9C003 LDA #$03C0 C1/B694: 547F7F MVN $7F,$7F C1/B697: E230 SEP #$30 C1/B699: A200 LDX #$00 C1/B69B: 20B4B6 JSR $B6B4 C1/B69E: DA PHX C1/B69F: 8A TXA C1/B6A0: 18 CLC C1/B6A1: 6908 ADC #$08 C1/B6A3: C910 CMP #$10 C1/B6A5: 9002 BCC $B6A9 C1/B6A7: 290F AND #$0F C1/B6A9: AA TAX C1/B6AA: 20B4B6 JSR $B6B4 C1/B6AD: FA PLX C1/B6AE: E8 INX C1/B6AF: E010 CPX #$10 C1/B6B1: 90E8 BCC $B69B C1/B6B3: 60 RTS C1/B6B4: DA PHX C1/B6B5: 20BFB6 JSR $B6BF C1/B6B8: FA PLX C1/B6B9: DA PHX C1/B6BA: 20BFB6 JSR $B6BF C1/B6BD: FA PLX C1/B6BE: 60 RTS C1/B6BF: A000 LDY #$00 C1/B6C1: B106 LDA ($06),Y C1/B6C3: 20E9B6 JSR $B6E9 C1/B6C6: 9106 STA ($06),Y C1/B6C8: C8 INY C1/B6C9: B106 LDA ($06),Y C1/B6CB: 20E9B6 JSR $B6E9 C1/B6CE: 9106 STA ($06),Y C1/B6D0: E8 INX C1/B6D1: E010 CPX #$10 C1/B6D3: 9002 BCC $B6D7 C1/B6D5: A200 LDX #$00 C1/B6D7: C8 INY C1/B6D8: C010 CPY #$10 C1/B6DA: 90E5 BCC $B6C1 C1/B6DC: C220 REP #$20 C1/B6DE: A506 LDA $06 C1/B6E0: 18 CLC C1/B6E1: 691000 ADC #$0010 C1/B6E4: 8506 STA $06 C1/B6E6: E220 SEP #$20 C1/B6E8: 60 RTS [] C1/B6E9: 8500 STA $00 C1/B6EB: E008 CPX #$08 C1/B6ED: B01E BCS $B70D C1/B6EF: E000 CPX #$00 C1/B6F1: F019 BEQ $B70C C1/B6F3: E001 CPX #$01 C1/B6F5: D004 BNE $B6FB C1/B6F7: 4600 LSR $00 C1/B6F9: 6A ROR A C1/B6FA: 60 RTS [] C1/B6FB: E007 CPX #$07 C1/B6FD: F0F8 BEQ $B6F7 C1/B6FF: E004 CPX #$04 C1/B701: D003 BNE $B706 C1/B703: 4600 LSR $00 C1/B705: 6A ROR A C1/B706: 4600 LSR $00 C1/B708: 6A ROR A C1/B709: 4600 LSR $00 C1/B70B: 6A ROR A C1/B70C: 60 RTS [] C1/B70D: F0FD BEQ $B70C C1/B70F: E009 CPX #$09 C1/B711: D004 BNE $B717 C1/B713: C980 CMP #$80 C1/B715: 2A ROL A C1/B716: 60 RTS [] C1/B717: E00F CPX #$0F C1/B719: F0F8 BEQ $B713 C1/B71B: E00C CPX #$0C C1/B71D: D003 BNE $B722 C1/B71F: C980 CMP #$80 C1/B721: 2A ROL A C1/B722: C980 CMP #$80 C1/B724: 2A ROL A C1/B725: C980 CMP #$80 C1/B727: 2A ROL A C1/B728: 60 RTS [Coordinate handling, eh?] C1/B729: BB TYX C1/B72A: 8610 STX $10 C1/B72C: E220 SEP #$20 C1/B72E: BD0BE0 LDA $E00B,X C1/B731: C980 CMP #$80 C1/B733: 2903 AND #$03 C1/B735: 8504 STA $04 C1/B737: C220 REP #$20 C1/B739: B00C + BCS $B747 C1/B73B: A90000 LDA #$0000 C1/B73E: 850A STA $0A C1/B740: A900B8 LDA #$B800 C1/B743: 850D STA $0D C1/B745: 800A ++ BRA $B751 C1/B747: + A90040 LDA #$4000 C1/B74A: 850A STA $0A C1/B74C: A900BC LDA #$BC00 C1/B74F: 850D STA $0D C1/B751: ++ BD06E0 LDA $E006,X C1/B754: 8506 STA $06 C1/B756: F028 + BEQ $B780 C1/B758: BD02E0 LDA $E002,X [X coordinate or Y coordinate?] C1/B75B: 4A LSR A [Divide it by 2] C1/B75C: 4A LSR A [Again, by 2] C1/B75D: 4A LSR A [Yet again, by 2] C1/B75E: 4A LSR A [Of course, by 2] C1/B75F: 8508 STA $08 [Store into ??Coordinate/8] C1/B761: BD04E0 LDA $E004,X [X or Y coordinate?] C1/B764: 29F00F AND #$0FF0 C1/B767: 0A ASL A C1/B768: 0A ASL A C1/B769: 0A ASL A C1/B76A: 0508 ORA $08 C1/B76C: 8508 STA $08 C1/B76E: E220 SEP #$20 C1/B770: A97F LDA #$7F C1/B772: 850C STA $0C C1/B774: 850F STA $0F C1/B776: A506 LDA $06 C1/B778: F00B ++ BEQ $B785 C1/B77A: A507 LDA $07 C1/B77C: F003 +! BEQ $B781 C1/B77E: D009 +@ BNE $B789 C1/B780: + 6B RTL [$07 == 0x00] C1/B781: +! 2077B8 JSR $B877 C1/B784: 6B RTL [$06 == 0x00] C1/B785: ++ 208DB7 JSR $B78D C1/B788: 6B RTL [$07 != 0x00] C1/B789: +@ 2029B9 JSR $B929 C1/B78C: 6B RTL [$06 == 0x00 (2)] C1/B78D: E220 SEP #$20 C1/B78F: A508 LDA $08 C1/B791: 0A ASL A C1/B792: 8502 STA $02 C1/B794: A509 LDA $09 C1/B796: 2A ROL A C1/B797: 2407 BIT $07 C1/B799: 3009 + BMI $B7A4 C1/B79B: 1A INC A C1/B79C: C59D CMP $9D C1/B79E: 900A ++ BCC $B7AA C1/B7A0: E59D SBC $9D C1/B7A2: 8006 ++ BRA $B7AA {} C1/B7A4: + 3A DEC A C1/B7A5: 1003 ++ BPL $B7AA C1/B7A7: 18 CLC C1/B7A8: 659D ADC $9D {} C1/B7AA: ++ 4A LSR A C1/B7AB: 8503 STA $03 C1/B7AD: 6602 ROR $02 C1/B7AF: A901 LDA #$01 C1/B7B1: 8505 STA $05 C1/B7B3: BD2EE0 LDA $E02E,X C1/B7B6: 4901 EOR #$01 C1/B7B8: 9D2EE0 STA $E02E,X C1/B7BB: 4A LSR A C1/B7BC: B021 + BCS $B7DF C1/B7BE: 201EB8 JSR $B81E [] C1/B7C1: 9016 ++ BCC $B7D9 C1/B7C3: E605 INC $05 C1/B7C5: 201EB8 JSR $B81E [] C1/B7C8: 900F ++ BCC $B7D9 C1/B7CA: E605 INC $05 C1/B7CC: 201EB8 JSR $B81E [] C1/B7CF: 9008 ++ BCC $B7D9 C1/B7D1: E605 INC $05 C1/B7D3: 201EB8 JSR $B81E [] C1/B7D6: 9001 ++ BCC $B7D9 C1/B7D8: 60 RTS [] C1/B7D9: ++ E220 SEP #$20 C1/B7DB: A903 LDA #$03 C1/B7DD: 801F BRA $B7FE [] C1/B7DF: + 2010B8 JSR $B810 [] C1/B7E2: 9016 + BCC $B7FA C1/B7E4: E605 INC $05 C1/B7E6: 2010B8 JSR $B810 [] C1/B7E9: 900F + BCC $B7FA C1/B7EB: E605 INC $05 C1/B7ED: 2010B8 JSR $B810 [] C1/B7F0: 9008 + BCC $B7FA C1/B7F2: E605 INC $05 C1/B7F4: 2010B8 JSR $B810 [] C1/B7F7: 9001 + BCC $B7FA C1/B7F9: 60 RTS [] C1/B7FA: + E220 SEP #$20 C1/B7FC: A983 LDA #$83 C1/B7FE: 9D06E0 STA $E006,X C1/B801: A505 LDA $05 C1/B803: 0A ASL A C1/B804: 8505 STA $05 C1/B806: 0A ASL A C1/B807: 6505 ADC $05 C1/B809: 18 CLC C1/B80A: 6902 ADC #$02 C1/B80C: 9D0AE0 STA $E00A,X C1/B80F: 60 RTS [] C1/B810: E220 SEP #$20 C1/B812: A508 LDA $08 C1/B814: 297F AND #$7F C1/B816: 3A DEC A C1/B817: 1012 + BPL $B82B C1/B819: 18 CLC C1/B81A: 659C ADC $9C C1/B81C: 800D + BRA $B82B [] C1/B81E: E220 SEP #$20 C1/B820: A508 LDA $08 C1/B822: 297F AND #$7F C1/B824: 1A INC A C1/B825: C59C CMP $9C C1/B827: 9002 + BCC $B82B C1/B829: E59C SBC $9C {} C1/B82B: + 2408 BIT $08 C1/B82D: 1002 + BPL $B831 C1/B82F: 0980 ORA #$80 C1/B831: + 8508 STA $08 C1/B833: 297F AND #$7F C1/B835: 2402 BIT $02 C1/B837: 1002 + BPL $B83B C1/B839: 0980 ORA #$80 C1/B83B: + 8502 STA $02 C1/B83D: C220 REP #$20 C1/B83F: A402 LDY $02 C1/B841: 204BB8 JSR $B84B C1/B844: 9001 + BCC $B847 C1/B846: 60 RTS [...starting here, in case another runthrough is needed?] C1/B847: + C220 REP #$20 C1/B849: A408 LDY $08 [] C1/B84B: B70A LDA [$0A],Y C1/B84D: 29FF00 AND #$00FF C1/B850: 0A ASL A C1/B851: 0A ASL A C1/B852: A8 TAY C1/B853: E220 SEP #$20 C1/B855: B70D LDA [$0D],Y C1/B857: 2907 AND #$07 C1/B859: F00E BEQ $B869 C1/B85B: C904 CMP #$04 C1/B85D: B00A BCS $B869 C1/B85F: C903 CMP #$03 C1/B861: F012 BEQ $B875 C1/B863: 4504 EOR $04 C1/B865: C903 CMP #$03 C1/B867: F00C BEQ $B875 C1/B869: C8 INY C1/B86A: C8 INY C1/B86B: B70D LDA [$0D],Y C1/B86D: 29F0 AND #$F0 C1/B86F: C910 CMP #$10 C1/B871: F002 BEQ $B875 C1/B873: 18 CLC C1/B874: 60 RTS C1/B875: 38 SEC C1/B876: 60 RTS C1/B877: E220 SEP #$20 C1/B879: A508 LDA $08 C1/B87B: 297F AND #$7F C1/B87D: 2406 BIT $06 C1/B87F: 3009 BMI $B88A C1/B881: 1A INC A C1/B882: C59C CMP $9C C1/B884: 900A BCC $B890 C1/B886: E59C SBC $9C C1/B888: 8006 BRA $B890 C1/B88A: 3A DEC A C1/B88B: 1003 BPL $B890 C1/B88D: 18 CLC C1/B88E: 659C ADC $9C C1/B890: 2408 BIT $08 C1/B892: 1002 BPL $B896 C1/B894: 0980 ORA #$80 C1/B896: 8502 STA $02 C1/B898: A901 LDA #$01 C1/B89A: 8505 STA $05 C1/B89C: BD2EE0 LDA $E02E,X C1/B89F: 4901 EOR #$01 C1/B8A1: 9D2EE0 STA $E02E,X C1/B8A4: 4A LSR A C1/B8A5: B021 BCS $B8C8 C1/B8A7: 200AB9 JSR $B90A C1/B8AA: 9016 BCC $B8C2 C1/B8AC: E605 INC $05 C1/B8AE: 200AB9 JSR $B90A C1/B8B1: 900F BCC $B8C2 C1/B8B3: E605 INC $05 C1/B8B5: 200AB9 JSR $B90A C1/B8B8: 9008 BCC $B8C2 C1/B8BA: E605 INC $05 C1/B8BC: 200AB9 JSR $B90A C1/B8BF: 9001 BCC $B8C2 C1/B8C1: 60 RTS C1/B8C2: E220 SEP #$20 C1/B8C4: A903 LDA #$03 C1/B8C6: 801F BRA $B8E7 C1/B8C8: 20F9B8 JSR $B8F9 C1/B8CB: 9016 BCC $B8E3 C1/B8CD: E605 INC $05 C1/B8CF: 20F9B8 JSR $B8F9 C1/B8D2: 900F BCC $B8E3 C1/B8D4: E605 INC $05 C1/B8D6: 20F9B8 JSR $B8F9 C1/B8D9: 9008 BCC $B8E3 C1/B8DB: E605 INC $05 C1/B8DD: 20F9B8 JSR $B8F9 C1/B8E0: 9001 BCC $B8E3 C1/B8E2: 60 RTS C1/B8E3: E220 SEP #$20 C1/B8E5: A983 LDA #$83 C1/B8E7: 9D07E0 STA $E007,X C1/B8EA: A505 LDA $05 C1/B8EC: 0A ASL A C1/B8ED: 8505 STA $05 C1/B8EF: 0A ASL A C1/B8F0: 6505 ADC $05 C1/B8F2: 18 CLC C1/B8F3: 6908 ADC #$08 C1/B8F5: 9D0AE0 STA $E00A,X C1/B8F8: 60 RTS C1/B8F9: E220 SEP #$20 C1/B8FB: 0602 ASL $02 C1/B8FD: 0608 ASL $08 C1/B8FF: A509 LDA $09 C1/B901: 2A ROL A C1/B902: 3A DEC A C1/B903: 1015 BPL $B91A C1/B905: 18 CLC C1/B906: 659D ADC $9D C1/B908: 8010 BRA $B91A C1/B90A: E220 SEP #$20 C1/B90C: 0602 ASL $02 C1/B90E: 0608 ASL $08 C1/B910: A509 LDA $09 C1/B912: 2A ROL A C1/B913: 1A INC A C1/B914: C59D CMP $9D C1/B916: 9002 BCC $B91A C1/B918: E59D SBC $9D C1/B91A: 4A LSR A C1/B91B: 8509 STA $09 C1/B91D: 8503 STA $03 C1/B91F: 6608 ROR $08 C1/B921: A508 LDA $08 C1/B923: 0A ASL A C1/B924: 6602 ROR $02 C1/B926: 8214FF BRL $B83D C1/B929: E220 SEP #$20 C1/B92B: A900 LDA #$00 C1/B92D: 9D2DE0 STA $E02D,X C1/B930: BD07E0 LDA $E007,X C1/B933: 4980 EOR #$80 C1/B935: 9D07E0 STA $E007,X C1/B938: A920 LDA #$20 C1/B93A: 9D0AE0 STA $E00A,X C1/B93D: 60 RTS C1/B93E: E220 SEP #$20 C1/B940: C210 REP #$10 C1/B942: A51E LDA $1E C1/B944: C980 CMP #$80 C1/B946: C220 REP #$20 C1/B948: 290F00 AND #$000F C1/B94B: B00B BCS $B958 C1/B94D: 18 CLC C1/B94E: 6512 ADC $12 C1/B950: C5C0 CMP $C0 C1/B952: 900F BCC $B963 C1/B954: E5C0 SBC $C0 C1/B956: 800B BRA $B963 C1/B958: 49FFFF EOR #$FFFF C1/B95B: 38 SEC C1/B95C: 6512 ADC $12 C1/B95E: 1003 BPL $B963 C1/B960: 18 CLC C1/B961: 65C0 ADC $C0 C1/B963: 4A LSR A C1/B964: 4A LSR A C1/B965: 4A LSR A C1/B966: 4A LSR A C1/B967: 8508 STA $08 C1/B969: E220 SEP #$20 C1/B96B: A51F LDA $1F C1/B96D: C980 CMP #$80 C1/B96F: C220 REP #$20 C1/B971: 290F00 AND #$000F C1/B974: B00B BCS $B981 C1/B976: 18 CLC C1/B977: 6514 ADC $14 C1/B979: C5C2 CMP $C2 C1/B97B: 900F BCC $B98C C1/B97D: E5C2 SBC $C2 C1/B97F: 800B BRA $B98C C1/B981: 49FFFF EOR #$FFFF C1/B984: 38 SEC C1/B985: 6514 ADC $14 C1/B987: 1003 BPL $B98C C1/B989: 18 CLC C1/B98A: 65C2 ADC $C2 C1/B98C: 29F00F AND #$0FF0 C1/B98F: 0A ASL A C1/B990: 0A ASL A C1/B991: 0A ASL A C1/B992: 0508 ORA $08 C1/B994: A8 TAY C1/B995: B70A LDA [$0A],Y [Tile Type] C1/B997: 29FF00 AND #$00FF C1/B99A: 8500 STA $00 C1/B99C: 0A ASL A C1/B99D: 0A ASL A C1/B99E: A8 TAY C1/B99F: E220 SEP #$20 C1/B9A1: A610 LDX $10 C1/B9A3: A500 LDA $00 C1/B9A5: C54D CMP $4D C1/B9A7: 9020 BCC $B9C9 C1/B9A9: E00006 CPX #$0600 C1/B9AC: B00E BCS $B9BC C1/B9AE: BD2CE0 LDA $E02C,X C1/B9B1: D00B BNE $B9BE C1/B9B3: C220 REP #$20 C1/B9B5: B70D LDA [$0D],Y [Collision[2]] C1/B9B7: 890040 BIT #$4000 C1/B9BA: D00D BNE $B9C9 C1/B9BC: 38 SEC C1/B9BD: 6B RTL C1/B9BE: A5FF LDA $FF C1/B9C0: D007 BNE $B9C9 C1/B9C2: A5D0 LDA $D0 C1/B9C4: 1D1CE0 ORA $E01C,X C1/B9C7: D0F3 BNE $B9BC C1/B9C9: C220 REP #$20 C1/B9CB: B70D LDA [$0D],Y C1/B9CD: 890010 BIT #$1000 C1/B9D0: E220 SEP #$20 C1/B9D2: F00C BEQ $B9E0 C1/B9D4: E00006 CPX #$0600 C1/B9D7: B0E3 BCS $B9BC C1/B9D9: A5D0 LDA $D0 C1/B9DB: 1D1CE0 ORA $E01C,X C1/B9DE: D0DC BNE $B9BC C1/B9E0: 2908 AND #$08 C1/B9E2: F002 BEQ $B9E6 C1/B9E4: 18 CLC C1/B9E5: 6B RTL C1/B9E6: 20E3BB JSR $BBE3 C1/B9E9: 6B RTL C1/B9EA: 08 PHP C1/B9EB: A51A LDA $1A C1/B9ED: 4A LSR A C1/B9EE: 18 CLC C1/B9EF: 651E ADC $1E C1/B9F1: C980 CMP #$80 C1/B9F3: C220 REP #$20 C1/B9F5: 297F00 AND #$007F C1/B9F8: B00B BCS $BA05 {} C1/B9FA: 18 CLC C1/B9FB: 6512 ADC $12 C1/B9FD: C5C0 CMP $C0 C1/B9FF: 900F BCC $BA10 C1/BA01: E5C0 SBC $C0 C1/BA03: 800B BRA $BA10 {} C1/BA05: 49FFFF EOR #$FFFF C1/BA08: 38 SEC C1/BA09: 6512 ADC $12 C1/BA0B: 1003 BPL $BA10 C1/BA0D: 18 CLC C1/BA0E: 65C0 ADC $C0 {} C1/BA10: 8504 STA $04 C1/BA12: 4A LSR A C1/BA13: 4A LSR A C1/BA14: 4A LSR A C1/BA15: 4A LSR A C1/BA16: 8508 STA $08 C1/BA18: E220 SEP #$20 C1/BA1A: A51F LDA $1F C1/BA1C: 1003 BPL $BA21 C1/BA1E: 497F EOR #$7F C1/BA20: 1A INC A C1/BA21: 18 CLC C1/BA22: 6904 ADC #$04 C1/BA24: C980 CMP #$80 C1/BA26: C220 REP #$20 C1/BA28: 297F00 AND #$007F C1/BA2B: B00A BCS $BA37 C1/BA2D: 6514 ADC $14 C1/BA2F: C5C2 CMP $C2 C1/BA31: 900F BCC $BA42 C1/BA33: E5C2 SBC $C2 C1/BA35: 800B BRA $BA42 C1/BA37: 49FFFF EOR #$FFFF C1/BA3A: 38 SEC C1/BA3B: 6514 ADC $14 C1/BA3D: 1003 BPL $BA42 C1/BA3F: 18 CLC C1/BA40: 65C2 ADC $C2 C1/BA42: 48 PHA C1/BA43: EB XBA C1/BA44: E220 SEP #$20 C1/BA46: A504 LDA $04 C1/BA48: C220 REP #$20 C1/BA4A: 290F0F AND #$0F0F C1/BA4D: 8504 STA $04 C1/BA4F: 68 PLA C1/BA50: 29F00F AND #$0FF0 C1/BA53: 0A ASL A C1/BA54: 0A ASL A C1/BA55: 0A ASL A C1/BA56: 0508 ORA $08 C1/BA58: 8508 STA $08 C1/BA5A: A8 TAY C1/BA5B: B70A LDA [$0A],Y [Tile Type Index] C1/BA5D: 29FF00 AND #$00FF C1/BA60: 0A ASL A C1/BA61: 0A ASL A C1/BA62: A8 TAY C1/BA63: E220 SEP #$20 C1/BA65: B70D LDA [$0D],Y [Collision[0]] C1/BA67: 8507 STA $07 C1/BA69: C8 INY C1/BA6A: C8 INY C1/BA6B: B70D LDA [$0D],Y [Collision[2]] C1/BA6D: 8506 STA $06 C1/BA6F: 29F0 AND #$F0 C1/BA71: C910 CMP #$10 C1/BA73: F002 BEQ $BA77 C1/BA75: 6406 STZ $06 C1/BA77: 2015BE JSR $BE15 [] C1/BA7A: B003 BCS $BA7F C1/BA7C: 28 PLP C1/BA7D: 18 CLC C1/BA7E: 60 RTS C1/BA7F: 28 PLP C1/BA80: B006 BCS $BA88 C1/BA82: A502 LDA $02 C1/BA84: D004 BNE $BA8A C1/BA86: 641E STZ $1E C1/BA88: 38 SEC C1/BA89: 60 RTS C1/BA8A: C908 CMP #$08 C1/BA8C: 9018 BCC $BAA6 C1/BA8E: F012 BEQ $BAA2 C1/BA90: C909 CMP #$09 C1/BA92: D0F2 BNE $BA86 C1/BA94: A51E LDA $1E C1/BA96: 4980 EOR #$80 C1/BA98: 851F STA $1F C1/BA9A: 641E STZ $1E C1/BA9C: E61D INC $1D C1/BA9E: 38 SEC C1/BA9F: 824000 BRL $BAE2 C1/BAA2: A51E LDA $1E C1/BAA4: 80F2 BRA $BA98 C1/BAA6: 241E BIT $1E C1/BAA8: 301C BMI $BAC6 C1/BAAA: C905 CMP #$05 C1/BAAC: D009 BNE $BAB7 C1/BAAE: A51E LDA $1E C1/BAB0: 851F STA $1F C1/BAB2: E61D INC $1D C1/BAB4: 824401 BRL $BBFB C1/BAB7: C907 CMP #$07 C1/BAB9: D0CB BNE $BA86 C1/BABB: A51E LDA $1E C1/BABD: 4980 EOR #$80 C1/BABF: 851F STA $1F C1/BAC1: E61D INC $1D C1/BAC3: 823501 BRL $BBFB C1/BAC6: C904 CMP #$04 C1/BAC8: D009 BNE $BAD3 C1/BACA: A51E LDA $1E C1/BACC: 851F STA $1F C1/BACE: E61D INC $1D C1/BAD0: 822801 BRL $BBFB C1/BAD3: C906 CMP #$06 C1/BAD5: D0AF BNE $BA86 C1/BAD7: A51E LDA $1E C1/BAD9: 4980 EOR #$80 C1/BADB: 851F STA $1F C1/BADD: E61D INC $1D C1/BADF: 821901 BRL $BBFB C1/BAE2: 08 PHP C1/BAE3: A51F LDA $1F C1/BAE5: 18 CLC C1/BAE6: 6904 ADC #$04 C1/BAE8: C980 CMP #$80 C1/BAEA: C220 REP #$20 C1/BAEC: 297F00 AND #$007F C1/BAEF: B00B BCS $BAFC C1/BAF1: 18 CLC C1/BAF2: 6514 ADC $14 C1/BAF4: C5C2 CMP $C2 C1/BAF6: 900F BCC $BB07 C1/BAF8: E5C2 SBC $C2 C1/BAFA: 800B BRA $BB07 C1/BAFC: 49FFFF EOR #$FFFF C1/BAFF: 38 SEC C1/BB00: 6514 ADC $14 C1/BB02: 1003 BPL $BB07 C1/BB04: 18 CLC C1/BB05: 65C2 ADC $C2 C1/BB07: 8504 STA $04 C1/BB09: 29F00F AND #$0FF0 C1/BB0C: 0A ASL A C1/BB0D: 0A ASL A C1/BB0E: 0A ASL A C1/BB0F: 8508 STA $08 C1/BB11: E220 SEP #$20 C1/BB13: A51E LDA $1E C1/BB15: 1003 BPL $BB1A C1/BB17: 497F EOR #$7F C1/BB19: 1A INC A C1/BB1A: 8500 STA $00 C1/BB1C: A51A LDA $1A C1/BB1E: 4A LSR A C1/BB1F: 18 CLC C1/BB20: 6500 ADC $00 C1/BB22: 100F BPL $BB33 C1/BB24: C220 REP #$20 C1/BB26: 0900FF ORA #$FF00 C1/BB29: 18 CLC C1/BB2A: 6512 ADC $12 C1/BB2C: 1013 BPL $BB41 C1/BB2E: 18 CLC C1/BB2F: 65C0 ADC $C0 C1/BB31: 800E BRA $BB41 C1/BB33: C220 REP #$20 C1/BB35: 297F00 AND #$007F C1/BB38: 18 CLC C1/BB39: 6512 ADC $12 C1/BB3B: C5C0 CMP $C0 C1/BB3D: 9002 BCC $BB41 C1/BB3F: E5C0 SBC $C0 C1/BB41: 48 PHA C1/BB42: EB XBA C1/BB43: E220 SEP #$20 C1/BB45: A504 LDA $04 C1/BB47: C220 REP #$20 C1/BB49: EB XBA C1/BB4A: 290F0F AND #$0F0F C1/BB4D: 8504 STA $04 C1/BB4F: 68 PLA C1/BB50: 4A LSR A C1/BB51: 4A LSR A C1/BB52: 4A LSR A C1/BB53: 4A LSR A C1/BB54: 297F00 AND #$007F C1/BB57: 0508 ORA $08 C1/BB59: 8508 STA $08 C1/BB5B: A8 TAY C1/BB5C: B70A LDA [$0A],Y C1/BB5E: 29FF00 AND #$00FF C1/BB61: 0A ASL A C1/BB62: 0A ASL A C1/BB63: A8 TAY C1/BB64: E220 SEP #$20 C1/BB66: B70D LDA [$0D],Y C1/BB68: 8507 STA $07 C1/BB6A: C8 INY C1/BB6B: C8 INY C1/BB6C: B70D LDA [$0D],Y C1/BB6E: 8506 STA $06 C1/BB70: 29F0 AND #$F0 C1/BB72: C910 CMP #$10 C1/BB74: F002 BEQ $BB78 C1/BB76: 6406 STZ $06 C1/BB78: 2037BC JSR $BC37 C1/BB7B: B003 BCS $BB80 C1/BB7D: 28 PLP C1/BB7E: 18 CLC C1/BB7F: 60 RTS C1/BB80: 28 PLP C1/BB81: B006 BCS $BB89 C1/BB83: A502 LDA $02 C1/BB85: D004 BNE $BB8B C1/BB87: 641F STZ $1F C1/BB89: 38 SEC C1/BB8A: 60 RTS C1/BB8B: C908 CMP #$08 C1/BB8D: 9018 BCC $BBA7 C1/BB8F: F012 BEQ $BBA3 C1/BB91: C909 CMP #$09 C1/BB93: D0F2 BNE $BB87 C1/BB95: A51F LDA $1F C1/BB97: 4980 EOR #$80 C1/BB99: 851E STA $1E C1/BB9B: 641F STZ $1F C1/BB9D: E61C INC $1C C1/BB9F: 38 SEC C1/BBA0: 8247FE BRL $B9EA C1/BBA3: A51F LDA $1F C1/BBA5: 80F2 BRA $BB99 C1/BBA7: 241F BIT $1F C1/BBA9: 301C BMI $BBC7 C1/BBAB: C904 CMP #$04 C1/BBAD: D009 BNE $BBB8 C1/BBAF: A51F LDA $1F C1/BBB1: 851E STA $1E C1/BBB3: E61C INC $1C C1/BBB5: 824300 BRL $BBFB C1/BBB8: C907 CMP #$07 C1/BBBA: D0CB BNE $BB87 C1/BBBC: A51F LDA $1F C1/BBBE: 4980 EOR #$80 C1/BBC0: 851E STA $1E C1/BBC2: E61C INC $1C C1/BBC4: 823400 BRL $BBFB C1/BBC7: C905 CMP #$05 C1/BBC9: D009 BNE $BBD4 C1/BBCB: A51F LDA $1F C1/BBCD: 851E STA $1E C1/BBCF: E61C INC $1C C1/BBD1: 822700 BRL $BBFB C1/BBD4: C906 CMP #$06 C1/BBD6: D0AF BNE $BB87 C1/BBD8: A51F LDA $1F C1/BBDA: 4980 EOR #$80 C1/BBDC: 851E STA $1E C1/BBDE: E61C INC $1C C1/BBE0: 821800 BRL $BBFB C1/BBE3: E220 SEP #$20 C1/BBE5: A51E LDA $1E C1/BBE7: D00A BNE $BBF3 C1/BBE9: A51F LDA $1F C1/BBEB: F004 BEQ $BBF1 C1/BBED: 18 CLC C1/BBEE: 82F1FE BRL $BAE2 C1/BBF1: 38 SEC C1/BBF2: 60 RTS C1/BBF3: A51F LDA $1F C1/BBF5: D004 BNE $BBFB C1/BBF7: 18 CLC C1/BBF8: 82EFFD BRL $B9EA C1/BBFB: 38 SEC C1/BBFC: 20EAB9 JSR $B9EA C1/BBFF: B007 BCS $BC08 C1/BC01: 38 SEC C1/BC02: 20E2BA JSR $BAE2 C1/BC05: B001 BCS $BC08 C1/BC07: 60 RTS C1/BC08: A51F LDA $1F C1/BC0A: 48 PHA C1/BC0B: 641F STZ $1F C1/BC0D: 38 SEC C1/BC0E: 20EAB9 JSR $B9EA C1/BC11: B002 BCS $BC15 C1/BC13: 68 PLA C1/BC14: 60 RTS C1/BC15: 68 PLA C1/BC16: 851F STA $1F C1/BC18: A51E LDA $1E C1/BC1A: 48 PHA C1/BC1B: 641E STZ $1E C1/BC1D: 38 SEC C1/BC1E: 20E2BA JSR $BAE2 C1/BC21: B002 BCS $BC25 C1/BC23: 68 PLA C1/BC24: 60 RTS C1/BC25: 68 PLA C1/BC26: 641E STZ $1E C1/BC28: 641F STZ $1F C1/BC2A: 38 SEC C1/BC2B: 60 RTS C1/BC2C: 38 SEC C1/BC2D: 20EAB9 JSR $B9EA C1/BC30: B004 BCS $BC36 C1/BC32: 38 SEC C1/BC33: 20E2BA JSR $BAE2 C1/BC36: 60 RTS C1/BC37: E220 SEP #$20 C1/BC39: A51A LDA $1A C1/BC3B: 8503 STA $03 C1/BC3D: 6402 STZ $02 C1/BC3F: A507 LDA $07 C1/BC41: 2907 AND #$07 C1/BC43: F010 BEQ $BC55 C1/BC45: C904 CMP #$04 C1/BC47: B00C BCS $BC55 C1/BC49: C903 CMP #$03 C1/BC4B: F01C BEQ $BC69 C1/BC4D: 451B EOR $1B C1/BC4F: 2903 AND #$03 C1/BC51: C903 CMP #$03 C1/BC53: F014 BEQ $BC69 C1/BC55: A506 LDA $06 C1/BC57: 2907 AND #$07 C1/BC59: D02A BNE $BC85 C1/BC5B: A504 LDA $04 C1/BC5D: 38 SEC C1/BC5E: E503 SBC $03 C1/BC60: 1003 BPL $BC65 C1/BC62: 82B100 BRL $BD16 C1/BC65: 18 CLC C1/BC66: 60 RTS C1/BC67: 38 SEC C1/BC68: 60 RTS C1/BC69: A51E LDA $1E C1/BC6B: D0FA BNE $BC67 C1/BC6D: A504 LDA $04 C1/BC6F: C908 CMP #$08 C1/BC71: B0F4 BCS $BC67 C1/BC73: A909 LDA #$09 C1/BC75: 241F BIT $1F C1/BC77: 1002 BPL $BC7B C1/BC79: A908 LDA #$08 C1/BC7B: 8502 STA $02 C1/BC7D: A504 LDA $04 C1/BC7F: 38 SEC C1/BC80: E503 SBC $03 C1/BC82: 829100 BRL $BD16 C1/BC85: C904 CMP #$04 C1/BC87: D01A BNE $BCA3 C1/BC89: A504 LDA $04 C1/BC8B: C505 CMP $05 C1/BC8D: B006 BCS $BC95 C1/BC8F: A904 LDA #$04 C1/BC91: 8502 STA $02 C1/BC93: 38 SEC C1/BC94: 60 RTS C1/BC95: F0F8 BEQ $BC8F C1/BC97: E503 SBC $03 C1/BC99: 30F4 BMI $BC8F C1/BC9B: C505 CMP $05 C1/BC9D: F0F0 BEQ $BC8F C1/BC9F: 90EE BCC $BC8F C1/BCA1: 18 CLC C1/BCA2: 60 RTS C1/BCA3: C905 CMP #$05 C1/BCA5: D021 BNE $BCC8 C1/BCA7: 241F BIT $1F C1/BCA9: 300A BMI $BCB5 C1/BCAB: A51E LDA $1E C1/BCAD: D006 BNE $BCB5 C1/BCAF: A504 LDA $04 C1/BCB1: C902 CMP #$02 C1/BCB3: 9011 BCC $BCC6 C1/BCB5: A504 LDA $04 C1/BCB7: C505 CMP $05 C1/BCB9: 9006 BCC $BCC1 C1/BCBB: A905 LDA #$05 C1/BCBD: 8502 STA $02 C1/BCBF: 38 SEC C1/BCC0: 60 RTS C1/BCC1: 38 SEC C1/BCC2: E503 SBC $03 C1/BCC4: 3050 BMI $BD16 C1/BCC6: 18 CLC C1/BCC7: 60 RTS C1/BCC8: C906 CMP #$06 C1/BCCA: D01D BNE $BCE9 C1/BCCC: A504 LDA $04 C1/BCCE: 490F EOR #$0F C1/BCD0: C505 CMP $05 C1/BCD2: 9006 BCC $BCDA C1/BCD4: A906 LDA #$06 C1/BCD6: 8502 STA $02 C1/BCD8: 38 SEC C1/BCD9: 60 RTS C1/BCDA: A504 LDA $04 C1/BCDC: 38 SEC C1/BCDD: E503 SBC $03 C1/BCDF: 30F3 BMI $BCD4 C1/BCE1: 490F EOR #$0F C1/BCE3: C505 CMP $05 C1/BCE5: B0ED BCS $BCD4 C1/BCE7: 18 CLC C1/BCE8: 60 RTS C1/BCE9: C907 CMP #$07 C1/BCEB: D027 BNE $BD14 C1/BCED: 241F BIT $1F C1/BCEF: 100A BPL $BCFB C1/BCF1: A51E LDA $1E C1/BCF3: D006 BNE $BCFB C1/BCF5: A504 LDA $04 C1/BCF7: C902 CMP #$02 C1/BCF9: 9017 BCC $BD12 C1/BCFB: A504 LDA $04 C1/BCFD: 490F EOR #$0F C1/BCFF: C505 CMP $05 C1/BD01: B006 BCS $BD09 C1/BD03: A907 LDA #$07 C1/BD05: 8502 STA $02 C1/BD07: 38 SEC C1/BD08: 60 RTS C1/BD09: F0F8 BEQ $BD03 C1/BD0B: A504 LDA $04 C1/BD0D: 38 SEC C1/BD0E: E503 SBC $03 C1/BD10: 3004 BMI $BD16 C1/BD12: 18 CLC C1/BD13: 60 RTS C1/BD14: 18 CLC C1/BD15: 60 RTS C1/BD16: 49FF EOR #$FF C1/BD18: 1A INC A C1/BD19: 8503 STA $03 C1/BD1B: A90F LDA #$0F C1/BD1D: 8504 STA $04 C1/BD1F: A508 LDA $08 C1/BD21: 297F AND #$7F C1/BD23: 3A DEC A C1/BD24: 1003 BPL $BD29 C1/BD26: A59C LDA $9C C1/BD28: 3A DEC A C1/BD29: 2408 BIT $08 C1/BD2B: 1002 BPL $BD2F C1/BD2D: 0980 ORA #$80 C1/BD2F: 8508 STA $08 C1/BD31: A408 LDY $08 C1/BD33: B70A LDA [$0A],Y C1/BD35: C220 REP #$20 C1/BD37: 29FF00 AND #$00FF C1/BD3A: 0A ASL A C1/BD3B: 0A ASL A C1/BD3C: A8 TAY C1/BD3D: E220 SEP #$20 C1/BD3F: B70D LDA [$0D],Y C1/BD41: 8507 STA $07 C1/BD43: C8 INY C1/BD44: C8 INY C1/BD45: B70D LDA [$0D],Y C1/BD47: 8506 STA $06 C1/BD49: 29F0 AND #$F0 C1/BD4B: C910 CMP #$10 C1/BD4D: F002 BEQ $BD51 C1/BD4F: 6406 STZ $06 C1/BD51: A507 LDA $07 C1/BD53: 2907 AND #$07 C1/BD55: F010 BEQ $BD67 C1/BD57: C904 CMP #$04 C1/BD59: B00C BCS $BD67 C1/BD5B: C903 CMP #$03 C1/BD5D: F01F BEQ $BD7E C1/BD5F: 451B EOR $1B C1/BD61: 2903 AND #$03 C1/BD63: C903 CMP #$03 C1/BD65: F017 BEQ $BD7E C1/BD67: A506 LDA $06 C1/BD69: 2907 AND #$07 C1/BD6B: D030 BNE $BD9D C1/BD6D: A503 LDA $03 C1/BD6F: 38 SEC C1/BD70: E910 SBC #$10 C1/BD72: 10A5 BPL $BD19 C1/BD74: A502 LDA $02 C1/BD76: D004 BNE $BD7C C1/BD78: 18 CLC C1/BD79: 60 RTS C1/BD7A: 6402 STZ $02 C1/BD7C: 38 SEC C1/BD7D: 60 RTS C1/BD7E: A51E LDA $1E C1/BD80: D0F8 BNE $BD7A C1/BD82: A502 LDA $02 C1/BD84: D0F4 BNE $BD7A C1/BD86: A504 LDA $04 C1/BD88: 38 SEC C1/BD89: E503 SBC $03 C1/BD8B: 30ED BMI $BD7A C1/BD8D: C908 CMP #$08 C1/BD8F: 90E9 BCC $BD7A C1/BD91: A908 LDA #$08 C1/BD93: 241F BIT $1F C1/BD95: 1002 BPL $BD99 C1/BD97: A909 LDA #$09 C1/BD99: 8502 STA $02 C1/BD9B: 38 SEC C1/BD9C: 60 RTS C1/BD9D: C904 CMP #$04 C1/BD9F: D027 BNE $BDC8 C1/BDA1: A504 LDA $04 C1/BDA3: 38 SEC C1/BDA4: E503 SBC $03 C1/BDA6: 1006 BPL $BDAE C1/BDA8: A904 LDA #$04 C1/BDAA: 8502 STA $02 C1/BDAC: 38 SEC C1/BDAD: 60 RTS C1/BDAE: 8504 STA $04 C1/BDB0: 241F BIT $1F C1/BDB2: 100A BPL $BDBE C1/BDB4: A51E LDA $1E C1/BDB6: D006 BNE $BDBE C1/BDB8: A504 LDA $04 C1/BDBA: C90E CMP #$0E C1/BDBC: B008 BCS $BDC6 C1/BDBE: A504 LDA $04 C1/BDC0: C505 CMP $05 C1/BDC2: F0E4 BEQ $BDA8 C1/BDC4: 90E2 BCC $BDA8 C1/BDC6: 18 CLC C1/BDC7: 60 RTS C1/BDC8: C905 CMP #$05 C1/BDCA: D00C BNE $BDD8 C1/BDCC: A502 LDA $02 C1/BDCE: C908 CMP #$08 C1/BDD0: B004 BCS $BDD6 C1/BDD2: A905 LDA #$05 C1/BDD4: 8502 STA $02 C1/BDD6: 38 SEC C1/BDD7: 60 RTS C1/BDD8: C906 CMP #$06 C1/BDDA: D027 BNE $BE03 C1/BDDC: A504 LDA $04 C1/BDDE: 38 SEC C1/BDDF: E503 SBC $03 C1/BDE1: 1006 BPL $BDE9 C1/BDE3: A906 LDA #$06 C1/BDE5: 8502 STA $02 C1/BDE7: 38 SEC C1/BDE8: 60 RTS C1/BDE9: 8504 STA $04 C1/BDEB: 241F BIT $1F C1/BDED: 100A BPL $BDF9 C1/BDEF: A51E LDA $1E C1/BDF1: D006 BNE $BDF9 C1/BDF3: A504 LDA $04 C1/BDF5: C90E CMP #$0E C1/BDF7: B008 BCS $BE01 C1/BDF9: A504 LDA $04 C1/BDFB: 490F EOR #$0F C1/BDFD: C505 CMP $05 C1/BDFF: B0E2 BCS $BDE3 C1/BE01: 18 CLC C1/BE02: 60 RTS C1/BE03: C907 CMP #$07 C1/BE05: D00C BNE $BE13 C1/BE07: A502 LDA $02 C1/BE09: C908 CMP #$08 C1/BE0B: B004 BCS $BE11 C1/BE0D: A907 LDA #$07 C1/BE0F: 8502 STA $02 C1/BE11: 38 SEC C1/BE12: 60 RTS C1/BE13: 18 CLC C1/BE14: 60 RTS [Collision-related?] C1/BE15: E220 SEP #$20 C1/BE17: A908 LDA #$08 C1/BE19: 8503 STA $03 C1/BE1B: 6402 STZ $02 C1/BE1D: A507 LDA $07 C1/BE1F: 2907 AND #$07 C1/BE21: F010 + BEQ $BE33 C1/BE23: C904 CMP #$04 C1/BE25: B00C + BCS $BE33 C1/BE27: C903 CMP #$03 C1/BE29: F01C ++ BEQ $BE47 C1/BE2B: 451B EOR $1B C1/BE2D: 2903 AND #$03 C1/BE2F: C903 CMP #$03 C1/BE31: F014 ++ BEQ $BE47 C1/BE33: A506 + LDA $06 C1/BE35: 2907 AND #$07 C1/BE37: D02B BNE $BE64 C1/BE39: A505 LDA $05 C1/BE3B: 38 SEC C1/BE3C: E503 SBC $03 [??] C1/BE3E: 1003 BPL $BE43 C1/BE40: 82B300 BRL $BEF6 [Collision-related shit] C1/BE43: 18 CLC C1/BE44: 60 RTS C1/BE45: - 38 SEC C1/BE46: 60 RTS [] C1/BE47: A51F LDA $1F C1/BE49: D0FA - BNE $BE45 C1/BE4B: A505 LDA $05 C1/BE4D: C908 CMP #$08 C1/BE4F: B0F4 - BCS $BE45 C1/BE51: A909 LDA #$09 C1/BE53: 241E BIT $1E C1/BE55: 1002 + BPL $BE59 C1/BE57: A908 LDA #$08 C1/BE59: 8502 STA $02 C1/BE5B: A505 LDA $05 C1/BE5D: 38 SEC C1/BE5E: E503 SBC $03 C1/BE60: 30DE BMI $BE40 C1/BE62: 38 SEC C1/BE63: 60 RTS C1/BE64: C904 CMP #$04 C1/BE66: D021 BNE $BE89 C1/BE68: 241E BIT $1E C1/BE6A: 300A BMI $BE76 C1/BE6C: A51F LDA $1F C1/BE6E: D006 BNE $BE76 C1/BE70: A505 LDA $05 C1/BE72: C904 CMP #$04 C1/BE74: 9011 BCC $BE87 C1/BE76: A505 LDA $05 C1/BE78: C504 CMP $04 C1/BE7A: 9006 BCC $BE82 C1/BE7C: A904 LDA #$04 C1/BE7E: 8502 STA $02 C1/BE80: 38 SEC C1/BE81: 60 RTS C1/BE82: 38 SEC C1/BE83: E503 SBC $03 C1/BE85: 306F BMI $BEF6 C1/BE87: 18 CLC C1/BE88: 60 RTS C1/BE89: C905 CMP #$05 C1/BE8B: D01B BNE $BEA8 C1/BE8D: A505 LDA $05 C1/BE8F: C504 CMP $04 C1/BE91: B006 BCS $BE99 C1/BE93: A905 LDA #$05 C1/BE95: 8502 STA $02 C1/BE97: 38 SEC C1/BE98: 60 RTS C1/BE99: F0F8 BEQ $BE93 C1/BE9B: 38 SEC C1/BE9C: E503 SBC $03 C1/BE9E: 30F3 BMI $BE93 C1/BEA0: C504 CMP $04 C1/BEA2: 90EF BCC $BE93 C1/BEA4: F0ED BEQ $BE93 C1/BEA6: 18 CLC C1/BEA7: 60 RTS C1/BEA8: C906 CMP #$06 C1/BEAA: D01D BNE $BEC9 C1/BEAC: A504 LDA $04 C1/BEAE: 490F EOR #$0F C1/BEB0: C505 CMP $05 C1/BEB2: 9006 BCC $BEBA C1/BEB4: A906 LDA #$06 C1/BEB6: 8502 STA $02 C1/BEB8: 38 SEC C1/BEB9: 60 RTS C1/BEBA: A505 LDA $05 C1/BEBC: 38 SEC C1/BEBD: E503 SBC $03 C1/BEBF: 30F3 BMI $BEB4 C1/BEC1: 490F EOR #$0F C1/BEC3: C504 CMP $04 C1/BEC5: B0ED BCS $BEB4 C1/BEC7: 18 CLC C1/BEC8: 60 RTS C1/BEC9: C907 CMP #$07 C1/BECB: D027 BNE $BEF4 C1/BECD: 241E BIT $1E C1/BECF: 100A BPL $BEDB C1/BED1: A51F LDA $1F C1/BED3: D006 BNE $BEDB C1/BED5: A505 LDA $05 C1/BED7: C904 CMP #$04 C1/BED9: 9017 BCC $BEF2 C1/BEDB: A504 LDA $04 C1/BEDD: 490F EOR #$0F C1/BEDF: C505 CMP $05 C1/BEE1: B006 BCS $BEE9 C1/BEE3: A907 LDA #$07 C1/BEE5: 8502 STA $02 C1/BEE7: 38 SEC C1/BEE8: 60 RTS {} C1/BEE9: F0F8 BEQ $BEE3 C1/BEEB: A505 LDA $05 C1/BEED: 38 SEC C1/BEEE: E503 SBC $03 C1/BEF0: 3004 BMI $BEF6 C1/BEF2: 18 CLC C1/BEF3: 60 RTS C1/BEF4: 18 CLC C1/BEF5: 60 RTS [Collision Detection. Runs every frame?] C1/BEF6: 49FF EOR #$FF C1/BEF8: 1A INC A C1/BEF9: 8503 STA $03 C1/BEFB: A90F LDA #$0F C1/BEFD: 8505 STA $05 C1/BEFF: A509 LDA $09 C1/BF01: 0608 ASL $08 C1/BF03: 2A ROL A C1/BF04: 297F AND #$7F C1/BF06: 3A DEC A C1/BF07: 1003 + BPL $BF0C C1/BF09: A59D LDA $9D C1/BF0B: 3A DEC A C1/BF0C: + 4A LSR A C1/BF0D: 8509 STA $09 C1/BF0F: 6608 ROR $08 C1/BF11: A408 LDY $08 C1/BF13: B70A LDA [$0A],Y [] C1/BF15: C220 REP #$20 C1/BF17: 29FF00 AND #$00FF C1/BF1A: 0A ASL A C1/BF1B: 0A ASL A C1/BF1C: A8 TAY C1/BF1D: E220 SEP #$20 C1/BF1F: B70D LDA [$0D],Y [Collision[0..1]] C1/BF21: 8507 STA $07 [TempCollision1] C1/BF23: C8 INY C1/BF24: C8 INY C1/BF25: B70D LDA [$0D],Y [Collision[2..3]] C1/BF27: 8506 STA $06 [TempCollision2] C1/BF29: 29F0 AND #$F0 C1/BF2B: C910 CMP #$10 C1/BF2D: F002 + BEQ $BF31 C1/BF2F: 6406 STZ $06 [Store 0 in TempCollision2] C1/BF31: + A507 LDA $07 [Load TempCollision1] C1/BF33: 2907 AND #$07 C1/BF35: F010 + BEQ $BF47 C1/BF37: C904 CMP #$04 C1/BF39: B00C + BCS $BF47 C1/BF3B: C903 CMP #$03 C1/BF3D: F018 ++ BEQ $BF57 C1/BF3F: 451B EOR $1B C1/BF41: 2903 AND #$03 C1/BF43: C903 CMP #$03 C1/BF45: F010 ++ BEQ $BF57 C1/BF47: +- A506 LDA $06 C1/BF49: 2907 AND #$07 C1/BF4B: D027 + BNE $BF74 C1/BF4D: A502 LDA $02 C1/BF4F: D004 +! BNE $BF55 C1/BF51: 18 CLC C1/BF52: 60 RTS C1/BF53: - 6402 STZ $02 C1/BF55: +! 38 SEC C1/BF56: 60 RTS [$1B & #$03 == 0] C1/BF57: ++ A51F LDA $1F C1/BF59: D0F8 - BNE $BF53 C1/BF5B: A502 LDA $02 C1/BF5D: D0F4 - BNE $BF53 C1/BF5F: A505 LDA $05 C1/BF61: 38 SEC C1/BF62: E503 SBC $03 C1/BF64: C908 CMP #$08 C1/BF66: 90EB - BCC $BF53 C1/BF68: A908 LDA #$08 C1/BF6A: 241E BIT $1E C1/BF6C: 1002 ++ BPL $BF70 C1/BF6E: A909 LDA #$09 C1/BF70: ++ 8502 STA $02 C1/BF72: 38 SEC C1/BF73: 60 RTS [04] C1/BF74: + C904 CMP #$04 C1/BF76: D00C BNE $BF84 C1/BF78: A502 LDA $02 C1/BF7A: C908 CMP #$08 C1/BF7C: B004 BCS $BF82 C1/BF7E: A904 LDA #$04 C1/BF80: 8502 STA $02 C1/BF82: 38 SEC C1/BF83: 60 RTS [05] C1/BF84: C905 CMP #$05 C1/BF86: D021 BNE $BFA9 C1/BF88: 241E BIT $1E C1/BF8A: 100A BPL $BF96 C1/BF8C: A51F LDA $1F C1/BF8E: D006 BNE $BF96 C1/BF90: A505 LDA $05 C1/BF92: C90C CMP #$0C C1/BF94: B011 BCS $BFA7 C1/BF96: A505 LDA $05 C1/BF98: 38 SEC C1/BF99: E503 SBC $03 C1/BF9B: C504 CMP $04 C1/BF9D: B006 BCS $BFA5 C1/BF9F: A905 LDA #$05 C1/BFA1: 8502 STA $02 C1/BFA3: 38 SEC C1/BFA4: 60 RTS C1/BFA5: F0F8 BEQ $BF9F C1/BFA7: 18 CLC C1/BFA8: 60 RTS [06] C1/BFA9: C906 CMP #$06 C1/BFAB: D021 BNE $BFCE C1/BFAD: 241E BIT $1E C1/BFAF: 300A BMI $BFBB C1/BFB1: A51F LDA $1F C1/BFB3: D006 BNE $BFBB C1/BFB5: A505 LDA $05 C1/BFB7: C90C CMP #$0C C1/BFB9: B011 BCS $BFCC C1/BFBB: A505 LDA $05 C1/BFBD: 38 SEC C1/BFBE: E503 SBC $03 C1/BFC0: 490F EOR #$0F C1/BFC2: C504 CMP $04 C1/BFC4: 9006 BCC $BFCC C1/BFC6: A906 LDA #$06 C1/BFC8: 8502 STA $02 C1/BFCA: 38 SEC C1/BFCB: 60 RTS C1/BFCC: 18 CLC C1/BFCD: 60 RTS [07] C1/BFCE: C907 CMP #$07 C1/BFD0: D00C BNE $BFDE C1/BFD2: A502 LDA $02 C1/BFD4: C908 CMP #$08 C1/BFD6: B004 BCS $BFDC C1/BFD8: A907 LDA #$07 C1/BFDA: 8502 STA $02 C1/BFDC: 38 SEC C1/BFDD: 60 RTS C1/BFDE: 18 CLC C1/BFDF: 60 RTS C1/BFE0: E230 SEP #$30 C1/BFE2: A59A LDA $9A C1/BFE4: D001 BNE $BFE7 C1/BFE6: 6B RTL C1/BFE7: 290F AND #$0F C1/BFE9: 8500 STA $00 C1/BFEB: 8B PHB C1/BFEC: A97F LDA #$7F C1/BFEE: 8504 STA $04 C1/BFF0: 48 PHA C1/BFF1: AB PLB C1/BFF2: 6401 STZ $01 C1/BFF4: E230 SEP #$30 C1/BFF6: A601 LDX $01 C1/BFF8: A900 LDA #$00 C1/BFFA: 9D0082 STA $8200,X C1/BFFD: DE0882 DEC $8208,X C1/C000: 1011 BPL $C013 C1/C002: BD0982 LDA $8209,X C1/C005: 9D0882 STA $8208,X C1/C008: FE0082 INC $8200,X C1/C00B: BC0182 LDY $8201,X C1/C00E: 2026C0 JSR $C026 C1/C011: E230 SEP #$30 C1/C013: A501 LDA $01 C1/C015: 18 CLC C1/C016: 6910 ADC #$10 C1/C018: 8501 STA $01 C1/C01A: C600 DEC $00 C1/C01C: D0D6 BNE $BFF4 C1/C01E: AB PLB C1/C01F: A59A LDA $9A C1/C021: 0980 ORA #$80 C1/C023: 859A STA $9A C1/C025: 6B RTL C1/C026: C220 REP #$20 C1/C028: C002 CPY #$02 C1/C02A: B01B BCS $C047 C1/C02C: BD0482 LDA $8204,X C1/C02F: 18 CLC C1/C030: 692000 ADC #$0020 C1/C033: 29E001 AND #$01E0 C1/C036: 9D0482 STA $8204,X C1/C039: 18 CLC C1/C03A: 7D0282 ADC $8202,X C1/C03D: 9D0A82 STA $820A,X C1/C040: BD0682 LDA $8206,X C1/C043: 9D0C82 STA $820C,X C1/C046: 60 RTS C1/C047: C004 CPY #$04 C1/C049: B03D BCS $C088 C1/C04B: BD0482 LDA $8204,X C1/C04E: 18 CLC C1/C04F: 690200 ADC #$0002 C1/C052: 48 PHA C1/C053: 291000 AND #$0010 C1/C056: 8502 STA $02 C1/C058: 68 PLA C1/C059: 6502 ADC $02 C1/C05B: 29FF00 AND #$00FF C1/C05E: 9D0482 STA $8204,X C1/C061: 48 PHA C1/C062: 7D0282 ADC $8202,X C1/C065: 8502 STA $02 C1/C067: A000 LDY #$00 C1/C069: B102 LDA ($02),Y C1/C06B: 9D0283 STA $8302,X C1/C06E: A010 LDY #$10 C1/C070: B102 LDA ($02),Y C1/C072: 9D0683 STA $8306,X C1/C075: 68 PLA C1/C076: 290F00 AND #$000F C1/C079: 4A LSR A C1/C07A: 18 CLC C1/C07B: 7D0682 ADC $8206,X C1/C07E: 9D0083 STA $8300,X C1/C081: 090800 ORA #$0008 C1/C084: 9D0483 STA $8304,X C1/C087: 60 RTS C1/C088: C005 CPY #$05 C1/C08A: B00D BCS $C099 C1/C08C: BD0482 LDA $8204,X C1/C08F: 18 CLC C1/C090: 694000 ADC #$0040 C1/C093: 29C003 AND #$03C0 C1/C096: 4C36C0 JMP $C036 C1/C099: C006 CPY #$06 C1/C09B: B002 BCS $C09F C1/C09D: 80ED BRA $C08C C1/C09F: C008 CPY #$08 C1/C0A1: B003 BCS $C0A6 C1/C0A3: 4C2CC0 JMP $C02C C1/C0A6: C00A CPY #$0A C1/C0A8: B01B BCS $C0C5 C1/C0AA: BD0482 LDA $8204,X C1/C0AD: 18 CLC C1/C0AE: 694000 ADC #$0040 C1/C0B1: 29C007 AND #$07C0 C1/C0B4: 9D0482 STA $8204,X C1/C0B7: 18 CLC C1/C0B8: 7D0282 ADC $8202,X C1/C0BB: 9D0A82 STA $820A,X C1/C0BE: BD0682 LDA $8206,X C1/C0C1: 9D0C82 STA $820C,X C1/C0C4: 60 RTS C1/C0C5: C00C CPY #$0C C1/C0C7: B05C BCS $C125 C1/C0C9: BD0482 LDA $8204,X C1/C0CC: 18 CLC C1/C0CD: 690200 ADC #$0002 C1/C0D0: 48 PHA C1/C0D1: 291000 AND #$0010 C1/C0D4: F003 BEQ $C0D9 C1/C0D6: 092000 ORA #$0020 C1/C0D9: 8502 STA $02 C1/C0DB: 68 PLA C1/C0DC: 6502 ADC $02 C1/C0DE: 29FF03 AND #$03FF C1/C0E1: 9D0482 STA $8204,X C1/C0E4: 48 PHA C1/C0E5: 7D0282 ADC $8202,X C1/C0E8: 8502 STA $02 C1/C0EA: A000 LDY #$00 C1/C0EC: B102 LDA ($02),Y C1/C0EE: 9D0283 STA $8302,X C1/C0F1: A010 LDY #$10 C1/C0F3: B102 LDA ($02),Y C1/C0F5: 9D0683 STA $8306,X C1/C0F8: A020 LDY #$20 C1/C0FA: B102 LDA ($02),Y C1/C0FC: 9D0A83 STA $830A,X C1/C0FF: A030 LDY #$30 C1/C101: B102 LDA ($02),Y C1/C103: 9D0E83 STA $830E,X C1/C106: 68 PLA C1/C107: 290F00 AND #$000F C1/C10A: 4A LSR A C1/C10B: 18 CLC C1/C10C: 7D0682 ADC $8206,X C1/C10F: 9D0083 STA $8300,X C1/C112: 090800 ORA #$0008 C1/C115: 9D0483 STA $8304,X C1/C118: 491800 EOR #$0018 C1/C11B: 9D0883 STA $8308,X C1/C11E: 090800 ORA #$0008 C1/C121: 9D0C83 STA $830C,X C1/C124: 60 RTS C1/C125: C00D CPY #$0D C1/C127: B00D BCS $C136 C1/C129: BD0482 LDA $8204,X C1/C12C: 18 CLC C1/C12D: 694000 ADC #$0040 C1/C130: 29FF00 AND #$00FF C1/C133: 4CB4C0 JMP $C0B4 {} C1/C136: C00E CPY #$0E C1/C138: B01B BCS $C155 C1/C13A: BD0482 LDA $8204,X C1/C13D: 18 CLC C1/C13E: 690200 ADC #$0002 C1/C141: 48 PHA C1/C142: 291000 AND #$0010 C1/C145: F003 BEQ $C14A C1/C147: 092000 ORA #$0020 C1/C14A: 8502 STA $02 C1/C14C: 68 PLA C1/C14D: 6502 ADC $02 C1/C14F: 297F00 AND #$007F C1/C152: 4CE1C0 JMP $C0E1 {} C1/C155: BD0482 LDA $8204,X C1/C158: 18 CLC C1/C159: 694000 ADC #$0040 C1/C15C: 29C003 AND #$03C0 C1/C15F: 4CB4C0 JMP $C0B4 C1/C162: E230 SEP #$30 C1/C164: A20F LDX #$0F C1/C166: 20EFC1 JSR $C1EF C1/C169: 208BC2 JSR $C28B C1/C16C: CA DEX C1/C16D: D0F7 BNE $C166 C1/C16F: 20EFC1 JSR $C1EF C1/C172: 4C86C4 JMP $C486 [] C1/C175: E230 SEP #$30 C1/C177: A20F LDX #$0F C1/C179: 203EC2 JSR $C23E C1/C17C: 20DAC2 JSR $C2DA C1/C17F: CA DEX C1/C180: D0F7 BNE $C179 C1/C182: 203EC2 JSR $C23E C1/C185: 4C86C4 JMP $C486 C1/C188: E230 SEP #$30 C1/C18A: A20F LDX #$0F C1/C18C: 2027C3 JSR $C327 C1/C18F: CA DEX C1/C190: D0FA BNE $C18C C1/C192: 4C86C4 JMP $C486 [] C1/C195: E230 SEP #$30 C1/C197: A20F LDX #$0F C1/C199: 2057C3 JSR $C357 C1/C19C: D0FB BNE $C199 C1/C19E: 4C86C4 JMP $C486 C1/C1A1: C90C CMP #$0C C1/C1A3: B00E BCS $C1B3 C1/C1A5: C908 CMP #$08 C1/C1A7: F0B9 BEQ $C162 C1/C1A9: C909 CMP #$09 C1/C1AB: F0C8 BEQ $C175 C1/C1AD: C90A CMP #$0A C1/C1AF: F0D7 BEQ $C188 C1/C1B1: 80E2 BRA $C195 C1/C1B3: F00A BEQ $C1BF C1/C1B5: C90D CMP #$0D C1/C1B7: F014 BEQ $C1CD C1/C1B9: C90E CMP #$0E C1/C1BB: F018 BEQ $C1D5 C1/C1BD: 8023 BRA $C1E2 C1/C1BF: E230 SEP #$30 C1/C1C1: 2086C3 JSR $C386 C1/C1C4: 20D3C3 JSR $C3D3 C1/C1C7: 2086C3 JSR $C386 C1/C1CA: 4C86C4 JMP $C486 [] C1/C1CD: E230 SEP #$30 C1/C1CF: 2020C4 JSR $C420 C1/C1D2: 4C86C4 JMP $C486 C1/C1D5: E230 SEP #$30 C1/C1D7: A20F LDX #$0F C1/C1D9: 2091C4 JSR $C491 C1/C1DC: CA DEX C1/C1DD: D0FA BNE $C1D9 C1/C1DF: 4C86C4 JMP $C486 C1/C1E2: E230 SEP #$30 C1/C1E4: A20F LDX #$0F C1/C1E6: 200AC5 JSR $C50A C1/C1E9: CA DEX C1/C1EA: D0FA BNE $C1E6 C1/C1EC: 4C86C4 JMP $C486 [] C1/C1EF: C220 REP #$20 C1/C1F1: A506 LDA $06 C1/C1F3: 18 CLC C1/C1F4: 692000 ADC #$0020 C1/C1F7: 850A STA $0A C1/C1F9: 692000 ADC #$0020 C1/C1FC: 8508 STA $08 C1/C1FE: 692000 ADC #$0020 C1/C201: 850C STA $0C C1/C203: E230 SEP #$30 C1/C205: A000 LDY #$00 C1/C207: B106 LDA ($06),Y C1/C209: C980 CMP #$80 C1/C20B: B10A LDA ($0A),Y C1/C20D: 2A ROL A C1/C20E: 910C STA ($0C),Y C1/C210: B106 LDA ($06),Y C1/C212: 2A ROL A C1/C213: 9108 STA ($08),Y C1/C215: C8 INY C1/C216: B106 LDA ($06),Y C1/C218: C980 CMP #$80 C1/C21A: B10A LDA ($0A),Y C1/C21C: 2A ROL A C1/C21D: 910C STA ($0C),Y C1/C21F: B106 LDA ($06),Y C1/C221: 2A ROL A C1/C222: 9108 STA ($08),Y C1/C224: C8 INY C1/C225: C220 REP #$20 C1/C227: B106 LDA ($06),Y C1/C229: 9108 STA ($08),Y C1/C22B: B10A LDA ($0A),Y C1/C22D: 910C STA ($0C),Y C1/C22F: E220 SEP #$20 C1/C231: C8 INY C1/C232: C8 INY C1/C233: C020 CPY #$20 C1/C235: 90D0 BCC $C207 C1/C237: C220 REP #$20 C1/C239: A508 LDA $08 C1/C23B: 8506 STA $06 C1/C23D: 60 RTS [] C1/C23E: C220 REP #$20 C1/C240: A506 LDA $06 C1/C242: 18 CLC C1/C243: 692000 ADC #$0020 C1/C246: 850A STA $0A C1/C248: 692000 ADC #$0020 C1/C24B: 8508 STA $08 C1/C24D: 692000 ADC #$0020 C1/C250: 850C STA $0C C1/C252: E230 SEP #$30 C1/C254: A000 LDY #$00 C1/C256: B10A LDA ($0A),Y C1/C258: 48 PHA C1/C259: 4A LSR A C1/C25A: B106 LDA ($06),Y C1/C25C: 6A ROR A C1/C25D: 9108 STA ($08),Y C1/C25F: 68 PLA C1/C260: 6A ROR A C1/C261: 910C STA ($0C),Y C1/C263: C8 INY C1/C264: B10A LDA ($0A),Y C1/C266: 48 PHA C1/C267: 4A LSR A C1/C268: B106 LDA ($06),Y C1/C26A: 6A ROR A C1/C26B: 9108 STA ($08),Y C1/C26D: 68 PLA C1/C26E: 6A ROR A C1/C26F: 910C STA ($0C),Y C1/C271: C8 INY C1/C272: C220 REP #$20 C1/C274: B106 LDA ($06),Y C1/C276: 9108 STA ($08),Y C1/C278: B10A LDA ($0A),Y C1/C27A: 910C STA ($0C),Y C1/C27C: E220 SEP #$20 C1/C27E: C8 INY C1/C27F: C8 INY C1/C280: C020 CPY #$20 C1/C282: 90D2 BCC $C256 C1/C284: C220 REP #$20 C1/C286: A508 LDA $08 C1/C288: 8506 STA $06 C1/C28A: 60 RTS C1/C28B: C220 REP #$20 C1/C28D: A506 LDA $06 C1/C28F: 18 CLC C1/C290: 692000 ADC #$0020 C1/C293: 850A STA $0A C1/C295: 692000 ADC #$0020 C1/C298: 8508 STA $08 C1/C29A: 692000 ADC #$0020 C1/C29D: 850C STA $0C C1/C29F: E230 SEP #$30 C1/C2A1: A000 LDY #$00 C1/C2A3: C220 REP #$20 C1/C2A5: B106 LDA ($06),Y C1/C2A7: 9108 STA ($08),Y C1/C2A9: B10A LDA ($0A),Y C1/C2AB: 910C STA ($0C),Y C1/C2AD: E220 SEP #$20 C1/C2AF: C8 INY C1/C2B0: C8 INY C1/C2B1: B106 LDA ($06),Y C1/C2B3: C980 CMP #$80 C1/C2B5: B10A LDA ($0A),Y C1/C2B7: 2A ROL A C1/C2B8: 910C STA ($0C),Y C1/C2BA: B106 LDA ($06),Y C1/C2BC: 2A ROL A C1/C2BD: 9108 STA ($08),Y C1/C2BF: C8 INY C1/C2C0: B106 LDA ($06),Y C1/C2C2: C980 CMP #$80 C1/C2C4: B10A LDA ($0A),Y C1/C2C6: 2A ROL A C1/C2C7: 910C STA ($0C),Y C1/C2C9: B106 LDA ($06),Y C1/C2CB: 2A ROL A C1/C2CC: 9108 STA ($08),Y C1/C2CE: C8 INY C1/C2CF: C020 CPY #$20 C1/C2D1: 90D0 BCC $C2A3 C1/C2D3: C220 REP #$20 C1/C2D5: A508 LDA $08 C1/C2D7: 8506 STA $06 C1/C2D9: 60 RTS C1/C2DA: C220 REP #$20 C1/C2DC: A506 LDA $06 C1/C2DE: 18 CLC C1/C2DF: 692000 ADC #$0020 C1/C2E2: 850A STA $0A C1/C2E4: 692000 ADC #$0020 C1/C2E7: 8508 STA $08 C1/C2E9: 692000 ADC #$0020 C1/C2EC: 850C STA $0C C1/C2EE: E230 SEP #$30 C1/C2F0: A000 LDY #$00 C1/C2F2: C220 REP #$20 C1/C2F4: B106 LDA ($06),Y C1/C2F6: 9108 STA ($08),Y C1/C2F8: B10A LDA ($0A),Y C1/C2FA: 910C STA ($0C),Y C1/C2FC: E220 SEP #$20 C1/C2FE: C8 INY C1/C2FF: C8 INY C1/C300: B10A LDA ($0A),Y C1/C302: 48 PHA C1/C303: 4A LSR A C1/C304: B106 LDA ($06),Y C1/C306: 6A ROR A C1/C307: 9108 STA ($08),Y C1/C309: 68 PLA C1/C30A: 6A ROR A C1/C30B: 910C STA ($0C),Y C1/C30D: C8 INY C1/C30E: B10A LDA ($0A),Y C1/C310: 48 PHA C1/C311: 4A LSR A C1/C312: B106 LDA ($06),Y C1/C314: 6A ROR A C1/C315: 9108 STA ($08),Y C1/C317: 68 PLA C1/C318: 6A ROR A C1/C319: 910C STA ($0C),Y C1/C31B: C8 INY C1/C31C: C020 CPY #$20 C1/C31E: 90D2 BCC $C2F2 C1/C320: C220 REP #$20 C1/C322: A508 LDA $08 C1/C324: 8506 STA $06 C1/C326: 60 RTS C1/C327: C220 REP #$20 C1/C329: A506 LDA $06 C1/C32B: 18 CLC C1/C32C: 692000 ADC #$0020 C1/C32F: 850A STA $0A C1/C331: 692000 ADC #$0020 C1/C334: 8508 STA $08 C1/C336: 692000 ADC #$0020 C1/C339: 850C STA $0C C1/C33B: E230 SEP #$30 C1/C33D: A01F LDY #$1F C1/C33F: B106 LDA ($06),Y C1/C341: C980 CMP #$80 C1/C343: B10A LDA ($0A),Y C1/C345: 2A ROL A C1/C346: 910C STA ($0C),Y C1/C348: B106 LDA ($06),Y C1/C34A: 2A ROL A C1/C34B: 9108 STA ($08),Y C1/C34D: 88 DEY C1/C34E: 10EF BPL $C33F C1/C350: C220 REP #$20 C1/C352: A508 LDA $08 C1/C354: 8506 STA $06 C1/C356: 60 RTS C1/C357: C220 REP #$20 C1/C359: A506 LDA $06 C1/C35B: 18 CLC C1/C35C: 692000 ADC #$0020 C1/C35F: 850A STA $0A C1/C361: 692000 ADC #$0020 C1/C364: 8508 STA $08 C1/C366: 692000 ADC #$0020 C1/C369: 850C STA $0C C1/C36B: E230 SEP #$30 C1/C36D: A01F LDY #$1F C1/C36F: B10A LDA ($0A),Y C1/C371: 48 PHA C1/C372: 4A LSR A C1/C373: B106 LDA ($06),Y C1/C375: 6A ROR A C1/C376: 9108 STA ($08),Y C1/C378: 68 PLA C1/C379: 6A ROR A C1/C37A: 910C STA ($0C),Y C1/C37C: 88 DEY C1/C37D: 10F0 BPL $C36F C1/C37F: C220 REP #$20 C1/C381: A508 LDA $08 C1/C383: 8506 STA $06 C1/C385: 60 RTS C1/C386: C220 REP #$20 C1/C388: A506 LDA $06 C1/C38A: 18 CLC C1/C38B: 692000 ADC #$0020 C1/C38E: 850A STA $0A C1/C390: 692000 ADC #$0020 C1/C393: 8508 STA $08 C1/C395: 692000 ADC #$0020 C1/C398: 850C STA $0C C1/C39A: E230 SEP #$30 C1/C39C: A000 LDY #$00 C1/C39E: B106 LDA ($06),Y C1/C3A0: EB XBA C1/C3A1: B10A LDA ($0A),Y C1/C3A3: 204FC4 JSR $C44F C1/C3A6: 910C STA ($0C),Y C1/C3A8: EB XBA C1/C3A9: 9108 STA ($08),Y C1/C3AB: C8 INY C1/C3AC: B106 LDA ($06),Y C1/C3AE: EB XBA C1/C3AF: B10A LDA ($0A),Y C1/C3B1: 204FC4 JSR $C44F C1/C3B4: 910C STA ($0C),Y C1/C3B6: EB XBA C1/C3B7: 9108 STA ($08),Y C1/C3B9: C8 INY C1/C3BA: C220 REP #$20 C1/C3BC: B106 LDA ($06),Y C1/C3BE: 9108 STA ($08),Y C1/C3C0: B10A LDA ($0A),Y C1/C3C2: 910C STA ($0C),Y C1/C3C4: E220 SEP #$20 C1/C3C6: C8 INY C1/C3C7: C8 INY C1/C3C8: C020 CPY #$20 C1/C3CA: 90D2 BCC $C39E C1/C3CC: C220 REP #$20 C1/C3CE: A508 LDA $08 C1/C3D0: 8506 STA $06 C1/C3D2: 60 RTS C1/C3D3: C220 REP #$20 C1/C3D5: A506 LDA $06 C1/C3D7: 18 CLC C1/C3D8: 692000 ADC #$0020 C1/C3DB: 850A STA $0A C1/C3DD: 692000 ADC #$0020 C1/C3E0: 8508 STA $08 C1/C3E2: 692000 ADC #$0020 C1/C3E5: 850C STA $0C C1/C3E7: E230 SEP #$30 C1/C3E9: A000 LDY #$00 C1/C3EB: C220 REP #$20 C1/C3ED: B106 LDA ($06),Y C1/C3EF: 9108 STA ($08),Y C1/C3F1: B10A LDA ($0A),Y C1/C3F3: 910C STA ($0C),Y C1/C3F5: E220 SEP #$20 C1/C3F7: C8 INY C1/C3F8: C8 INY C1/C3F9: B106 LDA ($06),Y C1/C3FB: EB XBA C1/C3FC: B10A LDA ($0A),Y C1/C3FE: 204FC4 JSR $C44F C1/C401: 910C STA ($0C),Y C1/C403: EB XBA C1/C404: 9108 STA ($08),Y C1/C406: C8 INY C1/C407: B106 LDA ($06),Y C1/C409: EB XBA C1/C40A: B10A LDA ($0A),Y C1/C40C: 204FC4 JSR $C44F C1/C40F: 910C STA ($0C),Y C1/C411: EB XBA C1/C412: 9108 STA ($08),Y C1/C414: C8 INY C1/C415: C020 CPY #$20 C1/C417: 90D2 BCC $C3EB C1/C419: C220 REP #$20 C1/C41B: A508 LDA $08 C1/C41D: 8506 STA $06 C1/C41F: 60 RTS C1/C420: C220 REP #$20 C1/C422: A506 LDA $06 C1/C424: 18 CLC C1/C425: 692000 ADC #$0020 C1/C428: 850A STA $0A C1/C42A: 692000 ADC #$0020 C1/C42D: 8508 STA $08 C1/C42F: 692000 ADC #$0020 C1/C432: 850C STA $0C C1/C434: E230 SEP #$30 C1/C436: A01F LDY #$1F C1/C438: B106 LDA ($06),Y C1/C43A: EB XBA C1/C43B: B10A LDA ($0A),Y C1/C43D: 204FC4 JSR $C44F C1/C440: 910C STA ($0C),Y C1/C442: EB XBA C1/C443: 9108 STA ($08),Y C1/C445: 88 DEY C1/C446: 10F0 BPL $C438 C1/C448: C220 REP #$20 C1/C44A: A508 LDA $08 C1/C44C: 8506 STA $06 C1/C44E: 60 RTS [LSRs through a word and rotates the bits into $00] C1/C44F: C220 REP #$20 C1/C451: 4A LSR A C1/C452: 2600 ROL $00 C1/C454: 4A LSR A C1/C455: 2600 ROL $00 C1/C457: 4A LSR A C1/C458: 2600 ROL $00 C1/C45A: 4A LSR A C1/C45B: 2600 ROL $00 C1/C45D: 4A LSR A C1/C45E: 2600 ROL $00 C1/C460: 4A LSR A C1/C461: 2600 ROL $00 C1/C463: 4A LSR A C1/C464: 2600 ROL $00 C1/C466: 4A LSR A C1/C467: 2600 ROL $00 C1/C469: 4A LSR A C1/C46A: 2600 ROL $00 C1/C46C: 4A LSR A C1/C46D: 2600 ROL $00 C1/C46F: 4A LSR A C1/C470: 2600 ROL $00 C1/C472: 4A LSR A C1/C473: 2600 ROL $00 C1/C475: 4A LSR A C1/C476: 2600 ROL $00 C1/C478: 4A LSR A C1/C479: 2600 ROL $00 C1/C47B: 4A LSR A C1/C47C: 2600 ROL $00 C1/C47E: 4A LSR A C1/C47F: 2600 ROL $00 C1/C481: A500 LDA $00 C1/C483: E220 SEP #$20 C1/C485: 60 RTS [Endpoint to a lot of jumps] C1/C486: C220 REP #$20 C1/C488: A506 LDA $06 C1/C48A: 18 CLC C1/C48B: 694000 ADC #$0040 C1/C48E: 8506 STA $06 C1/C490: 60 RTS C1/C491: C220 REP #$20 C1/C493: A506 LDA $06 C1/C495: 18 CLC C1/C496: 692000 ADC #$0020 C1/C499: 850A STA $0A C1/C49B: 692000 ADC #$0020 C1/C49E: 8508 STA $08 C1/C4A0: 692000 ADC #$0020 C1/C4A3: 850C STA $0C C1/C4A5: A000 LDY #$00 C1/C4A7: B106 LDA ($06),Y C1/C4A9: 8502 STA $02 C1/C4AB: C8 INY C1/C4AC: C8 INY C1/C4AD: B106 LDA ($06),Y C1/C4AF: 88 DEY C1/C4B0: 88 DEY C1/C4B1: 9108 STA ($08),Y C1/C4B3: C8 INY C1/C4B4: C8 INY C1/C4B5: C00E CPY #$0E C1/C4B7: 90F2 BCC $C4AB C1/C4B9: A000 LDY #$00 C1/C4BB: B10A LDA ($0A),Y C1/C4BD: A00E LDY #$0E C1/C4BF: 9108 STA ($08),Y C1/C4C1: A000 LDY #$00 C1/C4C3: C8 INY C1/C4C4: C8 INY C1/C4C5: B10A LDA ($0A),Y C1/C4C7: 88 DEY C1/C4C8: 88 DEY C1/C4C9: 910C STA ($0C),Y C1/C4CB: C8 INY C1/C4CC: C8 INY C1/C4CD: C00E CPY #$0E C1/C4CF: 90F2 BCC $C4C3 C1/C4D1: A502 LDA $02 C1/C4D3: 910C STA ($0C),Y C1/C4D5: C8 INY C1/C4D6: C8 INY C1/C4D7: B106 LDA ($06),Y C1/C4D9: 8502 STA $02 C1/C4DB: C8 INY C1/C4DC: C8 INY C1/C4DD: B106 LDA ($06),Y C1/C4DF: 88 DEY C1/C4E0: 88 DEY C1/C4E1: 9108 STA ($08),Y C1/C4E3: C8 INY C1/C4E4: C8 INY C1/C4E5: C01E CPY #$1E C1/C4E7: 90F2 BCC $C4DB C1/C4E9: A010 LDY #$10 C1/C4EB: B10A LDA ($0A),Y C1/C4ED: A01E LDY #$1E C1/C4EF: 9108 STA ($08),Y C1/C4F1: A010 LDY #$10 C1/C4F3: C8 INY C1/C4F4: C8 INY C1/C4F5: B10A LDA ($0A),Y C1/C4F7: 88 DEY C1/C4F8: 88 DEY C1/C4F9: 910C STA ($0C),Y C1/C4FB: C8 INY C1/C4FC: C8 INY C1/C4FD: C01E CPY #$1E C1/C4FF: 90F2 BCC $C4F3 C1/C501: A502 LDA $02 C1/C503: 910C STA ($0C),Y C1/C505: A508 LDA $08 C1/C507: 8506 STA $06 C1/C509: 60 RTS C1/C50A: C220 REP #$20 C1/C50C: A506 LDA $06 C1/C50E: 18 CLC C1/C50F: 692000 ADC #$0020 C1/C512: 850A STA $0A C1/C514: 692000 ADC #$0020 C1/C517: 8508 STA $08 C1/C519: 692000 ADC #$0020 C1/C51C: 850C STA $0C C1/C51E: A01E LDY #$1E C1/C520: B10A LDA ($0A),Y C1/C522: 8502 STA $02 C1/C524: 88 DEY C1/C525: 88 DEY C1/C526: B10A LDA ($0A),Y C1/C528: C8 INY C1/C529: C8 INY C1/C52A: 910C STA ($0C),Y C1/C52C: 88 DEY C1/C52D: 88 DEY C1/C52E: C012 CPY #$12 C1/C530: B0F2 BCS $C524 C1/C532: A01E LDY #$1E C1/C534: B106 LDA ($06),Y C1/C536: A010 LDY #$10 C1/C538: 910C STA ($0C),Y C1/C53A: A01E LDY #$1E C1/C53C: 88 DEY C1/C53D: 88 DEY C1/C53E: B106 LDA ($06),Y C1/C540: C8 INY C1/C541: C8 INY C1/C542: 9108 STA ($08),Y C1/C544: 88 DEY C1/C545: 88 DEY C1/C546: C012 CPY #$12 C1/C548: B0F2 BCS $C53C C1/C54A: A502 LDA $02 C1/C54C: 9108 STA ($08),Y C1/C54E: 88 DEY C1/C54F: 88 DEY C1/C550: B10A LDA ($0A),Y C1/C552: 8502 STA $02 C1/C554: 88 DEY C1/C555: 88 DEY C1/C556: B10A LDA ($0A),Y C1/C558: C8 INY C1/C559: C8 INY C1/C55A: 910C STA ($0C),Y C1/C55C: 88 DEY C1/C55D: 88 DEY C1/C55E: C002 CPY #$02 C1/C560: B0F2 BCS $C554 C1/C562: A00E LDY #$0E C1/C564: B106 LDA ($06),Y C1/C566: A000 LDY #$00 C1/C568: 910C STA ($0C),Y C1/C56A: A00E LDY #$0E C1/C56C: 88 DEY C1/C56D: 88 DEY C1/C56E: B106 LDA ($06),Y C1/C570: C8 INY C1/C571: C8 INY C1/C572: 9108 STA ($08),Y C1/C574: 88 DEY C1/C575: 88 DEY C1/C576: C002 CPY #$02 C1/C578: B0F2 BCS $C56C C1/C57A: A502 LDA $02 C1/C57C: 9108 STA ($08),Y C1/C57E: A508 LDA $08 C1/C580: 8506 STA $06 C1/C582: 60 RTS C1/C583: E220 SEP #$20 C1/C585: 8508 STA $08 C1/C587: EB XBA C1/C588: D004 BNE $C58E C1/C58A: 20D1C5 JSR $C5D1 C1/C58D: 6B RTL C1/C58E: 3A DEC A C1/C58F: D004 BNE $C595 C1/C591: 2031C7 JSR $C731 C1/C594: 6B RTL C1/C595: 20A9C8 JSR $C8A9 C1/C598: 6B RTL C1/C599: E220 SEP #$20 C1/C59B: 8B PHB C1/C59C: 48 PHA C1/C59D: AB PLB C1/C59E: C210 REP #$10 C1/C5A0: 8602 STX $02 C1/C5A2: A503 LDA $03 C1/C5A4: 4A LSR A C1/C5A5: 8504 STA $04 C1/C5A7: 0A ASL A C1/C5A8: 0A ASL A C1/C5A9: 0A ASL A C1/C5AA: 0A ASL A C1/C5AB: 0501 ORA $01 C1/C5AD: 8501 STA $01 C1/C5AF: 6400 STZ $00 C1/C5B1: A600 LDX $00 C1/C5B3: A504 LDA $04 C1/C5B5: C903 CMP #$03 C1/C5B7: 9002 BCC $C5BB C1/C5B9: E903 SBC #$03 C1/C5BB: C900 CMP #$00 C1/C5BD: F00D BEQ $C5CC C1/C5BF: 3A DEC A C1/C5C0: F005 BEQ $C5C7 C1/C5C2: 20A9C8 JSR $C8A9 C1/C5C5: AB PLB C1/C5C6: 6B RTL C1/C5C7: 2031C7 JSR $C731 C1/C5CA: AB PLB C1/C5CB: 6B RTL C1/C5CC: 20D1C5 JSR $C5D1 C1/C5CF: AB PLB C1/C5D0: 6B RTL [] C1/C5D1: B90100 LDA $0001,Y C1/C5D4: 390200 AND $0002,Y C1/C5D7: 49FF EOR #$FF C1/C5D9: 8500 STA $00 C1/C5DB: 390000 AND $0000,Y C1/C5DE: 9F00207E STA $7E2000,X C1/C5E2: B90100 LDA $0001,Y C1/C5E5: 2500 AND $00 C1/C5E7: 9F01207E STA $7E2001,X C1/C5EB: B90200 LDA $0002,Y C1/C5EE: 2500 AND $00 C1/C5F0: 9F10207E STA $7E2010,X C1/C5F4: A900 LDA #$00 C1/C5F6: 9F11207E STA $7E2011,X C1/C5FA: B90400 LDA $0004,Y C1/C5FD: 390500 AND $0005,Y C1/C600: 49FF EOR #$FF C1/C602: 8500 STA $00 C1/C604: 390300 AND $0003,Y C1/C607: 9F02207E STA $7E2002,X C1/C60B: B90400 LDA $0004,Y C1/C60E: 2500 AND $00 C1/C610: 9F03207E STA $7E2003,X C1/C614: B90500 LDA $0005,Y C1/C617: 2500 AND $00 C1/C619: 9F12207E STA $7E2012,X C1/C61D: A900 LDA #$00 C1/C61F: 9F13207E STA $7E2013,X C1/C623: B90700 LDA $0007,Y C1/C626: 390800 AND $0008,Y C1/C629: 49FF EOR #$FF C1/C62B: 8500 STA $00 C1/C62D: 390600 AND $0006,Y C1/C630: 9F04207E STA $7E2004,X C1/C634: B90700 LDA $0007,Y C1/C637: 2500 AND $00 C1/C639: 9F05207E STA $7E2005,X C1/C63D: B90800 LDA $0008,Y C1/C640: 2500 AND $00 C1/C642: 9F14207E STA $7E2014,X C1/C646: A900 LDA #$00 C1/C648: 9F15207E STA $7E2015,X C1/C64C: B90A00 LDA $000A,Y C1/C64F: 390B00 AND $000B,Y C1/C652: 49FF EOR #$FF C1/C654: 8500 STA $00 C1/C656: 390900 AND $0009,Y C1/C659: 9F06207E STA $7E2006,X C1/C65D: B90A00 LDA $000A,Y C1/C660: 2500 AND $00 C1/C662: 9F07207E STA $7E2007,X C1/C666: B90B00 LDA $000B,Y C1/C669: 2500 AND $00 C1/C66B: 9F16207E STA $7E2016,X C1/C66F: A900 LDA #$00 C1/C671: 9F17207E STA $7E2017,X C1/C675: B90D00 LDA $000D,Y C1/C678: 390E00 AND $000E,Y C1/C67B: 49FF EOR #$FF C1/C67D: 8500 STA $00 C1/C67F: 390C00 AND $000C,Y C1/C682: 9F08207E STA $7E2008,X C1/C686: B90D00 LDA $000D,Y C1/C689: 2500 AND $00 C1/C68B: 9F09207E STA $7E2009,X C1/C68F: B90E00 LDA $000E,Y C1/C692: 2500 AND $00 C1/C694: 9F18207E STA $7E2018,X C1/C698: A900 LDA #$00 C1/C69A: 9F19207E STA $7E2019,X C1/C69E: B91000 LDA $0010,Y C1/C6A1: 391100 AND $0011,Y C1/C6A4: 49FF EOR #$FF C1/C6A6: 8500 STA $00 C1/C6A8: 390F00 AND $000F,Y C1/C6AB: 9F0A207E STA $7E200A,X C1/C6AF: B91000 LDA $0010,Y C1/C6B2: 2500 AND $00 C1/C6B4: 9F0B207E STA $7E200B,X C1/C6B8: B91100 LDA $0011,Y C1/C6BB: 2500 AND $00 C1/C6BD: 9F1A207E STA $7E201A,X C1/C6C1: A900 LDA #$00 C1/C6C3: 9F1B207E STA $7E201B,X C1/C6C7: B91300 LDA $0013,Y C1/C6CA: 391400 AND $0014,Y C1/C6CD: 49FF EOR #$FF C1/C6CF: 8500 STA $00 C1/C6D1: 391200 AND $0012,Y C1/C6D4: 9F0C207E STA $7E200C,X C1/C6D8: B91300 LDA $0013,Y C1/C6DB: 2500 AND $00 C1/C6DD: 9F0D207E STA $7E200D,X C1/C6E1: B91400 LDA $0014,Y C1/C6E4: 2500 AND $00 C1/C6E6: 9F1C207E STA $7E201C,X C1/C6EA: A900 LDA #$00 C1/C6EC: 9F1D207E STA $7E201D,X C1/C6F0: B91600 LDA $0016,Y C1/C6F3: 391700 AND $0017,Y C1/C6F6: 49FF EOR #$FF C1/C6F8: 8500 STA $00 C1/C6FA: 391500 AND $0015,Y C1/C6FD: 9F0E207E STA $7E200E,X C1/C701: B91600 LDA $0016,Y C1/C704: 2500 AND $00 C1/C706: 9F0F207E STA $7E200F,X C1/C70A: B91700 LDA $0017,Y C1/C70D: 2500 AND $00 C1/C70F: 9F1E207E STA $7E201E,X C1/C713: A900 LDA #$00 C1/C715: 9F1F207E STA $7E201F,X C1/C719: C220 REP #$20 C1/C71B: 8A TXA C1/C71C: 18 CLC C1/C71D: 692000 ADC #$0020 C1/C720: AA TAX C1/C721: 98 TYA C1/C722: 18 CLC C1/C723: 691800 ADC #$0018 C1/C726: A8 TAY C1/C727: E220 SEP #$20 C1/C729: C608 DEC $08 C1/C72B: F003 BEQ $C730 C1/C72D: 82A1FE BRL $C5D1 C1/C730: 60 RTS [] C1/C731: B90000 LDA $0000,Y C1/C734: 49FF EOR #$FF C1/C736: 9F00207E STA $7E2000,X C1/C73A: 49FF EOR #$FF C1/C73C: 590100 EOR $0001,Y C1/C73F: 9F01207E STA $7E2001,X C1/C743: B90200 LDA $0002,Y C1/C746: 49FF EOR #$FF C1/C748: 3F01207E AND $7E2001,X C1/C74C: 9F10207E STA $7E2010,X C1/C750: B90000 LDA $0000,Y C1/C753: 390100 AND $0001,Y C1/C756: 590200 EOR $0002,Y C1/C759: 9F11207E STA $7E2011,X C1/C75D: B90300 LDA $0003,Y C1/C760: 49FF EOR #$FF C1/C762: 9F02207E STA $7E2002,X C1/C766: 49FF EOR #$FF C1/C768: 590400 EOR $0004,Y C1/C76B: 9F03207E STA $7E2003,X C1/C76F: B90500 LDA $0005,Y C1/C772: 49FF EOR #$FF C1/C774: 3F03207E AND $7E2003,X C1/C778: 9F12207E STA $7E2012,X C1/C77C: B90300 LDA $0003,Y C1/C77F: 390400 AND $0004,Y C1/C782: 590500 EOR $0005,Y C1/C785: 9F13207E STA $7E2013,X C1/C789: B90600 LDA $0006,Y C1/C78C: 49FF EOR #$FF C1/C78E: 9F04207E STA $7E2004,X C1/C792: 49FF EOR #$FF C1/C794: 590700 EOR $0007,Y C1/C797: 9F05207E STA $7E2005,X C1/C79B: B90800 LDA $0008,Y C1/C79E: 49FF EOR #$FF C1/C7A0: 3F05207E AND $7E2005,X C1/C7A4: 9F14207E STA $7E2014,X C1/C7A8: B90600 LDA $0006,Y C1/C7AB: 390700 AND $0007,Y C1/C7AE: 590800 EOR $0008,Y C1/C7B1: 9F15207E STA $7E2015,X C1/C7B5: B90900 LDA $0009,Y C1/C7B8: 49FF EOR #$FF C1/C7BA: 9F06207E STA $7E2006,X C1/C7BE: 49FF EOR #$FF C1/C7C0: 590A00 EOR $000A,Y C1/C7C3: 9F07207E STA $7E2007,X C1/C7C7: B90B00 LDA $000B,Y C1/C7CA: 49FF EOR #$FF C1/C7CC: 3F07207E AND $7E2007,X C1/C7D0: 9F16207E STA $7E2016,X C1/C7D4: B90900 LDA $0009,Y C1/C7D7: 390A00 AND $000A,Y C1/C7DA: 590B00 EOR $000B,Y C1/C7DD: 9F17207E STA $7E2017,X C1/C7E1: B90C00 LDA $000C,Y C1/C7E4: 49FF EOR #$FF C1/C7E6: 9F08207E STA $7E2008,X C1/C7EA: 49FF EOR #$FF C1/C7EC: 590D00 EOR $000D,Y C1/C7EF: 9F09207E STA $7E2009,X C1/C7F3: B90E00 LDA $000E,Y C1/C7F6: 49FF EOR #$FF C1/C7F8: 3F09207E AND $7E2009,X C1/C7FC: 9F18207E STA $7E2018,X C1/C800: B90C00 LDA $000C,Y C1/C803: 390D00 AND $000D,Y C1/C806: 590E00 EOR $000E,Y C1/C809: 9F19207E STA $7E2019,X C1/C80D: B90F00 LDA $000F,Y C1/C810: 49FF EOR #$FF C1/C812: 9F0A207E STA $7E200A,X C1/C816: 49FF EOR #$FF C1/C818: 591000 EOR $0010,Y C1/C81B: 9F0B207E STA $7E200B,X C1/C81F: B91100 LDA $0011,Y C1/C822: 49FF EOR #$FF C1/C824: 3F0B207E AND $7E200B,X C1/C828: 9F1A207E STA $7E201A,X C1/C82C: B90F00 LDA $000F,Y C1/C82F: 391000 AND $0010,Y C1/C832: 591100 EOR $0011,Y C1/C835: 9F1B207E STA $7E201B,X C1/C839: B91200 LDA $0012,Y C1/C83C: 49FF EOR #$FF C1/C83E: 9F0C207E STA $7E200C,X C1/C842: 49FF EOR #$FF C1/C844: 591300 EOR $0013,Y C1/C847: 9F0D207E STA $7E200D,X C1/C84B: B91400 LDA $0014,Y C1/C84E: 49FF EOR #$FF C1/C850: 3F0D207E AND $7E200D,X C1/C854: 9F1C207E STA $7E201C,X C1/C858: B91200 LDA $0012,Y C1/C85B: 391300 AND $0013,Y C1/C85E: 591400 EOR $0014,Y C1/C861: 9F1D207E STA $7E201D,X C1/C865: B91500 LDA $0015,Y C1/C868: 49FF EOR #$FF C1/C86A: 9F0E207E STA $7E200E,X C1/C86E: 49FF EOR #$FF C1/C870: 591600 EOR $0016,Y C1/C873: 9F0F207E STA $7E200F,X C1/C877: B91700 LDA $0017,Y C1/C87A: 49FF EOR #$FF C1/C87C: 3F0F207E AND $7E200F,X C1/C880: 9F1E207E STA $7E201E,X C1/C884: B91500 LDA $0015,Y C1/C887: 391600 AND $0016,Y C1/C88A: 591700 EOR $0017,Y C1/C88D: 9F1F207E STA $7E201F,X C1/C891: C220 REP #$20 C1/C893: 8A TXA C1/C894: 18 CLC C1/C895: 692000 ADC #$0020 C1/C898: AA TAX C1/C899: 98 TYA C1/C89A: 18 CLC C1/C89B: 691800 ADC #$0018 C1/C89E: A8 TAY C1/C89F: E220 SEP #$20 C1/C8A1: C608 DEC $08 C1/C8A3: F003 BEQ $C8A8 C1/C8A5: 8289FE BRL $C731 C1/C8A8: 60 RTS [] C1/C8A9: B90100 LDA $0001,Y C1/C8AC: 390200 AND $0002,Y C1/C8AF: 49FF EOR #$FF C1/C8B1: 9F11207E STA $7E2011,X C1/C8B5: 390000 AND $0000,Y C1/C8B8: 9F00207E STA $7E2000,X C1/C8BC: B90100 LDA $0001,Y C1/C8BF: 49FF EOR #$FF C1/C8C1: 9F01207E STA $7E2001,X C1/C8C5: B90100 LDA $0001,Y C1/C8C8: 590200 EOR $0002,Y C1/C8CB: 9F10207E STA $7E2010,X C1/C8CF: B90400 LDA $0004,Y C1/C8D2: 390500 AND $0005,Y C1/C8D5: 49FF EOR #$FF C1/C8D7: 9F13207E STA $7E2013,X C1/C8DB: 390300 AND $0003,Y C1/C8DE: 9F02207E STA $7E2002,X C1/C8E2: B90400 LDA $0004,Y C1/C8E5: 49FF EOR #$FF C1/C8E7: 9F03207E STA $7E2003,X C1/C8EB: B90400 LDA $0004,Y C1/C8EE: 590500 EOR $0005,Y C1/C8F1: 9F12207E STA $7E2012,X C1/C8F5: B90700 LDA $0007,Y C1/C8F8: 390800 AND $0008,Y C1/C8FB: 49FF EOR #$FF C1/C8FD: 9F15207E STA $7E2015,X C1/C901: 390600 AND $0006,Y C1/C904: 9F04207E STA $7E2004,X C1/C908: B90700 LDA $0007,Y C1/C90B: 49FF EOR #$FF C1/C90D: 9F05207E STA $7E2005,X C1/C911: B90700 LDA $0007,Y C1/C914: 590800 EOR $0008,Y C1/C917: 9F14207E STA $7E2014,X C1/C91B: B90A00 LDA $000A,Y C1/C91E: 390B00 AND $000B,Y C1/C921: 49FF EOR #$FF C1/C923: 9F17207E STA $7E2017,X C1/C927: 390900 AND $0009,Y C1/C92A: 9F06207E STA $7E2006,X C1/C92E: B90A00 LDA $000A,Y C1/C931: 49FF EOR #$FF C1/C933: 9F07207E STA $7E2007,X C1/C937: B90A00 LDA $000A,Y C1/C93A: 590B00 EOR $000B,Y C1/C93D: 9F16207E STA $7E2016,X C1/C941: B90D00 LDA $000D,Y C1/C944: 390E00 AND $000E,Y C1/C947: 49FF EOR #$FF C1/C949: 9F19207E STA $7E2019,X C1/C94D: 390C00 AND $000C,Y C1/C950: 9F08207E STA $7E2008,X C1/C954: B90D00 LDA $000D,Y C1/C957: 49FF EOR #$FF C1/C959: 9F09207E STA $7E2009,X C1/C95D: B90D00 LDA $000D,Y C1/C960: 590E00 EOR $000E,Y C1/C963: 9F18207E STA $7E2018,X C1/C967: B91000 LDA $0010,Y C1/C96A: 391100 AND $0011,Y C1/C96D: 49FF EOR #$FF C1/C96F: 9F1B207E STA $7E201B,X C1/C973: 390F00 AND $000F,Y C1/C976: 9F0A207E STA $7E200A,X C1/C97A: B91000 LDA $0010,Y C1/C97D: 49FF EOR #$FF C1/C97F: 9F0B207E STA $7E200B,X C1/C983: B91000 LDA $0010,Y C1/C986: 591100 EOR $0011,Y C1/C989: 9F1A207E STA $7E201A,X C1/C98D: B91300 LDA $0013,Y C1/C990: 391400 AND $0014,Y C1/C993: 49FF EOR #$FF C1/C995: 9F1D207E STA $7E201D,X C1/C999: 391200 AND $0012,Y C1/C99C: 9F0C207E STA $7E200C,X C1/C9A0: B91300 LDA $0013,Y C1/C9A3: 49FF EOR #$FF C1/C9A5: 9F0D207E STA $7E200D,X C1/C9A9: B91300 LDA $0013,Y C1/C9AC: 591400 EOR $0014,Y C1/C9AF: 9F1C207E STA $7E201C,X C1/C9B3: B91600 LDA $0016,Y C1/C9B6: 391700 AND $0017,Y C1/C9B9: 49FF EOR #$FF C1/C9BB: 9F1F207E STA $7E201F,X C1/C9BF: 391500 AND $0015,Y C1/C9C2: 9F0E207E STA $7E200E,X C1/C9C6: B91600 LDA $0016,Y C1/C9C9: 49FF EOR #$FF C1/C9CB: 9F0F207E STA $7E200F,X C1/C9CF: B91600 LDA $0016,Y C1/C9D2: 591700 EOR $0017,Y C1/C9D5: 9F1E207E STA $7E201E,X C1/C9D9: C220 REP #$20 C1/C9DB: 8A TXA C1/C9DC: 18 CLC C1/C9DD: 692000 ADC #$0020 C1/C9E0: AA TAX C1/C9E1: 98 TYA C1/C9E2: 18 CLC C1/C9E3: 691800 ADC #$0018 C1/C9E6: A8 TAY C1/C9E7: E220 SEP #$20 C1/C9E9: C608 DEC $08 C1/C9EB: F003 BEQ $C9F0 C1/C9ED: 82B9FE BRL $C8A9 C1/C9F0: 60 RTS [] C1/C9F1: BD00E1 LDA $E100,X C1/C9F4: 8908 BIT #$08 C1/C9F6: D001 BNE $C9F9 C1/C9F8: 6B RTL [] C1/C9F9: A98D LDA #$8D C1/C9FB: 850C STA $0C C1/C9FD: A908 LDA #$08 C1/C9FF: 9D00E1 STA $E100,X C1/CA02: 8045 BRA $CA49 C1/CA04: 9012 BCC $CA18 C1/CA06: E00006 CPX #$0600 C1/CA09: B00C BCS $CA17 C1/CA0B: BD00E1 LDA $E100,X C1/CA0E: 8908 BIT #$08 C1/CA10: F003 BEQ $CA15 C1/CA12: 20F3D8 JSR $D8F3 C1/CA15: E220 SEP #$20 C1/CA17: 6B RTL [] C1/CA18: A957 LDA #$57 [What is this?] C1/CA1A: E00000 CPX #$0000 C1/CA1D: F009 BEQ $CA28 C1/CA1F: A95A LDA #$5A C1/CA21: E00002 CPX #$0200 C1/CA24: F002 BEQ $CA28 C1/CA26: A95D LDA #$5D C1/CA28: 850C STA $0C C1/CA2A: A9CD LDA #$CD C1/CA2C: 48 PHA C1/CA2D: 2903 AND #$03 C1/CA2F: 1A INC A C1/CA30: 18 CLC C1/CA31: 650C ADC $0C C1/CA33: 9D02E1 STA $E102,X C1/CA36: A50C LDA $0C C1/CA38: 9D01E1 STA $E101,X C1/CA3B: 1A INC A C1/CA3C: 9D03E1 STA $E103,X C1/CA3F: 68 PLA C1/CA40: 2904 AND #$04 C1/CA42: 4A LSR A C1/CA43: 4A LSR A C1/CA44: 0988 ORA #$88 C1/CA46: 9D00E1 STA $E100,X C1/CA49: 200DD9 JSR $D90D C1/CA4C: E220 SEP #$20 C1/CA4E: 6B RTL C1/CA4F: 5A PHY C1/CA50: DA PHX C1/CA51: BB TYX C1/CA52: 20ACCA JSR $CAAC C1/CA55: FA PLX C1/CA56: 7A PLY C1/CA57: 60 RTS C1/CA58: E220 SEP #$20 C1/CA5A: 245C BIT $5C C1/CA5C: 1005 BPL $CA63 C1/CA5E: E00006 CPX #$0600 C1/CA61: B008 BCS $CA6B C1/CA63: BD1CE0 LDA $E01C,X C1/CA66: 1003 BPL $CA6B C1/CA68: 20CDCA JSR $CACD C1/CA6B: 60 RTS [Called by Event Command 03, by other things too?] C1/CA6C: E220 SEP #$20 C1/CA6E: 245C BIT $5C C1/CA70: 100C + BPL $CA7E C1/CA72: E00006 CPX #$0600 [Check if it's Enemy/NPC #1] C1/CA75: 9007 + BCC $CA7E [Branch ahead if X < #$0600] {i.e., if it's not an enemy/npc] C1/CA77: 9E04E1 STZ $E104,X {Uh} C1/CA7A: 9E00E1 STZ $E100,X {Uh} C1/CA7D: 60 RTS [Return] C1/CA7E: + BD1CE0 LDA $E01C,X C1/CA81: 1003 BPL $CA86 C1/CA83: 20CDCA JSR $CACD C1/CA86: BD1AE0 LDA $E01A,X C1/CA89: 1D1BE0 ORA $E01B,X C1/CA8C: F003 BEQ $CA91 C1/CA8E: 20CDCA JSR $CACD C1/CA91: 20ACCA JSR $CAAC C1/CA94: 9E08E0 STZ $E008,X C1/CA97: 9E41E0 STZ $E041,X C1/CA9A: 9E06E0 STZ $E006,X C1/CA9D: 9E07E0 STZ $E007,X C1/CAA0: 9E13E0 STZ $E013,X C1/CAA3: 9E67E0 STZ $E067,X C1/CAA6: A9FF LDA #$FF C1/CAA8: 9D30E0 STA $E030,X C1/CAAB: 60 RTS C1/CAAC: 245C BIT $5C C1/CAAE: 1005 BPL $CAB5 C1/CAB0: E00006 CPX #$0600 C1/CAB3: B00A BCS $CABF C1/CAB5: BD00E1 LDA $E100,X C1/CAB8: 1005 BPL $CABF C1/CABA: 20F3D8 JSR $D8F3 C1/CABD: E220 SEP #$20 C1/CABF: BD04E1 LDA $E104,X C1/CAC2: 1008 BPL $CACC C1/CAC4: BD69E0 LDA $E069,X C1/CAC7: 209B85 JSR $859B C1/CACA: E220 SEP #$20 C1/CACC: 60 RTS C1/CACD: 9E1AE0 STZ $E01A,X C1/CAD0: 9E1BE0 STZ $E01B,X C1/CAD3: 9E9BE1 STZ $E19B,X C1/CAD6: A964 LDA #$64 C1/CAD8: 38 SEC C1/CAD9: FD89E1 SBC $E189,X C1/CADC: 4A LSR A C1/CADD: 18 CLC C1/CADE: 6932 ADC #$32 C1/CAE0: 9DEDE1 STA $E1ED,X C1/CAE3: 9E63E0 STZ $E063,X C1/CAE6: 60 RTS C1/CAE7: 8B PHB C1/CAE8: 5A PHY C1/CAE9: DA PHX C1/CAEA: 2228E300 JSR $00E328 C1/CAEE: E220 SEP #$20 C1/CAF0: A901 LDA #$01 C1/CAF2: 85EC STA $EC C1/CAF4: 24EC BIT $EC C1/CAF6: D0FC BNE $CAF4 C1/CAF8: C220 REP #$20 C1/CAFA: FA PLX C1/CAFB: 7A PLY C1/CAFC: DA PHX C1/CAFD: 223800C1 JSR $C10038 C1/CB01: FA PLX C1/CB02: 2251E300 JSR $00E351 C1/CB06: AB PLB C1/CB07: E220 SEP #$20 C1/CB09: A902 LDA #$02 C1/CB0B: 85EC STA $EC C1/CB0D: 24EC BIT $EC C1/CB0F: D0FC BNE $CB0D C1/CB11: 60 RTS [Top level of RANDOM function?] C1/CB12: 08 PHP C1/CB13: 0B PHD C1/CB14: 8B PHB C1/CB15: C220 REP #$20 C1/CB17: 48 PHA C1/CB18: A90000 LDA #$0000 C1/CB1B: 5B TCD C1/CB1C: E220 SEP #$20 C1/CB1E: A97E LDA #$7E C1/CB20: 48 PHA C1/CB21: AB PLB C1/CB22: 68 PLA C1/CB23: 850C STA $0C C1/CB25: 68 PLA C1/CB26: C9B0 CMP #$B0 C1/CB28: B006 + BCS $CB30 C1/CB2A: 22CBD501 JSR $01D5CB C1/CB2E: 8004 ++ BRA $CB34 C1/CB30: + 22EFD601 JSR $01D6EF C1/CB34: ++ AB PLB C1/CB35: 2B PLD C1/CB36: 28 PLP C1/CB37: 6B RTL C1/CB38: C220 REP #$20 C1/CB3A: 8610 STX $10 C1/CB3C: 8412 STY $12 C1/CB3E: 8B PHB C1/CB3F: 2082CB JSR $CB82 C1/CB42: E220 SEP #$20 C1/CB44: A901 LDA #$01 C1/CB46: 85EC STA $EC C1/CB48: 24EC BIT $EC C1/CB4A: D0FC BNE $CB48 C1/CB4C: A52A LDA $2A C1/CB4E: 48 PHA C1/CB4F: 22DDC702 JSR $02C7DD C1/CB53: 642A STZ $2A C1/CB55: C210 REP #$10 C1/CB57: A610 LDX $10 C1/CB59: A412 LDY $12 C1/CB5B: A900 LDA #$00 C1/CB5D: EB XBA C1/CB5E: A599 LDA $99 C1/CB60: 221500C0 JSR $C00015 C1/CB64: E220 SEP #$20 C1/CB66: 64EC STZ $EC C1/CB68: 68 PLA C1/CB69: 852A STA $2A C1/CB6B: 22DDC702 JSR $02C7DD C1/CB6F: 2230AB02 JSR $02AB30 C1/CB73: 206BDB JSR $DB6B C1/CB76: AB PLB C1/CB77: E220 SEP #$20 C1/CB79: A906 LDA #$06 C1/CB7B: 85EC STA $EC C1/CB7D: 24EC BIT $EC C1/CB7F: D0FC BNE $CB7D C1/CB81: 6B RTL C1/CB82: E220 SEP #$20 C1/CB84: A97E LDA #$7E C1/CB86: 48 PHA C1/CB87: AB PLB C1/CB88: 2242AB02 JSR $02AB42 C1/CB8C: C230 REP #$30 C1/CB8E: A00001 LDY #$0100 C1/CB91: A598 LDA $98 C1/CB93: 0A ASL A C1/CB94: 0A ASL A C1/CB95: 0A ASL A C1/CB96: 0A ASL A C1/CB97: 8500 STA $00 C1/CB99: B90208 LDA $0802,Y C1/CB9C: 29000E AND #$0E00 C1/CB9F: 2400 BIT $00 C1/CBA1: 1010 BPL $CBB3 C1/CBA3: C90008 CMP #$0800 C1/CBA6: B019 BCS $CBC1 C1/CBA8: B90208 LDA $0802,Y C1/CBAB: 29FFF1 AND #$F1FF C1/CBAE: 090008 ORA #$0800 C1/CBB1: 800B BRA $CBBE C1/CBB3: C90008 CMP #$0800 C1/CBB6: 9009 BCC $CBC1 C1/CBB8: B90208 LDA $0802,Y C1/CBBB: 29FFF1 AND #$F1FF C1/CBBE: 990208 STA $0802,Y C1/CBC1: C8 INY C1/CBC2: C8 INY C1/CBC3: C8 INY C1/CBC4: C8 INY C1/CBC5: C00002 CPY #$0200 C1/CBC8: 90CF BCC $CB99 C1/CBCA: 60 RTS C1/CBCB: 20EACB JSR $CBEA C1/CBCE: 6B RTL [] C1/CBCF: 20EACB JSR $CBEA C1/CBD2: E220 SEP #$20 C1/CBD4: 8B PHB C1/CBD5: A97E LDA #$7E C1/CBD7: 48 PHA C1/CBD8: AB PLB C1/CBD9: C230 REP #$30 C1/CBDB: A2FE00 LDX #$00FE C1/CBDE: BD00CD LDA $CD00,X C1/CBE1: 9D00CE STA $CE00,X C1/CBE4: CA DEX C1/CBE5: CA DEX C1/CBE6: 10F6 BPL $CBDE C1/CBE8: AB PLB C1/CBE9: 6B RTL [Related to enemy loading?] [Maps] C1/CBEA: E220 SEP #$20 C1/CBEC: C210 REP #$10 C1/CBEE: 8B PHB C1/CBEF: A97E LDA #$7E C1/CBF1: 48 PHA C1/CBF2: AB PLB C1/CBF3: A6D4 LDX $D4 [Load Lead Character Data Index into X] C1/CBF5: C220 REP #$20 C1/CBF7: BD20E0 LDA $E020,X C1/CBFA: 38 SEC C1/CBFB: E98000 SBC #$0080 C1/CBFE: 8500 STA $00 C1/CC00: 8504 STA $04 C1/CC02: BD22E0 LDA $E022,X C1/CC05: 38 SEC C1/CC06: E97000 SBC #$0070 C1/CC09: 8502 STA $02 C1/CC0B: 8506 STA $06 C1/CC0D: AD800A LDA $0A80 C1/CC10: 290F00 AND #$000F C1/CC13: D002 BNE $CC17 C1/CC15: 6400 STZ $00 C1/CC17: AD900A LDA $0A90 C1/CC1A: 290F00 AND #$000F C1/CC1D: D002 BNE $CC21 C1/CC1F: 6402 STZ $02 C1/CC21: ADA00A LDA $0AA0 C1/CC24: 290F00 AND #$000F C1/CC27: D002 BNE $CC2B C1/CC29: 6404 STZ $04 C1/CC2B: ADB00A LDA $0AB0 C1/CC2E: 290F00 AND #$000F C1/CC31: D002 BNE $CC35 C1/CC33: 6406 STZ $06 C1/CC35: A5A8 LDA $A8 C1/CC37: 18 CLC C1/CC38: 6500 ADC $00 C1/CC3A: 1003 BPL $CC3F C1/CC3C: 18 CLC C1/CC3D: 65C0 ADC $C0 C1/CC3F: C5C0 CMP $C0 C1/CC41: 9002 BCC $CC45 C1/CC43: E5C0 SBC $C0 C1/CC45: 8D00CD STA $CD00 C1/CC48: A5AA LDA $AA C1/CC4A: 18 CLC C1/CC4B: 6502 ADC $02 C1/CC4D: 1003 BPL $CC52 C1/CC4F: 18 CLC C1/CC50: 65C2 ADC $C2 C1/CC52: C5C2 CMP $C2 C1/CC54: 9002 BCC $CC58 C1/CC56: E5C2 SBC $C2 C1/CC58: 8D02CD STA $CD02 C1/CC5B: A5AC LDA $AC C1/CC5D: 18 CLC C1/CC5E: 6504 ADC $04 C1/CC60: 1003 BPL $CC65 C1/CC62: 18 CLC C1/CC63: 65C4 ADC $C4 C1/CC65: C5C4 CMP $C4 C1/CC67: 9002 BCC $CC6B C1/CC69: E5C4 SBC $C4 C1/CC6B: 8D04CD STA $CD04 C1/CC6E: A5AE LDA $AE C1/CC70: 18 CLC C1/CC71: 6506 ADC $06 C1/CC73: 1003 BPL $CC78 C1/CC75: 18 CLC C1/CC76: 65C6 ADC $C6 C1/CC78: C5C6 CMP $C6 C1/CC7A: 9002 BCC $CC7E C1/CC7C: E5C6 SBC $C6 C1/CC7E: 8D06CD STA $CD06 C1/CC81: A5DC LDA $DC [Destination Number] C1/CC83: 8D08CD STA $CD08 C1/CC86: E220 SEP #$20 C1/CC88: BD0BE0 LDA $E00B,X C1/CC8B: 8D0ACD STA $CD0A C1/CC8E: A20000 LDX #$0000 C1/CC91: 9B TXY C1/CC92: E220 SEP #$20 C1/CC94: BD00C8 LDA $C800,X C1/CC97: 1003 BPL $CC9C C1/CC99: 20BACC JSR $CCBA C1/CC9C: BD0CC8 LDA $C80C,X C1/CC9F: 9972CD STA $CD72,Y C1/CCA2: C220 REP #$20 C1/CCA4: BD0AC8 LDA $C80A,X C1/CCA7: 9970CD STA $CD70,Y C1/CCAA: 8A TXA C1/CCAB: 18 CLC C1/CCAC: 691000 ADC #$0010 C1/CCAF: AA TAX C1/CCB0: C8 INY C1/CCB1: C8 INY C1/CCB2: C8 INY C1/CCB3: C09000 CPY #$0090 C1/CCB6: 90DA BCC $CC92 C1/CCB8: AB PLB C1/CCB9: 60 RTS C1/CCBA: 5A PHY C1/CCBB: BC02C8 LDY $C802,X C1/CCBE: C220 REP #$20 C1/CCC0: B902E0 LDA $E002,Y C1/CCC3: 4A LSR A C1/CCC4: 4A LSR A C1/CCC5: 4A LSR A C1/CCC6: 4A LSR A C1/CCC7: 297F00 AND #$007F C1/CCCA: 8500 STA $00 C1/CCCC: B904E0 LDA $E004,Y C1/CCCF: 4A LSR A C1/CCD0: 4A LSR A C1/CCD1: 4A LSR A C1/CCD2: 4A LSR A C1/CCD3: EB XBA C1/CCD4: 29007F AND #$7F00 C1/CCD7: 0500 ORA $00 C1/CCD9: 9D0AC8 STA $C80A,X C1/CCDC: E220 SEP #$20 C1/CCDE: B90BE0 LDA $E00B,Y C1/CCE1: 2980 AND #$80 C1/CCE3: 4A LSR A C1/CCE4: 4A LSR A C1/CCE5: 4A LSR A C1/CCE6: 4A LSR A C1/CCE7: 8500 STA $00 C1/CCE9: BD0CC8 LDA $C80C,X C1/CCEC: 29F7 AND #$F7 C1/CCEE: 0500 ORA $00 C1/CCF0: 9D0CC8 STA $C80C,X C1/CCF3: 7A PLY C1/CCF4: 60 RTS C1/CCF5: E220 SEP #$20 C1/CCF7: 8B PHB C1/CCF8: A97E LDA #$7E C1/CCFA: 48 PHA C1/CCFB: AB PLB C1/CCFC: C230 REP #$30 C1/CCFE: A2FE00 LDX #$00FE C1/CD01: BD00CE LDA $CE00,X C1/CD04: 9D00CD STA $CD00,X C1/CD07: CA DEX C1/CD08: CA DEX C1/CD09: 10F6 BPL $CD01 C1/CD0B: AD08CD LDA $CD08 C1/CD0E: 85DC STA $DC C1/CD10: A90000 LDA #$0000 C1/CD13: 85DF STA $DF C1/CD15: AB PLB C1/CD16: 6B RTL C1/CD17: E220 SEP #$20 C1/CD19: C210 REP #$10 C1/CD1B: 8B PHB C1/CD1C: A97E LDA #$7E C1/CD1E: 48 PHA C1/CD1F: AB PLB C1/CD20: C220 REP #$20 C1/CD22: AD00CD LDA $CD00 C1/CD25: 85A8 STA $A8 C1/CD27: 29F0FF AND #$FFF0 C1/CD2A: 8588 STA $88 C1/CD2C: AD02CD LDA $CD02 C1/CD2F: 85AA STA $AA C1/CD31: 29F0FF AND #$FFF0 C1/CD34: 858A STA $8A C1/CD36: AD04CD LDA $CD04 C1/CD39: 85AC STA $AC C1/CD3B: 29F0FF AND #$FFF0 C1/CD3E: 858C STA $8C C1/CD40: AD06CD LDA $CD06 C1/CD43: 85AE STA $AE C1/CD45: 29F0FF AND #$FFF0 C1/CD48: 858E STA $8E C1/CD4A: E220 SEP #$20 C1/CD4C: AB PLB C1/CD4D: 6B RTL C1/CD4E: C220 REP #$20 C1/CD50: A5C0 LDA $C0 C1/CD52: 4A LSR A C1/CD53: 8518 STA $18 C1/CD55: A5C2 LDA $C2 C1/CD57: 4A LSR A C1/CD58: 851A STA $1A C1/CD5A: 640E STZ $0E C1/CD5C: C210 REP #$10 C1/CD5E: E220 SEP #$20 C1/CD60: 24FF BIT $FF C1/CD62: 300E BMI $CD72 C1/CD64: 700C BVS $CD72 C1/CD66: 24F1 BIT $F1 C1/CD68: 3008 BMI $CD72 C1/CD6A: 245C BIT $5C C1/CD6C: 1005 BPL $CD73 C1/CD6E: 221500C2 JSR $C20015 C1/CD72: 6B RTL C1/CD73: AD01CF LDA $CF01 C1/CD76: 4A LSR A C1/CD77: B0F9 BCS $CD72 C1/CD79: A911 LDA #$11 C1/CD7B: 8551 STA $51 C1/CD7D: A20000 LDX #$0000 C1/CD80: 20CDCD JSR $CDCD C1/CD83: A20002 LDX #$0200 C1/CD86: 20CDCD JSR $CDCD C1/CD89: A20004 LDX #$0400 C1/CD8C: 20CDCD JSR $CDCD C1/CD8F: E220 SEP #$20 C1/CD91: A5D0 LDA $D0 C1/CD93: D037 BNE $CDCC C1/CD95: A40E LDY $0E C1/CD97: F033 BEQ $CDCC C1/CD99: C00080 CPY #$8000 C1/CD9C: A61C LDX $1C C1/CD9E: A41E LDY $1E C1/CDA0: 86D4 STX $D4 C1/CDA2: 843A STY $3A C1/CDA4: B01B BCS $CDC1 C1/CDA6: BD10E0 LDA $E010,X C1/CDA9: C902 CMP #$02 C1/CDAB: 9004 BCC $CDB1 C1/CDAD: 4980 EOR #$80 C1/CDAF: 8002 BRA $CDB3 C1/CDB1: 4901 EOR #$01 C1/CDB3: 9910E0 STA $E010,Y C1/CDB6: C220 REP #$20 C1/CDB8: A90000 LDA #$0000 C1/CDBB: 9906E0 STA $E006,Y C1/CDBE: 9908E0 STA $E008,Y C1/CDC1: C220 REP #$20 C1/CDC3: A50E LDA $0E C1/CDC5: 29FF0F AND #$0FFF C1/CDC8: 226DE701 JSR $01E76D C1/CDCC: 6B RTL [Checks Master Activation Flag for each character; involves target finding as well?] C1/CDCD: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/CDCF: BD00E0 LDA $E000,X [Load Master Activation Flag] C1/CDD2: D001 + BNE $CDD5 [Branch ahead if it isn't 0] C1/CDD4: - 60 RTS [Return] C1/CDD5: + 30FD - BMI $CDD4 [Branch back if it's negative] C1/CDD7: BD0EE0 LDA $E00E,X [Load Display Effect Flags] C1/CDDA: 1D91E1 ORA $E191,X [Add in bits from Status Effect Flags] C1/CDDD: 30F5 - BMI $CDD4 [Branch back if invisibility display effect or Ghost status effect is in effect] C1/CDDF: 24ED BIT $ED C1/CDE1: 3031 + BMI $CE14 C1/CDE3: BD2CE0 LDA $E02C,X [Load Leader Flag] C1/CDE6: D001 ++ BNE $CDE9 [Branch ahead if it isn't zero] C1/CDE8: 60 RTS [Return] [AI handling stuff, indices #$0600 to #$1800; don't do it if the character isn't activated, a leader, or a ghost] C1/CDE9: ++ A00006 LDY #$0600 [Load Enemy Index into Y] C1/CDEC: - E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/CDEE: B900E0 LDA $E000,Y [Load Master Activation Flag] C1/CDF1: F013 ++ BEQ $CE06 [Branch ahead if it's 0] C1/CDF3: 3011 ++ BMI $CE06 [Branch ahead if bit #$80 is set] C1/CDF5: BD0BE0 LDA $E00B,X [Load this thing] C1/CDF8: 590BE0 EOR $E00B,Y [Logical XOR it with this other thing] C1/CDFB: 3009 ++ BMI $CE06 [Branch ahead if the result is #$80 after the XOR, huh?] C1/CDFD: 2903 AND #$03 C1/CDFF: C903 CMP #$03 C1/CE01: F003 ++ BEQ $CE06 C1/CE03: 2059CE JSR $CE59 C1/CE06: ++ C220 REP #$20 C1/CE08: 98 TYA [Transfer Y to Accumulator] C1/CE09: 18 CLC [Clear Accumulator] C1/CE0A: 690002 ADC #$0200 [Add #$0200] C1/CE0D: A8 TAY [Transfer Accumulator to Y] C1/CE0E: C90018 CMP #$1800 [Compare with MaxCharacterIndex] C1/CE11: 90D9 - BCC $CDEC [Loop back if Accumulator < MaxCharacterIndex] C1/CE13: 60 RTS [Return] [Huh] C1/CE14: + A582 LDA $82 C1/CE16: D008 BNE $CE20 C1/CE18: BDC2E0 LDA $E0C2,X C1/CE1B: F003 BEQ $CE20 C1/CE1D: 2093D2 JSR $D293 C1/CE20: E220 SEP #$20 C1/CE22: A911 LDA #$11 C1/CE24: 8550 STA $50 C1/CE26: A00006 LDY #$0600 C1/CE29: E220 SEP #$20 C1/CE2B: B900E0 LDA $E000,Y C1/CE2E: F013 BEQ $CE43 C1/CE30: 3011 BMI $CE43 C1/CE32: BD0BE0 LDA $E00B,X C1/CE35: 590BE0 EOR $E00B,Y C1/CE38: 3009 BMI $CE43 C1/CE3A: 2903 AND #$03 C1/CE3C: C903 CMP #$03 C1/CE3E: F003 BEQ $CE43 C1/CE40: 2062CE JSR $CE62 C1/CE43: E220 SEP #$20 C1/CE45: 0650 ASL $50 C1/CE47: C220 REP #$20 C1/CE49: 98 TYA C1/CE4A: 18 CLC C1/CE4B: 690002 ADC #$0200 C1/CE4E: A8 TAY C1/CE4F: C9000C CMP #$0C00 C1/CE52: 90D5 BCC $CE29 C1/CE54: E220 SEP #$20 C1/CE56: 0651 ASL $51 C1/CE58: 60 RTS C1/CE59: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/CE5B: A90A00 LDA #$000A C1/CE5E: 8504 STA $04 C1/CE60: 8010 + BRA $CE72 C1/CE62: E220 SEP #$20 C1/CE64: B989E0 LDA $E089,Y C1/CE67: 2903 AND #$03 C1/CE69: 0A ASL A C1/CE6A: 0A ASL A C1/CE6B: 18 CLC C1/CE6C: 690A ADC #$0A C1/CE6E: 8504 STA $04 C1/CE70: 6405 STZ $05 C1/CE72: + C220 REP #$20 C1/CE74: 6406 STZ $06 C1/CE76: BD02E0 LDA $E002,X [Load target character's X coordinate] C1/CE79: 38 SEC [Set Carry] C1/CE7A: F902E0 SBC $E002,Y [Subtract enemy's X coordinate] C1/CE7D: 1006 + BPL $CE85 [Branch ahead if result is positive] C1/CE7F: 49FFFF EOR #$FFFF [Otherwise, logical EOR with #$FFFF to flip result] C1/CE82: 1A INC A [Increment Accumulator] C1/CE83: E606 INC $06 C1/CE85: + C518 CMP $18 C1/CE87: 9008 + BCC $CE91 C1/CE89: 49FFFF EOR #$FFFF C1/CE8C: 38 SEC C1/CE8D: 65C0 ADC $C0 C1/CE8F: E606 INC $06 C1/CE91: + 850A STA $0A C1/CE93: C504 CMP $04 C1/CE95: B005 + BCS $CE9C C1/CE97: A90000 LDA #$0000 C1/CE9A: 800A ++ BRA $CEA6 C1/CE9C: + E504 SBC $04 C1/CE9E: C98000 CMP #$0080 C1/CEA1: 9003 BCC $CEA6 C1/CEA3: A98000 LDA #$0080 C1/CEA6: ++ 8508 STA $08 C1/CEA8: BD04E0 LDA $E004,X [Load target character's Y coordinate] C1/CEAB: 38 SEC [Set Carry] C1/CEAC: F904E0 SBC $E004,Y [Subtract enemy's Y coordinate] C1/CEAF: 1006 + BPL $CEB7 C1/CEB1: 49FFFF EOR #$FFFF C1/CEB4: 1A INC A C1/CEB5: E607 INC $07 C1/CEB7: + C51A CMP $1A C1/CEB9: 9008 + BCC $CEC3 C1/CEBB: 49FFFF EOR #$FFFF C1/CEBE: 38 SEC C1/CEBF: 65C2 ADC $C2 C1/CEC1: E607 INC $07 C1/CEC3: + 850B STA $0B C1/CEC5: C90800 CMP #$0008 C1/CEC8: B005 + BCS $CECF C1/CECA: A90000 LDA #$0000 C1/CECD: 800B ++ BRA $CEDA C1/CECF: + E90800 SBC #$0008 C1/CED2: C98000 CMP #$0080 C1/CED5: 9003 ++ BCC $CEDA C1/CED7: A98000 LDA #$0080 C1/CEDA: ++ E220 SEP #$20 C1/CEDC: 8509 STA $09 C1/CEDE: 4607 LSR $07 C1/CEE0: 6607 ROR $07 C1/CEE2: A506 LDA $06 C1/CEE4: 4A LSR A C1/CEE5: 6A ROR A C1/CEE6: 8506 STA $06 C1/CEE8: 4A LSR A C1/CEE9: 0507 ORA $07 C1/CEEB: 29C0 AND #$C0 {Check if the target is the Boy} C1/CEED: E00000 CPX #$0000 C1/CEF0: D00C + BNE $CEFE C1/CEF2: 9952E0 STA $E052,Y C1/CEF5: C220 REP #$20 C1/CEF7: A508 LDA $08 C1/CEF9: 9950E0 STA $E050,Y C1/CEFC: 801B ++ BRA $CF19 {Check if the target is the Girl} C1/CEFE: + E00002 CPX #$0200 C1/CF01: D00C + BNE $CF0F C1/CF03: 9955E0 STA $E055,Y C1/CF06: C220 REP #$20 C1/CF08: A508 LDA $08 C1/CF0A: 9953E0 STA $E053,Y C1/CF0D: 800A ++ BRA $CF19 {Otherwise, target is the Sprite} C1/CF0F: + 9958E0 STA $E058,Y C1/CF12: C220 REP #$20 C1/CF14: A508 LDA $08 C1/CF16: 9956E0 STA $E056,Y {Getting away from all of that} C1/CF19: ++ E220 SEP #$20 C1/CF1B: A508 LDA $08 C1/CF1D: 0509 ORA $09 C1/CF1F: 1017 + BPL $CF38 C1/CF21: - DA PHX C1/CF22: 68 PLA C1/CF23: 68 PLA C1/CF24: D002 ++ BNE $CF28 C1/CF26: A901 LDA #$01 C1/CF28: ++ 8500 STA $00 C1/CF2A: 0A ASL A C1/CF2B: 0A ASL A C1/CF2C: 0A ASL A C1/CF2D: 0500 ORA $00 C1/CF2F: 49FF EOR #$FF C1/CF31: 394EE0 AND $E04E,Y C1/CF34: 994EE0 STA $E04E,Y C1/CF37: 60 RTS C1/CF38: + 24ED BIT $ED C1/CF3A: 1003 + BPL $CF3F C1/CF3C: 204AD1 JSR $D14A C1/CF3F: + E220 SEP #$20 C1/CF41: A508 LDA $08 C1/CF43: C918 CMP #$18 C1/CF45: B0DA - BCS $CF21 C1/CF47: A509 LDA $09 C1/CF49: C918 CMP #$18 C1/CF4B: B0D4 - BCS $CF21 C1/CF4D: B93FE0 LDA $E03F,Y [Load this thing] C1/CF50: 8502 STA $02 C1/CF52: 2970 AND #$70 C1/CF54: C910 CMP #$10 C1/CF56: D00D + BNE $CF65 C1/CF58: BD2CE0 LDA $E02C,X [Load Leader Flag] C1/CF5B: F008 + BEQ $CF65 C1/CF5D: 18 CLC [Clear Carry] C1/CF5E: 202CD1 JSR $D12C C1/CF61: D002 + BNE $CF65 C1/CF63: 806D * BRA $CFD2 C1/CF65: + A508 LDA $08 C1/CF67: C908 CMP #$08 C1/CF69: B006 + BCS $CF71 C1/CF6B: A509 LDA $09 C1/CF6D: C908 CMP #$08 C1/CF6F: 9013 ++ BCC $CF84 C1/CF71: + DA PHX C1/CF72: 68 PLA C1/CF73: 68 PLA C1/CF74: D002 + BNE $CF78 C1/CF76: A901 LDA #$01 C1/CF78: + 0A ASL A C1/CF79: 0A ASL A C1/CF7A: 0A ASL A C1/CF7B: 49FF EOR #$FF C1/CF7D: 394EE0 AND $E04E,Y C1/CF80: 994EE0 STA $E04E,Y C1/CF83: 60 RTS C1/CF84: ++ BD10E0 LDA $E010,X [Load target's Sprite Flags] C1/CF87: C902 CMP #$02 [Compare it with #$02] C1/CF89: B008 + BCS $CF93 C1/CF8B: A508 LDA $08 C1/CF8D: D055 ** BNE $CFE4 C1/CF8F: A509 LDA $09 C1/CF91: 8006 BRA $CF99 C1/CF93: + A509 LDA $09 C1/CF95: D04D ** BNE $CFE4 C1/CF97: A508 LDA $08 C1/CF99: C903 CMP #$03 C1/CF9B: B047 ** BCS $CFE4 C1/CF9D: A502 LDA $02 C1/CF9F: 2970 AND #$70 C1/CFA1: C920 CMP #$20 C1/CFA3: F022 + BEQ $CFC7 C1/CFA5: C930 CMP #$30 C1/CFA7: D03C ++ BNE $CFE5 C1/CFA9: BD10E0 LDA $E010,X C1/CFAC: C902 CMP #$02 C1/CFAE: 9004 +! BCC $CFB4 C1/CFB0: 4980 EOR #$80 C1/CFB2: 8002 +@ BRA $CFB6 C1/CFB4: +! 4901 EOR #$01 C1/CFB6: +@ D910E0 CMP $E010,Y C1/CFB9: D05C +! BNE $D017 C1/CFBB: BD2CE0 LDA $E02C,X C1/CFBE: F025 ++ BEQ $CFE5 C1/CFC0: 2007D1 JSR $D107 C1/CFC3: D020 ++ BNE $CFE5 C1/CFC5: F00B BEQ $CFD2 C1/CFC7: + BD2CE0 LDA $E02C,X C1/CFCA: F019 ++ BEQ $CFE5 C1/CFCC: 38 SEC C1/CFCD: 202CD1 JSR $D12C C1/CFD0: D013 ++ BNE $CFE5 {Closing Statements} C1/CFD2: * C220 REP #$20 C1/CFD4: A50E LDA $0E C1/CFD6: D03F +! BNE $D017 C1/CFD8: B93EE0 LDA $E03E,Y C1/CFDB: 29FF0F AND #$0FFF C1/CFDE: 850E STA $0E C1/CFE0: 841E STY $1E C1/CFE2: 861C STX $1C C1/CFE4: ** 60 RTS C1/CFE5: E220 SEP #$20 C1/CFE7: B974E0 LDA $E074,Y C1/CFEA: 10F8 BPL $CFE4 C1/CFEC: BD45E0 LDA $E045,X C1/CFEF: C918 CMP #$18 C1/CFF1: B0F1 BCS $CFE4 C1/CFF3: B945E0 LDA $E045,Y C1/CFF6: C918 CMP #$18 C1/CFF8: B0EA BCS $CFE4 C1/CFFA: 2402 BIT $02 C1/CFFC: 100D BPL $D00B C1/CFFE: C43A CPY $3A C1/D000: F005 BEQ $D007 C1/D002: B960E0 LDA $E060,Y C1/D005: 1004 BPL $D00B C1/D007: A980 LDA #$80 C1/D009: 1402 TRB $02 C1/D00B: A508 LDA $08 C1/D00D: 0509 ORA $09 C1/D00F: F006 BEQ $D017 C1/D011: A502 LDA $02 C1/D013: 10CF BPL $CFE4 C1/D015: 3079 BMI $D090 C1/D017: +! BD06E0 LDA $E006,X C1/D01A: F026 BEQ $D042 C1/D01C: 4506 EOR $06 C1/D01E: 1022 BPL $D042 C1/D020: A502 LDA $02 C1/D022: 2980 AND #$80 C1/D024: 0901 ORA #$01 C1/D026: 1D29E0 ORA $E029,X C1/D029: 9D29E0 STA $E029,X C1/D02C: 2402 BIT $02 C1/D02E: 1012 BPL $D042 C1/D030: BD06E0 LDA $E006,X C1/D033: 2980 AND #$80 C1/D035: 0901 ORA #$01 C1/D037: 993AE0 STA $E03A,Y C1/D03A: A904 LDA #$04 C1/D03C: 1929E0 ORA $E029,Y C1/D03F: 9929E0 STA $E029,Y C1/D042: BD07E0 LDA $E007,X C1/D045: F026 BEQ $D06D C1/D047: 4507 EOR $07 C1/D049: 1022 BPL $D06D C1/D04B: A502 LDA $02 C1/D04D: 2980 AND #$80 C1/D04F: 0902 ORA #$02 C1/D051: 1D29E0 ORA $E029,X C1/D054: 9D29E0 STA $E029,X C1/D057: 2402 BIT $02 C1/D059: 1012 BPL $D06D C1/D05B: BD07E0 LDA $E007,X C1/D05E: 2980 AND #$80 C1/D060: 0901 ORA #$01 C1/D062: 993BE0 STA $E03B,Y C1/D065: A908 LDA #$08 C1/D067: 1929E0 ORA $E029,Y C1/D06A: 9929E0 STA $E029,Y C1/D06D: B906E0 LDA $E006,Y C1/D070: F00C BEQ $D07E C1/D072: 4506 EOR $06 C1/D074: 3008 BMI $D07E C1/D076: A901 LDA #$01 C1/D078: 1929E0 ORA $E029,Y C1/D07B: 9929E0 STA $E029,Y C1/D07E: B907E0 LDA $E007,Y C1/D081: F00C BEQ $D08F C1/D083: 4507 EOR $07 C1/D085: 3008 BMI $D08F C1/D087: A902 LDA #$02 C1/D089: 1929E0 ORA $E029,Y C1/D08C: 9929E0 STA $E029,Y C1/D08F: 60 RTS C1/D090: BD06E0 LDA $E006,X C1/D093: F022 BEQ $D0B7 C1/D095: 4506 EOR $06 C1/D097: 101E BPL $D0B7 C1/D099: 4506 EOR $06 C1/D09B: 2980 AND #$80 C1/D09D: 0901 ORA #$01 C1/D09F: 993AE0 STA $E03A,Y C1/D0A2: 9D3AE0 STA $E03A,X C1/D0A5: A984 LDA #$84 C1/D0A7: 1D29E0 ORA $E029,X C1/D0AA: 9D29E0 STA $E029,X C1/D0AD: A904 LDA #$04 C1/D0AF: 1929E0 ORA $E029,Y C1/D0B2: 9929E0 STA $E029,Y C1/D0B5: 8011 BRA $D0C8 C1/D0B7: B906E0 LDA $E006,Y C1/D0BA: F00C BEQ $D0C8 C1/D0BC: 4506 EOR $06 C1/D0BE: 3008 BMI $D0C8 C1/D0C0: A901 LDA #$01 C1/D0C2: 1929E0 ORA $E029,Y C1/D0C5: 9929E0 STA $E029,Y C1/D0C8: BD07E0 LDA $E007,X C1/D0CB: F022 BEQ $D0EF C1/D0CD: 4507 EOR $07 C1/D0CF: 101E BPL $D0EF C1/D0D1: 4507 EOR $07 C1/D0D3: 2980 AND #$80 C1/D0D5: 0901 ORA #$01 C1/D0D7: 993BE0 STA $E03B,Y C1/D0DA: 9D3BE0 STA $E03B,X C1/D0DD: A988 LDA #$88 C1/D0DF: 1D29E0 ORA $E029,X C1/D0E2: 9D29E0 STA $E029,X C1/D0E5: A908 LDA #$08 C1/D0E7: 1929E0 ORA $E029,Y C1/D0EA: 9929E0 STA $E029,Y C1/D0ED: 8011 BRA $D100 C1/D0EF: B907E0 LDA $E007,Y C1/D0F2: F00C BEQ $D100 C1/D0F4: 4507 EOR $07 C1/D0F6: 3008 BMI $D100 C1/D0F8: A902 LDA #$02 C1/D0FA: 1929E0 ORA $E029,Y C1/D0FD: 9929E0 STA $E029,Y C1/D100: C220 REP #$20 C1/D102: 8A TXA C1/D103: 995BE0 STA $E05B,Y C1/D106: 60 RTS C1/D107: BD10E0 LDA $E010,X C1/D10A: D006 BNE $D112 C1/D10C: 2407 BIT $07 C1/D10E: 3018 BMI $D128 C1/D110: 1019 BPL $D12B C1/D112: C902B0 CMP #$B002 C1/D115: 0624 ASL $24 C1/D117: 0710 ORA [$10] C1/D119: 0E300F ASL $0F30 C1/D11C: D006 BNE $D124 C1/D11E: 2406 BIT $06 C1/D120: 1006 BPL $D128 C1/D122: 3007 BMI $D12B C1/D124: 2406 BIT $06 C1/D126: 1003 BPL $D12B C1/D128: A90160 LDA #$6001 C1/D12B: 38 SEC C1/D12C: DA PHX C1/D12D: 68 PLA C1/D12E: 68 PLA C1/D12F: D002 BNE $D133 C1/D131: A90190 LDA #$9001 C1/D134: 030A ORA $0A,S C1/D136: 0A ASL A C1/D137: 0A ASL A C1/D138: 8500 STA $00 C1/D13A: 394EE0 AND $E04E,Y C1/D13D: D00A BNE $D149 C1/D13F: A500 LDA $00 C1/D141: 194EE0 ORA $E04E,Y C1/D144: 994EE0 STA $E04E,Y C1/D147: A90060 LDA #$6000 C1/D14A: C220 REP #$20 C1/D14C: BDC2E0 LDA $E0C2,X C1/D14F: D003 BNE $D154 C1/D151: 82A400 BRL $D1F8 C1/D154: 8516 STA $16 C1/D156: BDC0E0 LDA $E0C0,X C1/D159: 8514 STA $14 C1/D15B: E220 SEP #$20 C1/D15D: A550 LDA $50 C1/D15F: 29F0 AND #$F0 C1/D161: 3D5AE0 AND $E05A,X C1/D164: D024 BNE $D18A C1/D166: C220 REP #$20 C1/D168: B9C2E0 LDA $E0C2,Y C1/D16B: F01D BEQ $D18A C1/D16D: 8512 STA $12 C1/D16F: B9C0E0 LDA $E0C0,Y C1/D172: 8510 STA $10 C1/D174: 202AD4 JSR $D42A C1/D177: B011 BCS $D18A C1/D179: E220 SEP #$20 C1/D17B: A980 LDA #$80 C1/D17D: 2085D2 JSR $D285 C1/D180: A550 LDA $50 C1/D182: 29F0 AND #$F0 C1/D184: 1D5AE0 ORA $E05A,X C1/D187: 9D5AE0 STA $E05A,X C1/D18A: E220 SEP #$20 C1/D18C: A550 LDA $50 C1/D18E: 290F AND #$0F C1/D190: 3D5AE0 AND $E05A,X C1/D193: D034 BNE $D1C9 C1/D195: C220 REP #$20 C1/D197: B9CAE0 LDA $E0CA,Y C1/D19A: F02D BEQ $D1C9 C1/D19C: 8512 STA $12 C1/D19E: B9C8E0 LDA $E0C8,Y C1/D1A1: 8510 STA $10 C1/D1A3: 202AD4 JSR $D42A C1/D1A6: B021 BCS $D1C9 C1/D1A8: E220 SEP #$20 C1/D1AA: A901 LDA #$01 C1/D1AC: E00000 CPX #$0000 C1/D1AF: F008 BEQ $D1B9 C1/D1B1: 1A INC A C1/D1B2: E00002 CPX #$0200 C1/D1B5: F002 BEQ $D1B9 C1/D1B7: A904 LDA #$04 C1/D1B9: 1959E0 ORA $E059,Y C1/D1BC: 9959E0 STA $E059,Y C1/D1BF: A550 LDA $50 C1/D1C1: 290F AND #$0F C1/D1C3: 1D5AE0 ORA $E05A,X C1/D1C6: 9D5AE0 STA $E05A,X C1/D1C9: E220 SEP #$20 C1/D1CB: A550 LDA $50 C1/D1CD: 29F0 AND #$F0 C1/D1CF: 3D5AE0 AND $E05A,X C1/D1D2: D024 BNE $D1F8 C1/D1D4: C220 REP #$20 C1/D1D6: B9CEE0 LDA $E0CE,Y C1/D1D9: F01D BEQ $D1F8 C1/D1DB: 8512 STA $12 C1/D1DD: B9CCE0 LDA $E0CC,Y C1/D1E0: 8510 STA $10 C1/D1E2: 202AD4 JSR $D42A C1/D1E5: B011 BCS $D1F8 C1/D1E7: E220 SEP #$20 C1/D1E9: A981 LDA #$81 C1/D1EB: 2085D2 JSR $D285 C1/D1EE: A550 LDA $50 C1/D1F0: 29F0 AND #$F0 C1/D1F2: 1D5AE0 ORA $E05A,X C1/D1F5: 9D5AE0 STA $E05A,X C1/D1F8: C220 REP #$20 C1/D1FA: A506 LDA $06 C1/D1FC: 498080 EOR #$8080 C1/D1FF: 8506 STA $06 C1/D201: B9C2E0 LDA $E0C2,Y C1/D204: F075 BEQ $D27B C1/D206: 8516 STA $16 C1/D208: B9C0E0 LDA $E0C0,Y C1/D20B: 8514 STA $14 C1/D20D: E220 SEP #$20 C1/D20F: A551 LDA $51 C1/D211: 290F AND #$0F C1/D213: 395AE0 AND $E05A,Y C1/D216: D034 BNE $D24C C1/D218: C220 REP #$20 C1/D21A: BDCAE0 LDA $E0CA,X C1/D21D: F02D BEQ $D24C C1/D21F: 8512 STA $12 C1/D221: BDC8E0 LDA $E0C8,X C1/D224: 8510 STA $10 C1/D226: 202AD4 JSR $D42A C1/D229: B021 BCS $D24C C1/D22B: E220 SEP #$20 C1/D22D: A901 LDA #$01 C1/D22F: C00006 CPY #$0600 C1/D232: F008 BEQ $D23C C1/D234: 1A INC A C1/D235: C00008 CPY #$0800 C1/D238: F002 BEQ $D23C C1/D23A: A904 LDA #$04 C1/D23C: 1D59E0 ORA $E059,X C1/D23F: 9D59E0 STA $E059,X C1/D242: A551 LDA $51 C1/D244: 290F AND #$0F C1/D246: 195AE0 ORA $E05A,Y C1/D249: 995AE0 STA $E05A,Y C1/D24C: E220 SEP #$20 C1/D24E: A551 LDA $51 C1/D250: 29F0 AND #$F0 C1/D252: 395AE0 AND $E05A,Y C1/D255: D024 BNE $D27B C1/D257: C220 REP #$20 C1/D259: BDCEE0 LDA $E0CE,X C1/D25C: F01D BEQ $D27B C1/D25E: 8512 STA $12 C1/D260: BDCCE0 LDA $E0CC,X C1/D263: 8510 STA $10 C1/D265: 202AD4 JSR $D42A C1/D268: B011 BCS $D27B C1/D26A: E220 SEP #$20 C1/D26C: A981 LDA #$81 C1/D26E: 2085D2 JSR $D285 C1/D271: A551 LDA $51 C1/D273: 29F0 AND #$F0 C1/D275: 195AE0 ORA $E05A,Y C1/D278: 995AE0 STA $E05A,Y C1/D27B: C220 REP #$20 C1/D27D: A506 LDA $06 C1/D27F: 498080 EOR #$8080 C1/D282: 8506 STA $06 C1/D284: 60 RTS C1/D285: 2495 BIT $95 C1/D287: 3005 BMI $D28E C1/D289: 8595 STA $95 C1/D28B: 828902 BRL $D517 C1/D28E: 60 RTS C1/D28F: 2085D2 JSR $D285 C1/D292: 6B RTL C1/D293: C230 REP #$30 C1/D295: BDC0E0 LDA $E0C0,X C1/D298: 8504 STA $04 C1/D29A: A91010 LDA #$1010 C1/D29D: 8506 STA $06 C1/D29F: A556 LDA $56 C1/D2A1: 290F00 AND #$000F C1/D2A4: F013 BEQ $D2B9 C1/D2A6: 3A DEC A C1/D2A7: F01F BEQ $D2C8 C1/D2A9: 3A DEC A C1/D2AA: F028 BEQ $D2D4 C1/D2AC: 3A DEC A C1/D2AD: F009 BEQ $D2B8 C1/D2AF: A506 LDA $06 C1/D2B1: E220 SEP #$20 C1/D2B3: 4A LSR A C1/D2B4: EB XBA C1/D2B5: 4A LSR A C1/D2B6: 8026 BRA $D2DE C1/D2B8: 60 RTS C1/D2B9: A506 LDA $06 C1/D2BB: E220 SEP #$20 C1/D2BD: 4A LSR A C1/D2BE: 49FF EOR #$FF C1/D2C0: 1A INC A C1/D2C1: EB XBA C1/D2C2: 4A LSR A C1/D2C3: 49FF EOR #$FF C1/D2C5: 1A INC A C1/D2C6: 8016 BRA $D2DE C1/D2C8: A506 LDA $06 C1/D2CA: E220 SEP #$20 C1/D2CC: 4A LSR A C1/D2CD: EB XBA C1/D2CE: 4A LSR A C1/D2CF: 49FF EOR #$FF C1/D2D1: 1A INC A C1/D2D2: 800A BRA $D2DE C1/D2D4: A506 LDA $06 C1/D2D6: E220 SEP #$20 C1/D2D8: 4A LSR A C1/D2D9: 49FF EOR #$FF C1/D2DB: 1A INC A C1/D2DC: EB XBA C1/D2DD: 4A LSR A C1/D2DE: 18 CLC C1/D2DF: 6505 ADC $05 C1/D2E1: 8505 STA $05 C1/D2E3: EB XBA C1/D2E4: 18 CLC C1/D2E5: 6504 ADC $04 C1/D2E7: 8504 STA $04 C1/D2E9: A97F LDA #$7F C1/D2EB: 8502 STA $02 C1/D2ED: 8508 STA $08 C1/D2EF: A901 LDA #$01 C1/D2F1: 8582 STA $82 C1/D2F3: BD0BE0 LDA $E00B,X C1/D2F6: A000B8 LDY #$B800 C1/D2F9: 8406 STY $06 C1/D2FB: A00000 LDY #$0000 C1/D2FE: 0A ASL A C1/D2FF: 900C BCC $D30D C1/D301: A980 LDA #$80 C1/D303: 8582 STA $82 C1/D305: A000BC LDY #$BC00 C1/D308: 8406 STY $06 C1/D30A: A00040 LDY #$4000 C1/D30D: 8400 STY $00 C1/D30F: A504 LDA $04 C1/D311: 3011 BMI $D324 C1/D313: C220 REP #$20 C1/D315: 29FF00 AND #$00FF C1/D318: 18 CLC C1/D319: 7D02E0 ADC $E002,X C1/D31C: C5C0 CMP $C0 C1/D31E: 9012 BCC $D332 C1/D320: E5C0 SBC $C0 C1/D322: 800E BRA $D332 C1/D324: C220 REP #$20 C1/D326: 0900FF ORA #$FF00 C1/D329: 18 CLC C1/D32A: 7D02E0 ADC $E002,X C1/D32D: 1003 BPL $D332 C1/D32F: 18 CLC C1/D330: 65C0 ADC $C0 C1/D332: 4A LSR A C1/D333: 4A LSR A C1/D334: 4A LSR A C1/D335: 4A LSR A C1/D336: 850A STA $0A C1/D338: E220 SEP #$20 C1/D33A: A505 LDA $05 C1/D33C: 3011 BMI $D34F C1/D33E: C220 REP #$20 C1/D340: 29FF00 AND #$00FF C1/D343: 18 CLC C1/D344: 7D04E0 ADC $E004,X C1/D347: C5C2 CMP $C2 C1/D349: 9012 BCC $D35D C1/D34B: E5C2 SBC $C2 C1/D34D: 800E BRA $D35D C1/D34F: C220 REP #$20 C1/D351: 0900FF ORA #$FF00 C1/D354: 18 CLC C1/D355: 7D04E0 ADC $E004,X C1/D358: 1003 BPL $D35D C1/D35A: 18 CLC C1/D35B: 65C2 ADC $C2 C1/D35D: 8504 STA $04 C1/D35F: 29F00F AND #$0FF0 C1/D362: 0A ASL A C1/D363: 0A ASL A C1/D364: 0A ASL A C1/D365: 050A ORA $0A C1/D367: 18 CLC C1/D368: 6500 ADC $00 C1/D36A: 8500 STA $00 C1/D36C: A700 LDA [$00] C1/D36E: 29FF00 AND #$00FF C1/D371: 0A ASL A C1/D372: 0A ASL A C1/D373: A8 TAY C1/D374: C8 INY C1/D375: C8 INY C1/D376: B706 LDA [$06],Y [Load Collision[2]] C1/D378: E220 SEP #$20 C1/D37A: 850A STA $0A C1/D37C: 29F0 AND #$F0 C1/D37E: C9C0 CMP #$C0 C1/D380: F029 BEQ $D3AB C1/D382: C9F0 CMP #$F0 C1/D384: F003 BEQ $D389 C1/D386: 829C00 BRL $D425 C1/D389: BD2CE0 LDA $E02C,X C1/D38C: F0F8 BEQ $D386 C1/D38E: A50E LDA $0E C1/D390: 050F ORA $0F C1/D392: D0F2 BNE $D386 C1/D394: A50A LDA $0A C1/D396: 0A ASL A C1/D397: 0A ASL A C1/D398: 0A ASL A C1/D399: 0A ASL A C1/D39A: C220 REP #$20 C1/D39C: 4A LSR A C1/D39D: 4A LSR A C1/D39E: 4A LSR A C1/D39F: 4A LSR A C1/D3A0: 090080 ORA #$8000 C1/D3A3: 850E STA $0E C1/D3A5: 861C STX $1C C1/D3A7: 641E STZ $1E C1/D3A9: 807A BRA $D425 {#$C0 Type} C1/D3AB: A50A LDA $0A [Load TempType] C1/D3AD: 290FC9 AND #$0F C1/D3AF: C908 CMP #$08 C1/D3B1: 903C BCC $D3EF C1/D3B3: F00E BEQ $D3C3 {Whatever the fuck this mess is.} C1/D3B5: C909 CMP #$09 C1/D3B7: F017 BEQ $D3D0 C1/D3B9: C90A CMP #$0A C1/D3BB: F020 BEQ $D3DD C1/D3BD: C90B CMP #$0B C1/D3BF: F025 C1/D3C1: 80 AND $80 C1/D3C2: 62 {#$C8: Sword & Axe} C1/D3C3: BD68 PER $3C82 C1/D3C5: E0C901 CPX #$01C9 C1/D3C8: F02A BEQ $D3F4 C1/D3CA: C902F0 CMP #$F002 C1/D3CD: 26D0 ROL $D0 C1/D3CF: 55 {#$C9: Spear & Whip} C1/D3D0: BD68E0 LDA $E068,X [Load Weapon Type] C1/D3D3: C903 CMP #$03 C1/D3D5: F01D BEQ $D3F4 C1/D3D7: C904 CMP #$04 D1/D3D9: F019 BEQ $D3F4 C1/D3DB: D048 BNE {#$CA: Bow, Boomerang, Javelin} (but projectile weapons can't touch tiles?) C1/D3DD: BD68E0 LDA $E068,X C1/D3E0: C905 CMP #$05 C1/D3E2: B010 BCS $D3F4 C1/D3E4: 903F BCC $D425 {#CB: Glove, Sword, Axe} C1/D3E6: BD68E0 LDA $E068,X C1/D3E9: C903 CMP #$03 C1/D3EB: 9007 B036 {} C1/D3EF: DD68E0 CMP $E068,X {Weapon Type} C1/D3F2: D031 BNE C1/D3F4: EB XBA C1/D3F5: 8700 STA [$00] C1/D3F7: 48 PHA C1/D3F8: A582 LDA $82 C1/D3FA: 0A ASL A C1/D3FB: C220 REP #$20 C1/D3FD: A504 LDA $04 C1/D3FF: 9009 BCC $D40A C1/D401: 38 SEC C1/D402: E5AE SBC $AE C1/D404: B00B BCS $D411 C1/D406: 65C6 ADC $C6 C1/D408: 8007 BRA $D411 C1/D40A: 38 SEC C1/D40B: E5AA SBC $AA C1/D40D: B002 BCS $D411 C1/D40F: 65C6 ADC $C6 C1/D411: E220 SEP #$20 C1/D413: 8583 STA $83 C1/D415: 68 PLA C1/D416: C9C1 CMP #$C1 C1/D418: F00A BEQ $D424 C1/D41A: A50A LDA $0A C1/D41C: 290F AND #$0F C1/D41E: 18 CLC C1/D41F: 69D8 ADC #$D8 C1/D421: 2085D2 JSR $D285 C1/D424: 60 RTS {Endpoint} C1/D425: E220 SEP #$20 C1/D427: 6482 STZ $82 C1/D429: 60 RTS [] C1/D42A: E220 SEP #$20 C1/D42C: A512 LDA $12 C1/D42E: 18 CLC C1/D42F: 6516 ADC $16 C1/D431: 4A LSR A C1/D432: 8512 STA $12 C1/D434: A513 LDA $13 C1/D436: 18 CLC C1/D437: 6517 ADC $17 C1/D439: 4A LSR A C1/D43A: 8513 STA $13 C1/D43C: 2406 BIT $06 C1/D43E: 3009 BMI $D449 C1/D440: A510 LDA $10 C1/D442: 49FF EOR #$FF C1/D444: 38 SEC C1/D445: 6514 ADC $14 C1/D447: 8007 BRA $D450 C1/D449: A514 LDA $14 C1/D44B: 49FF EOR #$FF C1/D44D: 38 SEC C1/D44E: 6510 ADC $10 C1/D450: 3008 BMI $D45A C1/D452: 18 CLC C1/D453: 650A ADC $0A C1/D455: C512 CMP $12 C1/D457: 900D BCC $D466 C1/D459: 60 RTS C1/D45A: 18 CLC C1/D45B: 650A ADC $0A C1/D45D: 1003 BPL $D462 C1/D45F: 49FF EOR #$FF C1/D461: 1A INC A C1/D462: C512 CMP $12 C1/D464: B0F3 BCS $D459 C1/D466: 2407 BIT $07 C1/D468: 3009 BMI $D473 C1/D46A: A511 LDA $11 C1/D46C: 49FF EOR #$FF C1/D46E: 38 SEC C1/D46F: 6515 ADC $15 C1/D471: 8007 BRA $D47A C1/D473: A515 LDA $15 C1/D475: 49FF EOR #$FF C1/D477: 38 SEC C1/D478: 6511 ADC $11 C1/D47A: 3006 BMI $D482 C1/D47C: 18 CLC C1/D47D: 650B ADC $0B C1/D47F: C513 CMP $13 C1/D481: 60 RTS C1/D482: 18 CLC C1/D483: 650B ADC $0B C1/D485: 1003 BPL $D48A C1/D487: 49FF EOR #$FF C1/D489: 1A INC A C1/D48A: C513 CMP $13 C1/D48C: 60 RTS C1/D48D: 48 PHA C1/D48E: C220 REP #$20 C1/D490: A00100 LDY #$0001 C1/D493: B700 LDA [$00],Y C1/D495: 850C STA $0C C1/D497: C8 INY C1/D498: B700 LDA [$00],Y C1/D49A: 850D STA $0D C1/D49C: A500 LDA $00 C1/D49E: 18 CLC C1/D49F: 690400 ADC #$0004 C1/D4A2: 8500 STA $00 C1/D4A4: E220 SEP #$20 C1/D4A6: 68 PLA C1/D4A7: C9F8 CMP #$F8 C1/D4A9: D033 BNE $D4DE C1/D4AB: A50E LDA $0E C1/D4AD: 9D08E0 STA $E008,X C1/D4B0: BD10E0 LDA $E010,X C1/D4B3: 2980 AND #$80 C1/D4B5: 850F STA $0F C1/D4B7: A50D LDA $0D C1/D4B9: 1005 BPL $D4C0 C1/D4BB: 497F EOR #$7F C1/D4BD: 1A INC A C1/D4BE: 0980 ORA #$80 C1/D4C0: 450F EOR $0F C1/D4C2: C980 CMP #$80 C1/D4C4: D002 BNE $D4C8 C1/D4C6: A900 LDA #$00 C1/D4C8: 9D06E0 STA $E006,X C1/D4CB: A50C LDA $0C C1/D4CD: 1005 BPL $D4D4 C1/D4CF: 49FF EOR #$FF C1/D4D1: 1A INC A C1/D4D2: 0980 ORA #$80 C1/D4D4: C980 CMP #$80 C1/D4D6: D002 BNE $D4DA C1/D4D8: A900 LDA #$00 C1/D4DA: 9D07E0 STA $E007,X C1/D4DD: 6B RTL C1/D4DE: C9F9 CMP #$F9 C1/D4E0: D020 BNE $D502 C1/D4E2: A902 LDA #$02 C1/D4E4: 8D001E STA $1E00 C1/D4E7: A50C LDA $0C C1/D4E9: 8D011E STA $1E01 C1/D4EC: A50D LDA $0D C1/D4EE: 8D021E STA $1E02 C1/D4F1: 2003D5 JSR $D503 C1/D4F4: 8D031E STA $1E03 C1/D4F7: C220 REP #$20 C1/D4F9: C600 DEC $00 C1/D4FB: E220 SEP #$20 C1/D4FD: 220400C3 JSR $C30004 C1/D501: 6B RTL C1/D502: 6B RTL C1/D503: F012 BEQ $D517 C1/D505: BD20E0 LDA $E020,X C1/D508: 29F0 AND #$F0 C1/D50A: 8D1801 STA $0118 C1/D50D: 5A PHY C1/D50E: BC0CE1 LDY $E10C,X C1/D511: BD20E0 LDA $E020,X C1/D514: 7A PLY C1/D515: 8008 BRA $D51F C1/D517: BD20E0 LDA $E020,X C1/D51A: 29F0 AND #$F0 C1/D51C: 8D1801 STA $0118 C1/D51F: 4A LSR A C1/D520: 4A LSR A C1/D521: 4A LSR A C1/D522: 4A LSR A C1/D523: 0D1801 ORA $0118 C1/D526: 8D1901 STA $0119 C1/D529: 60 RTS [] C1/D52A: 48 PHA C1/D52B: C220 REP #$20 C1/D52D: A00100 LDY #$0001 C1/D530: B700 LDA [$00],Y C1/D532: 850C STA $0C C1/D534: A500 LDA $00 C1/D536: 1A INC A C1/D537: 1A INC A C1/D538: 1A INC A C1/D539: 8500 STA $00 C1/D53B: E220 SEP #$20 C1/D53D: 68 PLA C1/D53E: C9F0 CMP #$F0 C1/D540: D046 BNE $D588 C1/D542: A50D LDA $0D C1/D544: 290F AND #$0F C1/D546: C908 CMP #$08 C1/D548: 9003 BCC $D54D C1/D54A: 49F7 EOR #$F7 C1/D54C: 1A INC A C1/D54D: 9D08E0 STA $E008,X C1/D550: BD10E0 LDA $E010,X C1/D553: 2980 AND #$80 C1/D555: 850F STA $0F C1/D557: A50C LDA $0C C1/D559: 290F AND #$0F C1/D55B: C908 CMP #$08 C1/D55D: 9005 BCC $D564 C1/D55F: 4987 EOR #$87 C1/D561: 1A INC A C1/D562: 2987 AND #$87 C1/D564: 450F EOR $0F C1/D566: C980 CMP #$80 C1/D568: D002 BNE $D56C C1/D56A: A900 LDA #$00 C1/D56C: 9D06E0 STA $E006,X C1/D56F: A50C LDA $0C C1/D571: 4A LSR A C1/D572: 4A LSR A C1/D573: 4A LSR A C1/D574: 4A LSR A C1/D575: C908 CMP #$08 C1/D577: 9005 BCC $D57E C1/D579: 4987 EOR #$87 C1/D57B: 1A INC A C1/D57C: 2987 AND #$87 C1/D57E: C980 CMP #$80 C1/D580: D002 BNE $D584 C1/D582: A900 LDA #$00 C1/D584: 9D07E0 STA $E007,X C1/D587: 6B RTL C1/D588: C9F1 CMP #$F1 C1/D58A: D00F BNE $D59B C1/D58C: FE5DE0 INC $E05D,X C1/D58F: C220 REP #$20 C1/D591: A500 LDA $00 C1/D593: 9D5EE0 STA $E05E,X C1/D596: A50C LDA $0C C1/D598: 8500 STA $00 C1/D59A: 6B RTL C1/D59B: A522 LDA $22 C1/D59D: 29F88F AND #$8FF8 C1/D5A0: 2D2100 AND $0021 C1/D5A3: A50D LDA $0D C1/D5A5: 298009 AND #$0980 C1/D5A8: 238F AND $8F,S C1/D5AA: 3121 AND ($21),Y C1/D5AC: 00A5 BRK #$A5 C1/D5AE: 0C8F32 TSB $328F C1/D5B1: 2100 AND ($00,X) C1/D5B3: A50D LDA $0D C1/D5B5: 297F1A AND #$1A7F C1/D5B8: 8D5A10 STA $105A C1/D5BB: A91004 LDA #$0410 C1/D5BE: E26B SEP #$6B [Related to animations] C1/D5C0: 48 PHA C1/D5C1: C220 REP #$20 C1/D5C3: A500 LDA $00 [Load AnimFilePointer] C1/D5C5: 1A INC A C1/D5C6: 8500 STA $00 [Store into AnimFilePointer] C1/D5C8: E220 SEP #$20 C1/D5CA: 68 PLA C1/D5CB: C98F CMP #$8F C1/D5CD: 9003 BCC $D5D2 C1/D5CF: 82B000 BRL $D682 {} C1/D5D2: C988 CMP #$88 C1/D5D4: B06F BCS $D645 C1/D5D6: C984 CMP #$84 C1/D5D8: B047 BCS $D621 C1/D5DA: C982 CMP #$82 C1/D5DC: B039 BCS $D617 C1/D5DE: C980 CMP #$80 C1/D5E0: D00D BNE $D5EF C1/D5E2: 245C BIT $5C C1/D5E4: 102D BPL $D613 C1/D5E6: E00006 CPX #$0600 C1/D5E9: 9028 BCC $D613 C1/D5EB: 9D00E1 STA $E100,X C1/D5EE: 6B RTL C1/D5EF: DA PHX C1/D5F0: C220 REP #$20 C1/D5F2: BDE3E1 LDA $E1E3,X C1/D5F5: 29FF00 AND #$00FF C1/D5F8: 0A ASL A C1/D5F9: 0A ASL A C1/D5FA: 850C STA $0C C1/D5FC: 0A ASL A C1/D5FD: 0A ASL A C1/D5FE: 38 SEC C1/D5FF: E50C SBC $0C C1/D601: AA TAX C1/D602: E220 SEP #$20 C1/D604: BF0410D0 LDA $D01004,X [Weapon Palette] C1/D608: FA PLX [Pull Player/Enemy index off stack and into X] C1/D609: 9D69E0 STA $E069,X [Store Weapon Palette into...here] C1/D60C: 9E04E1 STZ $E104,X C1/D60F: 209B85 JSR $859B C1/D612: 6B RTL C1/D613: 20F3D8 JSR $D8F3 C1/D616: 6B RTL C1/D617: 9E04E1 STZ $E104,X C1/D61A: BD69E0 LDA $E069,X C1/D61D: 209B85 JSR $859B C1/D620: 6B RTL C1/D621: C986 CMP #$86 C1/D623: B011 BCS $D636 C1/D625: 38 SEC C1/D626: E983 SBC #$83 C1/D628: 4903 EOR #$03 C1/D62A: 1D0EE0 ORA $E00E,X C1/D62D: 9D0EE0 STA $E00E,X C1/D630: A910 LDA #$10 C1/D632: 9D39E0 STA $E039,X C1/D635: 6B RTL C1/D636: D009 BNE $D641 C1/D638: A940 LDA #$40 C1/D63A: 1D0EE0 ORA $E00E,X C1/D63D: 9D0EE0 STA $E00E,X C1/D640: 6B RTL C1/D641: A920 LDA #$20 C1/D643: 80F5 BRA $D63A C1/D645: D009 BNE $D650 C1/D647: BD0EE0 LDA $E00E,X C1/D64A: 290F AND #$0F C1/D64C: 9D0EE0 STA $E00E,X C1/D64F: 6B RTL C1/D650: C98D CMP #$8D C1/D652: B01E BCS $D672 C1/D654: C98A CMP #$8A C1/D656: B007 BCS $D65F C1/D658: 9E00E0 STZ $E000,X C1/D65B: 9E43E0 STZ $E043,X C1/D65E: 6B RTL C1/D65F: D003 BNE $D664 C1/D661: 6449 STZ $49 C1/D663: 6B RTL C1/D664: C98B CMP #$8B C1/D666: D005 BNE $D66D C1/D668: A9E0 LDA #$E0 C1/D66A: 8549 STA $49 C1/D66C: 6B RTL C1/D66D: A960 LDA #$60 C1/D66F: 8549 STA $49 C1/D671: 6B RTL C1/D672: D00D BNE $D681 C1/D674: 9E47E0 STZ $E047,X C1/D677: BD69E0 LDA $E069,X C1/D67A: 850C STA $0C C1/D67C: A9C0 LDA #$C0 C1/D67E: 826E00 BRL $D6EF C1/D681: 6B RTL [8F<AnimCommand<B0] C1/D682: C9AB CMP #$AB C1/D684: B04C BCS $D6D2 C1/D686: 38 SEC C1/D687: E98F SBC #$8F C1/D689: C220 REP #$20 C1/D68B: 29FF00 AND #$00FF C1/D68E: 0A ASL A C1/D68F: 0A ASL A C1/D690: A8 TAY C1/D691: E220 SEP #$20 C1/D693: BD10E0 LDA $E010,X C1/D696: 2980 AND #$80 C1/D698: 850F STA $0F C1/D69A: B900C7 LDA $C700,Y C1/D69D: C980 CMP #$80 C1/D69F: F01C BEQ $D6BD C1/D6A1: 450F EOR $0F C1/D6A3: C980 CMP #$80 C1/D6A5: D002 BNE $D6A9 C1/D6A7: A900 LDA #$00 C1/D6A9: 9D06E0 STA $E006,X C1/D6AC: EB XBA C1/D6AD: BD13E0 LDA $E013,X C1/D6B0: F00B BEQ $D6BD C1/D6B2: 0A ASL A C1/D6B3: EB XBA C1/D6B4: F004 BEQ $D6BA C1/D6B6: 9002 BCC $D6BA C1/D6B8: 4980 EOR #$80 C1/D6BA: 9D07E0 STA $E007,X C1/D6BD: B901C7 LDA $C701,Y C1/D6C0: C980 CMP #$80 C1/D6C2: F003 BEQ $D6C7 C1/D6C4: 9D07E0 STA $E007,X C1/D6C7: B902C7 LDA $C702,Y C1/D6CA: C980 CMP #$80 C1/D6CC: F003 BEQ $D6D1 C1/D6CE: 9D08E0 STA $E008,X C1/D6D1: 6B RTL [AB<=AnimCommand<B0] C1/D6D2: 38 SEC C1/D6D3: E9AB SBC #$AB C1/D6D5: 9D36E0 STA $E036,X C1/D6D8: 9D37E0 STA $E037,X C1/D6DB: 6B RTL [B0<AnimCommand<F0] C1/D6DC: 48 PHA C1/D6DD: A00100 LDY #$0001 C1/D6E0: B700 LDA [$00],Y C1/D6E2: 850C STA $0C C1/D6E4: C220 REP #$20 C1/D6E6: A500 LDA $00 C1/D6E8: 1A INC A C1/D6E9: 1A INC A C1/D6EA: 8500 STA $00 C1/D6EC: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/D6EE: 68 PLA [Pull Accumulator from Stack] C1/D6EF: C9C0 CMP #$C0 [Compare #$C0] C1/D6F1: 9011 + BCC $D704 [Branch ahead if Accumulator >= #$C0] {AnimCommand>C0} C1/D6F3: C9D0 CMP #$D0 C1/D6F5: B003 ++ BCS $D6FA C1/D6F7: 82E500 BRL $D7DF {AnimCommand>D0} C1/D6FA: ++ C9E0 CMP #$E0 C1/D6FC: B003 ++ BCS $D701 C1/D6FE: 823B01 BRL $D83C {AnimCommand>E0} C1/D701: ++ 82EE01 BRL $D8F2 C1/D704: + C9B8 CMP #$B8 C1/D706: 9003 BCC $D70B C1/D708: 829700 BRL $D7A2 C1/D70B: C9B4 CMP #$B4 C1/D70D: B03C BCS $D74B C1/D70F: C9B2 CMP #$B2 C1/D711: B02F BCS $D742 C1/D713: C9B0 CMP #$B0 C1/D715: D018 BNE $D72F C1/D717: 245C BIT $5C C1/D719: 1020 BPL $D73B C1/D71B: E00006 CPX #$0600 [Compare X with #$0600 (is it an NPC/Enemy?)] C1/D71E: 901B BCC $D73B C1/D720: 9D00E1 STA $E100,X C1/D723: 9D02E1 STA $E102,X C1/D726: A50C LDA $0C C1/D728: 9D01E1 STA $E101,X C1/D72B: 9D03E1 STA $E103,X [Palette cycling?] C1/D72E: 6B RTL C1/D72F: A50C LDA $0C C1/D731: 9D69E0 STA $E069,X C1/D734: 9E04E1 STZ $E104,X C1/D737: 209B85 JSR $859B C1/D73A: 6B RTL C1/D73B: 9E00E1 STZ $E100,X [Palette cycling?] C1/D73E: 200DD9 JSR $D90D C1/D741: 6B RTL C1/D742: 9E04E1 STZ $E104,X C1/D745: A50C LDA $0C C1/D747: 209B85 JSR $859B C1/D74A: 6B RTL C1/D74B: F013 BEQ $D760 C1/D74D: C9B6 CMP #$B6 C1/D74F: B03C BCS $D78D C1/D751: A50C LDA $0C C1/D753: 8D5710 STA $1057 [Oh hoh] C1/D756: A5E6 LDA $E6 C1/D758: 8D5810 STA $1058 C1/D75B: A904 LDA #$04 C1/D75D: 04E2 TSB $E2 C1/D75F: 6B RTL C1/D760: 245C BIT $5C C1/D762: 100E BPL $D772 C1/D764: E00006 CPX #$0600 C1/D767: 9009 BCC $D772 C1/D769: A50C LDA $0C C1/D76B: 9D01E1 STA $E101,X C1/D76E: A9B4 LDA #$B4 C1/D770: 8017 BRA $D789 C1/D772: A50C LDA $0C C1/D774: 48 PHA C1/D775: 290F AND #$0F C1/D777: 9D03E1 STA $E103,X C1/D77A: 68 PLA C1/D77B: 4A LSR A C1/D77C: 4A LSR A C1/D77D: 4A LSR A C1/D77E: 4A LSR A C1/D77F: 9D01E1 STA $E101,X C1/D782: DD03E1 CMP $E103,X C1/D785: B002 BCS $D789 C1/D787: A9A0 LDA #$A0 C1/D789: 9D00E1 STA $E100,X C1/D78C: 6B RTL C1/D78D: D004 BNE $D793 C1/D78F: A900 LDA #$00 C1/D791: F002 BEQ $D795 C1/D793: A90F LDA #$0F C1/D795: 85E7 STA $E7 C1/D797: A50C LDA $0C C1/D799: 85E4 STA $E4 C1/D79B: 85E5 STA $E5 C1/D79D: A901 LDA #$01 C1/D79F: 04E2 TSB $E2 C1/D7A1: 6B RTL C1/D7A2: C9B8 CMP #$B8 C1/D7A4: D001 BNE $D7A7 C1/D7A6: 6B RTL C1/D7A7: C9BC CMP #$BC C1/D7A9: B02C BCS $D7D7 C1/D7AB: C9BA CMP #$BA C1/D7AD: B00A BCS $D7B9 C1/D7AF: A50C LDA $0C C1/D7B1: 0A ASL A C1/D7B2: 0A ASL A C1/D7B3: 0A ASL A C1/D7B4: 0A ASL A C1/D7B5: 9D47E0 STA $E047,X C1/D7B8: 6B RTL C1/D7B9: D01B BNE $D7D6 C1/D7BB: A50C LDA $0C C1/D7BD: 48 PHA C1/D7BE: 290F AND #$0F C1/D7C0: 3A DEC A C1/D7C1: 9D07E1 STA $E107,X C1/D7C4: 68 PLA C1/D7C5: 4A LSR A C1/D7C6: 4A LSR A C1/D7C7: 4A LSR A C1/D7C8: 4A LSR A C1/D7C9: 9D05E1 STA $E105,X C1/D7CC: DD07E1 CMP $E107,X C1/D7CF: B002 BCS $D7D3 C1/D7D1: A9A0 LDA #$A0 C1/D7D3: 9D04E1 STA $E104,X C1/D7D6: 6B RTL C1/D7D7: D005 BNE $D7DE C1/D7D9: A50C LDA $0C C1/D7DB: 8549 STA $49 C1/D7DD: 6B RTL C1/D7DE: 6B RTL C1/D7DF: C9C8 CMP #$C8 C1/D7E1: B026 BCS $D809 C1/D7E3: 48 PHA C1/D7E4: 2903 AND #$03 C1/D7E6: 1A INC A C1/D7E7: 18 CLC C1/D7E8: 650C ADC $0C C1/D7EA: 9D06E1 STA $E106,X C1/D7ED: A50C LDA $0C C1/D7EF: 9D05E1 STA $E105,X C1/D7F2: 1A INC A C1/D7F3: 9D07E1 STA $E107,X C1/D7F6: 68 PLA C1/D7F7: 2904 AND #$04 C1/D7F9: 4A LSR A C1/D7FA: 4A LSR A C1/D7FB: 0980 ORA #$80 C1/D7FD: 9D04E1 STA $E104,X C1/D800: 9E47E0 STZ $E047,X C1/D803: A50C LDA $0C C1/D805: 209B85 JSR $859B C1/D808: 6B RTL C1/D809: 245C BIT $5C C1/D80B: 100E BPL $D81B C1/D80D: E00006 CPX #$0600 C1/D810: 9009 BCC $D81B C1/D812: 9D00E1 STA $E100,X C1/D815: A50C LDA $0C C1/D817: 9D01E1 STA $E101,X C1/D81A: 6B RTL C1/D81B: 48 PHA C1/D81C: 2903 AND #$03 C1/D81E: 1A INC A C1/D81F: 18 CLC C1/D820: 650C ADC $0C C1/D822: 9D02E1 STA $E102,X C1/D825: A50C LDA $0C C1/D827: 9D01E1 STA $E101,X C1/D82A: 1A INC A C1/D82B: 9D03E1 STA $E103,X C1/D82E: 68 PLA C1/D82F: 2904 AND #$04 C1/D831: 4A LSR A C1/D832: 4A LSR A C1/D833: 0980 ORA #$80 C1/D835: 9D00E1 STA $E100,X C1/D838: 200DD9 JSR $D90D C1/D83B: 6B RTL [D0<AnimCommand<E0] C1/D83C: C9D0 CMP #$D0 C1/D83E: D038 BNE $D878 {AnimCommand==D0} C1/D840: BD10E0 LDA $E010,X C1/D843: 2980 AND #$80 C1/D845: 850F STA $0F C1/D847: A50C LDA $0C C1/D849: 290F AND #$0F C1/D84B: C908 CMP #$08 C1/D84D: 9005 BCC $D854 C1/D84F: 4987 EOR #$87 C1/D851: 1A INC A C1/D852: 2987 AND #$87 C1/D854: 450F EOR $0F C1/D856: C980 CMP #$80 C1/D858: D002 BNE $D85C C1/D85A: A900 LDA #$00 C1/D85C: 9D06E0 STA $E006,X C1/D85F: A50C LDA $0C C1/D861: 4A LSR A C1/D862: 4A LSR A C1/D863: 4A LSR A C1/D864: 4A LSR A C1/D865: C908 CMP #$08 C1/D867: 9005 BCC $D86E C1/D869: 4987 EOR #$87 C1/D86B: 1A INC A C1/D86C: 2987 AND #$87 C1/D86E: C980 CMP #$80 C1/D870: D002 BNE $D874 C1/D872: A900 LDA #$00 C1/D874: 9D07E0 STA $E007,X C1/D877: 6B RTL C1/D878: C9D4 CMP #$D4 C1/D87A: B03C BCS $D8B8 C1/D87C: C9D3 CMP #$D3 C1/D87E: F032 BEQ $D8B2 {} C1/D880: EB XBA C1/D881: EB XBA C1/D882: 240C BIT $0C C1/D884: 1011 BPL $D897 C1/D886: EB XBA C1/D887: A50C LDA $0C C1/D889: 49FF EOR #$FF C1/D88B: 1A INC A C1/D88C: 0980 ORA #$80 C1/D88E: C980 CMP #$80 C1/D890: D002 BNE $D894 C1/D892: A900 LDA #$00 C1/D894: 850C STA $0C C1/D896: EB XBA C1/D897: C9D1 CMP #$D1 C1/D899: D006 BNE $D8A1 C1/D89B: A50C LDA $0C C1/D89D: 9D07E0 STA $E007,X C1/D8A0: 6B RTL C1/D8A1: BD10E0 LDA $E010,X C1/D8A4: 2980 AND #$80 C1/D8A6: 450C EOR $0C C1/D8A8: C980 CMP #$80 C1/D8AA: D002 BNE $D8AE C1/D8AC: A900 LDA #$00 C1/D8AE: 9D06E0 STA $E006,X C1/D8B1: 6B RTL [Animation: Rising Speed] C1/D8B2: A50C LDA $0C [Load TempVal] C1/D8B4: 9D08E0 STA $E008,X [Store into Char. Rising Speed] C1/D8B7: 6B RTL C1/D8B8: D037 BNE $D8F1 C1/D8BA: BC5EE0 LDY $E05E,X C1/D8BD: B960E0 LDA $E060,Y C1/D8C0: F004 BEQ $D8C6 C1/D8C2: C940 CMP #$40 C1/D8C4: D02B BNE $D8F1 C1/D8C6: C220 REP #$20 C1/D8C8: BD02E0 LDA $E002,X C1/D8CB: 9902E0 STA $E002,Y C1/D8CE: BD04E0 LDA $E004,X C1/D8D1: 9904E0 STA $E004,Y C1/D8D4: A90000 LDA #$0000 C1/D8D7: 9906E0 STA $E006,Y C1/D8DA: E220 SEP #$20 C1/D8DC: A50C LDA $0C C1/D8DE: 9911E0 STA $E011,Y C1/D8E1: A940 LDA #$40 C1/D8E3: 991CE0 STA $E01C,Y C1/D8E6: A980 LDA #$80 C1/D8E8: 9964E0 STA $E064,Y C1/D8EB: A9FF LDA #$FF C1/D8ED: 9930E0 STA $E030,Y C1/D8F0: 6B RTL C1/D8F1: 6B RTL C1/D8F2: 6B RTL C1/D8F3: C220 REP #$20 C1/D8F5: A90F00 LDA #$000F C1/D8F8: 850A STA $0A C1/D8FA: 9E00E1 STZ $E100,X C1/D8FD: BCF8E0 LDY $E0F8,X C1/D900: B900DF LDA $DF00,Y C1/D903: 990007 STA $0700,Y C1/D906: C8 INY C1/D907: C8 INY C1/D908: C60A DEC $0A C1/D90A: D0F4 BNE $D900 C1/D90C: 60 RTS C1/D90D: A50C LDA $0C C1/D90F: 8F024200 STA $004202 C1/D913: A91E8F LDA #$8F1E C1/D916: 0342 ORA $42,S C1/D918: 00A9 BRK #$A9 C1/D91A: 0F850A64 ORA $640A85 C1/D91E: 0B PHD C1/D91F: BCF8E0 LDY $E0F8,X C1/D922: A9C885 LDA #$85C8 C1/D925: 0FC220A9 ORA $A920C2 C1/D929: 0010 BRK #$10 C1/D92B: 18 CLC C1/D92C: 6F164200 ADC $004216 C1/D930: 850D STA $0D C1/D932: A70D LDA [$0D] C1/D934: 990007 STA $0700,Y C1/D937: E60D INC $0D C1/D939: E60D INC $0D C1/D93B: C8 INY C1/D93C: C8 INY C1/D93D: C60A DEC $0A C1/D93F: D0F1 BNE $D932 C1/D941: 60 RTS [] C1/D942: E220 SEP #$20 C1/D944: DA PHX C1/D945: 9E64E0 STZ $E064,X C1/D948: 222800C1 JSR $C10028 C1/D94C: FA PLX C1/D94D: E220 SEP #$20 C1/D94F: BD40E1 LDA $E140,X [This garbage again] C1/D952: D001 BNE $D955 C1/D954: 6B RTL C1/D955: 300B BMI $D962 C1/D957: 8940 BIT #$40 C1/D959: F019 BEQ $D974 C1/D95B: C945 CMP #$45 C1/D95D: B01F BCS $D97E C1/D95F: 82C000 BRL $DA22 C1/D962: 8940 BIT #$40 C1/D964: D007 BNE $D96D C1/D966: C981 CMP #$81 C1/D968: D014 BNE $D97E C1/D96A: 821701 BRL $DA84 C1/D96D: C9C2 CMP #$C2 C1/D96F: B00D BCS $D97E C1/D971: 824A01 BRL $DABE C1/D974: C907 CMP #$07 C1/D976: 9007 BCC $D97F C1/D978: D004 BNE $D97E C1/D97A: 5C1EB002 JMP $02B01E C1/D97E: 6B RTL C1/D97F: C901 CMP #$01 C1/D981: F024 BEQ $D9A7 C1/D983: C902 CMP #$02 C1/D985: F014 BEQ $D99B C1/D987: C904 CMP #$04 C1/D989: F007 BEQ $D992 C1/D98B: C905 CMP #$05 C1/D98D: F035 BEQ $D9C4 C1/D98F: 825100 BRL $D9E3 C1/D992: A900 LDA #$00 C1/D994: 9D00E0 STA $E000,X C1/D997: 9D43E0 STA $E043,X C1/D99A: 6B RTL C1/D99B: A980 LDA #$80 C1/D99D: 9D64E0 STA $E064,X C1/D9A0: 9E85E0 STZ $E085,X C1/D9A3: 5C87B200 JMP $00B287 C1/D9A7: BD67E0 LDA $E067,X C1/D9AA: F017 BEQ $D9C3 C1/D9AC: 9E06E0 STZ $E006,X C1/D9AF: 9E07E0 STZ $E007,X C1/D9B2: 9E08E0 STZ $E008,X C1/D9B5: 9E13E0 STZ $E013,X C1/D9B8: 9E11E0 STZ $E011,X C1/D9BB: 9E67E0 STZ $E067,X C1/D9BE: A9FF LDA #$FF C1/D9C0: 9D30E0 STA $E030,X C1/D9C3: 6B RTL C1/D9C4: 2260A302 JSR $02A360 C1/D9C8: 90F9 BCC $D9C3 C1/D9CA: DA PHX C1/D9CB: 229FA302 JSR $02A39F C1/D9CF: 22A2E100 JSR $00E1A2 C1/D9D3: 2022E0 JSR $E022 C1/D9D6: E220 SEP #$20 C1/D9D8: A901 LDA #$01 C1/D9DA: 9D32E0 STA $E032,X C1/D9DD: 2234E000 JSR $00E034 C1/D9E1: FA PLX C1/D9E2: 6B RTL C1/D9E3: E00006 CPX #$0600 C1/D9E6: B0DB BCS $D9C3 C1/D9E8: 24ED BIT $ED C1/D9EA: 10D7 BPL $D9C3 C1/D9EC: BD1AE0 LDA $E01A,X C1/D9EF: 1D1BE0 ORA $E01B,X C1/D9F2: D0CF BNE $D9C3 C1/D9F4: A980 LDA #$80 C1/D9F6: 9D64E0 STA $E064,X C1/D9F9: 9D85E0 STA $E085,X C1/D9FC: 5C95B200 JMP $00B295 C1/DA00: BD41E1 LDA $E141,X C1/DA03: 9D11E0 STA $E011,X C1/DA06: A940 LDA #$40 C1/DA08: 9D1CE0 STA $E01C,X C1/DA0B: A980 LDA #$80 C1/DA0D: 9D64E0 STA $E064,X C1/DA10: A9FF LDA #$FF C1/DA12: 9D30E0 STA $E030,X C1/DA15: 9E06E0 STZ $E006,X C1/DA18: 9E07E0 STZ $E007,X C1/DA1B: 9E08E0 STZ $E008,X C1/DA1E: 20C788 JSR $88C7 C1/DA21: 6B RTL C1/DA22: C940 CMP #$40 C1/DA24: F00E BEQ $DA34 C1/DA26: C941 CMP #$41 C1/DA28: F029 BEQ $DA53 C1/DA2A: C942 CMP #$42 C1/DA2C: F025 BEQ $DA53 C1/DA2E: C943 CMP #$43 C1/DA30: F022 BEQ $DA54 C1/DA32: 80CC BRA $DA00 C1/DA34: BD41E1 LDA $E141,X C1/DA37: 9D11E0 STA $E011,X C1/DA3A: A940 LDA #$40 C1/DA3C: 9D1CE0 STA $E01C,X C1/DA3F: A980 LDA #$80 C1/DA41: 9D64E0 STA $E064,X C1/DA44: A9FF LDA #$FF C1/DA46: 9D30E0 STA $E030,X C1/DA49: 9E06E0 STZ $E006,X C1/DA4C: 9E07E0 STZ $E007,X C1/DA4F: 9E08E0 STZ $E008,X C1/DA52: 6B RTL C1/DA53: 6B RTL C1/DA54: 2260A302 JSR $02A360 C1/DA58: 90F9 BCC $DA53 C1/DA5A: DA PHX C1/DA5B: 229FA302 JSR $02A39F C1/DA5F: E220 SEP #$20 C1/DA61: BD41E1 LDA $E141,X C1/DA64: 9D3DE0 STA $E03D,X C1/DA67: 9D80E1 STA $E180,X C1/DA6A: A901 LDA #$01 C1/DA6C: 9D32E0 STA $E032,X C1/DA6F: 9D00E0 STA $E000,X C1/DA72: A900 LDA #$00 C1/DA74: 9D43E0 STA $E043,X C1/DA77: 22A2E100 JSR $00E1A2 C1/DA7B: 20D3DF JSR $DFD3 C1/DA7E: 2251DF00 JSR $00DF51 C1/DA82: FA PLX C1/DA83: 6B RTL C1/DA84: A900 LDA #$00 C1/DA86: 9D43E0 STA $E043,X C1/DA89: BD42E1 LDA $E142,X C1/DA8C: 9D3DE0 STA $E03D,X C1/DA8F: 9D80E1 STA $E180,X C1/DA92: A901 LDA #$01 C1/DA94: 9D32E0 STA $E032,X C1/DA97: 20D3DF JSR $DFD3 C1/DA9A: 2251DF00 JSR $00DF51 C1/DA9E: E220 SEP #$20 C1/DAA0: A9FF LDA #$FF C1/DAA2: 9D30E0 STA $E030,X C1/DAA5: 9E04E1 STZ $E104,X C1/DAA8: 9E00E1 STZ $E100,X C1/DAAB: 9E83E0 STZ $E083,X C1/DAAE: 9E84E0 STZ $E084,X C1/DAB1: 9E1CE0 STZ $E01C,X C1/DAB4: 9E0AE0 STZ $E00A,X C1/DAB7: 9E64E0 STZ $E064,X C1/DABA: 9E62E0 STZ $E062,X C1/DABD: 6B RTL C1/DABE: C9C0 CMP #$C0 C1/DAC0: D01B BNE $DADD C1/DAC2: BD41E1 LDA $E141,X C1/DAC5: 8D001E STA $1E00 C1/DAC8: BD42E1 LDA $E142,X C1/DACB: 8D011E STA $1E01 C1/DACE: BD43E1 LDA $E143,X C1/DAD1: 8D021E STA $1E02 C1/DAD4: DA PHX C1/DAD5: 220400C3 JSR $C30004 C1/DAD9: C210 REP #$10 C1/DADB: FA PLX C1/DADC: 60 RTS C1/DADD: A980 LDA #$80 C1/DADF: 9D67E0 STA $E067,X C1/DAE2: 9E13E0 STZ $E013,X C1/DAE5: BD10E0 LDA $E010,X C1/DAE8: 850C STA $0C C1/DAEA: BD11E0 LDA $E011,X C1/DAED: 850D STA $0D C1/DAEF: BD42E1 LDA $E142,X C1/DAF2: 9D11E0 STA $E011,X C1/DAF5: BD43E1 LDA $E143,X C1/DAF8: D007 BNE $DB01 C1/DAFA: A980 LDA #$80 C1/DAFC: 9D64E0 STA $E064,X C1/DAFF: A900 LDA #$00 C1/DB01: 9D62E0 STA $E062,X C1/DB04: 2027DB JSR $DB27 C1/DB07: 9D10E0 STA $E010,X C1/DB0A: BD30E0 LDA $E030,X C1/DB0D: C9FF CMP #$FF C1/DB0F: C220 REP #$20 C1/DB11: F00A BEQ $DB1D C1/DB13: BD10E0 LDA $E010,X C1/DB16: C50C CMP $0C C1/DB18: F00C BEQ $DB26 C1/DB1A: A9FF00 LDA #$00FF C1/DB1D: 9D30E0 STA $E030,X C1/DB20: 9E06E0 STZ $E006,X C1/DB23: 9E08E0 STZ $E008,X C1/DB26: 6B RTL C1/DB27: BD41E1 LDA $E141,X C1/DB2A: 8901F0 BIT #$F001 C1/DB2D: 1489 TRB $89 C1/DB2F: 04F0 TSB $F0 C1/DB31: 04A9 TSB $A9 C1/DB33: 0180 ORA ($80,X) C1/DB35: 0689 ASL $89 C1/DB37: 08 PHP C1/DB38: F005 BEQ $DB3F C1/DB3A: A9809D LDA #$9D80 C1/DB3D: 13E0 ORA ($E0,S),Y C1/DB3F: A90260 LDA #$6002 C1/DB42: 8902F0 BIT #$F002 C1/DB45: 1489 TRB $89 C1/DB47: 04F0 TSB $F0 C1/DB49: 04A9 TSB $A9 C1/DB4B: 8080 BRA $DACD C1/DB4D: 0689 ASL $89 C1/DB4F: 08 PHP C1/DB50: F005 BEQ $DB57 C1/DB52: A9019D LDA #$9D01 C1/DB55: 13E0 ORA ($E0,S),Y C1/DB57: A98260 LDA #$6082 C1/DB5A: 8904F0 BIT #$F004 C1/DB5D: 03A9 ORA $A9,S C1/DB5F: 0160 ORA ($60,X) C1/DB61: 8908F0 BIT #$F008 C1/DB64: 03A9 ORA $A9,S C1/DB66: 0060 BRK #$60 C1/DB68: A90060 LDA #$6000 C1/DB6B: E220 SEP #$20 C1/DB6D: ADF019 LDA $19F0 C1/DB70: 100B BPL $DB7D C1/DB72: C9C0 CMP #$C0 C1/DB74: D006 BNE $DB7C C1/DB76: 9C041D STZ $1D04 C1/DB79: 4C3AFF JMP $FF3A C1/DB7C: 60 RTS C1/DB7D: D002 BNE $DB81 C1/DB7F: 8045 BRA $DBC6 C1/DB81: C901 CMP #$01 C1/DB83: D003 BNE $DB88 C1/DB85: 82B000 BRL $DC38 C1/DB88: C902 CMP #$02 C1/DB8A: F001 BEQ $DB8D C1/DB8C: 60 RTS C1/DB8D: ADF219 LDA $19F2 C1/DB90: 4A LSR A C1/DB91: 9005 BCC $DB98 C1/DB93: A900 LDA #$00 C1/DB95: 20AEDB JSR $DBAE C1/DB98: E220 SEP #$20 C1/DB9A: ADF219 LDA $19F2 C1/DB9D: 2902 AND #$02 C1/DB9F: F003 BEQ $DBA4 C1/DBA1: 20AEDB JSR $DBAE C1/DBA4: E220 SEP #$20 C1/DBA6: ADF219 LDA $19F2 C1/DBA9: 2904 AND #$04 C1/DBAB: D001 BNE $DBAE C1/DBAD: 60 RTS C1/DBAE: EB XBA C1/DBAF: A900 LDA #$00 C1/DBB1: C230 REP #$30 C1/DBB3: AA TAX C1/DBB4: E220 SEP #$20 C1/DBB6: BD60E0 LDA $E060,X C1/DBB9: D00A BNE $DBC5 C1/DBBB: 9E69E0 STZ $E069,X C1/DBBE: 9E04E1 STZ $E104,X C1/DBC1: 22F4E900 JSR $00E9F4 C1/DBC5: 60 RTS [Has something to do with Flammie and where on the map one ends up] C1/DBC6: ADF119 LDA $19F1 [Load ItemType] C1/DBC9: C907 CMP #$07 [Compare with #$07] {Flammie Drum} C1/DBCB: D064 + BNE $DC31 C1/DBCD: ADF219 LDA $19F2 C1/DBD0: 2903 AND #$03 C1/DBD2: 0A ASL A C1/DBD3: EB XBA C1/DBD4: A900 LDA #$00 C1/DBD6: AA TAX C1/DBD7: 8614 STX $14 C1/DBD9: 206CCA JSR $CA6C C1/DBDC: A97F LDA #$7F C1/DBDE: 9D4FE0 STA $E04F,X C1/DBE1: 9E04E1 STZ $E104,X C1/DBE4: A905 LDA #$05 C1/DBE6: 9D2FE0 STA $E02F,X C1/DBE9: 9E0CE0 STZ $E00C,X C1/DBEC: 9E84E0 STZ $E084,X C1/DBEF: 9C06E0 STZ $E006 C1/DBF2: 9C07E0 STZ $E007 C1/DBF5: 9C06E2 STZ $E206 C1/DBF8: 9C07E2 STZ $E207 C1/DBFB: 9C06E4 STZ $E406 C1/DBFE: 9C07E4 STZ $E407 C1/DC01: A5F4 LDA $F4 C1/DC03: 291F AND #$1F C1/DC05: 0920 ORA #$20 C1/DC07: 85F4 STA $F4 C1/DC09: 20D885 JSR $85D8 C1/DC0C: C230 REP #$30 C1/DC0E: A94000 LDA #$0040 C1/DC11: 8508 STA $08 C1/DC13: A90000 LDA #$0000 C1/DC16: 8500 STA $00 C1/DC18: A05028 LDY #$2850 C1/DC1B: A9D400 LDA #$00D4 C1/DC1E: 2299C501 JSR $01C599 C1/DC22: C220 REP #$20 [Disable 8-Bit Accumulator] C1/DC24: A5DC LDA $DC [Load Current Room] C1/DC26: 29FF00 AND #$00FF [AND with #$FF] C1/DC29: 09000C ORA #$0C00 [OR with #$0C00] C1/DC2C: 226DE701 JSR $01E76D C1/DC30: 60 RTS C1/DC31: + DA PHX C1/DC32: 2048DC JSR $DC48 C1/DC35: FA PLX C1/DC36: 60 RTS C1/DC37: 60 RTS C1/DC38: ADF119 LDA $19F1 [Load ItemType] C1/DC3B: 1001 + BPL $DC3E C1/DC3D: 60 RTS C1/DC3E: + 29030A AND #$0A03 C1/DC41: EB XBA C1/DC42: A900AA LDA #$AA00 C1/DC45: 4CC788 JMP $88C7 [] C1/DC48: ADF319 LDA $19F3 C1/DC4B: 29030A AND #$0A03 C1/DC4E: EB XBA C1/DC4F: A900A8 LDA #$A800 C1/DC52: E220 SEP #$20 C1/DC54: B960E0 LDA $E060,Y C1/DC57: F001 BEQ $DC5A C1/DC59: 60 RTS C1/DC5A: A900 LDA #$00 C1/DC5C: 9910E1 STA $E110,Y C1/DC5F: 9908E1 STA $E108,Y C1/DC62: ADF119 LDA $19F1 C1/DC65: 9921E1 STA $E121,Y C1/DC68: ADF219 LDA $19F2 C1/DC6B: 2903 AND #$03 C1/DC6D: 0A ASL A C1/DC6E: EB XBA C1/DC6F: A900 LDA #$00 C1/DC71: C220 REP #$20 C1/DC73: 990CE1 STA $E10C,Y C1/DC76: ADF119 LDA $19F1 C1/DC79: 29FF00 AND #$00FF C1/DC7C: 0A ASL A C1/DC7D: 0A ASL A C1/DC7E: 0A ASL A C1/DC7F: 0A ASL A C1/DC80: AA TAX C1/DC81: DA PHX C1/DC82: 5A PHY C1/DC83: 20C686 JSR $86C6 C1/DC86: 7A PLY C1/DC87: FA PLX C1/DC88: 229CB402 JSR $02B49C C1/DC8C: 4CD885 JMP $85D8 C1/DC8F: 22F4AE02 JSR $02AEF4 C1/DC93: E220 SEP #$20 C1/DC95: 8B PHB C1/DC96: A97E LDA #$7E C1/DC98: 48 PHA C1/DC99: AB PLB C1/DC9A: C230 REP #$30 C1/DC9C: A900CB LDA #$CB00 C1/DC9F: A2FE03 LDX #$03FE C1/DCA2: 9D000C STA $0C00,X C1/DCA5: CA DEX C1/DCA6: CA DEX C1/DCA7: 10F9 BPL $DCA2 C1/DCA9: A2FE01 LDX #$01FE C1/DCAC: 9E00D0 STZ $D000,X C1/DCAF: CA DEX C1/DCB0: CA DEX C1/DCB1: 10F9 BPL $DCAC C1/DCB3: C220 REP #$20 C1/DCB5: A9000C LDA #$0C00 C1/DCB8: 8D6EE0 STA $E06E C1/DCBB: A9200C LDA #$0C20 C1/DCBE: 8D6EE2 STA $E26E C1/DCC1: A9400C LDA #$0C40 C1/DCC4: 8D6EE4 STA $E46E C1/DCC7: A9600C LDA #$0C60 C1/DCCA: 8D6CE0 STA $E06C C1/DCCD: A9B00C LDA #$0CB0 C1/DCD0: 8D6CE2 STA $E26C C1/DCD3: A9000D LDA #$0D00 C1/DCD6: 8D6CE4 STA $E46C C1/DCD9: A9C023 LDA #$23C0 C1/DCDC: 4598 EOR $98 C1/DCDE: 8D8AE0 STA $E08A C1/DCE1: A9C825 LDA #$25C8 C1/DCE4: 4598 EOR $98 C1/DCE6: 8D8AE2 STA $E28A C1/DCE9: A9E027 LDA #$27E0 C1/DCEC: 4598 EOR $98 C1/DCEE: 8D8AE4 STA $E48A C1/DCF1: A94401 LDA #$0144 C1/DCF4: 4598 EOR $98 C1/DCF6: 8D86E0 STA $E086 C1/DCF9: A96801 LDA #$0168 C1/DCFC: 4598 EOR $98 C1/DCFE: 8D86E2 STA $E286 C1/DD01: A98C01 LDA #$018C C1/DD04: 4598 EOR $98 C1/DD06: 8D86E4 STA $E486 C1/DD09: 2096DF JSR $DF96 C1/DD0C: A20000 LDX #$0000 C1/DD0F: 206FE0 JSR $E06F C1/DD12: A20002 LDX #$0200 C1/DD15: 206FE0 JSR $E06F C1/DD18: A20004 LDX #$0400 C1/DD1B: 206FE0 JSR $E06F C1/DD1E: E220 SEP #$20 C1/DD20: A908 LDA #$08 C1/DD22: 8D1EE0 STA $E01E C1/DD25: A904 LDA #$04 C1/DD27: 8D1EE2 STA $E21E C1/DD2A: A900 LDA #$00 C1/DD2C: 8D1EE4 STA $E41E C1/DD2F: A901 LDA #$01 C1/DD31: 200ADF JSR $DF0A C1/DD34: 8D2CE0 STA $E02C C1/DD37: A902 LDA #$02 C1/DD39: 200ADF JSR $DF0A C1/DD3C: 8D2CE2 STA $E22C C1/DD3F: A904 LDA #$04 C1/DD41: 200ADF JSR $DF0A C1/DD44: 8D2CE4 STA $E42C C1/DD47: 2026DF JSR $DF26 C1/DD4A: 2066DD JSR $DD66 C1/DD4D: 2000DE JSR $DE00 C1/DD50: C220 REP #$20 C1/DD52: AD0E01 LDA $010E C1/DD55: D00D BNE $DD64 C1/DD57: E220 SEP #$20 C1/DD59: A980 LDA #$80 C1/DD5B: 8D0EE0 STA $E00E C1/DD5E: 8D0EE2 STA $E20E C1/DD61: 8D0EE4 STA $E40E C1/DD64: AB PLB C1/DD65: 6B RTL C1/DD66: E220 SEP #$20 C1/DD68: C210 REP #$10 C1/DD6A: A6D4 LDX $D4 C1/DD6C: A5E8 LDA $E8 C1/DD6E: 2903 AND #$03 C1/DD70: D03A BNE $DDAC C1/DD72: A5E1 LDA $E1 C1/DD74: D001 BNE $DD77 C1/DD76: 60 RTS C1/DD77: 48 PHA C1/DD78: A920 LDA #$20 C1/DD7A: 85FF STA $FF C1/DD7C: 68 PLA C1/DD7D: C905 CMP #$05 C1/DD7F: B028 BCS $DDA9 C1/DD81: A5E0 LDA $E0 C1/DD83: 300C BMI $DD91 C1/DD85: BD10E0 LDA $E010,X C1/DD88: 301C BMI $DDA6 C1/DD8A: F009 BEQ $DD95 C1/DD8C: 4A LSR A C1/DD8D: B00D BCS $DD9C C1/DD8F: 9012 BCC $DDA3 C1/DD91: 2960 AND #$60 C1/DD93: D003 BNE $DD98 C1/DD95: 82EF00 BRL $DE87 C1/DD98: C920 CMP #$20 C1/DD9A: D003 BNE $DD9F C1/DD9C: 82CA00 BRL $DE69 C1/DD9F: C940 CMP #$40 C1/DDA1: D003 BNE $DDA6 C1/DDA3: 820901 BRL $DEAF C1/DDA6: 822401 BRL $DECD C1/DDA9: 827B00 BRL $DE27 C1/DDAC: 2902 AND #$02 C1/DDAE: D004 BNE $DDB4 C1/DDB0: A928 LDA #$28 C1/DDB2: 8002 BRA $DDB6 C1/DDB4: A9A8 LDA #$A8 C1/DDB6: 8D0FE0 STA $E00F C1/DDB9: 8D0FE2 STA $E20F C1/DDBC: 8D0FE4 STA $E40F C1/DDBF: A5D5 LDA $D5 C1/DDC1: F02A BEQ $DDED C1/DDC3: C902 CMP #$02 C1/DDC5: F013 BEQ $DDDA C1/DDC7: A982 LDA #$82 C1/DDC9: 8D06E2 STA $E206 C1/DDCC: 8D06E0 STA $E006 C1/DDCF: A908 LDA #$08 C1/DDD1: 8D0AE0 STA $E00A C1/DDD4: A912 LDA #$12 C1/DDD6: 8D0AE2 STA $E20A C1/DDD9: 60 RTS C1/DDDA: A982 LDA #$82 C1/DDDC: 8D06E4 STA $E406 C1/DDDF: 8D06E0 STA $E006 C1/DDE2: A908 LDA #$08 C1/DDE4: 8D0AE0 STA $E00A C1/DDE7: A912 LDA #$12 C1/DDE9: 8D0AE4 STA $E40A C1/DDEC: 60 RTS C1/DDED: A982 LDA #$82 C1/DDEF: 8D06E2 STA $E206 C1/DDF2: 8D06E4 STA $E406 C1/DDF5: A908 LDA #$08 C1/DDF7: 8D0AE4 STA $E40A C1/DDFA: A912 LDA #$12 C1/DDFC: 8D0AE2 STA $E20A C1/DDFF: 60 RTS C1/DE00: C210 REP #$10 C1/DE02: A20000 LDX #$0000 C1/DE05: 2011DE JSR $DE11 C1/DE08: A20002 LDX #$0200 C1/DE0B: 2011DE JSR $DE11 C1/DE0E: A20004 LDX #$0400 C1/DE11: E220 SEP #$20 C1/DE13: BD00E0 LDA $E000,X C1/DE16: F00E BEQ $DE26 C1/DE18: 300C BMI $DE26 C1/DE1A: BD2CE0 LDA $E02C,X C1/DE1D: D007 BNE $DE26 C1/DE1F: BD80E1 LDA $E180,X C1/DE22: 222000C1 JSR $C10020 C1/DE26: 60 RTS C1/DE27: C210 REP #$10 C1/DE29: A00082 LDY #$8200 C1/DE2C: C90B CMP #$0B C1/DE2E: F01F BEQ $DE4F C1/DE30: A00002 LDY #$0200 C1/DE33: C90C CMP #$0C C1/DE35: F018 BEQ $DE4F C1/DE37: A08202 LDY #$0282 C1/DE3A: C90D CMP #$0D C1/DE3C: F011 BEQ $DE4F C1/DE3E: A00282 LDY #$8202 C1/DE41: C90E CMP #$0E C1/DE43: F00A BEQ $DE4F C1/DE45: A00202 LDY #$0202 C1/DE48: C90F CMP #$0F C1/DE4A: F003 BEQ $DE4F C1/DE4C: A08282 LDY #$8282 C1/DE4F: C220 REP #$20 C1/DE51: 98 TYA C1/DE52: 8D06E0 STA $E006 C1/DE55: 8D06E2 STA $E206 C1/DE58: 8D06E4 STA $E406 C1/DE5B: E220 SEP #$20 C1/DE5D: A90C LDA #$0C C1/DE5F: 8D0AE0 STA $E00A C1/DE62: 8D0AE2 STA $E20A C1/DE65: 8D0AE4 STA $E40A C1/DE68: 60 RTS C1/DE69: C210 REP #$10 C1/DE6B: A6D4 LDX $D4 C1/DE6D: BD0BE0 LDA $E00B,X C1/DE70: 0A ASL A C1/DE71: C220 REP #$20 C1/DE73: A5AA LDA $AA C1/DE75: 9002 BCC $DE79 C1/DE77: A5AE LDA $AE C1/DE79: 8D04E0 STA $E004 C1/DE7C: 8D04E2 STA $E204 C1/DE7F: 8D04E4 STA $E404 C1/DE82: A90002 LDA #$0200 C1/DE85: 806C BRA $DEF3 C1/DE87: C210 REP #$10 C1/DE89: A6D4 LDX $D4 C1/DE8B: BD0BE0 LDA $E00B,X C1/DE8E: 0A ASL A C1/DE8F: C220 REP #$20 C1/DE91: A5AA LDA $AA C1/DE93: 9002 BCC $DE97 C1/DE95: A5AE LDA $AE C1/DE97: 18 CLC C1/DE98: 69E000 ADC #$00E0 C1/DE9B: C5C2 CMP $C2 C1/DE9D: 9002 BCC $DEA1 C1/DE9F: E5C2 SBC $C2 C1/DEA1: 8D04E0 STA $E004 C1/DEA4: 8D04E2 STA $E204 C1/DEA7: 8D04E4 STA $E404 C1/DEAA: A90082 LDA #$8200 C1/DEAD: 8044 BRA $DEF3 C1/DEAF: C210 REP #$10 C1/DEB1: A6D4 LDX $D4 C1/DEB3: BD0BE0 LDA $E00B,X C1/DEB6: 0A ASL A C1/DEB7: C220 REP #$20 C1/DEB9: A5A8 LDA $A8 C1/DEBB: 9002 BCC $DEBF C1/DEBD: A5AC LDA $AC C1/DEBF: 8D02E0 STA $E002 C1/DEC2: 8D02E2 STA $E202 C1/DEC5: 8D02E4 STA $E402 C1/DEC8: A90200 LDA #$0002 C1/DECB: 8026 BRA $DEF3 C1/DECD: C210 REP #$10 C1/DECF: A6D4 LDX $D4 C1/DED1: BD0BE0 LDA $E00B,X C1/DED4: 0A ASL A C1/DED5: C220 REP #$20 C1/DED7: A5A8 LDA $A8 C1/DED9: 9002 BCC $DEDD C1/DEDB: A5AC LDA $AC C1/DEDD: 18 CLC C1/DEDE: 690001 ADC #$0100 C1/DEE1: C5C0 CMP $C0 C1/DEE3: 9002 BCC $DEE7 C1/DEE5: E5C0 SBC $C0 C1/DEE7: 8D02E0 STA $E002 C1/DEEA: 8D02E2 STA $E202 C1/DEED: 8D02E4 STA $E402 C1/DEF0: A98200 LDA #$0082 C1/DEF3: 8D06E0 STA $E006 C1/DEF6: 8D06E2 STA $E206 C1/DEF9: 8D06E4 STA $E406 C1/DEFC: E220 SEP #$20 C1/DEFE: A924 LDA #$24 C1/DF00: 8D0AE0 STA $E00A C1/DF03: 8D0AE2 STA $E20A C1/DF06: 8D0AE4 STA $E40A C1/DF09: 60 RTS C1/DF0A: 24D9 BIT $D9 C1/DF0C: D00B BNE $DF19 C1/DF0E: 24DA BIT $DA C1/DF10: D00A BNE $DF1C C1/DF12: 24DB BIT $DB C1/DF14: D009 BNE $DF1F C1/DF16: A900 LDA #$00 C1/DF18: 60 RTS C1/DF19: A901 LDA #$01 C1/DF1B: 60 RTS C1/DF1C: A902 LDA #$02 C1/DF1E: 60 RTS C1/DF1F: A904 LDA #$04 C1/DF21: 60 RTS C1/DF22: 2037DF JSR $DF37 C1/DF25: 6B RTL C1/DF26: C210 REP #$10 C1/DF28: A20000 LDX #$0000 C1/DF2B: 2037DF JSR $DF37 C1/DF2E: A20002 LDX #$0200 C1/DF31: 2037DF JSR $DF37 C1/DF34: A20004 LDX #$0400 C1/DF37: C230 REP #$30 C1/DF39: BD02E0 LDA $E002,X C1/DF3C: 4A LSR A C1/DF3D: 4A LSR A C1/DF3E: 4A LSR A C1/DF3F: 4A LSR A C1/DF40: 8500 STA $00 C1/DF42: BD04E0 LDA $E004,X C1/DF45: 29F00F AND #$0FF0 C1/DF48: 0A ASL A C1/DF49: 0A ASL A C1/DF4A: 0A ASL A C1/DF4B: 0500 ORA $00 C1/DF4D: A8 TAY C1/DF4E: E220 SEP #$20 C1/DF50: A97F LDA #$7F C1/DF52: 8506 STA $06 C1/DF54: 8509 STA $09 C1/DF56: BD0BE0 LDA $E00B,X C1/DF59: 0A ASL A C1/DF5A: C220 REP #$20 C1/DF5C: 900C BCC $DF6A C1/DF5E: A90040 LDA #$4000 C1/DF61: 8504 STA $04 C1/DF63: A900BC LDA #$BC00 C1/DF66: 8507 STA $07 C1/DF68: 800A BRA $DF74 C1/DF6A: A90000 LDA #$0000 C1/DF6D: 8504 STA $04 C1/DF6F: A900B8 LDA #$B800 C1/DF72: 8507 STA $07 C1/DF74: B704 LDA [$04],Y C1/DF76: 8500 STA $00 C1/DF78: 29FF00 AND #$00FF C1/DF7B: 0A ASL A C1/DF7C: 0A ASL A C1/DF7D: A8 TAY C1/DF7E: B707 LDA [$07],Y C1/DF80: E220 SEP #$20 C1/DF82: 2903 AND #$03 C1/DF84: 1D0BE0 ORA $E00B,X C1/DF87: 9D0BE0 STA $E00B,X C1/DF8A: EB XBA C1/DF8B: 2907 AND #$07 C1/DF8D: 9D8EE0 STA $E08E,X C1/DF90: A500 LDA $00 C1/DF92: 9D4CE0 STA $E04C,X C1/DF95: 60 RTS C1/DF96: C230 REP #$30 C1/DF98: A92200 LDA #$0022 C1/DF9B: A498 LDY $98 C1/DF9D: F003 BEQ $DFA2 C1/DF9F: 498000 EOR #$0080 C1/DFA2: 8DF8E0 STA $E0F8 C1/DFA5: 18 CLC C1/DFA6: 692000 ADC #$0020 C1/DFA9: 8DF8E2 STA $E2F8 C1/DFAC: 18 CLC C1/DFAD: 692000 ADC #$0020 C1/DFB0: 8DF8E4 STA $E4F8 C1/DFB3: A90200 LDA #$0002 C1/DFB6: A498 LDY $98 C1/DFB8: F003 BEQ $DFBD C1/DFBA: 498000 EOR #$0080 C1/DFBD: 8DFAE0 STA $E0FA C1/DFC0: 18 CLC C1/DFC1: 690A00 ADC #$000A C1/DFC4: 8DFAE2 STA $E2FA C1/DFC7: 18 CLC C1/DFC8: 690A00 ADC #$000A C1/DFCB: 8DFAE4 STA $E4FA C1/DFCE: 60 RTS C1/DFCF: 20D3DF JSR $DFD3 C1/DFD2: 6B RTL [Animation/movement behavior/AI preparation] C1/DFD3: C220 REP #$20 C1/DFD5: 5A PHY C1/DFD6: A90800 LDA #$0008 C1/DFD9: 8500 STA $00 C1/DFDB: BD80E1 LDA $E180,X [Load Character Type] C1/DFDE: 29FF00 AND #$00FF [Dump the second byte {Level}] C1/DFE1: 0A ASL A [Multiply by 2] C1/DFE2: 0A ASL A [Again, by 2] C1/DFE3: 0A ASL A [Yet again, by 2] C1/DFE4: 0A ASL A [Finally, by 2] C1/DFE5: DA PHX [Push X/Character Index onto Stack] C1/DFE6: 9B TXY [Transfer X to Y] C1/DFE7: AA TAX [Transfer accumulator to X. 00 = Rabite, 16 = Buzz Bee, 32 = Mushboom, etc.] C1/DFE8: - BF0000D0 LDA $D00000,X [Load first two bytes of table] C1/DFEC: 9970E0 STA $E070,Y [Store those in the AI line] C1/DFEF: E8 INX [Increment X] C1/DFF0: E8 INX [Again, X] C1/DFF1: C8 INY [Increment Y] C1/DFF2: C8 INY [Again, Y] C1/DFF3: C600 DEC $00 [Decrement $00] C1/DFF5: D0F1 - BNE $DFE8 [Loop back if $00 != #$00 yet] C1/DFF7: FA PLX [Pull X/Character Index off of Stack] C1/DFF8: BD77E0 LDA $E077,X [No idea] C1/DFFB: 9D65E0 STA $E065,X [Mirror of...that thing, eh?] C1/DFFE: BD70E0 LDA $E070,X [Load this crap to determine the Sprite Pointer Index] C1/E001: 29FF03 AND #$03FF [Logical AND for #$03FF (1023), eh?] C1/E004: 0A ASL A C1/E005: 0A ASL A C1/E006: 0A ASL A C1/E007: 0A ASL A C1/E008: 0A ASL A C1/E009: 0A ASL A C1/E00A: 9D80E0 STA $E080,X [Not sure how this is working, honest.] C1/E00D: E220 SEP #$20 [8-bit emulation mode enabled] C1/E00F: BD71E0 LDA $E071,X [Load...that byte] C1/E012: 4A LSR A [Multiply by 2] C1/E013: 4A LSR A [Again, by 2] C1/E014: 2907 AND #$07 [Logical AND with #%00000111] C1/E016: 18 CLC [Clear Carry] C1/E017: 69D5 ADC #$D5 [Add #$D5] C1/E019: 9D82E0 STA $E082,X [Store into Bank Byte of Character Sprite Pointer] C1/E01C: 7A PLY C1/E01D: 60 RTS C1/E01E: 2022E0 JSR $E022 C1/E021: 6B RTL C1/E022: E220 SEP #$20 C1/E024: 5A PHY C1/E025: E00006 CPX #$0600 C1/E028: B010 BCS $E03A C1/E02A: BD91E1 LDA $E191,X C1/E02D: 8920 BIT #$20 C1/E02F: F009 BEQ $E03A C1/E031: DA PHX C1/E032: 68 PLA C1/E033: 68 PLA C1/E034: 4A LSR A C1/E035: 18 CLC C1/E036: 69E7 ADC #$E7 C1/E038: 8006 BRA $E040 C1/E03A: BD80E1 LDA $E180,X [Load Character Type] C1/E03D: 9E00E1 STZ $E100,X [0 out flashing thingy] C1/E040: 8F024200 STA $004202 C1/E044: A91E LDA #$1E C1/E046: 8F034200 STA $004203 C1/E04A: BCF8E0 LDY $E0F8,X C1/E04D: C220 REP #$20 C1/E04F: A90F00 LDA #$000F C1/E052: 8500 STA $00 C1/E054: DA PHX C1/E055: AF164200 LDA $004216 C1/E059: AA TAX C1/E05A: BF0010C8 LDA $C81000,X [Well, THIS is definitely a table] C1/E05E: 990007 STA $0700,Y C1/E061: 9900DF STA $DF00,Y C1/E064: C8 INY C1/E065: C8 INY C1/E066: E8 INX C1/E067: E8 INX C1/E068: C600 DEC $00 C1/E06A: D0EE BNE $E05A C1/E06C: FA PLX C1/E06D: 7A PLY C1/E06E: 60 RTS [Something to do with character sprite frames] C1/E06F: 2022E0 JSR $E022 C1/E072: 20D3DF JSR $DFD3 C1/E075: 22E8A202 JSR $02A2E8 C1/E079: E220 SEP #$20 C1/E07B: 9E2FE0 STZ $E02F,X C1/E07E: 9E9BE1 STZ $E19B,X C1/E081: A5E0 LDA $E0 C1/E083: 100F BPL $E094 C1/E085: 0A ASL A C1/E086: 0A ASL A C1/E087: 2A ROL A C1/E088: 2A ROL A C1/E089: 2903 AND #$03 C1/E08B: C903 CMP #$03 C1/E08D: D002 BNE $E091 C1/E08F: A982 LDA #$82 C1/E091: 9D10E0 STA $E010,X C1/E094: E220 SEP #$20 C1/E096: A901 LDA #$01 C1/E098: 9D83E0 STA $E083,X C1/E09B: A9D2 LDA #$D2 [Load Sprite Frame Bank Byte] C1/E09D: 9D33E0 STA $E033,X [Store Here] C1/E0A0: A5BF LDA $BF C1/E0A2: 24E8 BIT $E8 C1/E0A4: 1003 BPL $E0A9 C1/E0A6: AD0ACD LDA $CD0A C1/E0A9: 2980 AND #$80 C1/E0AB: 9D0BE0 STA $E00B,X C1/E0AE: 0A ASL A C1/E0AF: C220 REP #$20 C1/E0B1: A5A8 LDA $A8 C1/E0B3: A4AA LDY $AA C1/E0B5: 9004 BCC $E0BB C1/E0B7: A5AC LDA $AC C1/E0B9: A4AE LDY $AE C1/E0BB: 18 CLC C1/E0BC: 698000 ADC #$0080 C1/E0BF: C5C0 CMP $C0 C1/E0C1: 9002 BCC $E0C5 C1/E0C3: E5C0 SBC $C0 C1/E0C5: 9D02E0 STA $E002,X C1/E0C8: 98 TYA C1/E0C9: 18 CLC C1/E0CA: 697200 ADC #$0072 C1/E0CD: C5C2 CMP $C2 C1/E0CF: 9002 BCC $E0D3 C1/E0D1: E5C2 SBC $C2 C1/E0D3: 9D04E0 STA $E004,X C1/E0D6: 60 RTS C1/E0D7: 2004E1 JSR $E104 C1/E0DA: 6B RTL C1/E0DB: 20FEE2 JSR $E2FE C1/E0DE: E220 SEP #$20 C1/E0E0: 8B PHB C1/E0E1: A900 LDA #$00 C1/E0E3: 48 PHA C1/E0E4: AB PLB C1/E0E5: 20F9E0 JSR $E0F9 C1/E0E8: 20E5E2 JSR $E2E5 C1/E0EB: 2013E1 JSR $E113 C1/E0EE: 20F9E0 JSR $E0F9 C1/E0F1: 2039E3 JSR $E339 C1/E0F4: 20B6E6 JSR $E6B6 C1/E0F7: AB PLB C1/E0F8: 60 RTS C1/E0F9: E220 SEP #$20 C1/E0FB: A902 LDA #$02 C1/E0FD: 85EC STA $EC C1/E0FF: 24EC BIT $EC C1/E101: D0FC BNE $E0FF C1/E103: 60 RTS C1/E104: 20FEE2 JSR $E2FE C1/E107: 20E5E2 JSR $E2E5 C1/E10A: 2013E1 JSR $E113 [Display Status Bar?] C1/E10D: 2039E3 JSR $E339 C1/E110: 4CB6E6 JMP $E6B6 [Status Bar display stuff. Ridiculously convoluted jump networks.] C1/E113: E220 SEP #$20 [8-bit emulation mode enabled] C1/E115: AF00CF7E LDA $7ECF00 [Load this flag. It determines if your status bar loads right/at all] C1/E119: D001 BNE $E11C [Branch ahead if it's nonzero] C1/E11B: 60 RTS [Go home] C1/E11C: C210 REP #$10 [8-bit index registers disabled] C1/E11E: AF00E07E LDA $7EE000 [Load Boy's Master Activation Byte] C1/E122: 3002 + BMI $E126 [Branch ahead if not negative] C1/E124: D011 +1 BNE $E137 C1/E126: + AF00E27E LDA $7EE200 C1/E12A: 3002 + BMI $E12E C1/E12C: D026 +2 BNE $E154 C1/E12E: + AF00E47E LDA $7EE400 C1/E132: 3002 + BMI $E136 C1/E134: D044 +3 BNE $E17A C1/E136: + 60 RTS C1/E137: ++ AF00E27E LDA $7EE200 C1/E13B: 3002 + BMI $E13F C1/E13D: D00A ++ BNE $E149 C1/E13F: + AF00E47E LDA $7EE400 C1/E143: 3019 + BMI $E15E C1/E145: D068 +! BNE $E1AF C1/E147: F015 + BEQ $E15E C1/E149: ++ AF00E47E LDA $7EE400 C1/E14D: 303D ++ BMI $E18C C1/E14F: F03B ++ BEQ $E18C C1/E151: 82A100 BRL $E1F5 C1/E154: +! AF00E47E LDA $7EE400 C1/E158: 3012 BMI $E16C C1/E15A: D076 BNE $E1D2 C1/E15C: F00E BEQ $E16C C1/E15E: + A94D LDA #$4D C1/E160: 8D550A STA $0A55 C1/E163: AF2CE07E LDA $7EE02C C1/E167: A02400 LDY #$0024 C1/E16A: 801A BRA $E186 C1/E16C: A94D LDA #$4D C1/E16E: 8D650A STA $0A65 C1/E171: AF2CE27E LDA $7EE22C C1/E175: A02800 LDY #$0028 C1/E178: 800C BRA $E186 C1/E17A: +@ A94D LDA #$4D C1/E17C: 8D750A STA $0A75 C1/E17F: AF2CE47E LDA $7EE42C C1/E183: A02C00 LDY #$002C C1/E186: A22B5B LDX #$5B2B C1/E189: 829C00 BRL $E228 C1/E18C: A948 LDA #$48 C1/E18E: 8D550A STA $0A55 C1/E191: A952 LDA #$52 C1/E193: 8D650A STA $0A65 C1/E196: AF2CE07E LDA $7EE02C C1/E19A: A2265B LDX #$5B26 C1/E19D: A02400 LDY #$0024 C1/E1A0: 2028E2 JSR $E228 C1/E1A3: AF2CE27E LDA $7EE22C C1/E1A7: A2305B LDX #$5B30 C1/E1AA: A02800 LDY #$0028 C1/E1AD: 8079 BRA $E228 C1/E1AF: A948 LDA #$48 C1/E1B1: 8D550A STA $0A55 C1/E1B4: A952 LDA #$52 C1/E1B6: 8D750A STA $0A75 C1/E1B9: AF2CE07E LDA $7EE02C C1/E1BD: A2265B LDX #$5B26 C1/E1C0: A02400 LDY #$0024 C1/E1C3: 2028E2 JSR $E228 C1/E1C6: AF2CE47E LDA $7EE42C C1/E1CA: A2305B LDX #$5B30 C1/E1CD: A02C00 LDY #$002C C1/E1D0: 8056 BRA $E228 C1/E1D2: A948 LDA #$48 C1/E1D4: 8D650A STA $0A65 C1/E1D7: A952 LDA #$52 C1/E1D9: 8D750A STA $0A75 C1/E1DC: AF2CE27E LDA $7EE22C C1/E1E0: A2265B LDX #$5B26 C1/E1E3: A02800 LDY #$0028 C1/E1E6: 2028E2 JSR $E228 C1/E1E9: AF2CE47E LDA $7EE42C C1/E1ED: A2305B LDX #$5B30 C1/E1F0: A02C00 LDY #$002C C1/E1F3: 8033 BRA $E228 C1/E1F5: A943 LDA #$43 C1/E1F7: 8D550A STA $0A55 C1/E1FA: A94D LDA #$4D C1/E1FC: 8D650A STA $0A65 C1/E1FF: A957 LDA #$57 C1/E201: 8D750A STA $0A75 C1/E204: AF2CE07E LDA $7EE02C C1/E208: A2215B LDX #$5B21 C1/E20B: A02400 LDY #$0024 C1/E20E: 2028E2 JSR $E228 C1/E211: AF2CE27E LDA $7EE22C C1/E215: A22B5B LDX #$5B2B C1/E218: A02800 LDY #$0028 C1/E21B: 2028E2 JSR $E228 C1/E21E: AF2CE47E LDA $7EE42C C1/E222: A2355B LDX #$5B35 C1/E225: A02C00 LDY #$002C C1/E228: 48 PHA C1/E229: 8600 STX $00 C1/E22B: 8E1621 STX $2116 C1/E22E: A980 LDA #$80 C1/E230: 8D1521 STA $2115 [Store into Video Port Control] C1/E233: C220 REP #$20 C1/E235: A20000 LDX #$0000 [Loop #1] C1/E238: - BF307ED2 LDA $D27E30,X C1/E23C: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E23F: E8 INX C1/E240: E8 INX C1/E241: E01400 CPX #$0014 C1/E244: 90F2 - BCC $E238 C1/E246: A500 LDA $00 C1/E248: 18 CLC C1/E249: 692000 ADC #$0020 C1/E24C: 8D1621 STA $2116 [VRAM Address Low Byte] [Loop #2] C1/E24F: - BF307ED2 LDA $D27E30,X [Graphics table in Bank $12?] C1/E253: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E256: E8 INX C1/E257: E8 INX C1/E258: E02800 CPX #$0028 C1/E25B: 90F2 - BCC $E24F C1/E25D: A500 LDA $00 C1/E25F: 18 CLC C1/E260: 694000 ADC #$0040 C1/E263: 8D1621 STA $2116 [VRAM Address Low Byte] [Loop #3] C1/E266: - BF307ED2 LDA $D27E30,X C1/E26A: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E26D: E8 INX C1/E26E: E8 INX C1/E26F: E03C00 CPX #$003C C1/E272: 90F2 - BCC $E266 C1/E274: E220 SEP #$20 C1/E276: A600 LDX $00 C1/E278: E8 INX C1/E279: 8E1621 STX $2116 C1/E27C: 68 PLA C1/E27D: F012 BEQ $E291 C1/E27F: 4A LSR A C1/E280: B007 BCS $E289 C1/E282: 4A LSR A C1/E283: B008 BCS $E28D C1/E285: A923 LDA #$23 C1/E287: 800A BRA $E293 C1/E289: A921 LDA #$21 C1/E28B: 8006 BRA $E293 C1/E28D: A922 LDA #$22 C1/E28F: 8002 BRA $E293 C1/E291: A916 LDA #$16 C1/E293: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E296: C220 REP #$20 C1/E298: A500 LDA $00 C1/E29A: 18 CLC C1/E29B: 692400 ADC #$0024 C1/E29E: 8D1621 STA $2116 C1/E2A1: 98 TYA C1/E2A2: E220 SEP #$20 C1/E2A4: 24B8 BIT $B8 C1/E2A6: 3002 BMI $E2AA C1/E2A8: 5002 BVC $E2AC C1/E2AA: A924 LDA #$24 C1/E2AC: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/E2AF: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/E2B2: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/E2B5: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/E2B8: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/E2BB: 60 RTS [Checks things for each player character] C1/E2BC: E220 SEP #$20 [8-bit emulation mode enabled] C1/E2BE: C210 REP #$10 [8-bit index registers mode disabled] C1/E2C0: 8B PHB [Push bank onto Stack] C1/E2C1: A97E LDA #$7E [Load #$7E into accumulator] C1/E2C3: 48 PHA [Push accumulator onto Stack] C1/E2C4: AB PLB [Pull bank from Stack] C1/E2C5: A20000 LDX #$0000 [Load #$0000 into X register] C1/E2C8: - BD00E0 LDA $E000,X [Load Character Master Activate Byte] C1/E2CB: F00A + BEQ $E2D7 [Branch ahead if it's zero] C1/E2CD: 3008 + BMI $E2D7 [Branch ahead if it's negative] C1/E2CF: BD2CE0 LDA $E02C,X [Load This Thing] C1/E2D2: D003 + BNE $E2D7 [Branch ahead if nonzero] C1/E2D4: 20E5E2 JSR $E2E5 C1/E2D7: + C220 REP #$20 [8-bit emulation mode disabled] C1/E2D9: 8A TXA [Transfer X to accumulator] C1/E2DA: 18 CLC [Clear Carry] C1/E2DB: 690002 ADC #$0200 [Add #$0200 for next character] C1/E2DE: C90006 CMP #$0600 [Compare with #$0600] C1/E2E1: 90E5 - BCC $E2C8 [Loop back if current index < #$0600] C1/E2E3: AB PLB [Pull bank from Stack] C1/E2E4: 60 RTS [Go home] C1/E2E5: E220 SEP #$20 C1/E2E7: A980 LDA #$80 C1/E2E9: 8D1521 STA $2115 [Store into Video Port Control] C1/E2EC: C230 REP #$30 C1/E2EE: A9205B LDA #$5B20 C1/E2F1: 8D1621 STA $2116 C1/E2F4: A06000 LDY #$0060 C1/E2F7: 9C1821 STZ $2118 C1/E2FA: 88 DEY C1/E2FB: D0FA BNE $E2F7 C1/E2FD: 60 RTS C1/E2FE: E210 SEP #$10 C1/E300: C220 REP #$20 C1/E302: A22E LDX #$2E C1/E304: A90000 LDA #$0000 C1/E307: 9D500A STA $0A50,X C1/E30A: CA DEX C1/E30B: 10FA BPL $E307 C1/E30D: E220 SEP #$20 C1/E30F: A917 LDA #$17 C1/E311: 8D560A STA $0A56 C1/E314: 8D660A STA $0A66 C1/E317: 8D760A STA $0A76 C1/E31A: A928 LDA #$28 C1/E31C: 8D570A STA $0A57 C1/E31F: 8D670A STA $0A67 C1/E322: 8D770A STA $0A77 C1/E325: 60 RTS [Called by Command 35?] C1/E326: E220 SEP #$20 C1/E328: 8B PHB C1/E329: A900 LDA #$00 C1/E32B: 48 PHA C1/E32C: AB PLB C1/E32D: 20F9E0 JSR $E0F9 C1/E330: 2039E3 JSR $E339 C1/E333: AB PLB C1/E334: 60 RTS C1/E335: 2039E3 JSR $E339 C1/E338: 6B RTL C1/E339: E220 SEP #$20 [8-bit emulation mode enabled] C1/E33B: AF00CF7E LDA $7ECF00 [Status Bar Display Flag] C1/E33F: D001 + BNE $E342 C1/E341: 60 RTS [Go home] C1/E342: + C210 REP #$10 C1/E344: 9C1521 STZ $2115 C1/E347: AD550A LDA $0A55 C1/E34A: F006 BEQ $E352 C1/E34C: A20000 LDX #$0000 C1/E34F: 2069E3 JSR $E369 C1/E352: AD650A LDA $0A65 C1/E355: F006 BEQ $E35D C1/E357: A20002 LDX #$0200 C1/E35A: 2069E3 JSR $E369 C1/E35D: AD750A LDA $0A75 C1/E360: F006 BEQ $E368 C1/E362: A20004 LDX #$0400 C1/E365: 2069E3 JSR $E369 C1/E368: 60 RTS C1/E369: C220 REP #$20 C1/E36B: 6408 STZ $08 C1/E36D: 29FF00 AND #$00FF C1/E370: 09005B ORA #$5B00 C1/E373: 38 SEC C1/E374: E92000 SBC #$0020 C1/E377: 8D1621 STA $2116 C1/E37A: BF82E17E LDA $7EE182,X [Load Current HP] C1/E37E: 2090E3 JSR $E390 C1/E381: A9128D LDA #$8D12 C1/E384: 18 CLC C1/E385: 21C6 AND ($C6,X) C1/E387: 08 PHP C1/E388: 6409 STZ $09 C1/E38A: C220 REP #$20 C1/E38C: BF84E17E LDA $7EE184,X [Load Max HP] [Weird subsection] C1/E390: A8 TAY C1/E391: E220 SEP #$20 C1/E393: 20FAE3 JSR $E3FA C1/E396: 8501 STA $01 C1/E398: 6400 STZ $00 C1/E39A: AC1442 LDY $4214 C1/E39D: 20FAE3 JSR $E3FA C1/E3A0: 8502 STA $02 C1/E3A2: AD1442 LDA $4214 C1/E3A5: D00F BNE $E3B6 C1/E3A7: 2408 BIT $08 C1/E3A9: 1004 BPL $E3AF C1/E3AB: E609 INC $09 C1/E3AD: 800F BRA $E3BE C1/E3AF: A913 LDA #$13 C1/E3B1: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3B4: 8008 BRA $E3BE C1/E3B6: 18 CLC C1/E3B7: 6908 ADC #$08 C1/E3B9: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3BC: C600 DEC $00 C1/E3BE: A502 LDA $02 C1/E3C0: D013 BNE $E3D5 C1/E3C2: 2400 BIT $00 C1/E3C4: 300F BMI $E3D5 C1/E3C6: 2408 BIT $08 C1/E3C8: 1004 BPL $E3CE C1/E3CA: E609 INC $09 C1/E3CC: 800F BRA $E3DD C1/E3CE: A913 LDA #$13 C1/E3D0: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3D3: 8008 BRA $E3DD C1/E3D5: 18 CLC C1/E3D6: 6908 ADC #$08 C1/E3D8: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3DB: C600 DEC $00 C1/E3DD: A501 LDA $01 C1/E3DF: 18 CLC C1/E3E0: 6908 ADC #$08 C1/E3E2: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3E5: 2408 BIT $08 C1/E3E7: 1010 BPL $E3F9 C1/E3E9: A913 LDA #$13 C1/E3EB: C609 DEC $09 C1/E3ED: 300A BMI $E3F9 C1/E3EF: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3F2: C609 DEC $09 C1/E3F4: 3003 BMI $E3F9 C1/E3F6: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/E3F9: 60 RTS C1/E3FA: 8C0442 STY $4204 C1/E3FD: A90A LDA #$0A C1/E3FF: 8D0642 STA $4206 C1/E402: EA NOP C1/E403: EA NOP C1/E404: EA NOP C1/E405: EA NOP C1/E406: EA NOP C1/E407: EA NOP C1/E408: EA NOP C1/E409: EA NOP C1/E40A: AD1642 LDA $4216 C1/E40D: 60 RTS [Hrm] C1/E40E: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/E410: 8B PHB [Push Bank] C1/E411: A97E LDA #$7E [Load #$7E] C1/E413: 48 PHA [Push Accumulator] C1/E414: AB PLB [Pull Bank] C1/E415: 20CCE4 JSR $E4CC [Find nearest enemy...thingy] C1/E418: 8F024200 STA $004202 [Store into Multiplicand A] C1/E41C: A990 LDA #$90 [Load #$90] C1/E41E: 8F034200 STA $004203 [Store into Multiplicand B] C1/E422: BD9BE1 LDA $E19B,X [Load User Accumulation Level] C1/E425: 0A ASL A [Shift Left] C1/E426: 0A ASL A [Shift Left] C1/E427: 0A ASL A [Shift Left] C1/E428: 0A ASL A [Shift Left] C1/E429: 8500 STA $00 [Store into Temp] C1/E42B: 6401 STZ $01 [Store Zero into $01] C1/E42D: B900E0 LDA $E000,Y [Load Target Activation Byte] C1/E430: F02A + BEQ $E45C C1/E432: 3028 + BMI $E45C C1/E434: B990E1 LDA $E190,Y [Load Target Status Effects[Low]] C1/E437: 8901 BIT #$01 [Check for Nothing 3] {What the devil} C1/E439: F004 ++ BEQ $E43F [Branch ahead if not present] C1/E43B: A901 LDA #$01 [Otherwise, load #$01] C1/E43D: 800E +! BRA $E44D [Branch ahead with that value] C1/E43F: ++ 8902 BIT #$02 [Else, check for Nothing 2] {Huh} C1/E441: F004 ++ BEQ $E447 [Branch ahead if not present] C1/E443: A902 LDA #$02 [Otherwise, load #$02] C1/E445: 8006 BRA $E44D [Branch ahead with that value] C1/E447: ++ 8910 BIT #$10 [Else, check for Unconscious] C1/E449: F008 ++ BEQ $E453 [Branch further ahead if that isn't present] C1/E44B: A903 LDA #$03 [Otherwise, load #$03] C1/E44D: +! 0A ASL A [Multiply by 2] C1/E44E: 0A ASL A [Again, by 2] C1/E44F: 0500 ORA $00 [Add whatever bits are currently in $00] C1/E451: 8500 STA $00 [Store back into $00] C1/E453: ++ B9B1E1 LDA $E1B1,Y [Load Enemy death style?] C1/E456: 2902 AND #$02 [Logical AND it with $%00000010] C1/E458: 0500 ORA $00 [Add the #$02 flag to $00 if it survived] C1/E45A: 8500 STA $00 [Store back into $00] C1/E45C: + A5F4 LDA $F4 C1/E45E: 2901 AND #$01 C1/E460: 0500 ORA $00 C1/E462: 8500 STA $00 C1/E464: C220 REP #$20 C1/E466: 98 TYA C1/E467: 9D5EE0 STA $E05E,X C1/E46A: AF164200 LDA $004216 C1/E46E: 18 CLC C1/E46F: 6500 ADC $00 C1/E471: 9B TXY C1/E472: AA TAX C1/E473: E220 SEP #$20 C1/E475: C00006 CPY #$0600 C1/E478: 902D + BCC $E4A7 {NPC/Enemy Section} C1/E47A: B980E1 LDA $E180,Y [Load Character/Monster type, multiply it by #$20] C1/E47D: 8F024200 STA $004202 C1/E481: A920 LDA #$20 C1/E483: 8F034200 STA $004203 C1/E487: B9E4E1 LDA $E1E4,Y [What the hell is this, anyways? 00 for a rabite?] C1/E48A: 0A ASL A [Shift left 1 bit, likely for Carry] C1/E48B: BF4002D1 LDA $D10240,X C1/E48F: C220 REP #$20 C1/E491: 29FF00 AND #$00FF C1/E494: 9004 ++ BCC $E49A C1/E496: 18 CLC C1/E497: 691000 ADC #$0010 [Add #$10] C1/E49A: ++ 6F164200 ADC $004216 [Add Character/Monster type * 20] C1/E49E: AA TAX [Transfer Accumulator to X] C1/E49F: E220 SEP #$20 [Enable 8-Bit Emulation] C1/E4A1: BFC005D1 LDA $D105C0,X C1/E4A5: 8022 BRA $E4C9 {Player Section} C1/E4A7: + B968E0 LDA $E068,Y C1/E4AA: 8F024200 STA $004202 C1/E4AE: A928 LDA #$28 C1/E4B0: 8F034200 STA $004203 C1/E4B4: BF0000D1 LDA $D10000,X C1/E4B8: C220 REP #$20 C1/E4BA: 29FF00 AND #$00FF C1/E4BD: 18 CLC C1/E4BE: 6F164200 ADC $004216 C1/E4C2: AA TAX C1/E4C3: E220 SEP #$20 C1/E4C5: BF8004D1 LDA $D10480,X C1/E4C9: BB TYX C1/E4CA: AB PLB C1/E4CB: 6B RTL [Called just before AI is about to attack someone, it seems!] C1/E4CC: 904D + BCC $E51B C1/E4CE: BDACE1 LDA $E1AC,X [Load Current Target] C1/E4D1: C220 REP #$20 [Disable 8-Bit Emulation] C1/E4D3: EB XBA [Switch A and B] C1/E4D4: 29000F AND #$0F00 [Cut out all but the high byte] C1/E4D7: 0A ASL A [Multiply it by 2 to get a Player/NPC offset] C1/E4D8: A8 TAY [Transfer Accumulator to Y] C1/E4D9: E00006 CPX #$0600 [Is actor an Enemy?] C1/E4DC: B019 ++ BCS $E4F7 [Branch ahead if it is] [AI Players acting] C1/E4DE: E00000 CPX #$0000 [Is AI player the Boy?] C1/E4E1: D005 +! BNE $E4E8 [AI Boy Acting] C1/E4E3: B950E0 LDA $E050,Y [Load X/Y Distance from Enemy to Boy] C1/E4E6: 8026 BRA $E50E C1/E4E8: +! E00002 CPX #$0200 C1/E4EB: D005 +! BNE $E4F2 [AI Girl acting] C1/E4ED: B953E0 LDA $E053,Y C1/E4F0: 801C BRA $E50E [AI Sprite acting] C1/E4F2: +! B956E0 LDA $E056,Y C1/E4F5: 8017 BRA $E50E [Enemies acting] C1/E4F7: ++ C00000 CPY #$0000 C1/E4FA: D005 BNE $E501 [Target is Boy] C1/E4FC: BD50E0 LDA $E050,X C1/E4FF: 800D BRA $E50E C1/E501: C00002 CPY #$0200 C1/E504: D005 BNE $E50B [Target is Girl] C1/E506: BD53E0 LDA $E053,X C1/E509: 8003 BRA $E50E [Target is Sprite] C1/E50B: BD56E0 LDA $E056,X [] C1/E50E: E220 SEP #$20 C1/E510: 8500 STA $00 C1/E512: EB XBA C1/E513: C500 CMP $00 C1/E515: B001 BCS $E518 C1/E517: EB XBA C1/E518: 82F700 BRL $E612 [End up here if the attacker is under player control? How do enemies end up here?] C1/E51B: + E00006 CPX #$0600 [Is attacker an Enemy?] C1/E51E: 9003 + BCC $E523 [Branch ahead if isn't] {Verified} C1/E520: 828200 * BRL $E5A5 C1/E523: + A05000 LDY #$0050 [Load #$50 into Y] C1/E526: E00000 CPX #$0000 [Is attacker the Boy?] C1/E529: F00B + BEQ $E536 C1/E52B: A05300 LDY #$0053 C1/E52E: E00002 CPX #$0200 [Is attacker the Girl?] C1/E531: F003 + BEQ $E536 C1/E533: A05600 LDY #$0056 [Load #$56 into Accumulator, attacker must be the Sprite] [Work through enemies for attacker] C1/E536: + A9FD LDA #$FD C1/E538: 8500 STA $00 C1/E53A: AD00E6 LDA $E600 [Load Enemy 1 Master Activation Flag] C1/E53D: F00F + BEQ $E54E [Branch ahead if it's zero] C1/E53F: 300D + BMI $E54E [Branch ahead if bit #$80 is set] C1/E541: B900E6 LDA $E600,Y [Load Enemy 1 X distance from attacking PC] C1/E544: D901E6 CMP $E601,Y [Compare it with Enemy Y distance] C1/E547: B003 ++ BCS $E54C [Branch ahead if X distance > Y distance] C1/E549: B901E6 LDA $E601,Y [Load Enemy 1 Y distance into Accumulator] C1/E54C: ++ 8500 STA $00 [Store it (or X distance) into $00] C1/E54E: + A9FE LDA #$FE [Load #$FE into Accumulator] C1/E550: 8501 STA $01 [Store into $01] C1/E552: 245C BIT $5C C1/E554: 3014 + BMI $E56A C1/E556: AD00E8 LDA $E800 [Load Enemy 2 Master Activation Flag] C1/E559: F00F BEQ $E56A [Branch ahead if it's zero] C1/E55B: 300D BMI $E56A [Branch ahead if bit #$80 is set] C1/E55D: B900E8 LDA $E800,Y [Load Enemy 2 X distance from attacking PC] C1/E560: D901E8 CMP $E801,Y [Compare it with Enemy Y distance] C1/E563: B003 BCS $E568 [Branch ahead if X distance > Y distance] C1/E565: B901E8 LDA $E801,Y [Load Enemy 2 Y distance into Accumulator] C1/E568: 8501 STA $01 [Store it (or X distance) into $01] C1/E56A: + A9FF LDA #$FF C1/E56C: 8502 STA $02 C1/E56E: 245C BIT $5C C1/E570: 3014 + BMI $E586 C1/E572: AD00EA LDA $EA00 [Load Enemy 3 Master Activation Flag] C1/E575: F00F + BEQ $E586 [Branch ahead if it's zero] C1/E577: 300D + BMI $E586 [Branch ahead if bit #$80 is set] C1/E579: B900EA LDA $EA00,Y C1/E57C: D901EA CMP $EA01,Y C1/E57F: B003 ++ BCS $E584 C1/E581: B901EA LDA $EA01,Y C1/E584: ++ 8502 STA $02 C1/E586: + A500 LDA $00 [Load Enemy1TempDistance] C1/E588: C501 CMP $01 [Compare with Enemy2TempDistance] C1/E58A: 900B + BCC $E597 [Branch ahead if 1Temp < 2Temp] C1/E58C: A501 LDA $01 [Load Enemy2TempDistance] C1/E58E: C502 CMP $02 [Compare with Enemy3TempDistance] C1/E590: B009 ++ BCS $E59B [Branch ahead if 2Temp > Temp3] [Enemy 2 is nearest] C1/E592: A00008 LDY #$0800 C1/E595: 807B BRA $E612 C1/E597: + C502 CMP $02 C1/E599: 9005 BCC $E5A0 [Enemy 3 is nearest] C1/E59B: ++ A0000A LDY #$0A00 C1/E59E: 8072 BRA $E612 [Enemy 1 is nearest] C1/E5A0: A00006 LDY #$0600 C1/E5A3: 806D BRA $E612 C1/E5A5: * A9FD LDA #$FD C1/E5A7: 8500 STA $00 C1/E5A9: AD00E0 LDA $E000 C1/E5AC: F00F BEQ $E5BD C1/E5AE: 300D BMI $E5BD C1/E5B0: BD50E0 LDA $E050,X C1/E5B3: DD51E0 CMP $E051,X C1/E5B6: B003 BCS $E5BB C1/E5B8: BD51E0 LDA $E051,X C1/E5BB: 8500 STA $00 C1/E5BD: A9FE LDA #$FE C1/E5BF: 8501 STA $01 C1/E5C1: 245C BIT $5C C1/E5C3: 3014 BMI $E5D9 C1/E5C5: AD00E2 LDA $E200 C1/E5C8: F00F BEQ $E5D9 C1/E5CA: 300D BMI $E5D9 C1/E5CC: BD53E2 LDA $E253,X C1/E5CF: DD54E2 CMP $E254,X C1/E5D2: B003 BCS $E5D7 C1/E5D4: BD54E2 LDA $E254,X C1/E5D7: 8501 STA $01 C1/E5D9: A9FF LDA #$FF C1/E5DB: 8502 STA $02 C1/E5DD: 245C BIT $5C C1/E5DF: 3014 BMI $E5F5 C1/E5E1: AD00E4 LDA $E400 C1/E5E4: F00F BEQ $E5F5 C1/E5E6: 300D BMI $E5F5 C1/E5E8: BD56E4 LDA $E456,X C1/E5EB: DD57E4 CMP $E457,X C1/E5EE: B003 BCS $E5F3 C1/E5F0: BD57E4 LDA $E457,X C1/E5F3: 8502 STA $02 C1/E5F5: A500 LDA $00 C1/E5F7: C501 CMP $01 C1/E5F9: 900B BCC $E606 C1/E5FB: A501 LDA $01 C1/E5FD: C502 CMP $02 C1/E5FF: B009 BCS $E60A C1/E601: A00002 LDY #$0200 C1/E604: 800C BRA $E612 C1/E606: C502 CMP $02 C1/E608: 9005 BCC $E60F C1/E60A: A00004 LDY #$0400 C1/E60D: 8003 BRA $E612 C1/E60F: A00000 LDY #$0000 C1/E612: * 4A LSR A C1/E613: 4A LSR A C1/E614: 4A LSR A C1/E615: 4A LSR A C1/E616: C904 CMP #$04 C1/E618: 9002 BCC $E61C C1/E61A: A903 LDA #$03 C1/E61C: 60 RTS C1/E61D: 2021E6 JSR $E621 C1/E620: 6B RTL C1/E621: E220 SEP #$20 C1/E623: AF00CF7E LDA $7ECF00 C1/E627: D001 BNE $E62A C1/E629: 60 RTS C1/E62A: C210 REP #$10 C1/E62C: A552 LDA $52 C1/E62E: F001 BEQ $E631 C1/E630: 60 RTS [Hrmgh] C1/E631: A5E8 LDA $E8 C1/E633: C903 CMP #$03 C1/E635: F0F9 BEQ $E630 C1/E637: AD550A LDA $0A55 C1/E63A: F00B BEQ $E647 C1/E63C: EB XBA C1/E63D: A0E801 LDY #$01E8 C1/E640: AF93E07E LDA $7EE093 [Hmmm] C1/E644: 2068E6 JSR $E668 C1/E647: AD650A LDA $0A65 C1/E64A: F00B BEQ $E657 C1/E64C: EB XBA C1/E64D: A0EA01 LDY #$01EA C1/E650: AF93E27E LDA $7EE293 [Hmmm] C1/E654: 2068E6 JSR $E668 C1/E657: AD750A LDA $0A75 C1/E65A: F00B BEQ $E667 C1/E65C: EB XBA C1/E65D: A0EC01 LDY #$01EC C1/E660: AF93E47E LDA $7EE493 [Hmmmm] C1/E664: 2068E6 JSR $E668 C1/E667: 60 RTS C1/E668: EB XBA C1/E669: 291F AND #$1F C1/E66B: 3A DEC A C1/E66C: 3A DEC A C1/E66D: 0A ASL A C1/E66E: 0A ASL A C1/E66F: 0A ASL A C1/E670: 8502 STA $02 C1/E672: A9C7 LDA #$C7 C1/E674: 8503 STA $03 C1/E676: C220 REP #$20 C1/E678: 29000E AND #$0E00 C1/E67B: 090030 ORA #$3000 C1/E67E: 8500 STA $00 C1/E680: 98 TYA C1/E681: A47C LDY $7C C1/E683: 0500 ORA $00 C1/E685: 990208 STA $0802,Y C1/E688: A502 LDA $02 C1/E68A: 990008 STA $0800,Y C1/E68D: 98 TYA C1/E68E: 18 CLC C1/E68F: 690400 ADC #$0004 C1/E692: A8 TAY C1/E693: 847C STY $7C C1/E695: E220 SEP #$20 C1/E697: A559 LDA $59 C1/E699: 0A ASL A C1/E69A: 0A ASL A C1/E69B: 9004 BCC $E6A1 C1/E69D: E65A INC $5A C1/E69F: A901 LDA #$01 C1/E6A1: 8559 STA $59 C1/E6A3: 60 RTS C1/E6A4: 20B6E6 JSR $E6B6 C1/E6A7: 6B RTL C1/E6A8: 20ACE6 JSR $E6AC C1/E6AB: 6B RTL C1/E6AC: E220 SEP #$20 C1/E6AE: A902 LDA #$02 C1/E6B0: 85EC STA $EC C1/E6B2: 24EC BIT $EC C1/E6B4: D0FC BNE $E6B2 C1/E6B6: E220 SEP #$20 C1/E6B8: C210 REP #$10 C1/E6BA: A980 LDA #$80 C1/E6BC: 8D1521 STA $2115 [Store into Video Port Control] C1/E6BF: A0807E LDY #$7E80 C1/E6C2: 8400 STY $00 C1/E6C4: AF80E17E LDA $7EE180 C1/E6C8: 20DAE6 JSR $E6DA C1/E6CB: AF80E37E LDA $7EE380 C1/E6CF: 20DAE6 JSR $E6DA C1/E6D2: AF80E57E LDA $7EE580 C1/E6D6: 20DAE6 JSR $E6DA C1/E6D9: 60 RTS C1/E6DA: C9EC CMP #$EC C1/E6DC: B004 BCS $E6E2 C1/E6DE: 2903 AND #$03 C1/E6E0: 8003 BRA $E6E5 C1/E6E2: 38 SEC C1/E6E3: E9E9 SBC #$E9 C1/E6E5: C220 REP #$20 C1/E6E7: 29FF00 AND #$00FF C1/E6EA: 0A ASL A C1/E6EB: 0A ASL A C1/E6EC: 0A ASL A C1/E6ED: AA TAX C1/E6EE: A500 LDA $00 C1/E6F0: 8D1621 STA $2116 C1/E6F3: BF00C6D2 LDA $D2C600,X C1/E6F7: 2023E7 JSR $E723 C1/E6FA: BF02C6D2 LDA $D2C602,X C1/E6FE: 2023E7 JSR $E723 C1/E701: A500 LDA $00 C1/E703: 18 CLC C1/E704: 690001 ADC #$0100 C1/E707: 8D1621 STA $2116 C1/E70A: BF04C6D2 LDA $D2C604,X C1/E70E: 2023E7 JSR $E723 C1/E711: BF06C6D2 LDA $D2C606,X C1/E715: 2023E7 JSR $E723 C1/E718: A500 LDA $00 C1/E71A: 18 CLC C1/E71B: 692000 ADC #$0020 C1/E71E: 8500 STA $00 C1/E720: E220 SEP #$20 C1/E722: 60 RTS [References Bank $12 crap in previous sub] C1/E723: 48 PHA C1/E724: 29FF AND #$FF C1/E726: 070A ORA [$0A] C1/E728: 0A ASL A C1/E729: 0A ASL A C1/E72A: 0A ASL A C1/E72B: 0A ASL A C1/E72C: 8D7243 STA $4372 C1/E72F: A901 LDA #$01 C1/E731: 18 CLC C1/E732: 8D7043 STA $4370 C1/E735: A920 LDA #$20 C1/E737: 008D BRK #$8D C1/E739: 7543 ADC $43,X C1/E73B: 68 PLA C1/E73C: E220 SEP #$20 C1/E73E: EB XBA C1/E73F: 4A LSR A C1/E740: 4A LSR A C1/E741: 4A LSR A C1/E742: 4A LSR A C1/E743: 2907 AND #$07 C1/E745: 18 CLC C1/E746: 69D5 ADC #$D5 C1/E748: 8D7443 STA $4374 C1/E74B: A980 LDA #$80 C1/E74D: 8D0B42 STA $420B C1/E750: C220 REP #$20 C1/E752: 60 RTS C1/E753: 08 PHP C1/E754: 0B PHD C1/E755: 8B PHB C1/E756: C220 REP #$20 C1/E758: 48 PHA C1/E759: A90000 LDA #$0000 C1/E75C: 5B TCD C1/E75D: E220 SEP #$20 C1/E75F: A97E LDA #$7E C1/E761: 48 PHA C1/E762: AB PLB C1/E763: C220 REP #$20 C1/E765: 68 PLA C1/E766: 207BE7 JSR $E77B C1/E769: AB PLB C1/E76A: 2B PLD C1/E76B: 28 PLP C1/E76C: 6B RTL [Some kinna lead-in to the event handler, eh?] C1/E76D: E220 SEP #$20 C1/E76F: 8B PHB C1/E770: 48 PHA C1/E771: A97E LDA #$7E C1/E773: 48 PHA C1/E774: AB PLB C1/E775: 68 PLA C1/E776: 207BE7 JSR $E77B C1/E779: AB PLB C1/E77A: 6B RTL [Event Handler?] C1/E77B: C230 REP #$30 [Disable 8 bit emulation and index registers mode] C1/E77D: DA PHX [Push X onto Stack] C1/E77E: C90008 CMP #$0800 C1/E781: B046 + BCS $E7C9 C1/E783: 8500 STA $00 C1/E785: A5D0 LDA $D0 C1/E787: 29FF00 AND #$00FF C1/E78A: F008 ++ BEQ $E794 C1/E78C: C9FF00 CMP #$00FF C1/E78F: F003 ++ BEQ $E794 C1/E791: 82ED00 +^ BRL $E881 C1/E794: ++ A500 LDA $00 [Load EventNumber] C1/E796: C90004 CMP #$0400 [Compare with #$0400] C1/E799: 08 PHP [Push Processor Status onto Stack] C1/E79A: 29FF03 AND #$03FF [Cut out everything outside the range of #$03FF] C1/E79D: 0A ASL A [Multiply it by 2] C1/E79E: AA TAX [Transfer Accumulator to X] C1/E79F: 28 PLP [Pull Processor Status from Stack] C1/E7A0: B00C ++ BCS $E7AE [Branch ahead if EventNumber was >= #$400] C1/E7A2: BF0000C9 LDA $C90000,X [Wait, what, MORE events?] C1/E7A6: 85D1 STA $D1 [Store into EventFilePointer] C1/E7A8: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/E7AA: A9C9 LDA #$C9 [Load #$C9 into Accumulator] {Bank} C1/E7AC: 800A +! BRA $E7B8 [ C1/E7AE: ++ BF0000CA LDA $CA0000,X [X = 0622 for Potos entry] [Also used for treasure chest contents?] C1/E7B2: 85D1 STA $D1 C1/E7B4: E220 SEP #$20 C1/E7B6: A9CA LDA #$CA C1/E7B8: +! 85D3 STA $D3 [Store #$C9 || #$CA into EventFilePointerBank] C1/E7BA: A5D0 LDA $D0 C1/E7BC: C901 CMP #$01 [Compare with #$01] C1/E7BE: A901 LDA #$01 C1/E7C0: 85D0 STA $D0 C1/E7C2: 9002 ++ BCC $E7C6 C1/E7C4: FA PLX C1/E7C5: 60 RTS [#$00 and #$FF in $D0 act as switches for accessing this? Can't be...] {Command 18 accesses this} C1/E7C6: ++ 82C400 BRL $E88D C1/E7C9: + C9000C CMP #$0C00 [Probably includes the next byte over due to 16-bit mode] C1/E7CC: B035 + BCS {NN < #$0C00} {Commands 18~1B are affected by this, I swear} C1/E7CE: 48 PHA [Push Accumulator onto Stack] C1/E7CF: 22CFCB01 JSR $01CBCF C1/E7D3: C220 REP #$20 [Disable 8-Bit Emulation] C1/E7D5: 68 PLA [Pull Accumulator off the stack] C1/E7D6: 29FF03 AND #$03FF [Logical AND for #%00000011 11111111] C1/E7D9: 8D0E01 STA $010E [Store into TransitionDoor] C1/E7DC: 0A ASL A [Multiply by 2] C1/E7DD: 0A ASL A [Again, by 2] C1/E7DE: AA TAX [Transfer Accumulator to X register] C1/E7DF: BF0030C8 LDA $C83000,X [Load Exit Data at byte 0 with resulting X offset] C1/E7E3: 29FF01 AND #$01FF [Logical AND for #01FF] C1/E7E6: 85DC STA $DC [Store into RoomDestinationNumber] C1/E7E8: BF0130C8 LDA $C83001,X [Load Exit Data at byte 1] C1/E7EC: 29FF00 AND #$00FF [Logical AND for #%00000000 11111111, throwing out the first byte] C1/E7EF: 4A LSR A [Divide it by 2] C1/E7F0: 85DE STA $DE [Store into RoomDestinationX] C1/E7F2: BF0230C8 LDA $C83002,X [Load Exit Data at byte 2] C1/E7F6: 85DF STA $DF [Store into RoomDestinationY and RoomDestinationStyle] C1/E7F8: E220 SEP #$20 [8-bit emulation mode enabled] C1/E7FA: A940 LDA #$40 [Load #$40] C1/E7FC: 85FF STA $FF [Store into $FF] C1/E7FE: 64E8 STZ $E8 [0 out $E8] C1/E800: 827E00 +^ BRL $E881 C1/E803: + C9000D CMP #$0D00 C1/E806: B032 + BCS {NN < #$0D00} {Handled by Command 1C: Cannon Travel} C1/E808: 24FE BIT $FE C1/E80A: 302B ++ BMI $E837 C1/E80C: 29FF00 AND #$00FF C1/E80E: 0A ASL A C1/E810: AA TAX C1/E811: BF807AC6 LDA $C67A80,X [What is this?] C1/E815: 8500 STA $00 C1/E817: 29FF00 AND #$FF00 C1/E81A: 0A ASL A C1/E81B: 0A ASL A C1/E81C: 0A ASL A C1/E81D: 0A ASL A C1/E81E: 85FA STA $FA C1/E820: A501 LDA $01 C1/E822: 29FF00 AND #$00FF C1/E825: 0A ASL A C1/E826: 0A ASL A C1/E827: 0A ASL A C1/E828: 0A ASL A C1/E829: 85FC STA $FC C1/E82B: 64F6 STZ $F6 C1/E82D: E220 SEP #$20 C1/E82F: A904 LDA #$04 C1/E831: 85E8 STA $E8 C1/E833: 22CBCB01 JSR $01CBCB C1/E837: ++ 824700 +^ BRL $E881 {NN >= #$0D00} {Handled by Command 1D: Flammie} C1/E83A: + C9800D CMP #$0D80 C1/E83D: B032 + BCS $E871 C1/E83F: 24FE BIT $FE C1/E841: 302B BMI $E86E C1/E843: 297F00 AND #$007F C1/E846: 0A ASL A C1/E847: 0A ASL A C1/E848: AA TAX C1/E849: BF807CC6 LDA $C67C80,X [What is this?] C1/E84D: 8500 STA $00 C1/E84F: 29FF00 AND #$00FF C1/E852: 0A ASL A C1/E853: 0A ASL A C1/E854: 0A ASL A C1/E855: 0A ASL A C1/E856: 85FA STA $FA C1/E858: A501 LDA $01 C1/E85A: 29FF00 AND #$00FF C1/E85C: 0A ASL A C1/E85E: 0A ASL A C1/E85F: 0A ASL A C1/E860: 0A ASL A C1/E861: 85FC STA $FC C1/E863: BF827CC6 LDA $C67C82,X C1/E867: 8D1001 STA $0110 C1/E86A: 2201BC00 JSR $00BC01 C1/E86E: 821000 +^ BRL $E881 C1/E871: + C9000E CMP #$0E00 C1/E874: B003 + BCS $E879 C1/E876: 820800 +^ BRL $E881 C1/E879: + C9000F CMP #$0F00 C1/E87C: B003 +^ BCS $E881 C1/E87E: 820000 +^ BRL $E881 [Wait, you just zero some shit out and return? What?] C1/E881: +^ C210 REP #$10 C1/E883: E220 SEP #$20 C1/E885: 64CC STZ $CC C1/E887: 64CD STZ $CD C1/E889: 64CE STZ $CE C1/E88B: FA PLX C1/E88C: 60 RTS C1/E88D: C210 REP #$10 C1/E88F: E220 SEP #$20 C1/E891: 64CC STZ $CC C1/E893: 64CD STZ $CD C1/E895: 64CE STZ $CE C1/E897: A6D4 LDX $D4 C1/E899: A00000 LDY #$0000 C1/E89C: BD2CE0 LDA $E02C,X C1/E89F: 2907 AND #$07 C1/E8A1: F010 + BEQ $E8B3 C1/E8A3: 4A LSR A C1/E8A4: F005 ++ BEQ $E8AB C1/E8A6: C8 INY C1/E8A7: 4A LSR A C1/E8A8: F001 ++ BEQ $E8AB C1/E8AA: C8 INY C1/E8AB: ++ B9D900 LDA $00D9,Y C1/E8AE: 0980 ORA #$80 C1/E8B0: 99D900 STA $00D9,Y C1/E8B3: + A5FF LDA $FF C1/E8B5: D00B + BNE $E8C2 C1/E8B7: C220 REP #$20 C1/E8B9: A90000 LDA #$0000 C1/E8BC: 9D06E0 STA $E006,X C1/E8BF: 9D08E0 STA $E008,X C1/E8C2: + 2090F3 JSR $F390 C1/E8C5: FA PLX C1/E8C6: 60 RTS [] C1/E8C7: E220 SEP #$20 C1/E8C9: 8B PHB C1/E8CA: A97E LDA #$7E C1/E8CC: 48 PHA C1/E8CD: AB PLB C1/E8CE: 20D3E8 JSR $E8D3 C1/E8D1: AB PLB C1/E8D2: 6B RTL [A lot of events branch back to this. Branches on ahead to the Master Command Interpreter] C1/E8D3: E230 SEP #$30 C1/E8D5: A5E2 LDA $E2 C1/E8D7: 2901 AND #$01 C1/E8D9: 05FF ORA $FF C1/E8DB: 0552 ORA $52 C1/E8DD: F001 + BEQ $E8E0 C1/E8DF: - 60 RTS [Master Command Interpreter] C1/E8E0: + A5E8 LDA $E8 C1/E8E2: 2904 AND #$04 C1/E8E4: D0F9 - BNE $E8DF C1/E8E6: A5D0 LDA $D0 C1/E8E8: 1005 + BPL $E8EF C1/E8EA: 0A ASL A C1/E8EB: AA TAX C1/E8EC: 7C02E9 JMP ($E902,X) [IMPORTANT: Event Script Crap] C1/E8EF: + C220 REP #$20 [Disable 8-bit Emulation Mode] C1/E8F1: A7D1 LDA [$D1] [Contains pointer to Event Script] C1/E8F3: 8504 STA $04 [Store Event Script command] C1/E8F5: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/E8F7: C950 CMP #$50 [Compare Event Script command in Accumulator with #$50] C1/E8F9: 9002 + BCC $E8FD [Branch ahead if Event Script command < #$50] C1/E8FB: A950 LDA #$50 [Load #$50 into Accumulator] C1/E8FD: + 0A ASL A [Multiply it by 2] C1/E8FE: AA TAX [Transfer Accumulator to X] C1/E8FF: 7C22E9 JMP ($E922,X) [...not event commands, but something else instead.] [Possibly related to the 50 series of commands?] C1/E902: E9F2 C1/E904: F5F2 C1/E906: 10F3 C1/E908: 1CF3 C1/E90A: 41F3 C1/E90C: 48F3 C1/E90E: 7BF3 C1/E910: 89F3 C1/E912: 89F3 C1/E914: 89F3 C1/E916: 89F3 C1/E918: 89F3 C1/E91A: 89F3 C1/E91C: 89F3 C1/E91E: 89F3 C1/E920: 89F3 [Beginning of Event Command pointer table?] C1/E922: C4E9 [Command 00] C1/E924: E7E9 [Command 01] C1/E926: ECE9 [Command 02] C1/E928: FBE9 [Command 03] C1/E92A: 26EA [Command 04] C1/E92C: 26EA [Command 05] C1/E92E: 43EA [Command 06] C1/E930: 4EEA [Command 07] C1/E932: 59EA [Command 08] C1/E934: 62EA [Command 09] C1/E936: 99EA [Command 0A] C1/E938: A3EA [Command 0B] C1/E93A: ADEA [Command 0C] C1/E93C: B4EA [Command 0D] C1/E93E: C1EA [Command 0E] C1/E940: D6EA [Command 0F] [10 series] C1/E942: F0EA [Command 10] C1/E944: F0EA [Command 11] C1/E946: F0EA [Command 12] C1/E948: F0EA [Command 13] C1/E94A: F0EA [Command 14] C1/E94C: F0EA [Command 15] C1/E94E: F0EA [Command 16] C1/E950: F0EA [Command 17] [18 series] C1/E952: 07EB [Command 18] C1/E954: 07EB [Command 19] C1/E956: 07EB [Command 1A] C1/E958: 07EB [Command 1B] C1/E95A: 19EB [Command 1C: Cannon Travel] C1/E85C: 2FEB [Command 1D: Flammie Travel] C1/E95E: 50EB [Command 1E] C1/E960: 63EB [Command 1F] [20 series] C1/E962: F2EB [Command 20] C1/E964: F2EB [Command 21] C1/E966: F2EB [Command 22] C1/E968: F2EB [Command 23] C1/E96A: F2EB [Command 24] C1/E96C: F2EB [Command 25] C1/E96E: F2EB [Command 26] C1/E970: F2EB [Command 27] C1/E972: 1AEC [Command 28] C1/E974: 46EC [Command 29] C1/E976: 7FEC [Command 2A] C1/E978: A0EC [Command 2B] C1/E97A: 01ED [Command 2C] C1/E97C: 35ED [Command 2D] C1/E97E: D2ED [Command 2E] C1/E980: EFED [Command 2F] C1/E982: 8CEE [Command 30] C1/E984: A9EE [Command 31] C1/E986: EAEE [Command 32] C1/E988: B8EF [Command 33] C1/E98A: D1EF [Command 34] C1/E98C: DFEF [Command 35] C1/E98E: E7EF [Command 36] C1/E990: E7EF [Command 37] C1/E992: FAEF [Command 38] C1/E994: 10F0 [Command 39: Set character data] C1/E996: 4BF0 [Command 3A] C1/E998: 6FF0 [Command 3B] C1/E99A: C6F0 [Command 3C] C1/E99C: E9F0 [Command 3D] C1/E99E: EAF0 [Command 3E] C1/E9A0: EBF0 [Command 3F] C1/E9A2: ECF0 [Command 40: Play Music] C1/E9A4: 0EF1 [Command 41] C1/E9A6: 40F1 [Command 42: Something to do with event flags?] C1/E9A8: 6FF1 [Command 43:] C1/E9AA: CBF1 [Command 44:] C1/E9AC: CCF1 [Command 45:] C1/E9AE: CDF1 [Command 46:] C1/E9B0: CEF1 [Command 47:] C1/E9B2: CFF1 [Command 48:] [49 series] C1/E9B4: F1F1 [Command 49] C1/E9B6: F1F1 [Command 4A] C1/E9B8: F1F1 [Command 4B] C1/E9BA: F1F1 [Command 4C] C1/E9BC: F1F1 [Command 4D] C1/E9BE: F1F1 [Command 4E] C1/E9C0: 79F2 [Command 4F: Dummy: Just returns.] C1/E9C2: 7AF2 [Command 50] [Command 00: Refresh various things/return?] C1/E9C4: 64F1 STZ $F1 C1/E9C6: 64D0 STZ $D0 C1/E9C8: 644E STZ $4E C1/E9CA: 643A STZ $3A C1/E9CC: 643B STZ $3B C1/E9CE: 64CC STZ $CC C1/E9D0: 64CD STZ $CD C1/E9D2: 64CE STZ $CE C1/E9D4: A5D9 LDA $D9 C1/E9D6: 297F AND #$7F C1/E9D8: 85D9 STA $D9 C1/E9DA: A5DA LDA $DA C1/E9DC: 297F AND #$7F C1/E9DE: 85DA STA $DA C1/E9E0: A5DB LDA $DB C1/E9E2: 297F AND #$7F C1/E9E4: 85DB STA $DB C1/E9E6: 60 RTS [Command 01: Does nothing but disable 8-bit emulation mode, increment Event File Pointer, and return.] [Appears to just be a NOP] C1/E9E7: C220 REP #$20 [Disable 8-Bit Accumulator] C1/E9E9: E6D1 INC $D1 C1/E9EB: 60 RTS [Command 02: Return to a previous event/room?] C1/E9EC: A5D6 LDA $D6 [Load Prev Event File Pointer[0]] C1/E9EE: 85D1 STA $D1 [Store into Event File Pointer[0]] C1/E9F0: A5D7 LDA $D7 [Load Prev Event File Pointer[1]] C1/E9F2: 85D2 STA $D2 [Store into Event File Pointer[1]] C1/E9F4: A5D8 LDA $D8 [Load Prev Event File Pointer[bank]] C1/E9F6: 85D3 STA $D3 [Store into Event File Pointer[bank]] C1/E9F8: 82D8FE BRL $E8D3 [Branch back] [Command 03: Move all characters to leader's position] {$D0 = #$80} C1/E9FB: A980 LDA #$80 C1/E9FD: 854E STA $4E C1/E9FF: 85D0 STA $D0 C1/EA01: C210 REP #$10 [Disable 8-bit Index Registers] C1/EA03: A20000 LDX #$0000 C1/EA06: E4D4 CPX $D4 [Compare X with Lead Character Data Index] C1/EA08: F003 + BEQ $EA0D C1/EA0A: 206CCA JSR $CA6C C1/EA0D: + A20002 LDX #$0200 C1/EA10: E4D4 CPX $D4 [Compare X with Lead Character Data Index] C1/EA12: F003 + BEQ $EA17 C1/EA14: 206CCA JSR $CA6C C1/EA17: + A20004 LDX #$0400 C1/EA1A: E4D4 CPX $D4 [Compare X with Lead Character Data Index] C1/EA1C: F003 + BEQ $EA21 C1/EA1E: 206CCA JSR $CA6C C1/EA21: + C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EA23: E6D1 INC $D1 [Increment Event File Pointer] C1/EA25: 60 RTS [Command 04~05: Toggle $E00E,X:#$80 for each player character, but for what?] C1/EA26: AD0EE0 LDA $E00E C1/EA29: 4980 EOR #$80 [Toggle bit #$80] C1/EA2B: 8D0EE0 STA $E00E C1/EA2E: AD0EE2 LDA $E20E C1/EA31: 4980 EOR #$80 [Toggle bit #$80] C1/EA33: 8D0EE2 STA $E20E C1/EA36: AD0EE4 LDA $E40E C1/EA39: 4980 EOR #$80 [Toggle bit #$80] C1/EA3B: 8D0EE4 STA $E40E C1/EA3E: C220 REP #$20 C1/EA40: E6D1 INC $D1 [Increment Event File Pointer] C1/EA42: 60 RTS [Return] [Command 06: Refresh sprite/animation crap? I dunno...] {$F1 |= #$80} [$F1 seems to stop all characters/enemies from moving, or at least, sticks them in current behavior] C1/EA43: A980 LDA #$80 C1/EA45: 04F1 TSB $F1 C1/EA47: 2253B002 JSR $02B053 C1/EA4B: 9007 + BCC $EA54 C1/EA4D: 60 RTS [Return] [Command 07: What is $F1, anyways? Anyhoo, this throws out its most significant bit.] [In opposition of the above command, seems to return all characters/enemies to nromal behavior] C1/EA4E: A5F1 LDA $F1 C1/EA50: 297F AND #$7F C1/EA52: 85F1 STA $F1 C1/EA54: + C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EA56: E6D1 INC $D1 [Increment Event File Pointer] C1/EA58: 60 RTS [Return] [Command 08: Makes event processing wait for current actions to complete] {$D0 = #$85} C1/EA59: A985 LDA #$85 [Load #$85 into Accumulator] C1/EA5B: 85D0 STA $D0 [Store into...this thing. Curious.] C1/EA5D: C220 REP #$20 [Disable 8-bit Emulation Mode] C!/EA5F: E6D1 INC $D1 [Increment Event File Pointer] C1/EA61: 60 RTS [Return] [Command 09: Loops through NPCs (only the three enemies in combat zones)] C1/EA62: C210 REP #$10 [Disable 8-bit registers] C1/EA64: A20016 LDX #$1600 [Load #$1600 into X] C1/EA67: 24ED BIT $ED [Bit test $ED] C1/EA69: 1003 + BPL $EA6E [Branch ahead if #$80 wasn't present] C1/EA6B: A2000A LDX #$0A00 [Start at NPC/Enemy 3, work way back to Boy] C1/EA6E: +- 8610 STX $10 [Store into LoopCounter] C1/EA70: 2084EA JSR $EA84 [ C1/EA73: C220 REP #$20 C1/EA75: A510 LDA $10 C1/EA77: 38 SEC C1/EA78: E90002 SBC #$0200 C1/EA7B: AA TAX C1/EA7C: C90006 CMP #$0600 C1/EA7F: B0ED - BCS $EA6E C1/EA81: E6D1 INC $D1 C1/EA83: 60 RTS [Addendum to 09] C1/EA84: E220 SEP #$20 C1/EA86: BD00E0 LDA $E000,X C1/EA89: F009 BEQ $EA94 C1/EA8B: BC34E0 LDY $E034,X C1/EA8E: 2257C702 JSR $02C757 C1/EA92: B004 * BCS $EA98 C1/EA94: 220CE000 JSR $00E00C C1/EA98: * 60 RTS [Command 0A] C1/EA99: C220 REP #$20 C1/EA9B: E6D1 INC $D1 C1/EA9D: 38 SEC [Set Carry] C1/EA9E: 22FFCA00 JSR $00CAFF C1/EAA2: 60 RTS [Command 0B: Store $010E into $0108] C1/EAA3: C220 REP #$20 C1/EAA5: AD0E01 LDA $010E C1/EAA8: 8D0801 STA $0108 C1/EAAB: 803E BRA $EAEB [Command 0C: Store 0 into $0108] C1/EAAD: C220 REP #$20 C1/EAAF: 9C0801 STZ $0108 C1/EAB2: 8037 BRA $EAEB [Command 0D: Logical OR #$0800 into $0108] C1/EAB4: C220 REP #$20 C1/EAB6: E6D1 INC $D1 C1/EAB8: AD0801 LDA $0108 C1/EABB: 090008 ORA #$0800 C1/EABE: 82BAFC BRL $E77B [Command 0E] C1/EAC1: C230 REP #$30 C1/EAC3: E6D1 INC $D1 C1/EAC5: A63A LDX $3A C1/EAC7: 20F3F3 JSR $F3F3 C1/EACA: A599 LDA $99 C1/EACC: 29FF00 AND #$00FF C1/EACF: 224B00C0 JSR $C0004B C1/EAD3: 821409 BRL $F3EA [Command 0F] C1/EAD6: C230 REP #$30 C1/EAD8: E6D1 INC $D1 C1/EADA: A63A LDX $3A C1/EADC: 20F3F3 JSR $F3F3 C1/EADF: A599 LDA $99 C1/EAE1: 29FF00 AND #$00FF C1/EAE4: 224E00C0 JSR $C0004E C1/EAE8: 82FF08 BRL $F3EA [] C1/EAEB: C220 REP #$20 C1/EAED: E6D1 INC $D1 C1/EAEF: 60 RTS [Commands 10~17] C1/EAF0: 64D0 STZ $D0 C1/EAF2: C220 REP #$20 C1/EAF4: A504 LDA $04 C1/EAF6: EB XBA C1/EAF7: 29FF07 AND #$07FF [Logical AND with Accumulator for Event Number] C1/EAFA: 207BE7 JSR $E77B C1/EAFD: E220 SEP #$20 C1/EAFF: A5D0 LDA $D0 C1/EB01: D001 * BNE $EB04 C1/EB03: 60 RTS C1/EB04: * 82CCFD BRL $E8D3 [Command 18~1B: Room shit] C1/EB07: C220 REP #$20 [Disable 8-Bit Emulation] C1/EB09: E6D1 INC $D1 [Increment Event File Pointer] C1/EB0B: E6D1 INC $D1 [Twice] C1/EB0D: A504 LDA $04 [Load Event Command into Accumulator] C1/EB0F: EB XBA [Switch A and B] C1/EB10: 29FF03 AND #$03FF [Logical AND with #$03FF (1800 ~ 1BFF)] C1/EB13: 090008 ORA #$0800 C1/EB16: 8262FC BRL $E77B [Command 1C: 1Cxx: Cannon Travel] C1/EB19: C220 REP #$20 [Disable 8-Bit Emulation] C1/EB1B: E6D1 INC $D1 [Increment Event File Pointer] C1/EB1D: E6D1 INC $D1 [Twice] C1/EB1F: A505 LDA $05 C1/EB21: 29FF00 AND #$00FF C1/EB24: 09000C ORA #$0C00 C1/EB27: 207BE7 JSR $E77B C1/EB2A: E220 SEP #$20 C1/EB2C: 8295FE BRL $E9C4 [Command 1D: 1Dnn: Flammie Travel] C1/EB2F: C220 REP #$20 [Disable 8-Bit Emulation] C1/EB31: E6D1 INC $D1 [Increment Event File Pointer] C1/EB33: E6D1 INC $D1 [Twice] C1/EB35: E220 SEP #$20 [Enable 8-Bit Emulation] C1/EB37: A5E3 LDA $E3 [Load this thing] C1/EB39: 29F0 AND #$F0 [Cut out the low bits] C1/EB3B: 2405 BIT $05 [Bit test Accumulator with EventCommandOperand] C1/EB3D: 5002 + BVC $EB41 [Branch ahead if bit #$40 is clear] C1/EB3F: 0901 ORA #$01 [Otherwise, set bit #$01] C1/EB41: + 85E3 STA $E3 [Store back into that thing] C1/EB43: C220 REP #$20 C1/EB45: A505 LDA $05 C1/EB47: 293F00 AND #$003F C1/EB4A: 09000D ORA #$0D00 C1/EB4D: 822BFC BRL $E77B [Command 1E: 1Enn: No idea.] C1/EB50: C210 REP #$10 [Disable 8-bit Index Registers] C1/EB52: A6D1 LDX $D1 [Load Event File Pointer into X] C1/EB54: E8 INX [Increment X] C1/EB55: E8 INX [Increment X] C1/EB56: 86D1 STX $D1 [Store X back into Event File Pointer] C1/EB58: A6D4 LDX $D4 [Uh] C1/EB5A: A505 LDA $05 [Load Event Command Operand] C1/EB5C: 225100C0 JSR $C00051 C1/EB60: 8270FD BRL $E8D3 [1F00~1F02: Character naming dialogues] [1F03: Rise of the Grand Palace] [1F04: Sinking of the Grand Palace, Rise of the Mana Fortress] [1F05: Nothing?] [1F06: Save Slot Screen] [1F07: ...huh, reset?] [1F08: Nothing?] [1F09: Nothing?] [1F0D: Ending Screen] [Command 1F: 1Fnn: No idea.] C1/EB63: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EB65: E6D1 INC $D1 [Increment Event File Pointer] C1/EB67: E6D1 INC $D1 [Again] C1/EB69: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/EB6B: A505 LDA $05 [Load Event Command Operand] C1/EB6D: C903 CMP #$03 [Compare with #$03] C1/EB6F: B00B + BCS $EB7C C1/EB71: AA TAX C1/EB72: A900 LDA #$00 C1/EB74: 220F00C0 JSR $C0000F C1/EB78: 203AFF JSR $FF3A C1/EB7B: 60 RTS {Operand >= 3} C1/EB7C: + C905 CMP #$05 C1/EB7E: B02F + BCS $EBAF C1/EB80: C903 CMP #$03 C1/EB82: D012 ++ BNE $EB96 C1/EB84: C220 REP #$20 C1/EB86: A9800D LDA #$0D80 C1/EB89: 85FA STA $FA C1/EB8B: A9800D LDA #$0D80 C1/EB8E: 85FC STA $FC C1/EB90: E220 SEP #$20 C1/EB92: A902 LDA #$02 C1/EB94: 8010 +! BRA $EBA6 C1/EB96: ++ C220 REP #$20 C1/EB98: A9800D LDA #$0D80 C1/EB9B: 85FA STA $FA C1/EB9D: A9800D LDA #$0D80 C1/EBA0: 85FC STA $FC C1/EBA2: E220 SEP #$20 C1/EBA4: A984 LDA #$84 C1/EBA6: +! 85E3 STA $E3 C1/EBA8: 2201BC00 JSR $00BC01 C1/EBAC: 8215FE BRL $E9C4 {Operand >= 5} C1/EBAF: + D001 + BNE $EBB2 C1/EBB1: 60 RTS {Operand == 8} C1/EBB2: + C906 CMP #$06 C1/EBB4: D00D + BNE $EBC3 C1/EBB6: C220 REP #$20 C1/EBB8: AD0E01 LDA $010E C1/EBBB: 220C00C0 JSR $C0000C C1/EBBF: 203AFF JSR $FF3A C1/EBC2: 60 RTS {Operand == 7} C1/EBC3: + C907 CMP #$07 C1/EBC5: D004 + BNE $EBCB C1/EBC7: 5C048000 JMP $008004 {Operand == 8..B} C1/EBCB: + C90C CMP #$0C C1/EBCD: B005 + BCS $EBD4 C1/EBCF: 225A00C0 JSR $C0005A [...handles weapons?] C1/EBD3: 60 RTS {Operand == C} C1/EBD4: + D00B + BNE $EBE1 C1/EBD6: C230 REP #$30 C1/EBD8: A5D4 LDA $D4 C1/EBDA: A63A LDX $3A C1/EBDC: 226600C0 JSR $C00066 [Ultimately related to processing Dummy Status 1?] C1/EBE0: 60 RTS {What the hell does this even do?} C1/EBE1: + C910 C1/EBE3: D009 + BNE $EBEE C1/EBE5: C230 REP #$30 [Disable 8-bit Emulation Mode, Indexed Registers] C1/EBE7: A5D4 LDA $D4 C1/EBE9: 227200C0 JSR $C00072 C1/EBED: 60 RTS {Operand >= 0D. Ending Handler?} C1/EBEE: + 5C7500C0 JMP $C00075 [Command 20~27] {$D0 = #$FF} C1/EBF2: A5D3 LDA $D3 [Load Event File Pointer[bank]] C1/EBF4: 85D8 STA $D8 [Store into TempBank] C1/EBF6: A9FF LDA #$FF [Load #$FF into Accumulator] C1/EBF8: 85D0 STA $D0 [Store into this thing] C1/EBFA: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EBFC: A5D1 JSR $D1A5 C1/EBFE: 18 CLC [Clear Carry] C1/EBFF: 690200 ADC #$0002 [Add #$0002 to Accumulator] C1/EC02: 85D6 STA $D6 [Store..uh] C1/EC04: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/EC06: A504 LDA $04 [Load Event Command] C1/EC08: 2907 AND #$07 [Logical AND for event range in 1s digit] C1/EC0A: EB XBA [Switch Accumulator bytes] C1/EC0B: A505 LDA $05 [Load Event Command Operand] C1/EC0D: 207BE7 JSR $E77B {IMPORTANT} C1/EC10: E220 SEP #$20 C1/EC12: A5D0 LDA $D0 C1/EC14: D001 BNE $EC17 * C1/EC16: 60 RTS C1/EC17: * 82B9FC BRL $E8D3 [Command 28: 28nn: Wait for nn time increments (seconds?), or for button press if 00] {$D0 = #$83 || #$82 (nn == 0)} C1/EC1A: A505 LDA $05 [Load Event Command Operand] C1/EC1C: D01B + BNE $EC39 [Branch ahead if it isn't zero] C1/EC1E: A983 LDA #$83 [Load #$83 into Accumulator] C1/EC20: 85D0 STA $D0 [Store into this thing] C1/EC22: C210 REP #$10 [Disable 8-bit Indexed Registers] C1/EC24: A6D4 LDX $D4 [Load Lead Character Data Index into X] C1/EC26: BD2CE0 LDA $E02C,X [Uh] C1/EC29: 3A DEC A [Decrement Accumulator($E02C,X)] C1/EC2A: C903 CMP #$03 [Compare with #$03] C1/EC2C: D002 ++ BNE $EC30 C1/EC2E: A902 LDA #$02 C1/EC30: ++ E220 SEP #$20 [Enable 8-bit Emulation] C1/EC32: AA TAX [Transfer Accumulator to X] C1/EC33: A900 LDA #$00 [Load #$00 into Accumulator] C1/EC35: 95CC STA $CC,X C1/EC37: 8006 ++ BRA $EC3F C1/EC39: + 854F STA $4F C1/EC3B: A982 LDA #$82 C1/EC3D: 85D0 STA $D0 C1/EC3F: ++ C220 REP #$20 C1/EC41: E6D1 INC $D1 [Increment Event File Pointer] C1/EC43: E6D1 INC $D1 [Increment Event File Pointer] C1/EC45: 60 RTS [Command 29: 29nn: Increment Event Flag] C1/EC46: A605 LDX $05 C1/EC48: F00E + BEQ $EC58 C1/EC4A: BD00CF LDA $CF00,X C1/EC4D: - 1A INC A C1/EC4E: 290F AND #$0F C1/EC50: D002 ++ BNE $EC54 C1/EC52: A90F LDA #$0F C1/EC54: ++ 8500 STA $00 C1/EC56: 8035 ++ BRA $EC8D [Branch to the latter half of Command 2A to examine the high bits] C1/EC58: + BD00CF LDA $CF00,X C1/EC5B: D0F0 - BNE $EC4D C1/EC5D: A5ED LDA $ED [Load Combat Zone Flag] C1/EC5F: 300E BMI $EC6F [Branch ahead if it's set] C1/EC61: 4980 EOR #$80 [Toggle Bit #$80] C1/EC63: 85ED STA $ED C1/EC65: 64CC STZ $CC C1/EC67: 64CD STZ $CD C1/EC69: 64CE STZ $CE C1/EC6B: 6400 STZ $00 C1/EC6D: 801E ++ BRA $EC8D C1/EC6F: FE00CF INC $CF00,X C1/EC72: C220 REP #$20 C1/EC74: E6D1 INC $D1 C1/EC76: E6D1 INC $D1 C1/EC78: 2276C902 JSR $02C976 C1/EC7C: 4CDBE0 JMP $E0DB [Command 2A: 2Ann: Decrement flag, don't go under 0] C1/EC7F: A605 LDX $05 C1/EC81: BD00CF LDA $CF00,X C1/EC84: 290F AND #$0F C1/EC86: 3A DEC A C1/EC87: 1002 + BPL $EC8B C1/EC89: A900 LDA #$00 [Default to 0 if decrement result is negative] C1/EC9B: + 8500 STA $00 C1/EC8D: ++ BD00CF LDA $CF00,X C1/EC90: 29F0 AND #$F0 C1/EC92: 0500 ORA $00 [Logical OR with TempFlag] C1/EC94: 9D00CF STA $CF00,X [Store into Event Flags] C1/EC97: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EC99: E6D1 INC $D1 [Increment Event File Pointer] C1/EC9B: E6D1 INC $D1 [Increment Event File Pointer] C1/EC9D: 8233FC BRL $E8D3 [Command 2B: 2Bnn: Flip sprite, bring character near party?] C1/ECA0: C230 REP #$30 [Disable 8-Bit Emulation Mode, Registers] C1/ECA2: A4D4 LDY $D4 [Load this thing] C1/ECA4: A504 LDA $04 [Load Event Command + Operand] C1/ECA6: 29000F AND #$0F00 [Throw out all but the low bits] C1/ECA9: 0A ASL A [Multiply them by 2] C1/ECAA: AA TAX [Transfer Accumulator to X] C1/ECAB: A90100 LDA #$0001 [Load #$0001 into accumulator] C1/ECAE: 9D00E0 STA $E000,X [Store into Master Activate Byte?] C1/ECB1: A43A LDY $3A C1/ECB3: B902E0 LDA $E002,Y C1/ECB6: 9D02E0 STA $E002,X C1/ECB9: B904E0 LDA $E004,Y C1/ECBC: 9D04E0 STA $E004,X C1/ECBF: A90000 LDA #$0000 C1/ECC2: 9D06E0 STA $E006,X C1/ECC5: 9D08E0 STA $E008,X C1/ECC8: A4D4 LDY $D4 C1/ECCA: E6D1 INC $D1 C1/ECCC: E6D1 INC $D1 C1/ECCE: E220 SEP #$20 C1/ECD0: B90BE0 LDA $E00B,Y C1/ECD3: 9D0BE0 STA $E00B,X C1/ECD6: B98EE0 LDA $E08E,Y C1/ECD9: 9D8EE0 STA $E08E,X C1/ECDC: B94CE0 LDA $E04C,Y C1/ECDF: 9D4CE0 STA $E04C,X C1/ECE2: B910E0 LDA $E010,Y [Load Sprite Flags] C1/ECE5: C902 CMP #$02 [Check if Facing Right] C1/ECE7: 9004 + BCC $ECED [Branch ahead if's less than that] C1/ECE9: 4980 EOR #$80 [Toggle bit #$80 (Left vs. Right)] C1/ECEB: 8002 BRA $ECEF C1/ECED: + 4901 EOR #$01 [Toggle bit $$01 (Up vs. Down)] C1/ECEF: 9D10E0 STA $E010,X [Store into Sprite Flags] C1/ECF2: A9FF LDA #$FF C1/ECF4: 9D30E0 STA $E030,X C1/ECF7: BD80E1 LDA $E180,X C1/ECFA: 222000C1 JSR $C10020 C1/ECFE: 4CDBE0 JMP $E0DB [Command 2C: 2Cnn: Make character leave the party!] C1/ED01: C230 REP #$30 C1/ED03: A504 LDA $04 C1/ED05: 29000F AND #$0F00 C1/ED08: 0A ASL A C1/ED09: AA TAX C1/ED0A: A98000 LDA #$0080 C1/ED0D: 9D00E0 STA $E000,X C1/ED10: E6D1 INC $D1 C1/ED12: E6D1 INC $D1 C1/ED14: E220 SEP #$20 C1/ED16: BD2CE0 LDA $E02C,X [Check whether character leads the party] C1/ED19: F017 + BEQ $ED32 [Branch ahead if character leads] C1/ED1B: 9E2CE0 STZ $E02C,X C1/ED1E: 290F AND #$0F C1/ED20: 3A DEC A C1/ED21: C903 CMP #$03 C1/ED23: D002 BNE $ED27 C1/ED25: A902 LDA #$02 C1/ED27: E210 SEP #$10 C1/ED29: AA TAX C1/ED2A: A900 LDA #$00 C1/ED2C: 95D9 STA $D9,X C1/ED2E: 22BBBD00 JSR $00BDBB C1/ED32: 4CDBE0 JMP $E0DB [Command 2D: 2dnn: Invoke Effect] C1/ED35: A505 LDA $05 [Load Event Command Operand] C1/ED37: 100B + BPL $ED44 [Branch ahead if it's positive] C1/ED39: C990 CMP #$90 [Compare #$90] C1/ED3B: B004 ++ BCS $ED41 [Branch ahead if Accumulator > that] C1/ED3D: 290F AND #$0F C1/ED3F: 804A ! BRA $ED8B C1/ED41: ++ 828500 * BRL $EDC9 C1/ED44: + D010 + BNE $ED56 C1/ED46: A900 LDA #$00 [Load #$00 into Accumulator] C1/ED48: 8D5710 STA $1057 [Store here] C1/ED4B: A5E6 LDA $E6 C1/ED4D: 8D5810 STA $1058 C1/ED50: A904 LDA #$04 C1/ED52: 04E2 TSB $E2 C1/ED54: 8073 BRA $EDC9 {Individual arg. sections} C1/ED56: + C901 CMP #$01 C1/ED58: D007 BNE $ED61 {#$01: $1057 = #$01} [Going theory: cuts off sound effects] C1/ED5A: A901 LDA #$01 [Load #$01 into Accumulator] C1/ED5C: 8D5710 STA $1057 C1/ED5F: 8068 * BRA $EDC9 C1/ED61: C902 CMP #$02 C1/ED63: D006 BNE $ED6B {#$02: $49 = #$E0} C1/ED65: A9E0 LDA #$E0 C1/ED67: 8549 STA $49 C1/ED69: 805E * BRA $EDC9 C1/ED6B: C903 CMP #$03 C1/ED6D: D006 BNE $ED75 {#$03: $49 = #$60} C1/ED6F: A960 LDA #$60 C1/ED71: 8549 STA $49 C1/ED73: 8054 * BRA $EDC9 C1/ED75: C904 CMP #$04 C1/ED77: D004 + BNE $ED7D {#$04: Zeroes out $49. Increment pointer by 2} C1/ED79: 6449 STZ $49 C1/ED7B: 804C BRA $EDC9 C1/ED7D: + C905 CMP #$05 C1/ED7F: D004 + BNE $ED85 {#$05: Use #$20 instead of #$60 for Section #$06. Increment pointer by 4} C1/ED81: A920 LDA #$20 C1/ED83: 8006 ++ BRA $ED8B C1/ED85: + C906 CMP #$06 C1/ED87: D01F BNE $EDA8 {#$06: C1/ED89: A960 LDA #$60 C1/ED8B: ++ 48 PHA [Push Accumulator onto Stack] C1/ED8C: 2206C802 JSR $02C806 [At least it isn't Mode 7 fuckery] C1/ED90: 68 PLA [Pull Accumulator from Stack] C1/ED91: 852A STA $2A C1/ED93: C220 REP #$20 C1/ED95: A002 LDY #$02 C1/ED97: B7D1 LDA [$D1],Y C1/ED99: 8D0C01 STA $010C C1/ED9C: 9C0A01 STZ $010A C1/ED9F: A5D1 LDA $D1 C1/EDA1: 18 CLC C1/EDA2: 690400 ADC #$0004 C1/EDA5: 85D1 STA $D1 [Store into Event File Pointer] C1/EDA7: 60 RTS C1/EDA8: C907 CMP #$07 C1/EDAA: D00F BNE $ED?? {07: C1/EDAC: A52A LDA $2A C1/EDAE: F019 BEQ C1/EDB0: 0980 ORA #$80 C1/EDB2: 852A STA $2A C1/EDB4: C220 REP #$20 C1/EDB6: E6D1 INC $D1 C1/EDB8: E6D1 INC $D1 C1/EDBA: 60 RTS C1/EDBB: C908 CMP #$08 C1/EDBD: D00A ASL A C1/EDBF: A90804 LDA #$0408 C1/EDC2: E2A9 SEP #$A9 C1/EDC4: 8685 STX $85 C1/EDC6: D080 BNE $ED48 C1/EDC8: EB XBA {Wrap it up} C1/EDC9: * C220 REP #$20 C1/EDCB: E6D1 INC $D1 C1/EDCD: E6D1 INC $D1 C1/EDCF: 8201FB BRL $E8D3 [Command 2E: 2Enn: Open Item Shop ring menu] C1/EDD2: C230 REP #$30 C1/EDD4: E6D1 INC $D1 C1/EDD6: E6D1 INC $D1 C1/EDD8: A505 LDA $05 C1/EDDA: 29FF00 AND #$00FF C1/EDDD: A8 TAY C1/EDDE: A63A LDX $3A C1/EDE0: 20F3F3 JSR $F3F3 C1/EDE3: A599 LDA $99 C1/EDE5: 29FF00 AND #$00FF C1/EDE8: 224800C0 JSR $C00048 C1/EDEC: 82FB05 BRL $F3EA [Command 2F: 2Fxx: Various utility effects.] C1/EDEF: C210 REP #$10 [Disable 8-bit Index Registers] C1/EDF1: A4D1 LDY $D1 [Load Event File Pointer into Y] C1/EDF3: C8 INY [Increment Y] C1/EDF4: C8 INY [Increment Y] C1/EDF5: 84D1 STY $D1 [Store Y into Event File Pointer] C1/EDF7: A6D4 LDX $D4 [Load Lead Character Data Index into X] C1/EDF9: A505 LDA $05 [Load Event Command Operand into Accumulator] C1/EDFB: 3032 + BMI $EE2F [Branch ahead if most significant bit (#$80) is set] C1/EDFD: C940 CMP #$40 [Compare Accumulator with #$40] C1/EEFF: B059 ++ BCS $EE5A [Branch ahead if it's greater than or equal to that] C1/EE01: 293F AND #$3F [Otherwise, throw out all bits except #$3F] C1/EE03: F00A +! BEQ $EE0F [Branch ahead if there isn't anything left after the AND] C1/EE05: C904 CMP #$04 [Compare Accumulator with #$04] C1/EE07: B010 +@ BCS $EE19 [Branch ahead if it's greater than or equal to that] [Default: Choose the Boy] C1/EE09: 3A DEC A [Decrement Accumulator] C1/EE0A: 0A ASL A [Shift Left] C1/EE0B: EB XBA [Switch A and B] C1/EE0C: A900 LDA #$00 [Load #$00] C1/EE0E: AA TAX [Transfer Accumulator to X] [Restore Character's HP] C1/EE0F: C220 REP #$20 C1/EE11: BD84E1 LDA $E184,X C1/EE14: 9D82E1 STA $E182,X C1/EE17: 803E * BRA $EE57 [Restore Everyone's HP] C1/EE19: +@ C220 REP #$20 C1/EE1B: AD84E1 LDA $E184 C1/EE1E: 8D82E1 STA $E182 C1/EE21: AD84E3 LDA $E384 C1/EE24: 8D82E3 STA $E382 C1/EE27: AD84E5 LDA $E584 C1/EE2A: 8D82E5 STA $E582 C1/EE2D: 8028 * BRA $EE57 [Restore Character's MP] C1/EE2F: + 297F AND #$7F C1/EE31: F00A $ C1/EE33: C904 C1/EE35: B00E C1/EE37: 3A C1/EE38: 0A ASL C1/EE39: EB XBA C1/EE3A: A900 C1/EE3C: AA TAX [Transfer Accumulator to X] C1/EE3D: BD87E1 LDA $E187,X [Load Max MP] C1/EE40: 9D86E1 STA $E186,X [Store into Current MP] C1/EE43: 8012 + BRA $EE57 [Restore Everyone's MP] C1/EE45: AD87E1 LDA $E187 C1/EE48: 8D86E1 STA $E186 C1/EE4B: AD87E3 LDA $E387 C1/EE4E: 8D86E3 STA $E386 C1/EE51: AD87E5 LDA $E587 C1/EE54: 8D86E5 STA $E586 C1/EE57: * 8279FA BRL $E8D3 [] C1/EE5A: ++ 293F AND #$3F C1/EE5C: F00A ++ BEQ $EE68 C1/EE5E: C904 CMP #$04 C1/EE60: B00C BCS $ C1/EE62: 3A DEC A C1/EE63: 0A ASL C1/EE64: EB XBA C1/EE65: A900 LDA #$00 C1/EE67: AA TAX C1/EE68: ++ 2083EE JSR $EE83 C1/EE6B: 8265FA BRL $E8D3 [] C1/EE6E: A20000 LDX #$0000 C1/EE71: 2083EE JSR $EE83 C1/EE74: A20002 LDX #$0200 C1/EE77: 2083EE JSR $EE83 C1/EE7A: A20004 LDX #$0400 C1/EE7D: 2083EE JSR $EE83 C1/EE80: 8250FA BRL $E8D3 [Command 2F-1] C1/EE83: E220 SEP #$20 C1/EE85: A9FF LDA #$FF C1/EE87: 22BA8001 JSR $0180BA C1/EE8B: 60 RTS [Command 30: 30nnxx: Set event flag nn to xx. Cannot set anything but the 1s digit, eh?] C1/EE8C: A002 LDY #$02 [Load #$02 into Y] C1/EE8E: B7D1 LDA [$D1],Y [Load Event File Pointer, find second operand.] C1/EE90: 8500 STA $00 [Store into SecondOperand] C1/EE92: A605 LDX $05 [Load Event Command (first) operand into X] C1/EE94: BD00CF LDA $CF00,X [Load Event Flag indicated by first operand] C1/EE97: 29F0 AND #$F0 [Logical AND for high bits] C1/EE99: 0500 ORA $00 [Logical OR Accumulator with SecondOperand] C1/EE9B: 9D00CF STA $CF00,X [Store back into Event Flag[X]] C1/EE9E: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/EEA0: A5D1 LDA $D1 [Load Event File Pointer] C1/EEA2: 18 CLC [Clear Carry] C1/EEA3: 690300 ADC #$0003 [Add #$0003 for the next command] C1/EEA6: 85D1 STA $D1 [Store back into Event File Pointer C1/EEA8: 60 RTS [Return] [Command 31: 31nnxx] C1/EEA9: 20AFEE JSR $EEAF C1/EEAC: 8224FA BRL $E8D3 [Used by Commands 31 and 34] C1/EEAF: A002 LDY #$02 C1/EEB1: B7D1 LDA [$D1],Y [Load Operand 2] C1/EEB3: 8502 STA $02 [Store into Temp2] C1/EEB5: C230 REP #$30 [Disable 8-bit Emulation Mode, Registers] C1/EEB7: A4D1 LDY $D1 [Load Event File Pointer] C1/EEB9: C8 INY C1/EEBA: C8 INY C1/EEBB: C8 INY C1/EEBC: 84D1 STY $D1 C1/EEBE: A6D4 LDX $D4 C1/EEC0: A505 LDA $05 [Load Operand 1] C1/EEC2: 29FF00 AND #$00FF C1/EEC5: F00B + BEQ $EED2 C1/EEC7: A63A LDX $3A C1/EEC9: 898000 BIT #$0080 C1/EECC: D004 + BNE $EED2 C1/EECE: 3A DEC A C1/EECF: 0A ASL A C1/EED0: EB XBA C1/EED1: AA TAX C1/EED2: + 206CCA JSR $CA6C C1/EED5: A940 LDA #$40 C1/EED7: 9D1CE0 STA $E01C C1/EEDA: A502 LDA $02 C1/EEDC: 9D11E0 ORA ($E0),Y C1/EEDF: A9FF LDA #$FF C1/EEE1: 9D30E0 STA $E030 C1/EEE4: A901 LDA #$01 C1/EEE6: 9D42E0 STA $E042 C1/EEE9: 60 RTS [Command 32: 32nnxx: ] C1/EEEA: C210 REP #$10 [Disable 8-bit Index Registers] C1/EEEC: A00200 LDY #$0002 [Load #$02 into Y] C1/EEEF: B7D1 LDA [$D1],Y [Load second operand] C1/EEF1: 8500 STA $00 [Store into SecondOperand] C1/EEF3: A4D1 LDY $D1 [Load Event File Pointer into Y] C1/EEF5: C8 INY [Increment Y] C1/EEF6: C8 INY [Increment Y] C1/EEF7: C8 INY [Increment Y] C1/EEF8: 84D1 STY $D1 [Store Y into Event File Pointer] C1/EEFA: A6D4 LDX $D4 [Load this thing] C1/EEFC: A505 LDA $05 [Load Event Command (first) operand] C1/EEFE: F00C + BEQ $EF0C [Branch ahead if first operand == 0] C1/EF00: 1004 ++ BPL $EF06 [Branch ahead if first operand is positive] C1/EF02: A63A LDX $3A [Load from here instead of C1/EF04: 8006 + BRA $EF0C [Branch C1/EF06: ++ 3A DEC A [Decrement Accumulator] C1/EF07: 0A ASL A [Multiply it by 2] C1/EF08: EB XBA [Switch low and high bytes] C1/EF09: A900 LDA #$00 [Load #$00 into Accumulator] {Keep the character index low byte clean} C1/EF0B: AA TAX [Transfer to X] C1/EF0C: + 9E1CE0 STZ $E01C,X [Store zero in this] C1/EF0F: 9E13E0 STZ $E013,X [Store zero in this] C1/EF12: A9FF LDA #$FF [Load #$FF into Accumulator] C1/EF14: 8501 STA $01 [Store into $01] C1/EF16: A500 LDA $00 [Load SecondOperand] C1/EF18: 293F AND #$3F [Logical AND for #$3F] {Higher bits are used for direction} C1/EF1A: D004 + BNE $EF20 [Branch ahead if it isn't 0] C1/EF1C: 6401 STZ $01 [Otherwise, store zero into $01] {Needed for movement?} C1/EF1E: A901 LDA #$01 [And, load #$01 into Accumulator] {Needed to work at all?} C1/EF20: + 9D0AE0 STA $E00A,X [Store into this thing] C1/EF23: 9E67E0 STZ $E067,X [Store zero into this thing] C1/EF26: A901 LDA #$01 [Load #$01 into Accumulator] C1/EF28: 9D42E0 STA $E042,X [Store into this thing] {Switch} C1/EF2B: A500 LDA $00 [Load SecondOperand] C1/EF2D: 29C0 AND #$C0 [Logical AND for #%11000000] {Left} C1/EF2F: F038 + BEQ $EF69 [Branch to {Up} if none of those bits are found] C1/EF31: C940 CMP #$40 [Compare with #$40] {Down} C1/EF33: F04C ++ BEQ $EF81 [Branch to {Down} if Accumulator == #$40] C1/EF35: C980 CMP #$80 [Compare with #$80] {Right} C1/EF37: F018 +! BEQ $EF51 [Branch to {Right} if Accumulator == #$80] {Left} C1/EF39: A982 LDA #$82 [Opposite direction?] C1/EF3B: 2501 AND $01 [...what is this?] C1/EF3D: 9D06E0 STA $E006,X [Store into X automatic movement?] C1/EF40: A900 LDA #$00 [Load #$00 into Accumulator] C1/EF42: 9D07E0 STA $E007,X [Store into Y automatic movement?] C1/EF45: A982 LDA #$82 [Load #$82 into Accumulator] {Facing left sprite} C1/EF47: 9D10E0 STA $E010,X [Store into Character Sprite/Animation] C1/EF4A: E00006 CPX #$0600 [Compare #$0600 with X, see if it's an NPC/Enemy] C1/EF4D: 9066 +# BCC $EFB5 C1/EF4F: 8046 +@ BRA $EF97 {Right} C1/EF51: +! A902 LDA #$02 C1/EF53: 2501 AND $01 C1/EF55: 9D06E0 STA $E006,X C1/EF58: A900 LDA #$00 C1/EF5A: 9D07E0 STA $E007,X C1/EF5D: A902 LDA #$02 [Load #$02 into Accumulator] {Facing right sprite} C1/EF5F: 9D10E0 STA $E010,X [Store into Character Sprite/Animation] C1/EF62: E00006 CPX #$0600 C1/EF65: 904E +# BCC $EFB5 C1/EF67: 802E BRA $EF97 {Up} C1/EF69: + A900 LDA #$00 C1/EF6B: 9D06E0 STA $E006,X C1/EF6E: A982 LDA #$82 [Opposite direction?] C1/EF70: 2501 AND $01 C1/EF73: 9D07E0 STA $E007,X C1/EF75: A900 LDA #$00 [Load #$00 into Accumulator] {Facing up sprite} C1/EF77: 9D10E0 STA $E010,X [Store into Character Sprite/Animation] C1/EF7A: E00006 CPX #$0600 C1/EF7D: 9036 +# BCC $EFB5 C1/EF7F: 8016 BRA $EF97 {Down} C1/EF81: ++ A900 LDA #$00 [Load #$00] C1/EF84: 9D06E0 STA $E006,X [Store into X automatic movement?] C1/EF86: A902 LDA #$02 [Load #$02 (Positive directional increment) into Accumulator] C1/EF88: 2501 AND $01 C1/EF8A: 9D07E0 STA $E007,X [Store into Y automatic movement?] C1/EF8D: A901 LDA #$01 [Load #$01 into Accumulator] {Facing down sprite} C1/EF8F: 9D10E0 STA $E010,X [Store into Character Sprite/Animation] C1/EF92: E00006 CPX #$0600 C1/EF95: 901E +# BCC $EFB5 {Finish} C1/EF97: +@ A9FF LDA #$FF C1/EF9A: 9D30E0 STA $E030,X C1/EF9C: BD71E0 LDA $E071,X C1/EF9F: 2960 AND #$60 C1/EFA1: F00B + BEQ C1/EFA3: 2940 AND #$40 C1/EFA5: F003 ++ BEQ $EFAA C1/EFA7: 9E10E0 STZ $E010,X [Store zero into Character Sprite/Animation] C1/EFAA: ++ A900 LDA #$00 C1/EFAC: 8004 ++ BRA $EFB0 C1/EFAE: + A901 LDA #$01 C1/EFB0: ++ 2501 AND $01 C1/EFB2: 9D11E0 STA $E011,X C1/EFB5: +# 821BF9 BRL $E8D3 [Go back to master command interpreter?] [Command 33: 33nnxx: Store a new color into a special color slot?] C1/EFB8: C210 REP #$10 [Disable 8-Bit Registers] C1/EFBA: A00200 LDY #$0002 [Load #$02 into Y] C1/EFBD: B7D1 LDA [$D1],Y [Load SecondOperand into Accumulator] C1/EFBF: EB XBA [Switch A and B] C1/EFC0: A4D1 LDY $D1 [Load Event File Pointer into Y] C1/EFC2: C8 INY [Increment Y] C1/EFC3: C8 INY [Twice] C1/EFC4: C8 INY [Thrice] C1/EFC5: 84D1 STY $D1 [Store back into Event File Pointer] C1/EFC7: A505 LDA $05 [Load FirstOperand] C1/EFC9: C220 REP #$20 C1/EFCB: 8D0006 STA $0600 C1/EFCE: 8202F9 BRL $E8D3 [Command 34: Same as 31, but indefinitely?] C1/EFD1: 20AFEE JSR $EEAF C1/EFD4: A930 LDA #$30 C1/EFD6: 9D1CE0 STA $E01C,X C1/EFD9: 9E42E0 STZ $E042,X C1/EFDC: 82F4F8 BRL $E8D3 [Command 35: Something to do with the Status Bar?] C1/EFDF: C220 REP #$20 C1/EFE1: E6D1 INC $D1 [Increment Event File Pointer] C1/EFE3: 2026E3 JSR $E326 C1/EFE6: 60 RTS [Command 36 & 37] C1/EFE7: C220 REP #$20 [Disable 8-Bit Emulation] C1/EFE9: A001 LDY #$01 [Load #$01 into Y] C1/EFEB: B7D1 LDA [$D1],Y [Load first operand] C1/EFED: E6D1 INC $D1 [Increment Event File Pointer] C1/EFEF: E6D1 INC $D1 [Increment Event File Pointer] C1/EFF1: E6D1 INC $D1 [Increment Event File Pointer] C1/EFF3: A604 LDX $04 [Load Event Command into X] C1/EFF5: 225700C0 JSR $C00057 [Jump to...] C1/EFF9: 60 RTS [Return] [Command 38: 38nn: Check who's leading the party?] C1/EFFA: C210 REP #10 [Disable 8-bit Index Registers] C1/EFFC: 8500 STA $00 [Store...what there?] C1/EFFE: A4D1 LDY $D1 [Load Event File Pointer into Y] C1/EFFF: C8 INY [Increment Y] C1/F000: C8 INY [Increment Y] C1/F002: A5D5 LDA $D5 [Load C1/F004: 4A LSR A C1/F005: C505 CMP $05 [Compare with Event Command operand] C1/F007: F002 + BEQ $F00B C1/F009: C8 INY [Increment Y] C1/F00A: C8 INY [Increment Y] C1/F00B: + 84D1 STY $D1 [Store Y into Event File Pointer] C1/F00D: 82C3F8 BRL $E8D3 [Command 39: 39nnxxyy: Set character 01~03's character data at byte $E1xx,[nn] to yy.] C1/F010: C230 REP #$30 [Disable 8-Bit Emulation, Registers] C1/F012: A00200 LDY #$0002 [Load #$0002 into Y] C1/F015: B7D1 LDA [$D1],Y [Load second & third operand through Event File Pointer] C1/F017: 8500 STA $00 [Store into SecondOperand] C1/F019: A5D1 LDA $D1 [Load Event File Pointer into Accumulator] C1/F01B: 18 CLC [Clear Carry] C1/F01C: 690400 ADC #$0004 [Add #$0004] C1/F01F: 85D1 STA $D1 [Store back into Event File Pointer] C1/F021: A6D4 LDX $D4 [Load Lead Character Data Index] C1/F023: A505 LDA $05 [Load Event Command (first) operand into Accumulator] C1/F025: 29FF00 AND #$00FF [Throw out high byte (it's unrelated anyways)] C1/F028: F00B + BEQ $F035 [Branch ahead if it's equal to 0] C1/F02A: A63A LDX $3A [Load $3A into X] C1/F02C: 898000 BIT #$0080 [Check for #%00001000] C1/F02F: D004 + BNE $F035 [Branch ahead if it's present] C1/F031: 3A DEC A [Decrement Accumulator] C1/F032: 0A ASL A [Multiply it by 2] C1/F033: EB XBA [Switch Accumulator bytes] C1/F034: AA TAX [Transfer Accumulator to X] C1/F035: + 8602 STX $02 [Store X into TempX] C1/F037: A500 LDA $00 [Load SecondOperand into Accumulator] C1/F039: 29FF00 AND #$00FF [Throw out first byte] C1/F03C: 18 CLC [Clear Carry] C1/F03D: 690001 ADC #$0100 [Add #$0100 to Accumulator] {Deal with the second page of a given character} C1/F040: 0502 ORA $02 [Logical OR TempX with Accumulator] {Figure in character block index} C1/F042: AA TAX [Transfer Accumulator to X] C1/F043: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/F045: A501 LDA $01 [Load ThirdOperand] C1/F047: 9D00E0 STA $E000,X [Store in character data page] C1/F04A: 60 RTS [Return] [Command 3A: 3Annxxyy?] C1/F04B: C230 REP #$30 [Disable 8-Bit Emulation, Registers] C1/F04D: A00200 LDY #$0002 [Load #$0002 into Y] C1/F050: B7D1 LDA [$D1],Y [Load second & third operand through Event File Pointer] C1/F052: 8500 STA $00 [Store into second and third operand] C1/F054: A5D1 LDA $D1 [Load Event File Pointer into Accumulator] C1/F056: 18 CLC [Clear Carry] C1/F057: 690400 ADC #$0004 [Add 4] C1/F05A: 85D1 STA $D1 [Store back into Event File Pointer] C1/F05C: A6D4 LDX $D4 [Load Lead Character Data Index] C1/F05E: A505 LDA $05 C1/F060: 29FF00 AND #$00FF C1/F063: F004 BEQ $F069 C1/F065: 3A DEC A C1/F066: 0A ASL A C1/F067: EB XBA C1/F068: AA TAX C1/F069: A500 LDA $00 C1/F06B: 9D40E0 STA $E040,X C1/F06E: 60 RTS [Command 3B] C1/F06F: A505 LDA $05 C1/F071: 290F AND #$0F C1/F073: C903 CMP #$03 C1/F075: D002 + BNE $F079 C1/F077: A904 LDA #$04 C1/F079: + 8502 STA $02 C1/F07B: A505 LDA $05 C1/F07D: 4A LSR A C1/F07E: 4A LSR A C1/F07F: 4A LSR A C1/F080: 4A LSR A C1/F081: D00C BNE $F08F C1/F083: A5D9 LDA $D9 C1/F085: 30F2 BMI $F079 C1/F087: A5DA LDA $DA C1/F089: 30EE BMI $F079 C1/F08B: A5DB LDA $DB C1/F08D: 8010 BRA $F09F C1/F08F: 3A DEC A C1/F090: D004 BNE $F096 C1/F092: A5D9 LDA $D9 C1/F094: 8009 BRA $F09F C1/F096: 3A DEC A C1/F097: D004 BNE $F09D C1/F099: A5DA LDA $DA C1/F09B: 8002 BRA $F09F C1/F09D: A5DB LDA $DB C1/F09F: 8503 STA $03 C1/F0A1: A502 LDA $02 C1/F0A3: F006 BEQ $F0AB C1/F0A5: 2503 AND $03 C1/F0A7: D010 BNE $F0B9 C1/F0A9: F004 BEQ $F0AF C1/F0AB: A503 LDA $03 C1/F0AD: F00A BEQ $F0B9 C1/F0AF: C220 REP #$20 C1/F0B1: A5D1 LDA $D1 C1/F0B3: 18 CLC C1/F0B4: 690400 ADC #$0004 C1/F0B7: 8008 BRA $F0C1 C1/F0B9: C220 REP #$20 C1/F0BB: A5D1 LDA $D1 C1/F0BD: 18 CLC C1/F0BE: 690200 ADC #$0002 C1/F0C1: 85D1 STA $D1 C1/F0C3: 820DF8 BRL $E8D3 [Command 3C] C1/F0C6: A200A5 LDX #$A500 C1/F0C9: D9F00B CMP $0BF0,Y C1/F0CC: E8 INX C1/F0CD: A5DA LDA $DA C1/F0CF: F006 BEQ $F0D7 C1/F0D1: E8 INX C1/F0D2: A5DB LDA $DB C1/F0D4: F001 BEQ $F0D7 C1/F0D6: E8 INX C1/F0D7: 8A TXA C1/F0D8: C210 REP #$10 C1/F0DA: A4D1 LDY $D1 C1/F0DC: C8 INY C1/F0DD: C8 INY C1/F0DE: C505 CMP $05 C1/F0E0: F002 BEQ $F0E4 C1/F0E2: C8 INY C1/F0E3: C8 INY C1/F0E4: 84D1 STY $D1 C1/F0E6: 82EAF7 BRL $E8D3 [Command 3D] C1/F0E9: 60 RTS [Command 3E] C1/F0EA: 60 RTS [Command 3F] C1/F0EB: 60 RTS [Command 40: Play Music. As an aside, this is remarkably straight forward.] C1/F0EC: A505 LDA $05 [Load Event Script Command operand] C1/F0EE: 8D001E STA $1E00 [Store here. Bank 7E] C1/F0F1: A002 LDY #$02 [Load #$02 into Y] C1/F0F3: B7D1 LDA [$D1],Y [Load second operand (from pointer) into Accumulator] C1/F0F5: 8D011E STA $1E01 [Store here] C1/F0F8: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/F0FA: A003 LDY #$03 [Load #$03 into Y] C1/F0FC: B7D1 LDA [$D1],Y [Load third/fourth operand (from pointer) into Accumulator] C1/F0FE: 8D021E STA $1E02 [Store here] C1/F101: A5D1 LDA $D1 [Load Event File Pointer] C1/F103: 18 CLC [Clear Carry] C1/F104: 690500 ADC #$0005 [Add #$05] C1/F107: 85D1 STA $D1 [Store back into Event File Pointer] C1/F109: 220400C3 JSR $C30004 [Jump to the music bank, why not?] C1/F10D: 60 RTS [Return] [Command 41: ] C1/F10E: A505 LDA $05 [Load Event Script Command operand] C1/F110: 8500 STA $00 C1/F112: A002 LDY #$02 [Load #$02 into Y] C1/F114: B7D1 LDA [$D1],Y [Load second operand (from pointer) into Accumulator] C1/F116: 8501 C1/F118: C8 ORA ($C8,X) C1/F119: C220 REP #$20 C1/F11B: B7D1 LDA [$D1],Y C1/F11D: 8502 STA $02 C1/F11F: A5D1 LDA $D1 C1/F121: 18 CLC C1/F122: 690500 ADC #$0005 C1/F125: 85D1 STA $D1 C1/F127: A502 LDA $02 C1/F129: E220 SEP #$20 C1/F12B: EB XBA C1/F12C: 0A ASL A C1/F12D: C220 REP #$20 C1/F12F: 29FF7F AND #$7FFF C1/F132: 9003 BCC $F137 C1/F134: 090080 ORA #$8000 C1/F137: 4A LSR A C1/F138: 8512 STA $12 C1/F13A: 18 CLC C1/F13B: 22FFCA00 JSR $00CAFF C1/F13F: 60 RTS [42445F: Event flag must be >= 5 and < F] [424410] [Command 42: 42nnxx: Branch ahead 2 bytes if event flag nn is >= x[1] and < x[0]. Yeah, it's fucked up.] C1/F140: A002 LDY #$02 [Load #$02 into Y] C1/F142: B7D1 LDA [$D1],Y [Load second operand through Event File Pointer] C1/F144: 8501 STA $01 [Store into SecondOperand] C1/F146: 290F AND #$0F [Logical AND for low bits] C1/F148: 8500 STA $00 [Store into SecondOperandLowBits] C1/F14A: A501 LDA $01 [Load SecondOperand] C1/F14C: 4A LSR A [Shift right 1 bit] {Throw out low bits, since they're stored elsewhere} C1/F14D: 4A LSR A [Again, shift right 1 bit] C1/F14E: 4A LSR A [Yet again, shift right 1 bit] C1/F14F: 4A LSR A [Finally, shift right 1 bit] C1/F150: 8501 STA $01 [Store back into SecondOperandHighBits] C1/F152: A605 LDX $05 [Load Event Command Operand into X] C1/F154: C210 REP #$10 [Disable 8-bit Emulation Mode] C1/F156: A4D1 LDY $D1 [Load Event File Pointer into Y] C1/F158: C8 INY [Increment Y] C1/F159: C8 INY [Increment Y again] C1/F15A: C8 INY [Increment Y yet again] C1/F15B: BD00CF LDA $CF00,X [Load Event Flag[Operand]] C1/F15E: C501 CMP $01 [Compare with SecondOperandHighBits] {Just, in their low bits form} C1/F160: 9006 + BCC $F168 [Branch ahead if Event Flag[Operand] < SecondOperandHighBits] C1/F162: C500 CMP $00 [Compare with SecondOperandLowBits] C1/F164: F004 ++ BEQ $F16A [Branch ahead if equal] C1/F166: 9002 ++ BCC $F16A [Branch ahead if Event Flag[Operand] < SecondOperandLowBits] C1/F168: + C8 INY [Increment Y] C1/F169: C8 INY [Increment Y] C1/F16A: ++ 84D1 STY $D1 [Store Y into Event File Pointer] C1/F16C: 8264F7 BRL $E8D3 [Branch back to that thing] [Command 43: 43nnxx:] C1/F16F: A002 LDY #$02 [Load #$02 into Y] C1/F171: B7D1 LDA [$D1],Y [Load second operand through Event File Pointer] C1/F173: 8504 STA $04 [Store into TempSecond] C1/F175: A604 LDX $04 [Load TempSecond into X] C1/F177: BD00CF LDA $CF00,X [Load Event Flag[Operand]] C1/F17A: 290F AND #$0F [Logical AND for low bits] C1/F17C: 8502 STA $02 [Store into TempFlag] C1/F17E: A505 LDA $05 [Load Event Command Operand] C1/F180: 4A LSR A [Shift right 1 bit] C1/F181: 4A LSR A [Again, shift right 1 bit] C1/F182: 4A LSR A [Yet again, shift right 1 bit] C1/F183: 4A LSR A [Once again, shift right 1 bit] C1/F184: 4A LSR A [Finally, shift right 1 bit] C1/F185: B012 + BCS $F199 C1/F187: 4A LSR A [Bitch, shift right 1 bit] C1/F188: B009 ++ BCS $F193 C1/F18A: 4A LSR A [Do the elctric shift right 1 bit] C1/F18B: 9014 +! BCC $F1A1 C1/F18D: A505 LDA $05 C1/F18F: 4502 EOR $02 C1/F191: 800A BRA $F19D C1/F193: ++ A505 LDA $05 [Load Event command Operand] C1/F195: 0502 ORA $02 [OR with TempFlag] C1/F197: 8004 BRA $F19D C1/F199: + A505 LDA $05 C1/F19B: 0502 ORA $02 C1/F19D: 290F AND #$0F C1/F19F: 8502 C1/F1A1: +! A505 C1/F1A3: 100A ASL A C1/F1A5: BD00CF LDA $CF00,X C1/F1A8: 29F0 AND #$F0 C1/F1AB: 0502 ORA $02 C1/F1AD: 9D00CF BRK #$CF C1/F1AF: A502 LDA $02 C1/F1B1: F00A BEQ $F1BD C1/F1B3: C220 REP #$20 C1/F1B5: A5D1 LDA $D1 C1/F1B7: 18 CLC C1/F1B8: 690300 ADC #$0003 C1/F1BB: 8009 BRA $F1C6 C1/F1BD: 60 RTS C1/F1BE: C220 REP #$20 [Disable 8-Bit Accumulator] C1/F1C0: A5D1 LDA $D1 [Load Event File Pointer] C1/F1C2: 18 CLC [Clear Carry] C1/F1C3: 690500 ADC #$0005 [Add #$05] C1/F1C6: 85D1 STA $D1 [Store back into Event File Pointer] C1/F1C8: 8208F7 BRL $E8D3 [Command 44: Dummy] C1/F1CB: 60 RTS [Command 45: Dummy] C1/F1CC: 60 RTS [Command 46: Dummy] C1/F1CD: 60 RTS [Command 47: Dummy] C1/F1CE: 60 RTS [Command 48: 48nnxxyy: What the devil does this do?] {nn: flag index, xx: unused?, yy: flag index} C1/F1CF: A002 LDY #$02 [Load #$02 into Y] C1/F1D1: B7D1 LDA [$D1],Y [Load Second Operand] C1/F1D3: 8504 STA $04 [Store into TempSecond] {...unused?} C1/F1D4: C8 INY [Increment Y] C1/F1D6: B7D1 LDA [$D1],Y [Load Third Operand] C1/F1D8: AA TAX [Transfer Accumulator to X] C1/F1D9: A505 LDA $05 [Load Event Command Operand] C1/F1DB: 29F0 AND #$F0 [AND with #$F0] C1/F1DD: 8505 STA $05 [Store into Event Command Operand] C1/F1DF: BD00CF LDA $CF00,X [Load Event Flag[Operand]] C1/F1E2: 290F AND #$0F [AND with #$0F] C1/F1E4: 0505 ORA $05 [OR with Event Command Operand] C1/F1E6: 8505 STA $05 [Store into Event Command Operand] C1/F1E8: C220 REP #$20 [Disable 8-Bit Accumulator] C1/F1EA: E6D1 INC $D1 [Increment Event File Pointer] C1/F1EC: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/F1EE: 8284FF BRL $F175 [Command 49~4E: 49nnxxyy: Logical Operations (49~4E) on character nn, at $E1xx,[nn] and checked against yy] C1/F1F1: A002 LDY #$02 [Load #$02 into Y] C1/F1F3: C220 REP #$20 [Disable 8-bit Emulation Mode] C1/F1F5: B7D1 LDA [$D1],Y [Load Second Operand] C1/F1F7: 8502 STA $02 [Store into SecondOperand] C1/F1F9: C210 REP #$10 [Disable 8-bit Registers] C1/F1FB: A6D4 LDX $D4 [Load Lead Character Data Index into X] C1/F1FD: A505 LDA $05 [Load Event Command Operand] C1/F1FF: 29FF00 AND #$00FF [Logical AND with #$00FF to throw out high byte] C1/F202: F00B + BEQ $F20F [Branch ahead if Event Command Operand[Low] is 0] C1/F204: A63A LDX $3A C1/F206: C98000 CMP #$0080 C1/F209: B004 + BCS $F20F [Branch ahead if $3A > #$0080] C1/F20B: 3A DEC A [Decrement Aaccumulator] C1/F20C: 0A ASL A [Multiply it by 2] C1/F20D: EB XBA [Switch Accumulator bytes] C1/F20E: AA TAX [Transfer Accumulator to X] C1/F20F: + 8A TXA [Transfer X to Accumulator] C1/F210: 090001 ORA #$0100 [Logical OR Accumulator with #$0100 for Character Data[High Segment]] C1/F213: E220 SEP #$20 [Enable 8-bit Emulation Mode] C1/F215: A502 LDA $02 [Load SecondOperand[Low] into Accumulator] C1/F217: AA TAX [Transfer Accumulator to X] C1/F218: BD00E0 LDA $E000,X [Load the value from Character Data] C1/F21B: 8502 STA $02 [Store into SecondOperand[Low]] C1/F21D: A504 LDA $04 [Load Event Command] C1/F21F: 2907 AND #$07 [Logical AND it with #$07] C1/F221: 3A DEC A [Decrement Accumulator] C1/F222: F01C + BEQ $F240 [Branch to (49) Segment if Accumulator was initially 1] C1/F224: 3A DEC A [Decrement Accumulator] C1/F225: F021 ++ BEQ $F248 [Branch to (4A) Segment if Accumulator was initially 2] C1/F227: 3A DEC A [Decrement Accumulator] C1/F228: F028 +! BEQ $F252 [Branch to (4B) Segment if Accumulator was initially 3] C1/F22A: 3A DEC A [Decrement Accumulator] C1/F22B: F02D +@ BEQ $F25A [Branch to (4C) Segment if Accumulator was initially 4] C1/F22D: 3A DEC A [Decrement Accumulator] C1/F22E: F008 +$ BEQ $F238 [Branch to (4D) Segment if Accumulator was initially 5] [A == 6 (4E) Segment: $02 == $03] C1/F230: A502 LDA $02 C1/F232: C503 CMP $03 C1/F234: F036 * BEQ $F26C [Branch to Success] C1/F236: 8028 x BRA $F260 [Branch to Failure] [A == 5 (4D) Segment: $02 XOR $03] C1/F238: +$ A502 LDA $02 C1/F23A: 4503 EOR $03 C1/F23C: D02E * BNE $F26C [Branch to Success] C1/F23E: F020 x BEQ $F260 [Branch to Failure] [A == 1 (49) Segment: $02 >= $03, else skip ahead] C1/F240: + A502 LDA $02 C1/F242: C503 CMP $03 C1/F244: B026 * BCS $F26C C1/F246: 9018 x BCC $F260 [A == 2 (4A) Segment: $02 <=] C1/F248: ++ A502 LDA $02 C1/F24A: C503 CMP $03 C1/F24C: F01E * BEQ $F26C C1/F24E: B010 x BCS $F260 C1/F250: 901A * BCC $F26C [A == 3 (4B) Segment: $02 & $03] C1/F252: +! A502 LDA $02 C1/F254: 2503 AND $03 C1/F256: D014 * BNE $F26C C1/F258: F006 x BEQ $F260 [A == 4 (4C) Segment: $02 | $03] C1/F25A: +@ A502 LDA $02 [Load SecondOperand[Low]] C1/F25C: 0503 ORA $03 C1/F25E: D00C * BNE $F26C {Failure: Skip statement following the test} C1/F260: C220 REP #$20 [Disable 8-bit Accumulator] C1/F262: A5D1 LDA $D1 [Load Event File Pointer] C1/F264: 18 CLC [Clear Carry] C1/F265: 690600 ADC #$0006 [Add #$0006 to Accumulator] C1/F268: 85D1 STA $D1 [Store back into Event File Pointer] C1/F26A: 8008 BRA $F274 [Branch to Wrap Up] {Success: Do statement following the test} C1/F26C: * C220 REP #$20 [Disable 8-bit Accumulator] C1/F26E: A5D1 LDA $D1 [Load Event File Pointer] C1/F270: 18 CLC [Clear Carry] C1/F271: 690400 ADC #$0004 [Add #$0004 to Accumulator] {Wrap Up} C1/F274: 85D1 STA $D1 [Store into Event File Pointer] C1/F276: 825AF6 BRL $E8D3 [Command 4F: Dummy] C1/F279: 60 RTS [Command 50: General Purpose Text Event Command?] C1/F27A: A5D1 LDA $D1 [Load Event File Pointer[0]] C1/F27C: 8D011D STA $1D01 [Store here] C1/F27F: A5D2 LDA $D2 [Load Event File Pointer[1]] C1/F281: 8D021D STA $1D02 [Store here] C1/F284: A5D3 LDA $D3 [Load Event File Pointer[2]] C1/F286: 8D031D STA $1D03 [Store here. Read by Sub C0/0229] C1/F289: A5B8 LDA $B8 [Load this shit] C1/F28B: 0A ASL A [Multiply it by 2] C1/F28C: 2A ROL A [Rotate it left] C1/F28D: 2A ROL A [Rotate it left again] C1/F28E: 2903 AND #$03 [Logical AND for #%00000011] C1/F290: 8D051D STA $1D05 [Store here.] C1/F293: A901 LDA #$01 C1/F295: 8548 STA $48 C1/F297: A981 LDA #$01 C1/F299: 85D0 STA $D0 [What significance does #$01 being here have?] C1/F29B: 60 RTS C1/F29C: E220 SEP #$20 C1/F29E: 8B PHB C1/F29F: A97E LDA #$7E C1/F2A1: 48 PHA C1/F2A2: AB PLB C1/F2A3: A910 LDA #$10 C1/F2A5: 14E2 TRB $E2 C1/F2A7: 20ACF2 JSR $F2AC C1/F2AA: AB PLB C1/F2AB: 6B RTL [Man, I don't even know.] C1/F2AC: C220 REP #$20 C1/F2AE: AD0206 LDA $0602 C1/F2B1: 8D02DE STA $DE02 C1/F2B4: AD0406 LDA $0604 C1/F2B7: 8D04DE STA $DE04 C1/F2BA: AD0606 LDA $0606 C1/F2BD: 8D06DE STA $DE06 C1/F2C0: AD0806 LDA $0608 C1/F2C3: 8D08DE STA $DE08 C1/F2C6: AD0A06 LDA $060A C1/F2C9: 8D0ADE STA $DE0A C1/F2CC: AD0C06 LDA $060C C1/F2CF: 8D0CDE STA $DE0C C1/F2D2: AD0E06 LDA $060E C1/F2D5: 8D0EDE STA $DE0E C1/F2D8: 8B PHB C1/F2D9: C230 REP #$30 C1/F2DB: A2C9F3 LDX #$F3C9 C1/F2DE: A0D005 LDY #$05D0 C1/F2E1: A92700 LDA #$0027 C1/F2E4: 547E01 MVN $7E,$01 C1/F2E7: AB PLB C1/F2E8: 60 RTS [] {$D0 = $4E if not equal to 0} C1/F2E9: A54E LDA $4E C1/F2EB: F001 + BEQ $F2EE C1/F2ED: 60 RTS C1/F2EE: + A901 C1/F2F0: 85D0 STA $D0 C1/F2F2: 82DEF5 BRL {Uh} C1/F2F5: A548 PHA C1/F2F7: F001 + BEQ $F2FA C1/F2F9: 60 RTS C1/F2FA: + AD011D LDA $1D01 C1/F2FD: 85D1 STA $D1 [Store into Event File Pointer[0]] C1/F2FF: AD021D LDA $1D02 C1/F302: 85D2 STA $D2 [Store into Event File Pointer[1]] C1/F304: AD031D LDA $1D03 C1/F307: 85D3 STA $D3 [Store into Event File Pointer[bank]] C1/F309: A901 C1/F30B: 85D0 C1/F30D: 82C3F5 BRL C1/F310: C64F DEC $4F C1/F312: F001 + BEQ $F315 C1/F314: 60 RTS C1/F315: + A90185 LDA #$8501 C1/F318: D082 BNE $F29C C1/F31A: B7F5 LDA [$F5],Y C1/F31C: C210 REP #$10 C1/F31E: A6D4 LDX $D4 [Load Lead Character Data Index into X] C1/F320: BD2CE0 LDA $E02C,X C1/F323: F007 BEQ $F32C C1/F325: 3A DEC A C1/F326: C903D0 CMP #$D003 C1/F329: 02A9 COP #$A9 C1/F32B: 02E2 COP #$E2 C1/F32D: 10AA BPL $F2D9 C1/F32F: A9FC34 LDA #$34FC C1/F332: CCD001 CPY $01D0 C1/F335: 60 RTS {$D0 = result of comparison} C1/F336: A900 LDA #$00 C1/F338: 95CC STA $CC,X C1/F33A: A901 CPY $01A9 C1/F33C: 85D0 STA $D0 C1/F33E: 8292F5 BRL $E8D3 C1/F341: A901 85D082 BNE $F2C8 C1/F346: 8B PHB C1/F347: F5C2 SBC $C2,X C1/F349: 10A2 BPL $F2ED C1/F34B: 0016 BRK #$16 C1/F34D: 24ED BIT $ED C1/F34F: 100A BPL $F35B C1/F351: A2000A LDX #$0A00 C1/F354: 245C BIT $5C C1/F356: 1003 BPL $F35B C1/F358: A20004 LDX #$0400 C1/F35B: BD00E0 LDA $E000,X C1/F35E: F008 BEQ $F368 C1/F360: 3006 BMI $F368 C1/F362: BD42E0 LDA $E042,X C1/F365: F001 BEQ $F368 C1/F367: 60 RTS {$D0 = #$01} C1/F368: C220 REP #$20 C1/F36A: 8A TXA C1/F36B: 38 SEC C1/F36C: E90002 SBC #$0200 C1/F36F: AA TAX C1/F370: E220 SEP #$20 C1/F372: 10E7 BPL $F35B C1/F374: A901 LDA #$01 C1/F376: 85D0 STA $D0 C1/F378: 8258F5 BRL $E8D3 C1/F37B: A5E2 LDA $E2 C1/F37D: 8908 BIT #$08 C1/F37F: F001 BEQ $F382 C1/F381: 60 RTS C1/F382: A901 LDA #$01 C1/F384: 85D0 STA $D0 C1/F386: 824AF5 BRL $E8D3 C1/F389: A901 LDA #$01 C1/F38B: 85D0 STA $D0 C1/F38D: 8243F5 BRL $E8D3 C1/F390: C220 REP #$20 C1/F392: 8A TXA C1/F393: EB XBA C1/F394: 0A ASL A C1/F395: 0A ASL A C1/F396: 0A ASL A C1/F397: A8 TAY C1/F398: A90000 LDA #$0000 C1/F39B: 99500A STA $0A50,Y C1/F39E: 99520A STA $0A52,Y C1/F3A1: 99530A STA $0A53,Y C1/F3A4: 9D1AE0 STA $E01A,X C1/F3A7: A91728 LDA #$2817 C1/F3AA: 99560A STA $0A56,Y C1/F3AD: E220 SEP #$20 C1/F3AF: A900 LDA #$00 C1/F3B1: 9D41E0 STA $E041,X C1/F3B4: 9D1CE0 STA $E01C,X C1/F3B7: 9D1DE0 STA $E01D,X C1/F3BA: 9D11E0 STA $E011,X C1/F3BD: 9D13E0 STA $E013,X C1/F3C0: A9FF LDA #$FF C1/F3C2: 9D30E0 STA $E030,X C1/F3C5: 9E63E0 STZ $E063,X C1/F3C8: 60 RTS C1/F3C9: 7F200620 ADC $200620,X C1/F3CD: 20068F JSR $8F06 C1/F3D0: 02DE COP #$DE C1/F3D2: 0000 BRK #$00 C1/F3D4: 7F102010 ADC $102010,X C1/F3D8: 8F010203 STA $030201 C1/F3DC: 0405 TSB $05 C1/F3DE: 0607 ASL $07 C1/F3E0: 08 PHP C1/F3E1: 090A ORA #$0A C1/F3E3: 0B PHD C1/F3E4: 0C0D0E TSB $0E0D C1/F3E7: 0F000022 ORA $220000 C1/F3EB: 51E3 EOR ($E3),Y C1/F3ED: 0022 BRK #$22 C1/F3EF: 30AB BMI $F39C C1/F3F1: 0260 COP #$60 C1/F3F3: 5A PHY C1/F3F4: DA PHX C1/F3F5: 2228E300 JSR $00E328 C1/F3F9: C230 REP #$30 C1/F3FB: 2088CB JSR $CB88 C1/F3FE: C230 REP #$30 C1/F400: FA PLX C1/F401: 7A PLY C1/F402: 60 RTS [Grocery List of Room-Related Shit] C1/F403: 20CEF5 JSR $F5CE [Load Animation Tilesets] C1/F406: 202DF6 JSR $F62D [Load background palettes] C1/F409: 209BF6 JSR $F69B [Load Numbers?] C1/F40C: 2002F7 JSR $F702 [] C1/F40F: 2013F4 JSR $F413 [Pointer #5] C1/F412: 6B RTL [Pointer #5] C1/F413: E230 SEP #$30 [Enable 8-Bit Accumulator, Registers] C1/F415: A980 LDA #$80 [Load #$80 into Accumulator] C1/F417: 8D1521 STA $2115 [Store into Video Port Control] {increment after writing $2119/reading $213a} C1/F41A: A9CC LDA #$CC C1/F41C: 8512 STA $12 [Bank Byte} C1/F41E: A51C LDA $1C {Graphic Set #} C1/F420: 293F AND #$3F C1/F422: 0A ASL A C1/F423: AA TAX C1/F424: C220 REP #$20 [Disable 8-Bit Accumulator] C1/F426: BF7EE2CC LDA $CCE27E,X [Load Map Graphics Pointers?] C1/F42A: 8510 STA $10 C1/F42C: BF80E2CC LDA $CCE280,X [Load Next Pointer] C1/F430: 38 SEC C1/F431: E510 SBC $10 C1/F433: 8514 STA $14 [Store into PointerLimit] C1/F435: A90000 LDA #$0000 C1/F438: A000 LDY #$00 C1/F43A: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F43D: A90118 LDA #$1801 {DMA Control shit, includes $4371 too} C1/F440: 8D7043 STA $4370 [DMA Control Channel 7] C1/F443: C230 REP #$30 [Disable 8-Bit Acc., Regs] C1/F445: B710 LDA [$10],Y [Load Map Graphics Pointer] C1/F447: C8 INY C1/F448: C8 INY C1/F449: 5A PHY C1/F44A: 2056F4 JSR $F456 C1/F44D: C230 REP #$30 C1/F44F: 7A PLY C1/F450: C8 INY C1/F451: C414 CPY $14 C1/F453: 90EE BCC $F443 C1/F455: 60 RTS [] C1/F456: 48 PHA [Push Accumulator onto Stack] C1/F457: E220 SEP #$20 [Enable 8-Bit Accumulator] C1/F459: B710 LDA [$10],Y [Pointer to table in Bank C] C1/F45B: 6409 STZ $09 [Store zero into Size[High]] C1/F45D: 1A INC A [Increment Accumulator] C1/F45E: 8508 STA $08 [Store into Size[Low]] C1/F460: D002 + BNE $F464 [ C1/F462: E609 INC $09 [Increment Size[High]] C1/F464: + 6404 STZ $04 C1/F466: EB XBA C1/F467: 29E0 AND #$E0 C1/F469: A20000 LDX #$0000 C1/F46C: C980 CMP #$80 C1/F46E: B014 + BCS $F484 C1/F470: 48 PHA C1/F471: 2940 AND #$40 C1/F473: F002 ++ BEQ $F477 C1/F475: A9FF LDA #$FF C1/F477: ++ 8500 STA $00 C1/F479: 68 PLA C1/F47A: 2920 AND #$20 C1/F47C: F002 ++ BEQ $F480 C1/F47E: A9FF LDA #$FF C1/F480: ++ 8501 STA $01 C1/F482: 801B ++ BRA $F49F C1/F484: + C9C0 CMP #$C0 C1/F486: B00D + BCS $F495 C1/F488: 2920 AND #$20 C1/F48A: F002 +! BEQ $F48E C1/F48C: A9FF LDA #$FF C1/F48E: +! 8500 STA $00 C1/F490: A20300 LDX #$0003 C1/F493: 800A ++ BRA $F49F C1/F495: + D005 + BNE $F49C C1/F497: A20600 LDX #$0006 C1/F49A: 8003 ++ BRA $F49F C1/F49C: + A20900 LDX #$0009 C1/F49F: ++ C220 REP #$20 [Disable 8-Bit Acc.] C1/F4A1: 68 PLA C1/F4A2: 29FF1F AND #$1FFF C1/F4A5: E00900 CPX #$0009 C1/F4A8: D066 + BNE $F510 C1/F4AA: 6403 STZ $03 C1/F4AC: 4A LSR A C1/F4AD: 6603 ROR $03 C1/F4AF: 4A LSR A C1/F4B0: 6603 ROR $03 C1/F4B2: 8505 STA $05 C1/F4B4: A508 LDA $08 [Load Size] C1/F4B6: 0A ASL A C1/F4B7: 0A ASL A C1/F4B8: 0A ASL A C1/F4B9: 0A ASL A C1/F4BA: 0A ASL A C1/F4BB: 0A ASL A C1/F4BC: 8D7543 STA $4375 [Store into DMA Channel 7 Size] C1/F4BF: BF70E2CC LDA $CCE270,X [Load Graphics Pointer Base Address] C1/F4C3: 18 CLC C1/F4C4: 6504 ADC $04 C1/F4C6: 8D7243 STA $4372 C1/F4C9: E220 SEP #$20 C1/F4CB: BF72E2CC LDA $CCE272,X [Load Graphics Pointer Bank Byte] C1/F4CF: 09C0 ORA #$C0 C1/F4D1: 6506 ADC $06 C1/F4D3: 8D7443 STA $4374 [DMA Source Address for Channel 7 bank byte] C1/F4D6: C220 REP #$20 C1/F4D8: AD7243 LDA $4372 C1/F4DB: 18 CLC C1/F4DC: 6D7543 ADC $4375 C1/F4DF: 9027 BCC $F508 C1/F4E1: F025 BEQ $F508 C1/F4E3: 48 PHA C1/F4E4: E220 SEP #$20 C1/F4E6: AD7443 LDA $4374 [DMA Source Address for Channel 7 bank byte] C1/F4E9: 48 PHA C1/F4EA: C220 REP #$20 C1/F4EC: AD7243 LDA $4372 C1/F4EF: 49FFFF EOR #$FFFF C1/F4F2: 1A INC A C1/F4F3: 8D7543 STA $4375 C1/F4F6: E220 SEP #$20 C1/F4F8: A980 LDA #$80 C1/F4FA: 8D0B42 STA $420B C1/F4FD: 68 PLA C1/F4FE: 1A INC A C1/F4FF: 8D7443 STA $4374 C1/F502: C220 REP #$20 C1/F504: 68 PLA C1/F505: 8D7543 STA $4375 C1/F508: E220 SEP #$20 C1/F50A: A980 LDA #$80 C1/F50C: 8D0B42 STA $420B C1/F50F: 60 RTS C1/F510: E00600 CPX #$0006 C1/F513: D011 + BNE $F526 C1/F515: 6403 STZ $03 C1/F517: 4A LSR A C1/F518: 6603 ROR $03 C1/F51A: 4A LSR A C1/F51B: 6603 ROR $03 C1/F51D: 4A LSR A C1/F51E: 6603 ROR $03 C1/F520: 8505 STA $05 C1/F522: A508 LDA $08 C1/F524: 8091 - BRA $F4B7 {} C1/F526: + E00000 CPX #$0000 C1/F529: D041 + BNE $F56C C1/F52B: 0A ASL A [Multiply by 2] C1/F52C: 0A ASL A [Multiply by 2] C1/F52D: 0A ASL A [Multiply by 2] C1/F52E: 0A ASL A [Multiply by 2] C1/F52F: 08 PHP [Push Processor Status onto Stack] C1/F530: 18 CLC [Clear Carry] C1/F531: 7F70E2CC ADC $CCE270,X [Add Graphics Section Address] C1/F535: 6404 STZ $04 [Store zero into this thing] {Huh} C1/F537: A8 TAY [Transfer Accumulator to Y] C1/F538: 28 PLP [Pull Processor Status from Stack] C1/F539: E220 SEP #$20 [Enable 8-Bit Emulation] C1/F53B: BF72E2CC LDA $CCE272,X [Load Graphics Section Bank Byte] C1/F53F: 09C0 ORA #$C0 [Logical OR with #$C0 to reference it properly in memory] C1/F541: 6900 ADC #$00 [Add #$00 to bank, tack on a 1 if carry was set, eh?] C1/F543: 8506 STA $06 [Store into GraphicsBank] C1/F545: C230 REP #$30 [Disable 8-Bit Emulation, Registers] C1/F547: - A20800 LDX #$0008 [Load #$0008 into X] C1/F54A: -- B704 LDA [$04],Y [Load whatever's pointed to by the Graphics Pointer] C1/F54C: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F54F: C8 INY [Increment Y] C1/F550: D002 + BNE $F554 C1/F552: E606 INC $06 C1/F554: + C8 INY C1/F555: D002 + BNE $F559 C1/F557: E606 INC $06 C1/F559: + CA DEX C1/F55A: D0EE -- BNE $F54A {VRAM Write Loop} C1/F55C: A20800 LDX #$0008 C1/F55F: A500 LDA $00 C1/F561: -- 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F564: CA DEX [Decrement X] C1/F565: D0FA -- BNE $F561 {EndLoop} C1/F567: C608 DEC $08 C1/F569: D0DC - BNE $F547 C1/F56B: 60 RTS 2118 wl++-- VMDATAL - VRAM Data Write low byte 2119 wh++-- VMDATAH - VRAM Data Write high byte [Room-related] C1/F56C: 0A ASL A C1/F56D: 0A ASL A C1/F56E: 0A ASL A C1/F56F: 8504 STA $04 C1/F571: 0A ASL A C1/F572: 48 PHA C1/F573: E220 SEP #$20 C1/F575: A900 LDA #$00 C1/F577: 6900 ADC #$00 C1/F579: 8506 STA $06 C1/F57B: C220 REP #$20 C1/F57D: 68 PLA C1/F57E: 18 CLC C1/F57F: 6504 ADC $04 C1/F581: 9003 BCC $F586 C1/F583: E606 INC $06 C1/F585: 18 CLC C1/F586: 7F70E2CC ADC $CCE270,X C1/F58A: 6404 STZ $04 C1/F58C: A8 TAY C1/F58D: E220 SEP #$20 C1/F58F: BF72E2CC LDA $CCE272,X C1/F593: 09C0 ORA #$C0 C1/F595: 6506 ADC $06 C1/F597: 8506 STA $06 C1/F599: C230 REP #$30 C1/F59B: A20800 LDX #$0008 C1/F59E: B704 LDA [$04],Y C1/F5A0: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F5A3: C8 INY C1/F5A4: D002 BNE $F5A8 C1/F5A6: E606 INC $06 C1/F5A8: C8 INY C1/F5A9: D002 BNE $F5AD C1/F5AB: E606 INC $06 C1/F5AD: CA DEX C1/F5AE: D0EE BNE $F59E C1/F5B0: A20800 LDX #$0008 C1/F5B3: E220 SEP #$20 C1/F5B5: A500 LDA $00 C1/F5B7: EB XBA C1/F5B8: E220 SEP #$20 C1/F5BA: B704 LDA [$04],Y C1/F5BC: C220 REP #$20 C1/F5BE: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F5C1: C8 INY C1/F5C2: D002 BNE $F5C6 C1/F5C4: E606 INC $06 C1/F5C6: CA DEX C1/F5C7: D0EF BNE $F5B8 C1/F5C9: C608 DEC $08 C1/F5CB: D0CE BNE $F59B C1/F5CD: 60 RTS [Load Animation Tilesets] {DC8000} C1/F5CE: E230 SEP #$30 [Enable 8-Bit Emulation, Registers] C1/F5D0: A61C LDX $1C [Load RoomTileByte into X] C1/F5D2: BF0004C8 LDA $C80400,X [Load from this table] C1/F5D6: C230 REP #$30 [Disable 8-Bit Emulation, Registers] C1/F5D8: 29FF00 AND #$00FF [Logical AND with #$00FF] C1/F5DB: 0A ASL A [Multiply by 2] C1/F5DC: AA TAX [Transfer to to X] C1/F5DD: E220 SEP #$20 [Enable 8-Bit Emulation] C1/F5DF: A900 LDA #$00 [Load #$00 into Accumulator] C1/F5E1: 8500 STA $00 [Store into Scratchpad] C1/F5E3: - BF4104C8 LDA $C80441,X [Load from this table] {*= 2, OR'd with #$80, *= 0x100} C1/F5E7: 293F AND #$3F [Logical AND with #$3F] C1/F5E9: 0A ASL A [Multiply by 2] C1/F5EA: 0980 ORA #$80 [Logical OR with #$80] C1/F5EC: EB XBA [Switch A and B] C1/F5ED: A980 LDA #$80 [Load #$80 into Accumulator] C1/F5EF: 8D1521 STA $2115 [Store into Video Port Control] {increment after writing $2119/reading $213a} C1/F5F2: A9DC LDA #$DC [Load #$DC into Accumulator] C1/F5F4: 8D7443 STA $4374 [Store into DMA Channel 7 Source Bank] C1/F5F7: A900 LDA #$00 [Load #$00 into Accumulator] C1/F5F9: C220 REP #$20 [Disable 8-Bit Emulation] C1/F5FB: 8D7243 STA $4372 [Store into DMA Channel 7 Source Address] C1/F5FE: A90118 LDA #$1801 [Load #$1801 (Decrement Address, No Adjust, 2 regs write once)] C1/F601: 8D7043 STA $4370 [Store into DMA Channel 7 Control] C1/F604: A98000 LDA #$0080 [Load #$0080 into Accumulator] C1/F607: 8D7543 STA $4375 [Store into DMA Channel 7 Size] C1/F60A: A500 LDA $00 [Load LoopCounter] C1/F60C: 290700 AND #$0007 [Logical AND with #$07] C1/F60F: EB XBA [Switch A and B] C1/F610: 4A LSR A [Divide by 2] C1/F611: 4A LSR A [Divide by 2] C1/F612: 18 CLC [Clear Carry] C1/F613: 690036 ADC #$3600 [Add #$3600] C1/F616: 090000 ORA #$0000 [Logical OR with #$0000] C1/F619: 8D1621 STA $2116 [Store into VRAM Address] {#$3600+#$40*LoopCounter} C1/F61C: E220 SEP #$20 [Enable 8-Bit Emulation] C1/F61E: A980 LDA #$80 [Load #$80 (DMA Channel 7)] C1/F620: 8D0B42 STA $420B [Store into DMA Enable] C1/F623: E8 INX [Increment X] C1/F624: E600 INC $00 [Increment LoopCounter] C1/F626: A500 LDA $00 [Load LoopCounter] C1/F628: C908 CMP #$08 [Compare with #$08] C1/F62A: 90B7 - BCC $F5E3 [Loop back if it's less than that] C1/F62C: 60 RTS [Return] [Loads background palette sets, stores them in the 0620~06F0 ballpark it seems] C1/F62D: E230 SEP #$30 [Enable 8-Bit Accumulator, Registers] C1/F62F: A51B LDA $1B [Load RoomPaletteByte] C1/F631: 297F AND #$7F [Logical AND with #$7F] C1/F633: 8D0242 STA $4202 [Store into Multiplicand A] C1/F636: A9D2 LDA #$D2 [Load #$D2 into Accumulator] C1/F638: 8D0342 STA $4203 [Store into Multiplicand B] C1/F63B: C220 REP #$20 [Disable 8-Bit Accumulator] {Cleaning Loop} C1/F63D: A90000 LDA #$0000 [Load #$0000 into Accumulator] C1/F640: AA TAX [Transfer Accumulator to X] C1/F641: - 9D0006 STA $0600,X [Store into Palette Section] C1/F644: E8 INX [Increment X] C1/F645: E8 INX [Increment X] C1/F646: E020 CPX #$20 [Compare X with #$20] C1/F648: 90F7 - BCC $F641 [Loop back if it's less than that] {End Loop} {Background Palette Loading Loop} C1/F64A: C210 REP #$10 [Disable 8-Bit Registers] C1/F64C: A02200 LDY #$0022 [Load #$0022 into Y] C1/F64F: A90F00 LDA #$000F [Load #$000F into Accumulator] C1/F652: 8500 STA $00 [Store into LoopCounter] C1/F654: AE1642 LDX $4216 [Load Multiplication Product] C1/F657: - BF0080CC LDA $CC8000,X [Load Background Palette Byte] C1/F65B: 990006 STA $0600,Y [Store into Background Palette Section] C1/F65E: E8 INX [Increment X] C1/F65F: E8 INX [Increment X] C1/F660: C8 INY [Increment Y] C1/F661: C8 INY [Increment Y] C1/F662: C600 DEC $00 [Decrement LoopCounter] C1/F664: D0F1 - BNE $F657 [Loop back if LoopCounter isn't zero] C1/F666: A90F00 LDA #$000F [Load #$000F into Accumulator] C1/F669: 8500 STA $00 [Store here] C1/F66B: C8 INY [Increment Y] C1/F66C: C8 INY [Increment Y] C1/F66D: C00001 CPY #$0100 [Compare Y with #$0100] C1/F670: 90E5 - BCC $F657 [Loop back if Y is less than #$0100] {End Loop} C1/F672: A5E8 LDA $E8 [Load this thing] C1/F674: 4A LSR A [Divide by 2] C1/F675: 900F + BCC $F686 [Branch ahead if Carry Clear] C1/F677: A21E00 LDX #$001E C1/F67A: - BFB075C6 LDA $C675B0,X C1/F67E: 9D0006 STA $0600,X C1/F681: CA DEX [Decrement X] C1/F682: CA DEX [Decrement X] C1/F683: D0F5 - BNE $F67A C1/F685: 60 RTS [Return] C1/F686: + AD0E01 LDA $010E C1/F689: F00F + BEQ $F69A C1/F68B: A20200 LDX #$0002 C1/F68E: BF007ED2 LDA $D27E00,X C1/F692: 9D0406 STA $0604,X C1/F695: CA DEX C1/F696: CA DEX C1/F697: 10F5 BPL $F68E C1/F699: 60 RTS C1/F69A: + 60 RTS [] C1/F69B: E230 SEP #$30 [Enable 8-Bit Emulation, Registers] C1/F69D: C220 REP #$20 [Disable 8-Bit Emulation] C1/F69F: A90000 LDA #$0000 [Load #$0000 into Accumulator] C1/F6A2: 8500 STA $00 [Store in this thing] C1/F6A4: A90000 LDA #$0000 [Load $$0000 into Accumulator] C1/F6A7: 8D7243 STA $4372 [Store into DMA Channel 7 Source Address] C1/F6AA: A200 LDX #$00 [Load #$00 into X] C1/F6AC: 8E7443 STX $4374 [Store X into DMA Channel 7 Source Bank] C1/F6AF: A90918 LDA #$1809 [Load #$1809 (Decrement, Fixed Transfer, 1 reg write once, $2109/BG3)] C1/F6B2: 8D7043 STA $4370 [Store into DMA Channel 7 Control/Destination] C1/F6B5: A90010 LDA #$1000 [Load #$1000 into Accumulator] C1/F6B8: 8D7543 STA $4375 [Store into DMA Channel 7 Size] C1/F6BB: A280 LDX #$80 [Load #$80 into X (Increment after writing $2119/reading $213A)] C1/F6BD: 8E1521 STX $2115 [Store X into Video Port Control] C1/F6C0: A90058 LDA #$5800 [Load #$5800 into Accumulator] C1/F6C3: 8D1621 STA $2116 [Store into VRAM Address] C1/F6C6: A280 LDX #$80 [Load #$80 (DMA Channel 7) into Accumulator] C1/F6C8: 8E0B42 STX $420B [Store X into DMA Enable] C1/F6CB: 2067F7 JSR $F767 [Load Numbers?] C1/F6CE: E220 SEP #$20 [Enable 8-Bit Emulation] C1/F6D0: A5E8 LDA $E8 [Load this thing] C1/F6D2: 4A LSR A [Divide by 2] C1/F6D3: B001 + BCS $F6D6 C1/F6D5: 60 RTS C1/F6D6: + E210 SEP #$10 [Enable 8-Bit Registers] C1/F6D8: C220 REP #$20 [Disable 8-Bit Emulation] C1/F6DA: A9006C LDA #$6C00 [Load #$6C00 into Accumulator] C1/F6DD: 8D7243 STA $4372 [Store into DMA Channel 7 Source Address] C1/F6E0: A90118 LDA #$1801 C1/F6E3: 8D7043 STA $4370 [Store into DMA Channel 7 Control/Destination] C1/F6E6: A90008 LDA #$0800 [Load #$0800 into Accumulator] C1/F6E9: 8D7543 STA $4375 [Store into DMA Channel 7 Size] C1/F6EC: A2C6 LDX #$C6 [Load #$C6 into X] C1/F6EE: 8E7443 STX $4374 [Store X into DMA Channel 7 Source Bank] C1/F6F1: A280 LDX #$80 [Load #$80 into X (Increment after writing $2119/reading $213A)] C1/F6F3: 8E1521 STX $2115 [Store X into Video Port Control] C1/F6F6: A90049 LDA #$4900 [Load #$4900 into Accumulator] C1/F6F9: 8D1621 STA $2116 [Store into VRAM Address] C1/F6FC: A280 LDX #$80 [Load #$80 (DMA Channel 7) into Accumulator] C1/F6FE: 8E0B42 STX $420B [Store X into DMA Enable] C1/F701: 60 RTS [Return] [Pointer #4] C1/F702: E230 SEP #$30 C1/F704: A980 LDA #$80 C1/F706: 8D1521 STA $2115 [Store into Video Port Control] C1/F709: C220 REP #$20 C1/F70B: A90060 LDA #$6000 C1/F70E: 8502 STA $02 C1/F710: E210 SEP #$10 C1/F712: A200 LDX #$00 C1/F714: 9B TXY C1/F715: A502 LDA $02 C1/F717: 8D1621 STA $2116 C1/F71A: A008 LDY #$08 C1/F71C: BFB0F5D1 LDA $D1F5B0,X C1/F720: 29FF00 AND #$00FF C1/F723: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F726: E8 INX C1/F727: 88 DEY C1/F728: D0F2 BNE $F71C C1/F72A: CA DEX C1/F72B: A008 LDY #$08 C1/F72D: 9C1821 STZ $2118 C1/F730: 88 DEY C1/F731: D0FA BNE $F72D C1/F733: A502 LDA $02 C1/F735: 18 CLC C1/F736: 690001 ADC #$0100 C1/F739: 8D1621 STA $2116 C1/F73C: A008 LDY #$08 C1/F73E: BFB0F5D1 LDA $D1F5B0,X C1/F742: 29FF00 AND #$00FF C1/F745: 8D1821 STA $2118 [Store into VRAM Data Write Low Byte] C1/F748: CA DEX C1/F749: 88 DEY C1/F74A: D0F2 BNE $F73E C1/F74C: A008 LDY #$08 C1/F74E: 9C1821 STZ $2118 C1/F751: 88 DEY C1/F752: D0FA BNE $F74E C1/F754: 8A TXA C1/F755: 18 CLC C1/F756: 690900 ADC #$0009 C1/F759: AA TAX C1/F75A: A502 LDA $02 C1/F75C: 18 CLC C1/F75D: 691000 ADC #$0010 C1/F760: 8502 STA $02 C1/F762: E050 CPX #$50 C1/F764: 90AF BCC $F715 C1/F766: 60 RTS [Load Numbers?] C1/F767: E210 SEP #$10 [Enable 8-Bit Registers] C1/F769: C220 REP #$20 [Disable 8-Bit Emulation] C1/F76B: A98000 LDA #$0080 [Load #$0080 into Accumulator] C1/F76E: 8D7543 STA $4375 [Store into DMA Channel 7 Size] C1/F771: A90040 LDA #$4000 [Load #$4000 into Accumulator] C1/F774: 8D1621 STA $2116 [Store into VRAM Address] C1/F777: A280 LDX #$80 [Load #$80 (DMA Channel 7) into Accumulator] C1/F779: 8E0B42 STX $420B [Store X into DMA Enable] C1/F77C: A9007F LDA #$7F00 [Load #$7F00 into Accumulator] C1/F77F: 8D7243 STA $4372 [Store into DMA Channel 7 Source Address] C1/F782: A90118 LDA #$1801 [Load #$1801 (Decrement, Fixed Transfer, 1 reg write once, $@101/ObjectSizeChr)] C1/F785: 8D7043 STA $4370 [Store into DMA Channel 7 Control/Destination] C1/F788: A2D2 LDX #$D2 [Load #$D2 into X] C1/F78A: 8E7443 STX $4374 [Store into DMA Channel 7 Source Bank] C1/F78D: A280 LDX #$80 [Load #$80 (increment after reading $2119/writing $213A) into X] C1/F78F: 8E1521 STX $2115 [Store X into Video Port Control] C1/F792: A90003 LDA #$0300 [Load #$0300 into Accumulator] C1/F795: 8D7543 STA $4375 [Store into DMA Size] C1/F798: A280 LDX #$80 [Load #$80 into X] C1/F79A: 8E0B42 STX $420B [Store X into DMA Enable] C1/F79D: A900FF LDA #$FF00 [Load #$FF00 into Accumulator] C1/F7A0: 8D7243 STA $4372 [Store into DMA Channel 7 Source Address] C1/F7A3: A27F LDX #$7F [Load #$7F into X] C1/F7A5: 8E7443 STX $4374 [Store X into DMA Channel 7 Source Bank] C1/F7A8: 8B PHB [Push DataBank onto Stack] C1/F7A9: DA PHX [Push X onto Stack] C1/F7AA: AB PLB [Pull X from Stack into DataBank] C1/F7AB: A008 LDY #$08 [Load #$08 into Y] C1/F7AD: 8402 STY $02 [Store Y into LoopCounter] C1/F7AF: A200 LDX #$00 [Load #$00 into X] C1/F7B1: C220 REP #$20 [Disable 8-Bit Emulation] C1/F7B3: A000 LDY #$00 [Load #$00 into Y] C1/F7B5: - BF707ED2 LDA $D27E70,X [Load this thing] C1/F7B9: 9910FF STA $FF10,Y [Store into $7FFF10,Y] C1/F7BC: E8 INX [Increment X] C1/F7BD: E8 INX [Increment X] C1/F7BE: C8 INY [Increment Y] C1/F7BF: C8 INY [Increment Y] C1/F7C0: C010 CPY #$10 [Compare Y with #$10] C1/F7C2: 90F1 - BCC $F7B5 [Loop back if Y < #$10] C1/F7C4: DA PHX [Push X onto Stack] C1/F7C5: 20CFF7 JSR $F7CF [Jump to...this thing] C1/F7C8: FA PLX [Pull X from Stack] C1/F7C9: C602 DEC $02 [Decrement LoopCounter] C1/F7CB: D0E4 BNE $F7B1 [Loop back if LoopCounter isn't zero] C1/F7CD: AB PLB [Pull DataBank from Stack] C1/F7CE: 60 RTS [Return] [This thing has a crapton of JSRs to the same subroutine] C1/F7CF: E220 SEP #$20 [Enable 8-Bit Emulation] C1/F7D1: A210 LDX #$10 [Load #$10 into X] C1/F7D3: A000 LDY #$00 [Load #$00 into Y] C1/F7D5: 2004F8 JSR $F804 [] C1/F7D8: A210 LDX #$10 [Load #$10 into X] C1/F7DA: A020 LDY #$20 [Load #$20 into Y] C1/F7DC: 2017F8 JSR $F817 [Do this for X #$10/Y #$20] C1/F7DF: 2017F8 JSR $F817 [Do this for X #$20/Y #$30] C1/F7E2: 2017F8 JSR $F817 [Do this for X #$30/Y #$40] C1/F7E5: 2017F8 JSR $F817 [Do this for X #$40/Y #$50] C1/F7E8: 2017F8 JSR $F817 [Do this for X #$50/Y #$60] C1/F7EB: 2017F8 JSR $F817 [Do this for X #$60/Y #$70] C1/F7EE: 2017F8 JSR $F817 [Do this for X #$70/Y #$80] C1/F7F1: A900 LDA #$00 [Load #$00 into Accumulator] C1/F7F3: 8F724300 STA $004372 [Store into DMA Channel 7 Source Address] C1/F7F7: A990 LDA #$90 [Load #$90 into Accumulator] C1/F7F9: 8F754300 STA $004375 [Store into DMA Channel 7 Size] C1/F7FD: A980 LDA #$80 [Load #$80 (DMA Channel 7) into Accumulator] C1/F7FF: 8F0B4200 STA $00420B [Store into DMA Enable] C1/F803: 60 RTS [Return] [Runs through the table at 7FFF00,X (10), stores into scratchpad, LSRs, rotates Carry (if set) into Accumulator, then stores into into 7FFF00,Y (00)] C1/F804: - BD00FF LDA $FF00,X [Load this thing] C1/F807: 8500 STA $00 [Store into Scratchpad] C1/F809: 4600 LSR $00 [Shift Scratch right one bit] C1/F80B: 2A ROL A [Rotate Accumulator left] C1/F80C: 9900FF STA $FF00,Y [Store into this thing] C1/F80F: E8 INX [Increment X] C1/F810: C8 INY [Increment Y] C1/F811: 98 TYA [Transfer Y to Accumulator] C1/F812: 290F AND #$0F [Logical AND with #$0F] C1/F814: D0EE - BNE $F804 [Loop back if result isn't zero] C1/F816: 60 RTS [Return] [] C1/F817: BD00FF LDA $FF00,X C1/F81A: C980 CMP #$80 C1/F81C: 6A ROR A C1/F81D: 9900FF STA $FF00,Y C1/F820: E8 INX C1/F821: C8 INY C1/F822: 98 TYA C1/F823: 290F AND #$0F C1/F825: D0F0 BNE $F817 C1/F827: 60 RTS C1/F828: 203CF8 JSR $F83C C1/F82B: 20A7F8 JSR $F8A7 C1/F82E: 20E9F8 JSR $F8E9 C1/F831: 225EB702 JSR $02B75E C1/F835: 2044F9 JSR $F944 C1/F838: 206AF9 JSR $F96A C1/F83B: 6B RTL C1/F83C: E230 SEP #$30 C1/F83E: A200 LDX #$00 C1/F840: 9B TXY C1/F841: BF807DC6 LDA $C67D80,X C1/F845: 48 PHA C1/F846: 0A ASL A C1/F847: 0A ASL A C1/F848: 0A ASL A C1/F849: 0A ASL A C1/F84A: 990006 STA $0600,Y C1/F84D: C8 INY C1/F84E: 68 PLA C1/F84F: 29F0 AND #$F0 C1/F851: 990006 STA $0600,Y C1/F854: E8 INX C1/F855: C8 INY C1/F856: D0E9 BNE $F841 C1/F858: AD0006 LDA $0600 C1/F85B: 8504 STA $04 C1/F85D: A900 LDA #$00 C1/F85F: A8 TAY C1/F860: 8503 STA $03 C1/F862: 8500 STA $00 C1/F864: 8501 STA $01 C1/F866: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F869: 8D1721 STA $2117 [Store into VRAM Address High Byte] C1/F86C: A9C6 LDA #$C6 C1/F86E: 8502 STA $02 C1/F870: A980 LDA #$80 C1/F872: 8D1521 STA $2115 [Store into Video Port Control] C1/F875: A220 LDX #$20 C1/F877: B700 LDA [$00],Y C1/F879: 48 PHA C1/F87A: 290F AND #$0F C1/F87C: 0504 ORA $04 C1/F87E: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/F881: 68 PLA C1/F882: 4A LSR A C1/F883: 4A LSR A C1/F884: 4A LSR A C1/F885: 4A LSR A C1/F886: 0504 ORA $04 C1/F888: 8D1921 STA $2119 [Store into VRAM Data Write High Byte] C1/F88B: CA DEX C1/F88C: D00B BNE $F899 C1/F88E: E603 INC $03 C1/F890: A603 LDX $03 C1/F892: BD0006 LDA $0600,X C1/F895: 8504 STA $04 C1/F897: A220 LDX #$20 C1/F899: C8 INY C1/F89A: D0DB BNE $F877 C1/F89C: E601 INC $01 C1/F89E: A501 LDA $01 C1/F8A0: C920 CMP #$20 C1/F8A2: 90D3 BCC $F877 C1/F8A4: 4C10FA JMP $FA10 C1/F8A7: E230 SEP #$30 C1/F8A9: A903 LDA #$03 C1/F8AB: 8D0121 STA $2101 C1/F8AE: A58C LDA $8C C1/F8B0: F009 BEQ $F8BB C1/F8B2: A5E3 LDA $E3 C1/F8B4: 290F AND #$0F C1/F8B6: D003 BNE $F8BB C1/F8B8: 4C01FB JMP $FB01 C1/F8BB: A980 LDA #$80 C1/F8BD: 8D1521 STA $2115 [Store into Video Port Control] C1/F8C0: A900 LDA #$00 C1/F8C2: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F8C5: A960 LDA #$60 C1/F8C7: 8D1721 STA $2117 C1/F8CA: A200 LDX #$00 C1/F8CC: BFDEF801 LDA $01F8DE,X C1/F8D0: 9D7043 STA $4370,X C1/F8D3: E8 INX C1/F8D4: E007 CPX #$07 C1/F8D6: 90F4 BCC $F8CC C1/F8D8: A980 LDA #$80 C1/F8DA: 8D0B42 STA $420B C1/F8DD: 60 RTS C1/F8DE: 0118 ORA ($18,X) C1/F8E0: 0030 BRK #$30 C1/F8E2: C600 DEC $00 C1/F8E4: 1020 BPL $F906 C1/F8E6: E9F8 SBC #$F8 C1/F8E8: 6B RTL C1/F8E9: E220 SEP #$20 C1/F8EB: 8B PHB C1/F8EC: A97E LDA #$7E C1/F8EE: 48 PHA C1/F8EF: AB PLB C1/F8F0: C230 REP #$30 C1/F8F2: A90F00 LDA #$000F C1/F8F5: 8500 STA $00 C1/F8F7: A2007E LDX #$7E00 C1/F8FA: 24E2 BIT $E2 C1/F8FC: 5003 BVC $F901 C1/F8FE: A24048 LDX #$4840 C1/F901: A00200 LDY #$0002 C1/F904: 9C0006 STZ $0600 C1/F907: 9C00DE STZ $DE00 C1/F90A: BF0000C6 LDA $C60000,X C1/F90E: 990006 STA $0600,Y C1/F911: 29E0FF AND #$FFE0 C1/F914: 9900DE STA $DE00,Y C1/F917: C8 INY C1/F918: C8 INY C1/F919: C600 DEC $00 C1/F91B: D007 BNE $F924 C1/F91D: C8 INY C1/F91E: C8 INY C1/F91F: A90F00 LDA #$000F C1/F922: 8500 STA $00 C1/F924: E8 INX C1/F925: E8 INX C1/F926: C0E001 CPY #$01E0 C1/F929: 90DF BCC $F90A C1/F92B: E220 SEP #$20 C1/F92D: A901 LDA #$01 C1/F92F: 14F5 TRB $F5 C1/F931: A9C0 LDA #$C0 C1/F933: 14F4 TRB $F4 C1/F935: AB PLB C1/F936: A58C LDA $8C C1/F938: F009 BEQ $F943 C1/F93A: A5E3 LDA $E3 C1/F93C: 290F AND #$0F C1/F93E: D003 BNE $F943 C1/F940: 20F7FC JSR $FCF7 C1/F943: 60 RTS C1/F944: E210 SEP #$10 C1/F946: C220 REP #$20 C1/F948: A200 LDX #$00 C1/F94A: 8E2121 STX $2121 C1/F94D: A90006 LDA #$0600 C1/F950: 8D7243 STA $4372 C1/F953: A90022 LDA #$2200 C1/F956: 8D7043 STA $4370 C1/F959: A200 LDX #$00 C1/F95B: 8E7443 STX $4374 C1/F95E: A90002 LDA #$0200 C1/F961: 8D7543 STA $4375 C1/F964: A280 LDX #$80 C1/F966: 8E0B42 STX $420B C1/F969: 60 RTS C1/F96A: C220 REP #$20 C1/F96C: E210 SEP #$10 C1/F96E: A080 LDY #$80 C1/F970: 8C1521 STY $2115 C1/F973: A000 LDY #$00 C1/F975: 8C7443 STY $4374 C1/F978: A90000 LDA #$0000 C1/F97B: 8D7243 STA $4372 C1/F97E: A90918 LDA #$1809 C1/F981: 8D7043 STA $4370 C1/F984: 6400 STZ $00 C1/F986: A90050 LDA #$5000 C1/F989: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F98C: A90010 LDA #$1000 C1/F98F: 8D7543 STA $4375 C1/F992: A080 LDY #$80 C1/F994: 8C0B42 STY $420B C1/F997: A90819 LDA #$1908 C1/F99A: 8D7043 STA $4370 C1/F99D: A200 LDX #$00 C1/F99F: BFF2F901 LDA $01F9F2,X C1/F9A3: 8500 STA $00 C1/F9A5: BFF3F901 LDA $01F9F3,X C1/F9A9: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F9AC: BFF5F901 LDA $01F9F5,X C1/F9B0: 8D7543 STA $4375 C1/F9B3: 8C0B42 STY $420B C1/F9B6: 8A TXA C1/F9B7: 18 CLC C1/F9B8: 690500 ADC #$0005 C1/F9BB: AA TAX C1/F9BC: E01E CPX #$1E C1/F9BE: 90DF BCC $F99F C1/F9C0: E220 SEP #$20 C1/F9C2: A980 LDA #$80 C1/F9C4: 8D1521 STA $2115 [Store into Video Port Control] C1/F9C7: A9C6 LDA #$C6 C1/F9C9: 8D7443 STA $4374 C1/F9CC: C230 REP #$30 C1/F9CE: A90040 LDA #$4000 C1/F9D1: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/F9D4: A90118 LDA #$1801 C1/F9D7: A20020 LDX #$2000 C1/F9DA: A00010 LDY #$1000 C1/F9DD: 20E1F9 JSR $F9E1 C1/F9E0: 60 RTS C1/F9E1: 8D7043 STA $4370 C1/F9E4: 8E7243 STX $4372 C1/F9E7: 8C7543 STY $4375 C1/F9EA: E220 SEP #$20 C1/F9EC: A980 LDA #$80 C1/F9EE: 8D0B42 STA $420B C1/F9F1: 60 RTS C1/F9F2: 0C0058 TSB $5800 C1/F9F5: C00108 CPY #$0801 C1/F9F8: E05800 CPX #$0058 C1/F9FB: 0104 ORA ($04,X) C1/F9FD: 60 RTS C1/F9FE: 598001 EOR $0180,Y C1/FA01: 0C005C TSB $5C00 C1/FA04: C00108 CPY #$0801 C1/FA07: E05C00 CPX #$005C C1/FA0A: 0104 ORA ($04,X) C1/FA0C: 60 RTS C1/FA0D: 5D8001 EOR $0180,X C1/FA10: E230 SEP #$30 C1/FA12: A980 LDA #$80 C1/FA14: 8D1521 STA $2115 [Store into Video Port Control] C1/FA17: A97E LDA #$7E C1/FA19: 8D7443 STA $4374 C1/FA1C: C220 REP #$20 C1/FA1E: A9803A LDA #$3A80 C1/FA21: 8D7043 STA $4370 C1/FA24: A90010 LDA #$1000 C1/FA27: 8D7543 STA $4375 C1/FA2A: A900F0 LDA #$F000 C1/FA2D: 8D7243 STA $4372 C1/FA30: A9002C LDA #$2C00 C1/FA33: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/FA36: E220 SEP #$20 C1/FA38: AD3A21 LDA $213A C1/FA3B: A980 LDA #$80 C1/FA3D: 8D0B42 STA $420B C1/FA40: C220 REP #$20 C1/FA42: A90004 LDA #$0400 C1/FA45: 8D7543 STA $4375 C1/FA48: A900E8 LDA #$E800 C1/FA4B: 8D7243 STA $4372 C1/FA4E: A9003C LDA #$3C00 C1/FA51: 24E2 BIT $E2 C1/FA53: 1003 BPL $FA58 C1/FA55: A90028 LDA #$2800 C1/FA58: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/FA5B: E220 SEP #$20 C1/FA5D: AD3A21 LDA $213A C1/FA60: A980 LDA #$80 C1/FA62: 8D0B42 STA $420B C1/FA65: C220 REP #$20 C1/FA67: A90004 LDA #$0400 C1/FA6A: 8D7543 STA $4375 C1/FA6D: A900EC LDA #$EC00 C1/FA70: 8D7243 STA $4372 C1/FA73: A90028 LDA #$2800 C1/FA76: 24E2 BIT $E2 C1/FA78: 1003 BPL $FA7D C1/FA7A: A9003C LDA #$3C00 C1/FA7D: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/FA80: E220 SEP #$20 C1/FA82: AD3A21 LDA $213A C1/FA85: A980 LDA #$80 C1/FA87: 8D0B42 STA $420B C1/FA8A: 20AFFA JSR $FAAF C1/FA8D: C220 REP #$20 C1/FA8F: A90019 LDA #$1900 C1/FA92: 8D7043 STA $4370 C1/FA95: A90004 LDA #$0400 C1/FA98: 8D7543 STA $4375 C1/FA9B: A900EC LDA #$EC00 C1/FA9E: 8D7243 STA $4372 C1/FAA1: A90028 LDA #$2800 C1/FAA4: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/FAA7: E220 SEP #$20 C1/FAA9: A980 LDA #$80 C1/FAAB: 8D0B42 STA $420B C1/FAAE: 60 RTS C1/FAAF: A5E3 LDA $E3 C1/FAB1: C980 CMP #$80 C1/FAB3: F00C BEQ $FAC1 C1/FAB5: C984 CMP #$84 C1/FAB7: F02C BEQ $FAE5 C1/FAB9: C902 CMP #$02 C1/FABB: F016 BEQ $FAD3 C1/FABD: C940 CMP #$40 C1/FABF: D011 BNE $FAD2 C1/FAC1: C230 REP #$30 C1/FAC3: A23E00 LDX #$003E C1/FAC6: BFC0EB7E LDA $7EEBC0,X C1/FACA: 9FC0EF7E STA $7EEFC0,X C1/FACE: CA DEX C1/FACF: CA DEX C1/FAD0: 10F4 BPL $FAC6 C1/FAD2: 60 RTS C1/FAD3: C230 REP #$30 C1/FAD5: A23E00 LDX #$003E C1/FAD8: BFC0EF7E LDA $7EEFC0,X C1/FADC: 9FC0EB7E STA $7EEBC0,X C1/FAE0: CA DEX C1/FAE1: CA DEX C1/FAE2: 10F4 BPL $FAD8 C1/FAE4: 60 RTS C1/FAE5: C230 REP #$30 C1/FAE7: A23E00 LDX #$003E C1/FAEA: BFC0EF7E LDA $7EEFC0,X C1/FAEE: 48 PHA C1/FAEF: BFC0EB7E LDA $7EEBC0,X C1/FAF3: 9FC0EF7E STA $7EEFC0,X C1/FAF7: 68 PLA C1/FAF8: 9FC0EB7E STA $7EEBC0,X C1/FAFC: CA DEX C1/FAFD: CA DEX C1/FAFE: 10EA BPL $FAEA C1/FB00: 60 RTS C1/FB01: E220 SEP #$20 C1/FB03: 8B PHB C1/FB04: A97E LDA #$7E C1/FB06: 48 PHA C1/FB07: AB PLB C1/FB08: 200DFB JSR $FB0D C1/FB0B: AB PLB C1/FB0C: 60 RTS C1/FB0D: C210 REP #$10 C1/FB0F: A5F4 LDA $F4 C1/FB11: 290F AND #$0F C1/FB13: C903 CMP #$03 C1/FB15: 9004 BCC $FB1B C1/FB17: E903 SBC #$03 C1/FB19: 80F8 BRA $FB13 C1/FB1B: 0A ASL A C1/FB1C: 0A ASL A C1/FB1D: 48 PHA C1/FB1E: 18 CLC C1/FB1F: 6986 ADC #$86 C1/FB21: 8D40E0 STA $E040 C1/FB24: 68 PLA C1/FB25: 18 CLC C1/FB26: 6904 ADC #$04 C1/FB28: C90C CMP #$0C C1/FB2A: 9002 BCC $FB2E C1/FB2C: E90C SBC #$0C C1/FB2E: 48 PHA C1/FB2F: 18 CLC C1/FB30: 6986 ADC #$86 C1/FB32: 8D40E2 STA $E240 C1/FB35: 68 PLA C1/FB36: 18 CLC C1/FB37: 6904 ADC #$04 C1/FB39: C90C CMP #$0C C1/FB3B: 9002 BCC $FB3F C1/FB3D: E90C SBC #$0C C1/FB3F: 18 CLC C1/FB40: 6986 ADC #$86 C1/FB42: 8D40E4 STA $E440 C1/FB45: C220 REP #$20 C1/FB47: A9003A LDA #$3A00 C1/FB4A: 8D8AE0 STA $E08A C1/FB4D: A9083C LDA #$3C08 C1/FB50: 8D8AE2 STA $E28A C1/FB53: A9203E LDA #$3E20 C1/FB56: 8D8AE4 STA $E48A C1/FB59: A90400 LDA #$0004 C1/FB5C: 851E STA $1E C1/FB5E: 641C STZ $1C C1/FB60: A20000 LDX #$0000 C1/FB63: 2079FB JSR $FB79 C1/FB66: A20002 LDX #$0200 C1/FB69: 2079FB JSR $FB79 C1/FB6C: A20004 LDX #$0400 C1/FB6F: 2079FB JSR $FB79 C1/FB72: E220 SEP #$20 C1/FB74: C61E DEC $1E C1/FB76: D0E8 BNE $FB60 C1/FB78: 60 RTS C1/FB79: E220 SEP #$20 C1/FB7B: A90E LDA #$0E C1/FB7D: 9D6FE0 STA $E06F,X C1/FB80: 9E8EE0 STZ $E08E,X C1/FB83: A9D1 LDA #$D1 C1/FB85: 8502 STA $02 C1/FB87: BD40E0 LDA $E040,X C1/FB8A: C220 REP #$20 C1/FB8C: 29FF00 AND #$00FF C1/FB8F: 0A ASL A C1/FB90: 7D2AE0 ADC $E02A,X C1/FB93: 8500 STA $00 C1/FB95: A700 LDA [$00] C1/FB97: 48 PHA C1/FB98: EB XBA C1/FB99: 29FF00 AND #$00FF C1/FB9C: 0A ASL A C1/FB9D: 8500 STA $00 C1/FB9F: 68 PLA C1/FBA0: E220 SEP #$20 C1/FBA2: 29C0 AND #$C0 C1/FBA4: 9D88E0 STA $E088,X C1/FBA7: BD33E0 LDA $E033,X C1/FBAA: 8502 STA $02 C1/FBAC: 8512 STA $12 C1/FBAE: C220 REP #$20 C1/FBB0: BD72E0 LDA $E072,X C1/FBB3: 18 CLC C1/FBB4: 6500 ADC $00 C1/FBB6: 8500 STA $00 C1/FBB8: A700 LDA [$00] C1/FBBA: 8614 STX $14 C1/FBBC: 2202EB00 JSR $00EB02 C1/FBC0: 20DCFB JSR $FBDC C1/FBC3: E220 SEP #$20 C1/FBC5: C210 REP #$10 C1/FBC7: A614 LDX $14 C1/FBC9: FE40E0 INC $E040,X C1/FBCC: BD8AE0 LDA $E08A,X C1/FBCF: 18 CLC C1/FBD0: 6928 ADC #$28 C1/FBD2: 8910 BIT #$10 C1/FBD4: F002 BEQ $FBD8 C1/FBD6: 6910 ADC #$10 C1/FBD8: 9D8AE0 STA $E08A,X C1/FBDB: 60 RTS C1/FBDC: C230 REP #$30 C1/FBDE: A614 LDX $14 C1/FBE0: BC6EE0 LDY $E06E,X C1/FBE3: BD8AE0 LDA $E08A,X C1/FBE6: 29FF01 AND #$01FF C1/FBE9: 0A ASL A C1/FBEA: 0A ASL A C1/FBEB: 0A ASL A C1/FBEC: 0A ASL A C1/FBED: 18 CLC C1/FBEE: 690060 ADC #$6000 C1/FBF1: 8500 STA $00 C1/FBF3: BD82E0 LDA $E082,X C1/FBF6: E220 SEP #$20 C1/FBF8: EB XBA C1/FBF9: A900 LDA #$00 C1/FBFB: 8B PHB C1/FBFC: 48 PHA C1/FBFD: AB PLB C1/FBFE: EB XBA C1/FBFF: 8D0443 STA $4304 C1/FC02: 8D1443 STA $4314 C1/FC05: 8D2443 STA $4324 C1/FC08: 8D3443 STA $4334 C1/FC0B: 8D4443 STA $4344 C1/FC0E: 8D5443 STA $4354 C1/FC11: 8D6443 STA $4364 C1/FC14: 8D7443 STA $4374 C1/FC17: A980 LDA #$80 C1/FC19: 8D1521 STA $2115 [Store into Video Port Control] C1/FC1C: C220 REP #$20 C1/FC1E: A90118 LDA #$1801 C1/FC21: 8D0043 STA $4300 C1/FC24: 8D1043 STA $4310 C1/FC27: 8D2043 STA $4320 C1/FC2A: 8D3043 STA $4330 C1/FC2D: 8D4043 STA $4340 C1/FC30: 8D5043 STA $4350 C1/FC33: 8D6043 STA $4360 C1/FC36: 8D7043 STA $4370 C1/FC39: 2049FC JSR $FC49 C1/FC3C: E601 INC $01 C1/FC3E: C8 INY C1/FC3F: C8 INY C1/FC40: C8 INY C1/FC41: C8 INY C1/FC42: 2049FC JSR $FC49 C1/FC45: AB PLB C1/FC46: 4CA3FC JMP $FCA3 C1/FC49: C230 REP #$30 C1/FC4B: A500 LDA $00 C1/FC4D: 8D1621 STA $2116 [Store into VRAM Address Low Byte] C1/FC50: B90000 LDA $0000,Y C1/FC53: 8D0243 STA $4302 C1/FC56: B90200 LDA $0002,Y C1/FC59: 8D1243 STA $4312 C1/FC5C: B90800 LDA $0008,Y C1/FC5F: 8D2243 STA $4322 C1/FC62: B90A00 LDA $000A,Y C1/FC65: 8D3243 STA $4332 C1/FC68: B91000 LDA $0010,Y C1/FC6B: 8D4243 STA $4342 C1/FC6E: B91200 LDA $0012,Y C1/FC71: 8D5243 STA $4352 C1/FC74: B91800 LDA $0018,Y C1/FC77: 8D6243 STA $4362 C1/FC7A: B91A00 LDA $001A,Y C1/FC7D: 8D7243 STA $4372 C1/FC80: A92000 LDA #$0020 C1/FC83: 8D0543 STA $4305 C1/FC86: 8D1543 STA $4315 C1/FC89: 8D2543 STA $4325 C1/FC8C: 8D3543 STA $4335 C1/FC8F: 8D4543 STA $4345 C1/FC92: 8D5543 STA $4355 C1/FC95: 8D6543 STA $4365 C1/FC98: 8D7543 STA $4375 C1/FC9B: E220 SEP #$20 C1/FC9D: A9FF LDA #$FF C1/FC9F: 8D0B42 STA $420B C1/FCA2: 60 RTS C1/FCA3: C220 REP #$20 C1/FCA5: A90800 LDA #$0008 C1/FCA8: 8500 STA $00 C1/FCAA: A41C LDY $1C C1/FCAC: BD83E0 LDA $E083,X C1/FCAF: 290F00 AND #$000F C1/FCB2: C90400 CMP #$0004 C1/FCB5: B029 BCS $FCE0 C1/FCB7: C90300 CMP #$0003 C1/FCBA: F01E BEQ $FCDA C1/FCBC: C90200 CMP #$0002 C1/FCBF: F00E BEQ $FCCF C1/FCC1: A97F7F LDA #$7F7F C1/FCC4: 9D94E0 STA $E094,X C1/FCC7: 9D98E0 STA $E098,X C1/FCCA: 9D9CE0 STA $E09C,X C1/FCCD: 8011 BRA $FCE0 C1/FCCF: A97F7F LDA #$7F7F C1/FCD2: 9D98E0 STA $E098,X C1/FCD5: 9D9CE0 STA $E09C,X C1/FCD8: 8006 BRA $FCE0 C1/FCDA: A97F7F LDA #$7F7F C1/FCDD: 9D9CE0 STA $E09C,X C1/FCE0: BD90E0 LDA $E090,X C1/FCE3: 9900E7 STA $E700,Y C1/FCE6: E8 INX C1/FCE7: E8 INX C1/FCE8: C8 INY C1/FCE9: C8 INY C1/FCEA: C600 DEC $00 C1/FCEC: D0F2 BNE $FCE0 C1/FCEE: A51C LDA $1C C1/FCF0: 18 CLC C1/FCF1: 691000 ADC #$0010 C1/FCF4: 851C STA $1C C1/FCF6: 60 RTS C1/FCF7: E220 SEP #$20 C1/FCF9: C210 REP #$10 C1/FCFB: A980 LDA #$80 C1/FCFD: A0A200 LDY #$00A2 C1/FD00: 2010FD JSR $FD10 C1/FD03: A981 LDA #$81 C1/FD05: A0C200 LDY #$00C2 C1/FD08: 2010FD JSR $FD10 C1/FD0B: A982 LDA #$82 C1/FD0D: A0E200 LDY #$00E2 C1/FD10: E220 SEP #$20 C1/FD12: 8D0242 STA $4202 C1/FD15: A91E LDA #$1E C1/FD17: 8D0342 STA $4203 C1/FD1A: A90F LDA #$0F C1/FD1C: 8500 STA $00 C1/FD1E: 6401 STZ $01 C1/FD20: C220 REP #$20 C1/FD22: AE1642 LDX $4216 C1/FD25: BF0010C8 LDA $C81000,X C1/FD29: 990007 STA $0700,Y C1/FD2C: C8 INY C1/FD2D: C8 INY C1/FD2E: E8 INX C1/FD2F: E8 INX C1/FD30: C600 DEC $00 C1/FD32: D0F1 BNE $FD25 C1/FD34: E220 SEP #$20 C1/FD36: 60 RTS C1/FD37: C220 REP #$20 C1/FD39: AF02E07E LDA $7EE002 C1/FD3D: 38 SEC C1/FD3E: E90004 SBC #$0400 C1/FD41: 8F02E07E STA $7EE002 C1/FD45: 8F02E27E STA $7EE202 C1/FD49: 8F02E47E STA $7EE402 C1/FD4D: 6B RTL C1/FD4E: 2052FD JSR $FD52 C1/FD51: 6B RTL C1/FD52: E230 SEP #$30 C1/FD54: A909 LDA #$09 C1/FD56: 8529 STA $29 C1/FD58: 8D0521 STA $2105 C1/FD5B: A951 LDA #$51 C1/FD5D: 8D0721 STA $2107 C1/FD60: A939 LDA #$39 C1/FD62: 8D0821 STA $2108 C1/FD65: A5E8 LDA $E8 C1/FD67: 4A LSR A C1/FD68: A958 LDA #$58 C1/FD6A: 9002 BCC $FD6E C1/FD6C: A95C LDA #$5C C1/FD6E: 8D0921 STA $2109 C1/FD71: 9C0A21 STZ $210A C1/FD74: A900 LDA #$00 C1/FD76: 29F0 AND #$F0 C1/FD78: 8502 STA $02 C1/FD7A: 4A LSR A C1/FD7B: 4A LSR A C1/FD7C: 4A LSR A C1/FD7D: 4A LSR A C1/FD7E: 0502 ORA $02 C1/FD80: 8D0B21 STA $210B C1/FD83: A940 LDA #$40 C1/FD85: 4A LSR A C1/FD86: 4A LSR A C1/FD87: 4A LSR A C1/FD88: 4A LSR A C1/FD89: 8D0C21 STA $210C C1/FD8C: A5B8 LDA $B8 C1/FD8E: 29F8 AND #$F8 C1/FD90: C9F8 CMP #$F8 C1/FD92: F001 BEQ $FD95 C1/FD94: 60 RTS C1/FD95: A907 LDA #$07 C1/FD97: 8529 STA $29 C1/FD99: 8D0521 STA $2105 C1/FD9C: A901 LDA #$01 C1/FD9E: 9C1B21 STZ $211B C1/FDA1: 8D1B21 STA $211B C1/FDA4: 9C1C21 STZ $211C C1/FDA7: 9C1C21 STZ $211C C1/FDAA: 9C1D21 STZ $211D C1/FDAD: 9C1D21 STZ $211D C1/FDB0: 9C1E21 STZ $211E C1/FDB3: 8D1E21 STA $211E C1/FDB6: 58 CLI C1/FDB7: 60 RTS C1/FDB8: E220 SEP #$20 C1/FDBA: C210 REP #$10 C1/FDBC: A980 LDA #$80 C1/FDBE: 8D1521 STA $2115 [Store into Video Port Control] C1/FDC1: A20070 LDX #$7000 C1/FDC4: 8E1621 STX $2116 C1/FDC7: A20118 LDX #$1801 C1/FDCA: 8E7043 STX $4370 C1/FDCD: A200FB LDX #$FB00 C1/FDD0: 8E7243 STX $4372 C1/FDD3: A9C7 LDA #$C7 C1/FDD5: 8D7443 STA $4374 C1/FDD8: A2A000 LDX #$00A0 C1/FDDB: 8E7543 STX $4375 C1/FDDE: A980 LDA #$80 C1/FDE0: 8D0B42 STA $420B C1/FDE3: 6B RTL C1/FDE4: C230 REP #$30 C1/FDE6: A00001 LDY #$0100 C1/FDE9: A5F1 LDA $F1 C1/FDEB: 3050 BMI $FE3D C1/FDED: A58C LDA $8C C1/FDEF: D04C BNE $FE3D C1/FDF1: 6410 STZ $10 C1/FDF3: 6412 STZ $12 C1/FDF5: 9C100A STZ $0A10 C1/FDF8: 9C120A STZ $0A12 C1/FDFB: A612 LDX $12 C1/FDFD: C220 REP #$20 C1/FDFF: BFE2FE01 LDA $01FEE2,X [Table down below, starts at index 00] C1/FE03: AA TAX C1/FE04: BF000001 LDA $010000,X C1/FE08: 8500 STA $00 C1/FE0A: 38 SEC C1/FE0B: E5F6 SBC $F6 C1/FE0D: 900A BCC $FE19 C1/FE0F: C90002 CMP #$0200 C1/FE12: 900D BCC $FE21 C1/FE14: E90004 SBC #$0400 C1/FE17: 8008 BRA $FE21 C1/FE19: C900FE CMP #$FE00 C1/FE1C: B003 BCS $FE21 C1/FE1E: 690004 ADC #$0400 C1/FE21: C98000 CMP #$0080 C1/FE24: 9005 BCC $FE2B C1/FE26: C980FF CMP #$FF80 C1/FE29: 9003 BCC $FE2E C1/FE2B: 2058FE JSR $FE58 C1/FE2E: A612 LDX $12 C1/FE30: E8 INX C1/FE31: E8 INX C1/FE32: 8612 STX $12 C1/FE34: E01000 CPX #$0010 C1/FE37: 90C4 BCC $FDFD C1/FE39: 220AB102 JSR $02B10A C1/FE3D: C220 REP #$20 C1/FE3F: 98 TYA C1/FE40: 49FFFF EOR #$FFFF C1/FE43: 38 SEC C1/FE44: 695001 ADC #$0150 C1/FE47: 4A LSR A C1/FE48: 4A LSR A C1/FE49: AA TAX C1/FE4A: A9FFE0 LDA #$E0FF C1/FE4D: 990008 STA $0800,Y C1/FE50: C8 INY C1/FE51: C8 INY C1/FE52: C8 INY C1/FE53: C8 INY C1/FE54: CA DEX C1/FE55: D0F3 BNE $FE4A C1/FE57: 6B RTL C1/FE58: E8 INX C1/FE59: E8 INX C1/FE5A: 8502 STA $02 C1/FE5C: C90080 CMP #$8000 C1/FE5F: 6A ROR A C1/FE60: 18 CLC [Clear Carry] C1/FE61: 6502 ADC $02 C1/FE63: 49FFFF EOR #$FFFF C1/FE66: 38 SEC [Set Carry] C1/FE67: 698000 ADC #$0080 C1/FE6A: 8502 STA $02 C1/FE6C: A98000 LDA #$0080 C1/FE6F: 2400 BIT $00 C1/FE71: F00A + BEQ $FE7D C1/FE73: A90400 LDA #$0004 C1/FE76: 8504 STA $04 C1/FE78: A9F0FF LDA #$FFF0 C1/FE7B: 8008 BRA $FE85 C1/FE7D: + A90300 LDA #$0003 C1/FE80: 8504 STA $04 C1/FE82: A9F4FF LDA #$FFF4 C1/FE85: - 18 CLC C1/FE86: 6502 ADC $02 C1/FE88: 8502 STA $02 C1/FE8A: C90001 CMP #$0100 C1/FE8D: 9038 BCC $FEC7 C1/FE8F: C9F8FF CMP #$FFF8 C1/FE92: 9044 BCC $FED8 C1/FE94: 29FF00 AND #$00FF C1/FE97: 48 PHA C1/FE98: 5A PHY C1/FE99: 98 TYA C1/FE9A: 4A LSR A C1/FE9B: 4A LSR A C1/FE9C: 4A LSR A C1/FE9D: 4A LSR A C1/FE9E: 48 PHA C1/FE9F: 98 TYA C1/FEA0: E220 SEP #$20 C1/FEA2: 290C AND #$0C C1/FEA4: F014 BEQ $FEBA C1/FEA6: C904 CMP #$04 C1/FEA8: F00C BEQ $FEB6 C1/FEAA: C908 CMP #$08 C1/FEAC: F004 BEQ $FEB2 C1/FEAE: A940 LDA #$40 C1/FEB0: 800A BRA $FEBC C1/FEB2: A910 LDA #$10 C1/FEB4: 8006 BRA $FEBC C1/FEB6: A904 LDA #$04 C1/FEB8: 8002 BRA $FEBC C1/FEBA: A901 LDA #$01 C1/FEBC: 7A PLY C1/FEBD: 19000A ORA $0A00,Y C1/FEC0: 99000A STA $0A00,Y C1/FEC3: C220 REP #$20 C1/FEC5: 7A PLY C1/FEC6: 68 PLA C1/FEC7: 090010 ORA #$1000 C1/FECA: 990008 STA $0800,Y C1/FECD: BF000001 LDA $010000,X C1/FED1: 990208 STA $0802,Y C1/FED4: C8 INY C1/FED5: C8 INY C1/FED6: C8 INY C1/FED7: C8 INY C1/FED8: E8 INX C1/FED9: E8 INX C1/FEDA: A90800 LDA #$0008 C1/FEDD: C604 DEC $04 C1/FEDF: D0A4 - BNE $FE85 C1/FEE1: 60 RTS [Table read a ways above] C1/FEE2: F2FE C1/FEE4: FAFE C1/FEE6: 04FF C1/FEE8: 0CFF C1/FEEA: 16FF C1/FEEC: 1EFF C1/FEEE: 28FF C1/FEF0: 30FF [Pointed to sections] C1/FEF2: 0000 C1/FEF4: 0431 C1/FEF6: 0031 C1/FEF8: 0471 C1/FEFA: 8000 C1/FEFC: 0431 C1/FEFE: 0031 C1/FF00: 0131 C1/FF02: 0471 C1/FF04: 0001 C1/FF06: 0431 C1/FF08: 0131 C1/FF0A: 0471 C1/FF0C: 8001 C1/FF0E: 0431 C1/FF10: 0231 C1/FF12: 0131 C1/FF14: 0471 C1/FF16: 0002 C1/FF18: 0431 C1/FF1A: 0231 C1/FF1C: 0471 C1/FF1E: 8002 C1/FF20: 0431 C1/FF22: 0231 C1/FF24: 0331 C1/FF26: 0471 C1/FF28: 0003 C1/FF2A: 0431 C1/FF2C: 0331 C1/FF2E: 0471 C1/FF30: 8003 C1/FF32: 0431 C1/FF34: 0031 C1/FF36: 0331 C1/FF38: 0471 [Subroutine] C1/FF3A: E220 SEP #$20 C1/FF3C: 8B PHB C1/FF3D: A90048 LDA #$4800 C1/FF40: AB PLB C1/FF41: 9C0042 STZ $4200 C1/FF44: A98F8D LDA #$8D8F C1/FF47: 0021 BRK #$21 C1/FF49: A51F LDA $1F C1/FF4B: 48 PHA C1/FF4C: 206BFF JSR $FF6B C1/FF4F: C220 REP #$20 C1/FF51: A9000F LDA #$0F00 C1/FF54: 85E6 STA $E6 C1/FF56: A90101 LDA #$0101 C1/FF59: 85E4 STA $E4 C1/FF5B: E220 SEP #$20 C1/FF5D: A901 LDA #$01 C1/FF5F: 04E2 TSB $E2 C1/FF61: A9B1 LDA #$B1 C1/FF63: 8D0042 STA $4200 C1/FF66: 68 PLA C1/FF67: 851F STA $1F C1/FF69: AB PLB C1/FF6A: 60 RTS [] C1/FF6B: 9C0C42 STZ $420C C1/FF6E: 642C STZ $2C C1/FF70: A520 LDA $20 C1/FF72: 8D0621 STA $2106 C1/FF75: 9C2421 STZ $2124 C1/FF78: 9C2521 STZ $2125 C1/FF7B: 9C2A21 STZ $212A C1/FF7E: 9C2B21 STZ $212B C1/FF81: A521 LDA $21 C1/FF83: 8D2C21 STA $212C C1/FF86: A522 LDA $22 C1/FF88: 8D2D21 STA $212D C1/FF8B: 9C2E21 STZ $212E C1/FF8E: 9C2F21 STZ $212F C1/FF91: A902 LDA #$02 C1/FF93: 8D3021 STA $2130 C1/FF96: A523 LDA $23 C1/FF98: 8D3121 STA $2131 C1/FF9B: 9C3221 STZ $2132 C1/FF9E: A900 LDA #$00 C1/FFA0: 8D2621 STA $2126 C1/FFA3: 8D2821 STA $2128 C1/FFA6: A9FF LDA #$FF C1/FFA8: 8D2721 STA $2127 C1/FFAB: 8D2921 STA $2129 C1/FFAE: A591 LDA $91 C1/FFB0: 8D0121 STA $2101 C1/FFB3: A90F LDA #$0F C1/FFB5: 14E3 TRB $E3 C1/FFB7: A5B0 LDA $B0 C1/FFB9: 8D0D21 STA $210D C1/FFBC: 9C0D21 STZ $210D C1/FFBF: A5B2 LDA $B2 C1/FFC1: 8D0E21 STA $210E C1/FFC4: 9C0E21 STZ $210E C1/FFC7: A9B8 LDA #$B8 C1/FFC9: 8D0742 STA $4207 C1/FFCC: 9C0842 STZ $4208 C1/FFCF: A9C4 LDA #$C4 C1/FFD1: 8D0942 STA $4209 C1/FFD4: 9C0A42 STZ $420A C1/FFD7: 64E8 STZ $E8 C1/FFD9: 2052FD JSR $FD52 C1/FFDC: 225EC400 JSR $00C45E C1/FFE0: 22E6C900 JSR $00C9E6 C1/FFE4: 22D7E001 JSR $01E0D7 C1/FFE8: E220 SEP #$20 C1/FFEA: 245C BIT $5C C1/FFEC: 1006 BPL $FFF4 C1/FFEE: C220 REP #$20 C1/FFF0: 221200C2 JSR $C20012 C1/FFF4: C220 REP #$20 C1/FFF6: A527 LDA $27 C1/FFF8: 8D0006 STA $0600 C1/FFFB: 8F00DE7E STA $7EDE00 C1/FFFF: 60 RTSS