Final Fantasy VI:ROM map/Assembly C18

From Data Crystal
Jump to: navigation, search

C1/8000 unknow

C1/8000:	AD8C7B  	LDA $7B8C
C1/8003:	18      	CLC 
C1/8004:	694C    	ADC #$4C
C1/8006:	8DFD5F  	STA $5FFD
C1/8009:	8DFF5F  	STA $5FFF
C1/800C:	8D0160  	STA $6001
C1/800F:	8D0360  	STA $6003
C1/8012:	AD8D7B  	LDA $7B8D
C1/8015:	18      	CLC 
C1/8016:	694C    	ADC #$4C
C1/8018:	8D0760  	STA $6007
C1/801B:	8D0960  	STA $6009
C1/801E:	8D0B60  	STA $600B
C1/8021:	8D0D60  	STA $600D
C1/8024:	AD8E7B  	LDA $7B8E
C1/8027:	18      	CLC 
C1/8028:	694C    	ADC #$4C
C1/802A:	8D1160  	STA $6011
C1/802D:	8D1360  	STA $6013
C1/8030:	8D1560  	STA $6015
C1/8033:	8D1760  	STA $6017
C1/8036:	AD8F7B  	LDA $7B8F
C1/8039:	D018    	BNE $8053
C1/803B:	AD8C7B  	LDA $7B8C
C1/803E:	38      	SEC 
C1/803F:	E904    	SBC #$04
C1/8041:	8D8C7B  	STA $7B8C
C1/8044:	AD927B  	LDA $7B92
C1/8047:	F00A    	BEQ $8053
C1/8049:	AD8C7B  	LDA $7B8C
C1/804C:	290F    	AND #$0F
C1/804E:	D003    	BNE $8053
C1/8050:	EE8F7B  	INC $7B8F      (stop drum 1)
C1/8053:	AD907B  	LDA $7B90
C1/8056:	D034    	BNE $808C
C1/8058:	AD8D7B  	LDA $7B8D
C1/805B:	38      	SEC 
C1/805C:	E904    	SBC #$04
C1/805E:	8D8D7B  	STA $7B8D
C1/8061:	AD937B  	LDA $7B93
C1/8064:	F026    	BEQ $808C
C1/8066:	AD8D7B  	LDA $7B8D
C1/8069:	290F    	AND #$0F
C1/806B:	D01F    	BNE $808C
C1/806D:	AD7B61  	LDA $617B
C1/8070:	C9FF    	CMP #$FF
C1/8072:	F015    	BEQ $8089
C1/8074:	AD8D7B  	LDA $7B8D
C1/8077:	20F27E  	JSR $7EF2      (load symbol in drum 2)
C1/807A:	CD7B61  	CMP $617B
C1/807D:	F00A    	BEQ $8089
C1/807F:	AD7D61  	LDA $617D
C1/8082:	F005    	BEQ $8089
C1/8084:	CE7D61  	DEC $617D
C1/8087:	8003    	BRA $808C
C1/8089:	EE907B  	INC $7B90      (stop drum 2)
C1/808C:	AD917B  	LDA $7B91
C1/808F:	D049    	BNE $80DA
C1/8091:	AD8E7B  	LDA $7B8E
C1/8094:	38      	SEC 
C1/8095:	E904    	SBC #$04
C1/8097:	8D8E7B  	STA $7B8E
C1/809A:	AD947B  	LDA $7B94
C1/809D:	F03B    	BEQ $80DA
C1/809F:	AD8E7B  	LDA $7B8E
C1/80A2:	290F    	AND #$0F
C1/80A4:	D034    	BNE $80DA
C1/80A6:	AD7C61  	LDA $617C
C1/80A9:	C9FF    	CMP #$FF
C1/80AB:	F02A    	BEQ $80D7
C1/80AD:	2980    	AND #$80
C1/80AF:	D015    	BNE $80C6
C1/80B1:	AD8E7B  	LDA $7B8E
C1/80B4:	20FD7E  	JSR $7EFD      (load symbol in drum 3)
C1/80B7:	CD7C61  	CMP $617C
C1/80BA:	F01B    	BEQ $80D7
C1/80BC:	AD7D61  	LDA $617D
C1/80BF:	F016    	BEQ $80D7
C1/80C1:	CE7D61  	DEC $617D
C1/80C4:	8014    	BRA $80DA
C1/80C6:	AD8E7B  	LDA $7B8E
C1/80C9:	20FD7E  	JSR $7EFD
C1/80CC:	8536    	STA $36
C1/80CE:	AD7C61  	LDA $617C
C1/80D1:	297F    	AND #$7F
C1/80D3:	C536    	CMP $36
C1/80D5:	F003    	BEQ $80DA
C1/80D7:	EE917B  	INC $7B91      (stop drum 3)
C1/80DA:	60      	RTS

C1/80DB unknow

C1/80DB:	A636    	LDX $36
C1/80DD:	863A    	STX $3A
C1/80DF:	643C    	STZ $3C
C1/80E1:	A505    	LDA $05
C1/80E3:	290F    	AND #$0F       (mask out buttons)
C1/80E5:	F05D    	BEQ $8144      (branch if not)
C1/80E7:	C908    	CMP #$08       (anyone pressing up?)
C1/80E9:	D009    	BNE $80F4      (branch if not)
C1/80EB:	A537    	LDA $37
C1/80ED:	F04F    	BEQ $813E
C1/80EF:	E694    	INC $94
C1/80F1:	C637    	DEC $37
C1/80F3:	60      	RTS

C1/80F4 unknow

C1/80F4:	C904    	CMP #$04       (anyone pressing down?)
C1/80F6:	D00B    	BNE $8103      (branch if not)
C1/80F8:	A537    	LDA $37
C1/80FA:	C903    	CMP #$03
C1/80FC:	F043    	BEQ $8141
C1/80FE:	E694    	INC $94
C1/8100:	E637    	INC $37
C1/8102:	60      	RTS

C1/8103 unknow

C1/8103:	C902    	CMP #$02       (anyone pressing left?)
C1/8105:	D016    	BNE $811D      (branch if not)
C1/8107:	A536    	LDA $36
C1/8109:	D00D    	BNE $8118
C1/810B:	A539    	LDA $39
C1/810D:	8536    	STA $36
C1/810F:	A537    	LDA $37
C1/8111:	F026    	BEQ $8139
C1/8113:	E694    	INC $94
C1/8115:	C637    	DEC $37
C1/8117:	60      	RTS
C1/8118:	E694    	INC $94
C1/811A:	C636    	DEC $36
C1/811C:	60      	RTS
C1/811D:	C901    	CMP #$01       (anyone pressing right?)
C1/811F:	D023    	BNE $8144      (branch if not)
C1/8121:	A536    	LDA $36
C1/8123:	C539    	CMP $39
C1/8125:	D00D    	BNE $8134
C1/8127:	6436    	STZ $36
C1/8129:	A537    	LDA $37
C1/812B:	C903    	CMP #$03
C1/812D:	F012    	BEQ $8141
C1/812F:	E694    	INC $94
C1/8131:	E637    	INC $37
C1/8133:	60      	RTS
C1/8134:	E694    	INC $94
C1/8136:	E636    	INC $36
C1/8138:	60      	RTS
C1/8139:	A9BF    	LDA #$BF
C1/813B:	853C    	STA $3C
C1/813D:	60      	RTS
C1/813E:	C63C    	DEC $3C
C1/8140:	60      	RTS
C1/8141:	E63C    	INC $3C
C1/8143:	60      	RTS
C1/8144:	60      	RTS

C1/8145 unknow

C1/8145:	9CEF88  	STZ $88EF      (from C1/5529, X = E)
C1/8148:	9CE388  	STZ $88E3
C1/814B:	ADCB7B  	LDA $7BCB
C1/814E:	F006    	BEQ $8156
C1/8150:	A914    	LDA #$14
C1/8152:	8DC27B  	STA $7BC2      (queue up to execute at C1/56E9)
C1/8155:	60      	RTS
C1/8156:	ACCA62  	LDY $62CA
C1/8159:	B91789  	LDA $8917,Y
C1/815C:	8536    	STA $36
C1/815E:	B91B89  	LDA $891B,Y
C1/8161:	8537    	STA $37
C1/8163:	B91389  	LDA $8913,Y
C1/8166:	8538    	STA $38
C1/8168:	A901    	LDA #$01
C1/816A:	8539    	STA $39
C1/816C:	20DB80  	JSR $80DB
C1/816F:	A53C    	LDA $3C
C1/8171:	F031    	BEQ $81A4
C1/8173:	3012    	BMI $8187
C1/8175:	B91389  	LDA $8913,Y
C1/8178:	C917    	CMP #$17
C1/817A:	F032    	BEQ $81AE
C1/817C:	1A      	INC A
C1/817D:	991389  	STA $8913,Y
C1/8180:	E694    	INC $94
C1/8182:	202882  	JSR $8228
C1/8185:	801D    	BRA $81A4
C1/8187:	B91389  	LDA $8913,Y
C1/818A:	D00F    	BNE $819B
C1/818C:	E694    	INC $94
C1/818E:	ADE87A  	LDA $7AE8
C1/8191:	D011    	BNE $81A4
C1/8193:	209B82  	JSR $829B
C1/8196:	B00C    	BCS $81A4
C1/8198:	4C015A  	JMP $5A01

C1/819B unknow

C1/819B:	3A      	DEC A
C1/819C:	991389  	STA $8913,Y
C1/819F:	E694    	INC $94
C1/81A1:	204682  	JSR $8246
C1/81A4:	A536    	LDA $36
C1/81A6:	991789  	STA $8917,Y
C1/81A9:	A537    	LDA $37
C1/81AB:	991B89  	STA $891B,Y
C1/81AE:	A504    	LDA $04
C1/81B0:	103B    	BPL $81ED
C1/81B2:	201484  	JSR $8414
C1/81B5:	BD9320  	LDA $2093,X
C1/81B8:	3031    	BMI $81EB
C1/81BA:	E696    	INC $96
C1/81BC:	20566D  	JSR $6D56
C1/81BF:	ADE87A  	LDA $7AE8
C1/81C2:	F004    	BEQ $81C8
C1/81C4:	A917    	LDA #$17
C1/81C6:	8002    	BRA $81CA
C1/81C8:	A902    	LDA #$02
C1/81CA:	99AF2B  	STA $2BAF,Y
C1/81CD:	201484  	JSR $8414
C1/81D0:	BD9220  	LDA $2092,X
C1/81D3:	8D857A  	STA $7A85
C1/81D6:	A901    	LDA #$01
C1/81D8:	8DBAEC  	STA $ECBA
C1/81DB:	BD9420  	LDA $2094,X    (magic targeting???)
C1/81DE:	8D847A  	STA $7A84      (save as character targeting byte)
C1/81E1:	2940    	AND #$40
C1/81E3:	D003    	BNE $81E8
C1/81E5:	4CB055  	JMP $55B0
C1/81E8:	4C9577  	JMP $7795

C1/81EB unknow

C1/81EB:	E695    	INC $95
C1/81ED:	A509    	LDA $09        (load controller 1)
C1/81EF:	1005    	BPL $81F6      (branch if not pressing B)
C1/81F1:	E696    	INC $96
C1/81F3:	4CE956  	JMP $56E9
C1/81F6:	201484  	JSR $8414
C1/81F9:	BD9520  	LDA $2095,X
C1/81FC:	8D7861  	STA $6178
C1/81FF:	A917    	LDA #$17
C1/8201:	8536    	STA $36
C1/8203:	A29001  	LDX #$0190
C1/8206:	862E    	STX $2E
C1/8208:	B91389  	LDA $8913,Y
C1/820B:	208F89  	JSR $898F
C1/820E:	B91789  	LDA $8917,Y
C1/8211:	AA      	TAX 
C1/8212:	BF8082C1	LDA $C18280,X
C1/8216:	8DE488  	STA $88E4
C1/8219:	B91B89  	LDA $891B,Y
C1/821C:	AA      	TAX 
C1/821D:	BF8D82C1	LDA $C1828D,X
C1/8221:	8DE588  	STA $88E5
C1/8224:	EEE388  	INC $88E3
C1/8227:	60      	RTS

C1/8228 unknow

C1/8228:	18      	CLC 
C1/8229:	6903    	ADC #$03
C1/822B:	20B54D  	JSR $4DB5      (build the Magic menu)
C1/822E:	A917    	LDA #$17
C1/8230:	8DC27B  	STA $7BC2      (queue up to execute at C1/5C91)
C1/8233:	206982  	JSR $8269
C1/8236:	ADFD7A  	LDA $7AFD
C1/8239:	C904    	CMP #$04
C1/823B:	F003    	BEQ $8240
C1/823D:	1A      	INC A
C1/823E:	8001    	BRA $8241
C1/8240:	7B      	TDC 
C1/8241:	8DFD7A  	STA $7AFD
C1/8244:	8018    	BRA $825E
C1/8246:	20B54D  	JSR $4DB5      (build the Magic menu)
C1/8249:	A918    	LDA #$18
C1/824B:	8DC27B  	STA $7BC2      (queue up to execute at C1/5CF7)
C1/824E:	206982  	JSR $8269
C1/8251:	ADFD7A  	LDA $7AFD
C1/8254:	F003    	BEQ $8259
C1/8256:	3A      	DEC A
C1/8257:	8002    	BRA $825B
C1/8259:	A904    	LDA #$04
C1/825B:	8DFD7A  	STA $7AFD
C1/825E:	A903    	LDA #$03
C1/8260:	8DA87B  	STA $7BA8
C1/8263:	A90E    	LDA #$0E
C1/8265:	8DC37B  	STA $7BC3
C1/8268:	60      	RTS

C1/8269 unknow

C1/8269:	ADFD7A  	LDA $7AFD
C1/826C:	0A      	ASL A
C1/826D:	AA      	TAX 
C1/826E:	BF9182C1	LDA $C18291,X
C1/8272:	8DAA7B  	STA $7BAA
C1/8275:	BF9282C1	LDA $C18292,X
C1/8279:	8DAB7B  	STA $7BAB
C1/827C:	EEA97B  	INC $7BA9
C1/827F:	60      	RTS

C1/8280 unknow

C1/8280:	08      	PHP 
C1/8281:	5070    	BVC $82F3
C1/8283:	0078    	BRK #$78
C1/8285:	0078    	BRK #$78
C1/8287:	1080

C1/8289 finger positioning for magitek menu

C1/8289:	10      	(left half of list)
C1/828A:	78      	(right half of list)
C1/828B:	08      	PHP 
C1/828C:	58      	CLI 
C1/828D:	A4B0    	LDY $B0
C1/828F:	BCC8

C1/8291 unknow (data)

C1/8291:	007C
C1/8293:	407C  	
C1/8295:	807C    	
C1/8297:	C07C
C1/8299:	007D

C1/829B unknow

C1/829B:	ADCA62  	LDA $62CA
C1/829E:	0A  		ASL A
C1/829F:	AA		TAX
C1/82A0:	C220    	REP #$20
C1/82A2:	BF5F4BC1	LDA $C14B5F,X
C1/82A6:	AA      	TAX 
C1/82A7:	7B      	TDC 
C1/82A8:	E220    	SEP #$20
C1/82AA:	BD8F20  	LDA $208F,X
C1/82AD:	3002    	BMI $82B1
C1/82AF:	18      	CLC 
C1/82B0:	60      	RTS
C1/82B1:	38      	SEC 
C1/82B2:	60      	RTS

C1/82B3 unknow

C1/82B3:	9CE388  	STZ $88E3		(from C1/5529, X = 16)
C1/82B6:	ADCB7B  	LDA $7BCB
C1/82B9:	F006    	BEQ $82C1
C1/82BB:	A915    	LDA #$15
C1/82BD:	8DC27B  	STA $7BC2      (queue up to execute at C1/571F)
C1/82C0:	60      	RTS
C1/82C1:	A505    	LDA $05        (load shared controller byte)
C1/82C3:	2905    	AND #$05       (is anyone pressing down or right?)
C1/82C5:	F00F    	BEQ $82D6      (branch if not)
C1/82C7:	E694    	INC $94
C1/82C9:	2901    	AND #$01
C1/82CB:	F006    	BEQ $82D3
C1/82CD:	AECA62  	LDX $62CA
C1/82D0:	9E1789  	STZ $8917,X
C1/82D3:	4C1F57  	JMP $571F
C1/82D6:	A504    	LDA $04        (load shared controller byte)
C1/82D8:	1020    	BPL $82FA      (branch if anyone isn't anyone pressing A)
C1/82DA:	209B82  	JSR $829B
C1/82DD:	B019    	BCS $82F8
C1/82DF:	E696    	INC $96
C1/82E1:	20566D  	JSR $6D56
C1/82E4:	A919    	LDA #$19
C1/82E6:	99AF2B  	STA $2BAF,Y
C1/82E9:	BD8E20  	LDA $208E,X
C1/82EC:	8D857A  	STA $7A85
C1/82EF:	BD9020  	LDA $2090,X
C1/82F2:	8D847A  	STA $7A84      (save as character targeting byte)
C1/82F5:	4C9577  	JMP $7795
C1/82F8:	E695    	INC $95
C1/82FA:	A938    	LDA #$38
C1/82FC:	8DE488  	STA $88E4
C1/82FF:	A9A8    	LDA #$A8
C1/8301:	8DE588  	STA $88E5
C1/8304:	EEE388  	INC $88E3
C1/8307:	60      	RTS

C1/8308 unknow

C1/8308:	9CE388  	STZ $88E3		(from C1/5529, X = 1B)
C1/830B:	9CEF88  	STZ $88EF
C1/830E:	ADCB7B  	LDA $7BCB
C1/8311:	F006    	BEQ $8319
C1/8313:	A91A    	LDA #$1A
C1/8315:	8DC27B  	STA $7BC2      (queue up to execute at C1/56FB)
C1/8318:	60      	RTS
C1/8319:	ACCA62  	LDY $62CA
C1/831C:	6436    	STZ $36
C1/831E:	B92789  	LDA $8927,Y
C1/8321:	8537    	STA $37
C1/8323:	B91F89  	LDA $891F,Y
C1/8326:	8538    	STA $38
C1/8328:	6439    	STZ $39
C1/832A:	20DB80  	JSR $80DB
C1/832D:	A53C    	LDA $3C
C1/832F:	F022    	BEQ $8353
C1/8331:	3012    	BMI $8345
C1/8333:	B91F89  	LDA $891F,Y
C1/8336:	C914    	CMP #$14
C1/8338:	F023    	BEQ $835D
C1/833A:	1A      	INC A
C1/833B:	991F89  	STA $891F,Y
C1/833E:	E694    	INC $94
C1/8340:	20B683  	JSR $83B6
C1/8343:	800E    	BRA $8353
C1/8345:	B91F89  	LDA $891F,Y
C1/8348:	F013    	BEQ $835D
C1/834A:	3A      	DEC A
C1/834B:	991F89  	STA $891F,Y
C1/834E:	E694    	INC $94
C1/8350:	20D483  	JSR $83D4
C1/8353:	A536    	LDA $36
C1/8355:	992389  	STA $8923,Y
C1/8358:	A537    	LDA $37
C1/835A:	992789  	STA $8927,Y
C1/835D:	A504    	LDA $04        (load shared controller byte)
C1/835F:	101B    	BPL $837C      (branch if anyone isn't anyone pressing A)
C1/8361:	20F783  	JSR $83F7
C1/8364:	BD6B21  	LDA $216B,X
C1/8367:	3011    	BMI $837A
C1/8369:	E694    	INC $94
C1/836B:	BD6A21  	LDA $216A,X
C1/836E:	8D857A  	STA $7A85
C1/8371:	BD6C21  	LDA $216C,X
C1/8374:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8377:	4C9577  	JMP $7795

C1/837A unknow

C1/837A:	E695    	INC $95
C1/837C:	A509    	LDA $09        (load controller 1)
C1/837E:	1006    	BPL $8386      (branch if not pressing B)
C1/8380:	E696    	INC $96
C1/8382:	20FB56  	JSR $56FB
C1/8385:	60      	RTS
C1/8386:	20F783  	JSR $83F7
C1/8389:	BD6D21  	LDA $216D,X
C1/838C:	8D7861  	STA $6178
C1/838F:	A908    	LDA #$08
C1/8391:	8536    	STA $36
C1/8393:	A2CD01  	LDX #$01CD
C1/8396:	862E    	STX $2E
C1/8398:	B91F89  	LDA $891F,Y
C1/839B:	208F89  	JSR $898F
C1/839E:	7B      	TDC 
C1/839F:	AA      	TAX 
C1/83A0:	BF8B82C1	LDA $C1828B,X
C1/83A4:	8DE488  	STA $88E4
C1/83A7:	B92789  	LDA $8927,Y
C1/83AA:	AA      	TAX 
C1/83AB:	BF8D82C1	LDA $C1828D,X
C1/83AF:	8DE588  	STA $88E5
C1/83B2:	EEE388  	INC $88E3
C1/83B5:	60      	RTS

C1/83B6 unknow

C1/83B6:	18      	CLC 
C1/83B7:	6903    	ADC #$03
C1/83B9:	20764D  	JSR $4D76
C1/83BC:	A917    	LDA #$17
C1/83BE:	8DC27B  	STA $7BC2      (queue up to execute at C1/5C91)
C1/83C1:	206982  	JSR $8269
C1/83C4:	ADFD7A  	LDA $7AFD
C1/83C7:	C904    	CMP #$04
C1/83C9:	F003    	BEQ $83CE
C1/83CB:	1A      	INC A
C1/83CC:	8001    	BRA $83CF
C1/83CE:	7B      	TDC 
C1/83CF:	8DFD7A  	STA $7AFD
C1/83D2:	8018    	BRA $83EC
C1/83D4:	20764D  	JSR $4D76
C1/83D7:	A918    	LDA #$18
C1/83D9:	8DC27B  	STA $7BC2      (queue up to execute at C1/5CF7)
C1/83DC:	206982  	JSR $8269
C1/83DF:	ADFD7A  	LDA $7AFD
C1/83E2:	F003    	BEQ $83E7
C1/83E4:	3A      	DEC A
C1/83E5:	8002    	BRA $83E9
C1/83E7:	A904    	LDA #$04
C1/83E9:	8DFD7A  	STA $7AFD
C1/83EC:	A903    	LDA #$03
C1/83EE:	8DA87B  	STA $7BA8
C1/83F1:	A91B    	LDA #$1B
C1/83F3:	8DC37B  	STA $7BC3
C1/83F6:	60      	RTS

C1/83F7 unknow

C1/83F7:	5A      	PHY 
C1/83F8:	ADCA62  	LDA $62CA
C1/83FB:	A8      	TAY 
C1/83FC:	0A      	ASL A
C1/83FD:	AA      	TAX 
C1/83FE:	B91F89  	LDA $891F,Y
C1/8401:	18      	CLC 
C1/8402:	792789  	ADC $8927,Y
C1/8405:	C220    	REP #$20
C1/8407:	0A      	ASL A
C1/8408:	0A      	ASL A
C1/8409:	18      	CLC 
C1/840A:	7F5F4BC1	ADC $C14B5F,X
C1/840E:	AA      	TAX 
C1/840F:	7B      	TDC 
C1/8410:	E220    	SEP #$20
C1/8412:	7A      	PLY 
C1/8413:	60      	RTS

C1/8414 unknow

C1/8414:	5A      	PHY 
C1/8415:	ADCA62  	LDA $62CA
C1/8418:	A8      	TAY 
C1/8419:	0A      	ASL A
C1/841A:	AA      	TAX 
C1/841B:	B91389  	LDA $8913,Y
C1/841E:	18      	CLC 
C1/841F:	791B89  	ADC $891B,Y
C1/8422:	8540    	STA $40
C1/8424:	0A      	ASL A
C1/8425:	18      	CLC 
C1/8426:	791789  	ADC $8917,Y
C1/8429:	C220    	REP #$20
C1/842B:	0A      	ASL A
C1/842C:	0A      	ASL A
C1/842D:	18      	CLC 
C1/842E:	7F5F4BC1	ADC $C14B5F,X
C1/8432:	AA      	TAX 
C1/8433:	7B      	TDC 
C1/8434:	E220    	SEP #$20
C1/8436:	7A      	PLY 
C1/8437:	60      	RTS

C1/8438 unknow

C1/8438:	AECA62  	LDX $62CA
C1/843B:	BD2F89  	LDA $892F,X
C1/843E:	8540    	STA $40
C1/8440:	6441    	STZ $41
C1/8442:	BD2B89  	LDA $892B,X
C1/8445:	18      	CLC 
C1/8446:	7D3389  	ADC $8933,X
C1/8449:	C220    	REP #$20
C1/844B:	0A      	ASL A
C1/844C:	18      	CLC 
C1/844D:	6540    	ADC $40
C1/844F:	AA      	TAX 
C1/8450:	7B      	TDC 
C1/8451:	E220    	SEP #$20
C1/8453:	60      	RTS

C1/8454 unknow

C1/8454:	5A      	PHY 
C1/8455:	ADCA62  	LDA $62CA
C1/8458:	A8      	TAY 
C1/8459:	0A      	ASL A
C1/845A:	AA      	TAX 
C1/845B:	B95389  	LDA $8953,Y
C1/845E:	18      	CLC 
C1/845F:	795B89  	ADC $895B,Y
C1/8462:	C220    	REP #$20
C1/8464:	8540    	STA $40
C1/8466:	0A      	ASL A
C1/8467:	18      	CLC 
C1/8468:	6540    	ADC $40
C1/846A:	AA      	TAX 
C1/846B:	7B      	TDC 
C1/846C:	E220    	SEP #$20
C1/846E:	7A      	PLY 
C1/846F:	60      	RTS

C1/8470 unknow

C1/8470:	5A      	PHY 
C1/8471:	ADCA62  	LDA $62CA
C1/8474:	A8      	TAY 
C1/8475:	0A      	ASL A
C1/8476:	AA      	TAX 
C1/8477:	B95F89  	LDA $895F,Y
C1/847A:	18      	CLC 
C1/847B:	796789  	ADC $8967,Y
C1/847E:	0A      	ASL A
C1/847F:	18      	CLC 
C1/8480:	796389  	ADC $8963,Y
C1/8483:	C220    	REP #$20
C1/8485:	8540    	STA $40
C1/8487:	0A      	ASL A
C1/8488:	18      	CLC 
C1/8489:	6540    	ADC $40
C1/848B:	AA      	TAX 
C1/848C:	7B      	TDC 
C1/848D:	E220    	SEP #$20
C1/848F:	7A      	PLY 
C1/8490:	60      	RTS

C1/8491 unknow

C1/8491:	AECA62  	LDX $62CA
C1/8494:	BD4389  	LDA $8943,X
C1/8497:	0A      	ASL A
C1/8498:	18      	CLC 
C1/8499:	7D3F89  	ADC $893F,X
C1/849C:	AA      	TAX 
C1/849D:	60      	RTS

C1/849E unknow

C1/849E:	AECA62  	LDX $62CA
C1/84A1:	BD3B89  	LDA $893B,X
C1/84A4:	0A      	ASL A
C1/84A5:	18      	CLC 
C1/84A6:	7D3789  	ADC $8937,X
C1/84A9:	AA      	TAX 
C1/84AA:	60      	RTS

C1/84AB unknow

C1/84AB:	AECA62  	LDX $62CA
C1/84AE:	BD0F89  	LDA $890F,X      (Cursor memory)
C1/84B1:	852C    	STA $2C
C1/84B3:	A903    	LDA #$03
C1/84B5:	852E    	STA $2E
C1/84B7:	20B018  	JSR $18B0
C1/84BA:	AECA62  	LDX $62CA
C1/84BD:	BF5B4BC1	LDA $C14B5B,X
C1/84C1:	18      	CLC 
C1/84C2:	6530    	ADC $30
C1/84C4:	AA      	TAX 
C1/84C5:	60      	RTS

C1/84C6 unknow

C1/84C6:	9CE388  	STZ $88E3		(from C1/5529, X = 1E)
C1/84C9:	9CEF88  	STZ $88EF
C1/84CC:	ADCB7B  	LDA $7BCB
C1/84CF:	F006    	BEQ $84D7
C1/84D1:	A91D    	LDA #$1D
C1/84D3:	8DC27B  	STA $7BC2      (queue up to execute at C1/5704)
C1/84D6:	60      	RTS
C1/84D7:	ACCA62  	LDY $62CA
C1/84DA:	B92F89  	LDA $892F,Y
C1/84DD:	8536    	STA $36
C1/84DF:	B93389  	LDA $8933,Y
C1/84E2:	8537    	STA $37
C1/84E4:	B92B89  	LDA $892B,Y
C1/84E7:	8538    	STA $38
C1/84E9:	A901    	LDA #$01
C1/84EB:	8539    	STA $39
C1/84ED:	20DB80  	JSR $80DB
C1/84F0:	A53C    	LDA $3C
C1/84F2:	F022    	BEQ $8516
C1/84F4:	3012    	BMI $8508
C1/84F6:	B92B89  	LDA $892B,Y
C1/84F9:	C97C    	CMP #$7C
C1/84FB:	F023    	BEQ $8520
C1/84FD:	1A      	INC A
C1/84FE:	992B89  	STA $892B,Y
C1/8501:	E694    	INC $94
C1/8503:	207385  	JSR $8573
C1/8506:	800E    	BRA $8516
C1/8508:	B92B89  	LDA $892B,Y
C1/850B:	F013    	BEQ $8520
C1/850D:	3A      	DEC A
C1/850E:	992B89  	STA $892B,Y
C1/8511:	E694    	INC $94
C1/8513:	209185  	JSR $8591
C1/8516:	A536    	LDA $36
C1/8518:	992F89  	STA $892F,Y
C1/851B:	A537    	LDA $37
C1/851D:	993389  	STA $8933,Y
C1/8520:	A509    	LDA $09        (load controller 1)
C1/8522:	1006    	BPL $852A      (branch if not pressing B)
C1/8524:	E696    	INC $96
C1/8526:	200457  	JSR $5704
C1/8529:	60      	RTS
C1/852A:	A504    	LDA $04        (load shared controller byte)
C1/852C:	101C    	BPL $854A      (branch if anyone isn't anyone pressing A)
C1/852E:	203884  	JSR $8438
C1/8531:	BD7E25  	LDA $257E,X
C1/8534:	C9FF    	CMP #$FF
C1/8536:	F010    	BEQ $8548
C1/8538:	E696    	INC $96
C1/853A:	BD7E25  	LDA $257E,X
C1/853D:	8D857A  	STA $7A85
C1/8540:	A902    	LDA #$02       ("one side only")
C1/8542:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8545:	4C9577  	JMP $7795
C1/8548:	E695    	INC $95
C1/854A:	A97C    	LDA #$7C
C1/854C:	8536    	STA $36
C1/854E:	A24B00  	LDX #$004B
C1/8551:	862E    	STX $2E
C1/8553:	B92B89  	LDA $892B,Y
C1/8556:	208F89  	JSR $898F
C1/8559:	B92F89  	LDA $892F,Y
C1/855C:	AA      	TAX 
C1/855D:	BF8982C1	LDA $C18289,X
C1/8561:	8DE488  	STA $88E4
C1/8564:	B93389  	LDA $8933,Y
C1/8567:	AA      	TAX 
C1/8568:	BF8D82C1	LDA $C1828D,X
C1/856C:	8DE588  	STA $88E5
C1/856F:	EEE388  	INC $88E3
C1/8572:	60      	RTS

C1/8573 unknow

C1/8573:	18      	CLC 
C1/8574:	6903    	ADC #$03
C1/8576:	20E24C  	JSR $4CE2
C1/8579:	A917    	LDA #$17
C1/857B:	8DC27B  	STA $7BC2      (queue up to execute at C1/5C91)
C1/857E:	206982  	JSR $8269
C1/8581:	ADFD7A  	LDA $7AFD
C1/8584:	C904    	CMP #$04
C1/8586:	F003    	BEQ $858B
C1/8588:	1A      	INC A
C1/8589:	8001    	BRA $858C
C1/858B:	7B      	TDC 
C1/858C:	8DFD7A  	STA $7AFD
C1/858F:	8018    	BRA $85A9
C1/8591:	20E24C  	JSR $4CE2
C1/8594:	A918    	LDA #$18
C1/8596:	8DC27B  	STA $7BC2      (queue up to execute at C1/5CF7)
C1/8599:	206982  	JSR $8269
C1/859C:	ADFD7A  	LDA $7AFD
C1/859F:	F003    	BEQ $85A4
C1/85A1:	3A      	DEC A
C1/85A2:	8002    	BRA $85A6
C1/85A4:	A904    	LDA #$04
C1/85A6:	8DFD7A  	STA $7AFD
C1/85A9:	A903    	LDA #$03
C1/85AB:	8DA87B  	STA $7BA8
C1/85AE:	A91E    	LDA #$1E
C1/85B0:	8DC37B  	STA $7BC3
C1/85B3:	60      	RTS

C1/85B4 unknow

C1/85B4:	9CE388  	STZ $88E3		(from C1/5529, X = 21)
C1/85B7:	ADCB7B  	LDA $7BCB
C1/85BA:	F006    	BEQ $85C2
C1/85BC:	A920    	LDA #$20
C1/85BE:	8DC27B  	STA $7BC2      (queue up to execute at C1/570D)
C1/85C1:	60      	RTS

C1/85C2 unknow

C1/85C2:	ACCA62  	LDY $62CA
C1/85C5:	B93789  	LDA $8937,Y
C1/85C8:	8536    	STA $36
C1/85CA:	B93B89  	LDA $893B,Y
C1/85CD:	8537    	STA $37
C1/85CF:	6438    	STZ $38
C1/85D1:	A901    	LDA #$01
C1/85D3:	8539    	STA $39
C1/85D5:	20DB80  	JSR $80DB
C1/85D8:	A53C    	LDA $3C
C1/85DA:	D00A    	BNE $85E6
C1/85DC:	A536    	LDA $36
C1/85DE:	993789  	STA $8937,Y
C1/85E1:	A537    	LDA $37
C1/85E3:	993B89  	STA $893B,Y
C1/85E6:	A509    	LDA $09
C1/85E8:	1006    	BPL $85F0
C1/85EA:	E696    	INC $96
C1/85EC:	200D57  	JSR $570D
C1/85EF:	60      	RTS
C1/85F0:	A504    	LDA $04        (load shared controller byte)
C1/85F2:	1017    	BPL $860B      (branch if anyone isn't anyone pressing A)
C1/85F4:	209E84  	JSR $849E
C1/85F7:	BD7E26  	LDA $267E,X
C1/85FA:	300D    	BMI $8609
C1/85FC:	E696    	INC $96
C1/85FE:	8D857A  	STA $7A85
C1/8601:	A902    	LDA #$02       ("one side only")
C1/8603:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8606:	4C9577  	JMP $7795

C1/8609 unknow

C1/8609:	E695    	INC $95
C1/860B:	B93789  	LDA $8937,Y
C1/860E:	AA      	TAX 
C1/860F:	BF8782C1	LDA $C18287,X
C1/8613:	8DE488  	STA $88E4
C1/8616:	B93B89  	LDA $893B,Y
C1/8619:	AA      	TAX 
C1/861A:	BF8D82C1	LDA $C1828D,X
C1/861E:	8DE588  	STA $88E5
C1/8621:	EEE388  	INC $88E3
C1/8624:	60      	RTS
C1/8625:	9CE388  	STZ $88E3		(from C1/5529, X = 2A)
C1/8628:	ADCB7B  	LDA $7BCB
C1/862B:	F006    	BEQ $8633
C1/862D:	A929    	LDA #$29
C1/862F:	8DC27B  	STA $7BC2      (queue up to execute at C1/5716)
C1/8632:	60      	RTS

C1/8633 unknow

C1/8633:	ACCA62  	LDY $62CA
C1/8636:	B93F89  	LDA $893F,Y
C1/8639:	8536    	STA $36
C1/863B:	B94389  	LDA $8943,Y
C1/863E:	8537    	STA $37
C1/8640:	6438    	STZ $38
C1/8642:	A901    	LDA #$01
C1/8644:	8539    	STA $39
C1/8646:	20DB80  	JSR $80DB
C1/8649:	A53C    	LDA $3C
C1/864B:	D00A    	BNE $8657
C1/864D:	A536    	LDA $36
C1/864F:	993F89  	STA $893F,Y
C1/8652:	A537    	LDA $37
C1/8654:	994389  	STA $8943,Y
C1/8657:	A509    	LDA $09        (load controller 1)
C1/8659:	1006    	BPL $8661      (branch if not pressing B)
C1/865B:	E696    	INC $96
C1/865D:	201657  	JSR $5716
C1/8660:	60      	RTS

C1/8661 unknow

C1/8661:	8436    	STY $36
C1/8663:	A504    	LDA $04        (load shared controller byte)
C1/8665:	1032    	BPL $8699      (branch if nobody is pressing A)
C1/8667:	209184  	JSR $8491
C1/866A:	ADCA62  	LDA $62CA
C1/866D:	0A      	ASL A
C1/866E:	0A      	ASL A
C1/866F:	0A      	ASL A
C1/8670:	0A      	ASL A
C1/8671:	0A      	ASL A
C1/8672:	A8      	TAY 
C1/8673:	B9AE2E  	LDA $2EAE,Y
C1/8676:	D008    	BNE $8680      (branch if not Terra)
C1/8678:	BF0C91C1	LDA $C1910C,X  (M-tek commands for Terra)
C1/867C:	3019    	BMI $8697      (branch if slot is empty, note that this will never be taken)
C1/867E:	8006    	BRA $8686
C1/8680:	BF1491C1	LDA $C19114,X  (M-tek commands for everyone but Terra)
C1/8684:	3011    	BMI $8697      (branch if slot is empty)
C1/8686:	E696    	INC $96
C1/8688:	8D857A  	STA $7A85
C1/868B:	A436    	LDY $36
C1/868D:	BF0491C1	LDA $C19104,X  (Targeting byte for M-tek commands)
C1/8691:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8694:	4C9577  	JMP $7795
C1/8697:	E695    	INC $95
C1/8699:	A436    	LDY $36
C1/869B:	B93F89  	LDA $893F,Y
C1/869E:	AA      	TAX 
C1/869F:	BF8982C1	LDA $C18289,X
C1/86A3:	8DE488  	STA $88E4
C1/86A6:	B94389  	LDA $8943,Y
C1/86A9:	AA      	TAX 
C1/86AA:	BF8D82C1	LDA $C1828D,X
C1/86AE:	8DE588  	STA $88E5
C1/86B1:	EEE388  	INC $88E3
C1/86B4:	60      	RTS

C1/86B5 unknow

C1/86B5:	9CE388  	STZ $88E3		(from C1/5529, X = 2E)
C1/86B8:	9CEF88  	STZ $88EF
C1/86BB:	ADCB7B  	LDA $7BCB
C1/86BE:	F006    	BEQ $86C6
C1/86C0:	A92C    	LDA #$2C
C1/86C2:	8DC27B  	STA $7BC2      (queue up to execute at C1/56E0)
C1/86C5:	60      	RTS

C1/86C6 unknow

C1/86C6:	ACCA62  	LDY $62CA		(from only C1/86BE)
C1/86C9:	6436    	STZ $36
C1/86CB:	B95B89  	LDA $895B,Y
C1/86CE:	8537    	STA $37
C1/86D0:	B95389  	LDA $8953,Y
C1/86D3:	8538    	STA $38
C1/86D5:	7B      	TDC 
C1/86D6:	8539    	STA $39
C1/86D8:	20DB80  	JSR $80DB
C1/86DB:	A53C    	LDA $3C
C1/86DD:	F022    	BEQ $8701
C1/86DF:	3012    	BMI $86F3
C1/86E1:	B95389  	LDA $8953,Y
C1/86E4:	C9FB    	CMP #$FB
C1/86E6:	F023    	BEQ $870B
C1/86E8:	1A      	INC A
C1/86E9:	995389  	STA $8953,Y
C1/86EC:	E694    	INC $94
C1/86EE:	205C87  	JSR $875C
C1/86F1:	800E    	BRA $8701
C1/86F3:	B95389  	LDA $8953,Y
C1/86F6:	F013    	BEQ $870B
C1/86F8:	3A      	DEC A
C1/86F9:	995389  	STA $8953,Y
C1/86FC:	E694    	INC $94
C1/86FE:	207A87  	JSR $877A
C1/8701:	A536    	LDA $36
C1/8703:	995789  	STA $8957,Y
C1/8706:	A537    	LDA $37
C1/8708:	995B89  	STA $895B,Y
C1/870B:	A504    	LDA $04        (load shared controller byte)
C1/870D:	101C    	BPL $872B      (branch if nobody is pressing A)
C1/870F:	E696    	INC $96
C1/8711:	205484  	JSR $8454
C1/8714:	BD0540  	LDA $4005,X
C1/8717:	C9FF    	CMP #$FF
C1/8719:	D004    	BNE $871F
C1/871B:	E695    	INC $95
C1/871D:	800C    	BRA $872B
C1/871F:	8D857A  	STA $7A85
C1/8722:	BD0740  	LDA $4007,X
C1/8725:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8728:	4C9577  	JMP $7795
C1/872B:	A509    	LDA $09        (load controller 1)
C1/872D:	1006    	BPL $8735      (branch if not pressing B)
C1/872F:	E696    	INC $96
C1/8731:	20E056  	JSR $56E0
C1/8734:	60      	RTS

C1/8735 unknow

C1/8735:	A9FB    	LDA #$FB		(from only C1/872D)
C1/8737:	8536    	STA $36
C1/8739:	A22500  	LDX #$0025
C1/873C:	862E    	STX $2E
C1/873E:	B95389  	LDA $8953,Y
C1/8741:	208F89  	JSR $898F
C1/8744:	7B      	TDC 
C1/8745:	AA      	TAX 
C1/8746:	BF8782C1	LDA $C18287,X
C1/874A:	8DE488  	STA $88E4
C1/874D:	B95B89  	LDA $895B,Y
C1/8750:	AA      	TAX 
C1/8751:	BF8D82C1	LDA $C1828D,X
C1/8755:	8DE588  	STA $88E5
C1/8758:	EEE388  	INC $88E3
C1/875B:	60      	RTS

C1/875C unknow

C1/875C:	18      	CLC 			(from only C1/86EE)
C1/875D:	6903    	ADC #$03
C1/875F:	20274C  	JSR $4C27
C1/8762:	A917    	LDA #$17
C1/8764:	8DC27B  	STA $7BC2      (queue up to execute at C1/5C91)
C1/8767:	206982  	JSR $8269
C1/876A:	ADFD7A  	LDA $7AFD
C1/876D:	C904    	CMP #$04
C1/876F:	F003    	BEQ $8774
C1/8771:	1A      	INC A
C1/8772:	8001    	BRA $8775
C1/8774:	7B      	TDC 
C1/8775:	8DFD7A  	STA $7AFD
C1/8778:	8018    	BRA $8792
C1/877A:	20274C  	JSR $4C27
C1/877D:	A918    	LDA #$18
C1/877F:	8DC27B  	STA $7BC2      (queue up to execute at C1/5CF7)
C1/8782:	206982  	JSR $8269
C1/8785:	ADFD7A  	LDA $7AFD
C1/8788:	F003    	BEQ $878D
C1/878A:	3A      	DEC A
C1/878B:	8002    	BRA $878F
C1/878D:	A904    	LDA #$04
C1/878F:	8DFD7A  	STA $7AFD
C1/8792:	A903    	LDA #$03
C1/8794:	8DA87B  	STA $7BA8
C1/8797:	A92D    	LDA #$2D
C1/8799:	8DC37B  	STA $7BC3
C1/879C:	60      	RTS

C1/879D unknow

C1/879D:	9CE388  	STZ $88E3		(from C1/5529, X = 30)
C1/87A0:	9CEF88  	STZ $88EF
C1/87A3:	ADCB7B  	LDA $7BCB
C1/87A6:	F006    	BEQ $87AE
C1/87A8:	A92F    	LDA #$2F
C1/87AA:	8DC27B  	STA $7BC2
C1/87AD:	60      	RTS

C1/87AE unknow

C1/87AE:	ACCA62  	LDY $62CA		(from only C1/87A6)
C1/87B1:	B96389  	LDA $8963,Y
C1/87B4:	8536    	STA $36
C1/87B6:	B96789  	LDA $8967,Y
C1/87B9:	8537    	STA $37
C1/87BB:	B95F89  	LDA $895F,Y
C1/87BE:	8538    	STA $38
C1/87C0:	A901    	LDA #$01
C1/87C2:	8539    	STA $39
C1/87C4:	20DB80  	JSR $80DB
C1/87C7:	A53C    	LDA $3C
C1/87C9:	F020    	BEQ $87EB
C1/87CB:	3010    	BMI $87DD
C1/87CD:	B95F89  	LDA $895F,Y
C1/87D0:	F023    	BEQ $87F5
C1/87D2:	1A      	INC A
C1/87D3:	995F89  	STA $895F,Y
C1/87D6:	E694    	INC $94
C1/87D8:	203C88  	JSR $883C
C1/87DB:	800E    	BRA $87EB
C1/87DD:	B95F89  	LDA $895F,Y
C1/87E0:	F013    	BEQ $87F5
C1/87E2:	3A      	DEC A
C1/87E3:	995F89  	STA $895F,Y
C1/87E6:	E694    	INC $94
C1/87E8:	205A88  	JSR $885A
C1/87EB:	A536    	LDA $36
C1/87ED:	996389  	STA $8963,Y
C1/87F0:	A537    	LDA $37
C1/87F2:	996789  	STA $8967,Y
C1/87F5:	A504    	LDA $04        (load shared controller byte)
C1/87F7:	101F    	BPL $8818      (branch if nobody is pressing A)
C1/87F9:	E696    	INC $96
C1/87FB:	207084  	JSR $8470
C1/87FE:	BD0540  	LDA $4005,X
C1/8801:	C9FF    	CMP #$FF
C1/8803:	D004    	BNE $8809
C1/8805:	E695    	INC $95
C1/8807:	800F    	BRA $8818
C1/8809:	BD0540  	LDA $4005,X
C1/880C:	8D857A  	STA $7A85
C1/880F:	BD0740  	LDA $4007,X    (tools targeting???)
C1/8812:	8D847A  	STA $7A84      (save as character targeting byte)
C1/8815:	4C9577  	JMP $7795
C1/8818:	A509    	LDA $09        (load controller 1)
C1/881A:	1006    	BPL $8822      (branch if not pressing B)
C1/881C:	E696    	INC $96
C1/881E:	209756  	JSR $5697
C1/8821:	60      	RTS

C1/8822 unknow

C1/8822:	B96389  	LDA $8963,Y		(from only C1/881A)
C1/8825:	AA      	TAX 
C1/8826:	BF8582C1	LDA $C18285,X
C1/882A:	8DE488  	STA $88E4
C1/882D:	B96789  	LDA $8967,Y
C1/8830:	AA      	TAX 
C1/8831:	BF8D82C1	LDA $C1828D,X
C1/8835:	8DE588  	STA $88E5
C1/8838:	EEE388  	INC $88E3
C1/883B:	60      	RTS

C1/883C unknow

C1/883C:	18      	CLC			(from only C1/87D8)			
C1/883D:	6903    	ADC #$03
C1/883F:	20F74B  	JSR $4BF7
C1/8842:	A917    	LDA #$17
C1/8844:	8DC27B  	STA $7BC2      (queue up to execute at C1/5C91)
C1/8847:	206982  	JSR $8269
C1/884A:	ADFD7A  	LDA $7AFD
C1/884D:	C904    	CMP #$04
C1/884F:	F003    	BEQ $8854
C1/8851:	1A      	INC A
C1/8852:	8001    	BRA $8855
C1/8854:	7B      	TDC 
C1/8855:	8DFD7A  	STA $7AFD
C1/8858:	8018    	BRA $8872
C1/885A:	20F74B  	JSR $4BF7
C1/885D:	A918    	LDA #$18
C1/885F:	8DC27B  	STA $7BC2      (queue up to execute at C1/5CF7)
C1/8862:	206982  	JSR $8269
C1/8865:	ADFD7A  	LDA $7AFD
C1/8868:	F003    	BEQ $886D
C1/886A:	3A      	DEC A
C1/886B:	8002    	BRA $886F
C1/886D:	A904    	LDA #$04
C1/886F:	8DFD7A  	STA $7AFD
C1/8872:	A903    	LDA #$03
C1/8874:	8DA87B  	STA $7BA8
C1/8877:	A930    	LDA #$30
C1/8879:	8DC37B  	STA $7BC3
C1/887C:	60      	RTS

C1/887D unknow

C1/887D:	9CE388  	STZ $88E3		(from C1/5529, X = A)
C1/8880:	9CEF88  	STZ $88EF
C1/8883:	ADCB7B  	LDA $7BCB
C1/8886:	F00F    	BEQ $8897
C1/8888:	9CAF7B  	STZ $7BAF
C1/888B:	9CB57B  	STZ $7BB5
C1/888E:	9C027B  	STZ $7B02
C1/8891:	A912    	LDA #$12
C1/8893:	8DC27B  	STA $7BC2      (queue up to execute at C1/56F2)
C1/8896:	60      	RTS

C1/8897 unknow

C1/8897:	A2A400  	LDX #$00A4		(from only C1/8886)
C1/889A:	8EB37B  	STX $7BB3
C1/889D:	ACCA62  	LDY $62CA
C1/88A0:	7B      	TDC 
C1/88A1:	994B89  	STA $894B,Y
C1/88A4:	8536    	STA $36
C1/88A6:	B94F89  	LDA $894F,Y
C1/88A9:	8537    	STA $37
C1/88AB:	B94789  	LDA $8947,Y
C1/88AE:	8538    	STA $38
C1/88B0:	6439    	STZ $39
C1/88B2:	20DB80  	JSR $80DB
C1/88B5:	A53C    	LDA $3C
C1/88B7:	F042    	BEQ $88FB
C1/88B9:	3012    	BMI $88CD
C1/88BB:	B94789  	LDA $8947,Y
C1/88BE:	C9FB    	CMP #$FB
C1/88C0:	F043    	BEQ $8905
C1/88C2:	1A      	INC A
C1/88C3:	994789  	STA $8947,Y
C1/88C6:	E694    	INC $94
C1/88C8:	20E98C  	JSR $8CE9
C1/88CB:	802E    	BRA $88FB
C1/88CD:	B94789  	LDA $8947,Y
C1/88D0:	D020    	BNE $88F2
C1/88D2:	A53C    	LDA $3C
C1/88D4:	2940    	AND #$40
C1/88D6:	D004    	BNE $88DC
C1/88D8:	7B      	TDC 
C1/88D9:	994B89  	STA $894B,Y
C1/88DC:	AD027B  	LDA $7B02
C1/88DF:	F005    	BEQ $88E6
C1/88E1:	AD007B  	LDA $7B00
C1/88E4:	F01F    	BEQ $8905
C1/88E6:	A2C800  	LDX #$00C8
C1/88E9:	8EB37B  	STX $7BB3
C1/88EC:	E694    	INC $94
C1/88EE:	204556  	JSR $5645
C1/88F1:	60      	RTS

C1/88F2 unknow

C1/88F2:	3A      	DEC A
C1/88F3:	994789  	STA $8947,Y
C1/88F6:	E694    	INC $94
C1/88F8:	20118D  	JSR $8D11
C1/88FB:	A536    	LDA $36
C1/88FD:	994B89  	STA $894B,Y
C1/8900:	A537    	LDA $37
C1/8902:	994F89  	STA $894F,Y
C1/8905:	ADA87B  	LDA $7BA8
C1/8908:	D059    	BNE $8963
C1/890A:	A504    	LDA $04        (load shared controller byte)
C1/890C:	102D    	BPL $893B      (branch if nobody is pressing A)
C1/890E:	20248A  	JSR $8A24
C1/8911:	9050    	BCC $8963
C1/8913:	9CAF7B  	STZ $7BAF
C1/8916:	9CB57B  	STZ $7BB5
C1/8919:	9C027B  	STZ $7B02
C1/891C:	20BE89  	JSR $89BE
C1/891F:	BD8626  	LDA $2686,X
C1/8922:	8D857A  	STA $7A85
C1/8925:	BD8826  	LDA $2688,X    (item targeting???)
C1/8928:	8D847A  	STA $7A84      (save as character targeting)
C1/892B:	9C1E7A  	STZ $7A1E
C1/892E:	9CBAEC  	STZ $ECBA
C1/8931:	2940    	AND #$40       (is "cursor starts on enemy" set?)
C1/8933:	D003    	BNE $8938      (branch if so)
C1/8935:	4CB055  	JMP $55B0
C1/8938:	4C9577  	JMP $7795

C1/893B unknow

C1/893B:	A509    	LDA $09        (load controller 1)
C1/893D:	1024    	BPL $8963      (branch if not pressing B)
C1/893F:	E696    	INC $96
C1/8941:	9CAF7B  	STZ $7BAF
C1/8944:	9CB57B  	STZ $7BB5
C1/8947:	AD027B  	LDA $7B02
C1/894A:	D009    	BNE $8955
C1/894C:	9CAF7B  	STZ $7BAF
C1/894F:	9CB57B  	STZ $7BB5
C1/8952:	4CF256  	JMP $56F2

C1/8955 unknow

C1/8955:	9C027B  	STZ $7B02
C1/8958:	9C0C89  	STZ $890C
C1/895B:	A90A    	LDA #$0A
C1/895D:	8DC37B  	STA $7BC3
C1/8960:	20768D  	JSR $8D76
C1/8963:	ACCA62  	LDY $62CA
C1/8966:	A9FB    	LDA #$FB
C1/8968:	8536    	STA $36
C1/896A:	A22500  	LDX #$0025
C1/896D:	862E    	STX $2E
C1/896F:	B94789  	LDA $8947,Y
C1/8972:	208F89  	JSR $898F
C1/8975:	B94B89  	LDA $894B,Y
C1/8978:	AA      	TAX 
C1/8979:	BF8782C1	LDA $C18287,X
C1/897D:	8DE488  	STA $88E4
C1/8980:	B94F89  	LDA $894F,Y
C1/8983:	AA      	TAX 
C1/8984:	BF8D82C1	LDA $C1828D,X
C1/8988:	8DE588  	STA $88E5
C1/898B:	EEE388  	INC $88E3
C1/898E:	60      	RTS

C1/898F unknow

C1/898F:	852C    	STA $2C
C1/8991:	D004    	BNE $8997
C1/8993:	A901    	LDA #$01
C1/8995:	8009    	BRA $89A0
C1/8997:	C536    	CMP $36
C1/8999:	D004    	BNE $899F
C1/899B:	A902    	LDA #$02
C1/899D:	8001    	BRA $89A0
C1/899F:	7B      	TDC 
C1/89A0:	8DF288  	STA $88F2
C1/89A3:	642D    	STZ $2D
C1/89A5:	C220    	REP #$20
C1/89A7:	206718  	JSR $1867
C1/89AA:	7B      	TDC 
C1/89AB:	E220    	SEP #$20
C1/89AD:	A531    	LDA $31
C1/89AF:	18      	CLC 
C1/89B0:	69A1    	ADC #$A1
C1/89B2:	8DF188  	STA $88F1
C1/89B5:	A9F0    	LDA #$F0
C1/89B7:	8DF088  	STA $88F0
C1/89BA:	EEEF88  	INC $88EF
C1/89BD:	60      	RTS

C1/89BE unknow

C1/89BE:	5A      	PHY 
C1/89BF:	B94789  	LDA $8947,Y
C1/89C2:	18      	CLC 
C1/89C3:	794F89  	ADC $894F,Y
C1/89C6:	C220    	REP #$20
C1/89C8:	8540    	STA $40
C1/89CA:	0A      	ASL A
C1/89CB:	0A      	ASL A
C1/89CC:	18      	CLC 
C1/89CD:	6540    	ADC $40
C1/89CF:	AA      	TAX 
C1/89D0:	7B      	TDC 
C1/89D1:	E220    	SEP #$20
C1/89D3:	7A      	PLY 
C1/89D4:	60      	RTS

C1/89D5 unknow

C1/89D5:	AD397B  	LDA $7B39
C1/89D8:	C9FF    	CMP #$FF
C1/89DA:	F030    	BEQ $8A0C
C1/89DC:	AD3B7B  	LDA $7B3B
C1/89DF:	C9FF    	CMP #$FF
C1/89E1:	F029    	BEQ $8A0C
C1/89E3:	DA      	PHX 
C1/89E4:	AECA62  	LDX $62CA
C1/89E7:	BD6E2E  	LDA $2E6E,X
C1/89EA:	F011    	BEQ $89FD
C1/89EC:	FA      	PLX 
C1/89ED:	AD3A7B  	LDA $7B3A
C1/89F0:	2908    	AND #$08
C1/89F2:	F018    	BEQ $8A0C
C1/89F4:	AD3C7B  	LDA $7B3C
C1/89F7:	2908    	AND #$08
C1/89F9:	F011    	BEQ $8A0C
C1/89FB:	800D    	BRA $8A0A
C1/89FD:	FA      	PLX 
C1/89FE:	AD3A7B  	LDA $7B3A
C1/8A01:	0D3C7B  	ORA $7B3C
C1/8A04:	2918    	AND #$18
C1/8A06:	C918    	CMP #$18
C1/8A08:	F002    	BEQ $8A0C
C1/8A0A:	38      	SEC 
C1/8A0B:	60      	RTS
C1/8A0C:	DA      	PHX 
C1/8A0D:	AECA62  	LDX $62CA
C1/8A10:	A901    	LDA #$01
C1/8A12:	9D302F  	STA $2F30,X
C1/8A15:	FA      	PLX 
C1/8A16:	18      	CLC 
C1/8A17:	60      	RTS
C1/8A18:	DA      	PHX 
C1/8A19:	AECA62  	LDX $62CA
C1/8A1C:	BF011AC1	LDA $C11A01,X
C1/8A20:	852C    	STA $2C
C1/8A22:	FA      	PLX 
C1/8A23:	60      	RTS

C1/8A24 unknow

C1/8A24:	E696    	INC $96
C1/8A26:	20BE89  	JSR $89BE
C1/8A29:	AD027B  	LDA $7B02
C1/8A2C:	D003    	BNE $8A31
C1/8A2E:	4C238B  	JMP $8B23
C1/8A31:	8E057B  	STX $7B05
C1/8A34:	AD007B  	LDA $7B00
C1/8A37:	F064    	BEQ $8A9D
C1/8A39:	BD8626  	LDA $2686,X
C1/8A3C:	C9FF    	CMP #$FF
C1/8A3E:	F011    	BEQ $8A51
C1/8A40:	20188A  	JSR $8A18
C1/8A43:	BD8726  	LDA $2687,X
C1/8A46:	2918    	AND #$18
C1/8A48:	F03F    	BEQ $8A89
C1/8A4A:	BD8A26  	LDA $268A,X
C1/8A4D:	252C    	AND $2C
C1/8A4F:	D038    	BNE $8A89
C1/8A51:	AD007B  	LDA $7B00
C1/8A54:	C901    	CMP #$01
C1/8A56:	F011    	BEQ $8A69
C1/8A58:	AC037B  	LDY $7B03
C1/8A5B:	B9862B  	LDA $2B86,Y
C1/8A5E:	8D3B7B  	STA $7B3B
C1/8A61:	B9872B  	LDA $2B87,Y
C1/8A64:	8D3C7B  	STA $7B3C
C1/8A67:	800F    	BRA $8A78
C1/8A69:	AC037B  	LDY $7B03
C1/8A6C:	B99A2B  	LDA $2B9A,Y
C1/8A6F:	8D3B7B  	STA $7B3B
C1/8A72:	B99B2B  	LDA $2B9B,Y
C1/8A75:	8D3C7B  	STA $7B3C
C1/8A78:	BD8626  	LDA $2686,X
C1/8A7B:	8D397B  	STA $7B39
C1/8A7E:	BD8726  	LDA $2687,X
C1/8A81:	8D3A7B  	STA $7B3A
C1/8A84:	20D589  	JSR $89D5
C1/8A87:	9007    	BCC $8A90
C1/8A89:	E695    	INC $95
C1/8A8B:	6496    	STZ $96
C1/8A8D:	4C0A8B  	JMP $8B0A
C1/8A90:	AD007B  	LDA $7B00
C1/8A93:	C901    	CMP #$01
C1/8A95:	F003    	BEQ $8A9A
C1/8A97:	4C028C  	JMP $8C02
C1/8A9A:	4C4D8B  	JMP $8B4D

C1/8A9D unknow

C1/8A9D:	EC037B  	CPX $7B03
C1/8AA0:	D02C    	BNE $8ACE
C1/8AA2:	9CAF7B  	STZ $7BAF
C1/8AA5:	9CB57B  	STZ $7BB5
C1/8AA8:	BD8626  	LDA $2686,X
C1/8AAB:	C9FF    	CMP #$FF
C1/8AAD:	F005    	BEQ $8AB4
C1/8AAF:	BD8726  	LDA $2687,X
C1/8AB2:	1012    	BPL $8AC6
C1/8AB4:	E695    	INC $95
C1/8AB6:	6496    	STZ $96
C1/8AB8:	9C0C89  	STZ $890C
C1/8ABB:	9C027B  	STZ $7B02
C1/8ABE:	9CAF7B  	STZ $7BAF
C1/8AC1:	9CB57B  	STZ $7BB5
C1/8AC4:	18      	CLC 
C1/8AC5:	60      	RTS
C1/8AC6:	BD8726  	LDA $2687,X
C1/8AC9:	9C0C89  	STZ $890C
C1/8ACC:	38      	SEC 
C1/8ACD:	60      	RTS

C1/8ACE unknow

C1/8ACE:	5A      	PHY 
C1/8ACF:	7B      	TDC 
C1/8AD0:	A8      	TAY 
C1/8AD1:	BD8626  	LDA $2686,X
C1/8AD4:	99077B  	STA $7B07,Y
C1/8AD7:	E8      	INX 
C1/8AD8:	C8      	INY 
C1/8AD9:	C00500  	CPY #$0005
C1/8ADC:	D0F3    	BNE $8AD1
C1/8ADE:	AC057B  	LDY $7B05
C1/8AE1:	AE037B  	LDX $7B03
C1/8AE4:	A905    	LDA #$05
C1/8AE6:	8540    	STA $40
C1/8AE8:	BD8626  	LDA $2686,X
C1/8AEB:	998626  	STA $2686,Y
C1/8AEE:	E8      	INX 
C1/8AEF:	C8      	INY 
C1/8AF0:	C640    	DEC $40
C1/8AF2:	D0F4    	BNE $8AE8
C1/8AF4:	7B      	TDC 
C1/8AF5:	AA      	TAX 
C1/8AF6:	AC037B  	LDY $7B03
C1/8AF9:	BD077B  	LDA $7B07,X
C1/8AFC:	998626  	STA $2686,Y
C1/8AFF:	E8      	INX 
C1/8B00:	C8      	INY 
C1/8B01:	E00500  	CPX #$0005
C1/8B04:	D0F3    	BNE $8AF9
C1/8B06:	9C027B  	STZ $7B02
C1/8B09:	7A      	PLY 
C1/8B0A:	9C0C89  	STZ $890C
C1/8B0D:	A90A    	LDA #$0A
C1/8B0F:	8DC37B  	STA $7BC3
C1/8B12:	20768D  	JSR $8D76
C1/8B15:	9C007B  	STZ $7B00
C1/8B18:	9C027B  	STZ $7B02
C1/8B1B:	9CAF7B  	STZ $7BAF
C1/8B1E:	9CB57B  	STZ $7BB5
C1/8B21:	18      	CLC 
C1/8B22:	60      	RTS

C1/8B23 unknow

C1/8B23:	9C007B  	STZ $7B00
C1/8B26:	8E037B  	STX $7B03
C1/8B29:	EE027B  	INC $7B02
C1/8B2C:	B94B89  	LDA $894B,Y
C1/8B2F:	AA      	TAX 
C1/8B30:	BF8782C1	LDA $C18287,X
C1/8B34:	18      	CLC 
C1/8B35:	6903    	ADC #$03
C1/8B37:	8DB07B  	STA $7BB0
C1/8B3A:	B94F89  	LDA $894F,Y
C1/8B3D:	AA      	TAX 
C1/8B3E:	BF8D82C1	LDA $C1828D,X
C1/8B42:	AA      	TAX 
C1/8B43:	8EB17B  	STX $7BB1
C1/8B46:	A901    	LDA #$01
C1/8B48:	8DAF7B  	STA $7BAF
C1/8B4B:	18      	CLC 
C1/8B4C:	60      	RTS

C1/8B4D unknow

C1/8B4D:	5A      	PHY 
C1/8B4E:	7B      	TDC 
C1/8B4F:	AA      	TAX 
C1/8B50:	AC037B  	LDY $7B03
C1/8B53:	B9862B  	LDA $2B86,Y
C1/8B56:	9D077B  	STA $7B07,X
C1/8B59:	E8      	INX 
C1/8B5A:	C8      	INY 
C1/8B5B:	E00500  	CPX #$0005
C1/8B5E:	D0F3    	BNE $8B53
C1/8B60:	AE057B  	LDX $7B05
C1/8B63:	AC037B  	LDY $7B03
C1/8B66:	B9862B  	LDA $2B86,Y
C1/8B69:	DD8626  	CMP $2686,X
C1/8B6C:	D017    	BNE $8B85
C1/8B6E:	A9FF    	LDA #$FF
C1/8B70:	99862B  	STA $2B86,Y
C1/8B73:	A980    	LDA #$80
C1/8B75:	99872B  	STA $2B87,Y
C1/8B78:	7B      	TDC 
C1/8B79:	99882B  	STA $2B88,Y
C1/8B7C:	99892B  	STA $2B89,Y
C1/8B7F:	998A2B  	STA $2B8A,Y
C1/8B82:	4CE18B  	JMP $8BE1

C1/8B85 unknow

C1/8B85:	BD8626  	LDA $2686,X
C1/8B88:	99862B  	STA $2B86,Y
C1/8B8B:	BD8726  	LDA $2687,X
C1/8B8E:	99872B  	STA $2B87,Y
C1/8B91:	BD8826  	LDA $2688,X
C1/8B94:	99882B  	STA $2B88,Y
C1/8B97:	BD8A26  	LDA $268A,X
C1/8B9A:	998A2B  	STA $2B8A,Y
C1/8B9D:	A901    	LDA #$01
C1/8B9F:	99892B  	STA $2B89,Y
C1/8BA2:	BD8926  	LDA $2689,X
C1/8BA5:	C902    	CMP #$02
C1/8BA7:	9005    	BCC $8BAE
C1/8BA9:	DE8926  	DEC $2689,X
C1/8BAC:	8013    	BRA $8BC1

C1/8BAE unknow

C1/8BAE:	A9FF    	LDA #$FF
C1/8BB0:	9D8626  	STA $2686,X
C1/8BB3:	A980    	LDA #$80
C1/8BB5:	9D8726  	STA $2687,X
C1/8BB8:	9E8826  	STZ $2688,X
C1/8BBB:	9E8926  	STZ $2689,X
C1/8BBE:	9E8A26  	STZ $268A,X
C1/8BC1:	AD077B  	LDA $7B07
C1/8BC4:	8540    	STA $40
C1/8BC6:	20B78C  	JSR $8CB7
C1/8BC9:	9016    	BCC $8BE1
C1/8BCB:	20D28C  	JSR $8CD2
C1/8BCE:	B01B    	BCS $8BEB
C1/8BD0:	7B      	TDC 
C1/8BD1:	A8      	TAY 
C1/8BD2:	B9077B  	LDA $7B07,Y
C1/8BD5:	9D8626  	STA $2686,X
C1/8BD8:	E8      	INX 
C1/8BD9:	C8      	INY 
C1/8BDA:	C00500  	CPY #$0005
C1/8BDD:	D0F3    	BNE $8BD2
C1/8BDF:	800A    	BRA $8BEB

C1/8BE1 unknow

C1/8BE1:	BD8926  	LDA $2689,X
C1/8BE4:	C963    	CMP #$63
C1/8BE6:	B003    	BCS $8BEB
C1/8BE8:	FE8926  	INC $2689,X
C1/8BEB:	9C0C89  	STZ $890C
C1/8BEE:	A90A    	LDA #$0A
C1/8BF0:	8DC37B  	STA $7BC3
C1/8BF3:	20768D  	JSR $8D76
C1/8BF6:	9CAF7B  	STZ $7BAF
C1/8BF9:	9CB57B  	STZ $7BB5
C1/8BFC:	9C027B  	STZ $7B02
C1/8BFF:	7A      	PLY 
C1/8C00:	18      	CLC 
C1/8C01:	60      	RTS

C1/8C02 unknow

C1/8C02:	5A      	PHY 
C1/8C03:	7B      	TDC 
C1/8C04:	AA      	TAX 
C1/8C05:	AC037B  	LDY $7B03
C1/8C08:	B99A2B  	LDA $2B9A,Y
C1/8C0B:	9D077B  	STA $7B07,X
C1/8C0E:	E8      	INX 
C1/8C0F:	C8      	INY 
C1/8C10:	E00500  	CPX #$0005
C1/8C13:	D0F3    	BNE $8C08
C1/8C15:	AE057B  	LDX $7B05
C1/8C18:	AC037B  	LDY $7B03
C1/8C1B:	B99A2B  	LDA $2B9A,Y
C1/8C1E:	DD8626  	CMP $2686,X
C1/8C21:	D017    	BNE $8C3A
C1/8C23:	A9FF    	LDA #$FF
C1/8C25:	999A2B  	STA $2B9A,Y
C1/8C28:	A980    	LDA #$80
C1/8C2A:	999B2B  	STA $2B9B,Y
C1/8C2D:	7B      	TDC 
C1/8C2E:	999C2B  	STA $2B9C,Y
C1/8C31:	999D2B  	STA $2B9D,Y
C1/8C34:	999E2B  	STA $2B9E,Y
C1/8C37:	4C968C  	JMP $8C96

C1/8C3A unknow

C1/8C3A:	BD8626  	LDA $2686,X
C1/8C3D:	999A2B  	STA $2B9A,Y
C1/8C40:	BD8726  	LDA $2687,X
C1/8C43:	999B2B  	STA $2B9B,Y
C1/8C46:	BD8826  	LDA $2688,X
C1/8C49:	999C2B  	STA $2B9C,Y
C1/8C4C:	BD8A26  	LDA $268A,X
C1/8C4F:	999E2B  	STA $2B9E,Y
C1/8C52:	A901    	LDA #$01
C1/8C54:	999D2B  	STA $2B9D,Y
C1/8C57:	BD8926  	LDA $2689,X
C1/8C5A:	C902    	CMP #$02
C1/8C5C:	9005    	BCC $8C63
C1/8C5E:	DE8926  	DEC $2689,X
C1/8C61:	8013    	BRA $8C76

C1/8C63 unknow

C1/8C63:	A9FF    	LDA #$FF
C1/8C65:	9D8626  	STA $2686,X
C1/8C68:	A980    	LDA #$80
C1/8C6A:	9D8726  	STA $2687,X
C1/8C6D:	9E8826  	STZ $2688,X
C1/8C70:	9E8926  	STZ $2689,X
C1/8C73:	9E8A26  	STZ $268A,X
C1/8C76:	AD077B  	LDA $7B07
C1/8C79:	8540    	STA $40
C1/8C7B:	20B78C  	JSR $8CB7
C1/8C7E:	9016    	BCC $8C96
C1/8C80:	20D28C  	JSR $8CD2
C1/8C83:	B01B    	BCS $8CA0
C1/8C85:	7B      	TDC 
C1/8C86:	A8      	TAY 
C1/8C87:	B9077B  	LDA $7B07,Y
C1/8C8A:	9D8626  	STA $2686,X
C1/8C8D:	E8      	INX 
C1/8C8E:	C8      	INY 
C1/8C8F:	C00500  	CPY #$0005
C1/8C92:	D0F3    	BNE $8C87
C1/8C94:	800A    	BRA $8CA0

C1/8C96 unknow

C1/8C96:	BD8926  	LDA $2689,X
C1/8C99:	C963    	CMP #$63
C1/8C9B:	B003    	BCS $8CA0
C1/8C9D:	FE8926  	INC $2689,X
C1/8CA0:	9C0C89  	STZ $890C
C1/8CA3:	A90A    	LDA #$0A
C1/8CA5:	8DC37B  	STA $7BC3
C1/8CA8:	20768D  	JSR $8D76
C1/8CAB:	9CAF7B  	STZ $7BAF
C1/8CAE:	9CB57B  	STZ $7BB5
C1/8CB1:	9C027B  	STZ $7B02
C1/8CB4:	7A      	PLY 
C1/8CB5:	18      	CLC 
C1/8CB6:	60      	RTS

C1/8CB7 unknow

C1/8CB7:	7B      	TDC 
C1/8CB8:	AA      	TAX 
C1/8CB9:	A540    	LDA $40
C1/8CBB:	C9FF    	CMP #$FF
C1/8CBD:	F00F    	BEQ $8CCE
C1/8CBF:	DD8626  	CMP $2686,X
C1/8CC2:	F00C    	BEQ $8CD0
C1/8CC4:	E8      	INX 
C1/8CC5:	E8      	INX 
C1/8CC6:	E8      	INX 
C1/8CC7:	E8      	INX 
C1/8CC8:	E8      	INX 
C1/8CC9:	E00005  	CPX #$0500
C1/8CCC:	D0F1    	BNE $8CBF
C1/8CCE:	38      	SEC 
C1/8CCF:	60      	RTS
C1/8CD0:	18      	CLC 
C1/8CD1:	60      	RTS

C1/8CD2 unknow

C1/8CD2:	7B      	TDC 
C1/8CD3:	AA      	TAX 
C1/8CD4:	A9FF    	LDA #$FF
C1/8CD6:	DD8626  	CMP $2686,X		(Does this entry have an "empty" index?)
C1/8CD9:	F00C    	BEQ $8CE7
C1/8CDB:	E8      	INX 
C1/8CDC:	E8      	INX 
C1/8CDD:	E8      	INX 
C1/8CDE:	E8      	INX 
C1/8CDF:	E8      	INX 
C1/8CE0:	E00005  	CPX #$0500
C1/8CE3:	D0F1    	BNE $8CD6
C1/8CE5:	38      	SEC 
C1/8CE6:	60      	RTS
C1/8CE7:	18      	CLC 
C1/8CE8:	60      	RTS

C1/8CE9 unknow

C1/8CE9:	18      	CLC 
C1/8CEA:	6903    	ADC #$03
C1/8CEC:	206B4C  	JSR $4C6B
C1/8CEF:	AEB17B  	LDX $7BB1
C1/8CF2:	CA      	DEX 
C1/8CF3:	CA      	DEX 
C1/8CF4:	CA      	DEX 
C1/8CF5:	CA      	DEX 
C1/8CF6:	8EB17B  	STX $7BB1
C1/8CF9:	A917    	LDA #$17
C1/8CFB:	8DC27B  	STA $7BC2
C1/8CFE:	206982  	JSR $8269
C1/8D01:	ADFD7A  	LDA $7AFD
C1/8D04:	C904    	CMP #$04
C1/8D06:	F003    	BEQ $8D0B
C1/8D08:	1A      	INC A
C1/8D09:	8001    	BRA $8D0C
C1/8D0B:	7B      	TDC 
C1/8D0C:	8DFD7A  	STA $7AFD
C1/8D0F:	8022    	BRA $8D33

C1/8D11 unknow

C1/8D11:	206B4C  	JSR $4C6B
C1/8D14:	AEB17B  	LDX $7BB1
C1/8D17:	E8      	INX 
C1/8D18:	E8      	INX 
C1/8D19:	E8      	INX 
C1/8D1A:	E8      	INX 
C1/8D1B:	8EB17B  	STX $7BB1
C1/8D1E:	A918    	LDA #$18
C1/8D20:	8DC27B  	STA $7BC2
C1/8D23:	206982  	JSR $8269
C1/8D26:	ADFD7A  	LDA $7AFD
C1/8D29:	F003    	BEQ $8D2E
C1/8D2B:	3A      	DEC A
C1/8D2C:	8002    	BRA $8D30

C1/8D2E unknow

C1/8D2E:	A904    	LDA #$04
C1/8D30:	8DFD7A  	STA $7AFD
C1/8D33:	A903    	LDA #$03
C1/8D35:	8DA87B  	STA $7BA8
C1/8D38:	A90A    	LDA #$0A
C1/8D3A:	8DC37B  	STA $7BC3
C1/8D3D:	60      	RTS

C1/8D3E unknow

C1/8D3E:	ADA77B  	LDA $7BA7		(from C1/5529, X = 31)
C1/8D41:	206B4C  	JSR $4C6B
C1/8D44:	ADA67B  	LDA $7BA6
C1/8D47:	0A      	ASL A
C1/8D48:	AA      	TAX 
C1/8D49:	BF9182C1	LDA $C18291,X
C1/8D4D:	8DAA7B  	STA $7BAA
C1/8D50:	BF9282C1	LDA $C18292,X
C1/8D54:	8DAB7B  	STA $7BAB
C1/8D57:	EEA97B  	INC $7BA9
C1/8D5A:	EEA77B  	INC $7BA7
C1/8D5D:	ADA67B  	LDA $7BA6
C1/8D60:	C904    	CMP #$04
C1/8D62:	F003    	BEQ $8D67
C1/8D64:	1A      	INC A
C1/8D65:	8001    	BRA $8D68
C1/8D67:	7B      	TDC 
C1/8D68:	8DA67B  	STA $7BA6
C1/8D6B:	CEA57B  	DEC $7BA5
C1/8D6E:	D005    	BNE $8D75
C1/8D70:	A902    	LDA #$02
C1/8D72:	8DC27B  	STA $7BC2
C1/8D75:	60      	RTS

C1/8D76 unknow

C1/8D76:	ACCA62  	LDY $62CA
C1/8D79:	ADFD7A  	LDA $7AFD
C1/8D7C:	C904    	CMP #$04
C1/8D7E:	D003    	BNE $8D83
C1/8D80:	7B      	TDC 
C1/8D81:	8001    	BRA $8D84
C1/8D83:	1A      	INC A
C1/8D84:	8DA67B  	STA $7BA6
C1/8D87:	B94789  	LDA $8947,Y
C1/8D8A:	8DA77B  	STA $7BA7
C1/8D8D:	A904    	LDA #$04
C1/8D8F:	8DA57B  	STA $7BA5
C1/8D92:	A931    	LDA #$31
C1/8D94:	8DC27B  	STA $7BC2
C1/8D97:	60      	RTS

C1/8D98 equip character (middle-battle)

C1/8D98:	AD027B  	LDA $7B02		(from C1/5529, X = C)
C1/8D9B:	F006    	BEQ $8DA3
C1/8D9D:	AD007B  	LDA $7B00
C1/8DA0:	8DB57B  	STA $7BB5
C1/8DA3:	9CE388  	STZ $88E3
C1/8DA6:	ADCB7B  	LDA $7BCB
C1/8DA9:	F006    	BEQ $8DB1
C1/8DAB:	A913    	LDA #$13
C1/8DAD:	8DC27B  	STA $7BC2
C1/8DB0:	60      	RTS
C1/8DB1:	AECA62  	LDX $62CA
C1/8DB4:	A505    	LDA $05
C1/8DB6:	C901    	CMP #$01
C1/8DB8:	D013    	BNE $8DCD
C1/8DBA:	E694    	INC $94
C1/8DBC:	BD4B89  	LDA $894B,X
C1/8DBF:	C901    	CMP #$01
C1/8DC1:	D005    	BNE $8DC8
C1/8DC3:	9E4B89  	STZ $894B,X
C1/8DC6:	8019    	BRA $8DE1
C1/8DC8:	FE4B89  	INC $894B,X
C1/8DCB:	801F    	BRA $8DEC
C1/8DCD:	C902    	CMP #$02
C1/8DCF:	D00C    	BNE $8DDD
C1/8DD1:	BD4B89  	LDA $894B,X
C1/8DD4:	F016    	BEQ $8DEC
C1/8DD6:	E694    	INC $94
C1/8DD8:	DE4B89  	DEC $894B,X
C1/8DDB:	800F    	BRA $8DEC
C1/8DDD:	C904    	CMP #$04
C1/8DDF:	D00B    	BNE $8DEC
C1/8DE1:	9E4B89  	STZ $894B,X
C1/8DE4:	9CB57B  	STZ $7BB5
C1/8DE7:	E694    	INC $94
C1/8DE9:	4C6956  	JMP $5669
C1/8DEC:	A504    	LDA $04
C1/8DEE:	1018    	BPL $8E08
C1/8DF0:	AECA62  	LDX $62CA
C1/8DF3:	BD8662  	LDA $6286,X
C1/8DF6:	F004    	BEQ $8DFC
C1/8DF8:	E695    	INC $95
C1/8DFA:	800C    	BRA $8E08
C1/8DFC:	A901    	LDA #$01
C1/8DFE:	9D302F  	STA $2F30,X
C1/8E01:	E696    	INC $96
C1/8E03:	20518E  	JSR $8E51
C1/8E06:	9000    	BCC $8E08
C1/8E08:	A509    	LDA $09
C1/8E0A:	1011    	BPL $8E1D
C1/8E0C:	E696    	INC $96
C1/8E0E:	9C0C89  	STZ $890C
C1/8E11:	20348E  	JSR $8E34
C1/8E14:	9CAF7B  	STZ $7BAF
C1/8E17:	9CB57B  	STZ $7BB5
C1/8E1A:	9C027B  	STZ $7B02
C1/8E1D:	AECA62  	LDX $62CA
C1/8E20:	BD4B89  	LDA $894B,X
C1/8E23:	AA      	TAX 
C1/8E24:	BF8382C1	LDA $C18283,X
C1/8E28:	8DE488  	STA $88E4
C1/8E2B:	A9B4    	LDA #$B4
C1/8E2D:	8DE588  	STA $88E5
C1/8E30:	EEE388  	INC $88E3
C1/8E33:	60      	RTS

C1/8E34 unknow

C1/8E34:	20BA4B  	JSR $4BBA
C1/8E37:	A2407E  	LDX #$7E40
C1/8E3A:	8EAA7B  	STX $7BAA
C1/8E3D:	EEA97B  	INC $7BA9
C1/8E40:	A90C    	LDA #$0C
C1/8E42:	8DC37B  	STA $7BC3
C1/8E45:	4C768D  	JMP $8D76

C1/8E48 unknow

C1/8E48:	AECA62  	LDX $62CA
C1/8E4B:	BF674BC1	LDA $C14B67,X
C1/8E4F:	AA      	TAX 
C1/8E50:	60      	RTS

C1/8E51 unknow

C1/8E51:	20488E  	JSR $8E48
C1/8E54:	ACCA62  	LDY $62CA
C1/8E57:	AD027B  	LDA $7B02
C1/8E5A:	D003    	BNE $8E5F
C1/8E5C:	4C288F  	JMP $8F28
C1/8E5F:	8E057B  	STX $7B05
C1/8E62:	AD007B  	LDA $7B00
C1/8E65:	D003    	BNE $8E6A
C1/8E67:	4CFE8E  	JMP $8EFE
C1/8E6A:	B94B89  	LDA $894B,Y
C1/8E6D:	1A      	INC A
C1/8E6E:	CD007B  	CMP $7B00
C1/8E71:	F056    	BEQ $8EC9
C1/8E73:	7B      	TDC 
C1/8E74:	A8      	TAY 
C1/8E75:	BD862B  	LDA $2B86,X		(Right hand item index)
C1/8E78:	99077B  	STA $7B07,Y
C1/8E7B:	E8      	INX 
C1/8E7C:	C8      	INY 
C1/8E7D:	C00500  	CPY #$0005
C1/8E80:	D0F3    	BNE $8E75
C1/8E82:	8440    	STY $40
C1/8E84:	AE057B  	LDX $7B05
C1/8E87:	BD9A2B  	LDA $2B9A,X		(Left hand item index)
C1/8E8A:	9D862B  	STA $2B86,X		(Right hand item index)
C1/8E8D:	E8      	INX 
C1/8E8E:	C640    	DEC $40
C1/8E90:	D0F5    	BNE $8E87
C1/8E92:	AE057B  	LDX $7B05
C1/8E95:	7B      	TDC 
C1/8E96:	A8      	TAY 
C1/8E97:	B9077B  	LDA $7B07,Y
C1/8E9A:	9D9A2B  	STA $2B9A,X		(Left hand item index)
C1/8E9D:	E8      	INX 
C1/8E9E:	C8      	INY 
C1/8E9F:	C00500  	CPY #$0005
C1/8EA2:	D0F3    	BNE $8E97
C1/8EA4:	9C0C89  	STZ $890C
C1/8EA7:	20BA4B  	JSR $4BBA
C1/8EAA:	A2407E  	LDX #$7E40
C1/8EAD:	8EAA7B  	STX $7BAA
C1/8EB0:	EEA97B  	INC $7BA9
C1/8EB3:	9C027B  	STZ $7B02
C1/8EB6:	9CAF7B  	STZ $7BAF
C1/8EB9:	9CB57B  	STZ $7BB5
C1/8EBC:	20408E  	JSR $8E40
C1/8EBF:	AECA62  	LDX $62CA
C1/8EC2:	A901    	LDA #$01
C1/8EC4:	9D302F  	STA $2F30,X
C1/8EC7:	18      	CLC 
C1/8EC8:	60      	RTS

C1/8EC9 unknow

C1/8EC9:	9C027B  	STZ $7B02
C1/8ECC:	9CAF7B  	STZ $7BAF
C1/8ECF:	9CB57B  	STZ $7BB5
C1/8ED2:	9C0C89  	STZ $890C
C1/8ED5:	B94B89  	LDA $894B,Y
C1/8ED8:	F00E    	BEQ $8EE8
C1/8EDA:	BD9A2B  	LDA $2B9A,X		(Left hand item index)
C1/8EDD:	C9FF    	CMP #$FF
C1/8EDF:	F018    	BEQ $8EF9
C1/8EE1:	BD9B2B  	LDA $2B9B,X
C1/8EE4:	100E    	BPL $8EF4
C1/8EE6:	8011    	BRA $8EF9
C1/8EE8:	BD862B  	LDA $2B86,X		(Right hand item index)
C1/8EEB:	C9FF    	CMP #$FF
C1/8EED:	F00A    	BEQ $8EF9
C1/8EEF:	BD872B  	LDA $2B87,X
C1/8EF2:	3005    	BMI $8EF9
C1/8EF4:	20408E  	JSR $8E40
C1/8EF7:	38      	SEC 
C1/8EF8:	60      	RTS
C1/8EF9:	20408E  	JSR $8E40
C1/8EFC:	18      	CLC 
C1/8EFD:	60      	RTS
C1/8EFE:	B94B89  	LDA $894B,Y
C1/8F01:	F005    	BEQ $8F08
C1/8F03:	203D90  	JSR $903D
C1/8F06:	8003    	BRA $8F0B

C1/8F08 unknow

C1/8F08:	20768F  	JSR $8F76
C1/8F0B:	9C0C89  	STZ $890C
C1/8F0E:	20BA4B  	JSR $4BBA
C1/8F11:	A2407E  	LDX #$7E40
C1/8F14:	8EAA7B  	STX $7BAA
C1/8F17:	EEA97B  	INC $7BA9
C1/8F1A:	9C027B  	STZ $7B02
C1/8F1D:	9CAF7B  	STZ $7BAF
C1/8F20:	9CB57B  	STZ $7BB5
C1/8F23:	20408E  	JSR $8E40
C1/8F26:	18      	CLC 
C1/8F27:	60      	RTS

C1/8F28 unknow

C1/8F28:	A901    	LDA #$01
C1/8F2A:	8D0C89  	STA $890C
C1/8F2D:	B94B89  	LDA $894B,Y
C1/8F30:	D00E    	BNE $8F40
C1/8F32:	BD9A2B  	LDA $2B9A,X		(Left hand item index)
C1/8F35:	8D0D89  	STA $890D
C1/8F38:	BD9B2B  	LDA $2B9B,X
C1/8F3B:	8D0E89  	STA $890E
C1/8F3E:	800C    	BRA $8F4C

C1/8F40 unknow

C1/8F40:	BD862B  	LDA $2B86,X		(Right hand item index)
C1/8F43:	8D0D89  	STA $890D
C1/8F46:	BD872B  	LDA $2B87,X
C1/8F49:	8D0E89  	STA $890E
C1/8F4C:	B94B89  	LDA $894B,Y
C1/8F4F:	1A      	INC A
C1/8F50:	8D007B  	STA $7B00
C1/8F53:	EE027B  	INC $7B02
C1/8F56:	8E037B  	STX $7B03
C1/8F59:	B94B89  	LDA $894B,Y
C1/8F5C:	AA      	TAX 
C1/8F5D:	BF8382C1	LDA $C18283,X
C1/8F61:	18      	CLC 
C1/8F62:	6903    	ADC #$03
C1/8F64:	8DB67B  	STA $7BB6
C1/8F67:	A9B4    	LDA #$B4
C1/8F69:	8DB77B  	STA $7BB7
C1/8F6C:	A901    	LDA #$01
C1/8F6E:	8DB57B  	STA $7BB5
C1/8F71:	20408E  	JSR $8E40
C1/8F74:	18      	CLC 
C1/8F75:	60      	RTS

C1/8F76 unknow

C1/8F76:	AE037B  	LDX $7B03
C1/8F79:	AC057B  	LDY $7B05
C1/8F7C:	B9862B  	LDA $2B86,Y
C1/8F7F:	DD8626  	CMP $2686,X
C1/8F82:	D001    	BNE $8F85
C1/8F84:	60      	RTS

C1/8F85 unknow

C1/8F85:	BD8626  	LDA $2686,X
C1/8F88:	C9FF    	CMP #$FF
C1/8F8A:	F011    	BEQ $8F9D
C1/8F8C:	20188A  	JSR $8A18
C1/8F8F:	BD8726  	LDA $2687,X
C1/8F92:	2918    	AND #$18
C1/8F94:	F0EE    	BEQ $8F84
C1/8F96:	BD8A26  	LDA $268A,X
C1/8F99:	252C    	AND $2C
C1/8F9B:	D0E7    	BNE $8F84
C1/8F9D:	B99A2B  	LDA $2B9A,Y
C1/8FA0:	8D3B7B  	STA $7B3B
C1/8FA3:	B99B2B  	LDA $2B9B,Y
C1/8FA6:	8D3C7B  	STA $7B3C
C1/8FA9:	BD8626  	LDA $2686,X
C1/8FAC:	8D397B  	STA $7B39
C1/8FAF:	BD8726  	LDA $2687,X
C1/8FB2:	8D3A7B  	STA $7B3A
C1/8FB5:	20D589  	JSR $89D5
C1/8FB8:	B0CA    	BCS $8F84
C1/8FBA:	AE037B  	LDX $7B03
C1/8FBD:	AC057B  	LDY $7B05
C1/8FC0:	7B      	TDC 
C1/8FC1:	AA      	TAX 
C1/8FC2:	AC057B  	LDY $7B05
C1/8FC5:	B9862B  	LDA $2B86,Y
C1/8FC8:	9D077B  	STA $7B07,X
C1/8FCB:	E8      	INX 
C1/8FCC:	C8      	INY 
C1/8FCD:	E00500  	CPX #$0005
C1/8FD0:	D0F3    	BNE $8FC5
C1/8FD2:	AE037B  	LDX $7B03
C1/8FD5:	AC057B  	LDY $7B05
C1/8FD8:	BD8626  	LDA $2686,X
C1/8FDB:	99862B  	STA $2B86,Y
C1/8FDE:	BD8726  	LDA $2687,X
C1/8FE1:	99872B  	STA $2B87,Y
C1/8FE4:	BD8826  	LDA $2688,X
C1/8FE7:	99882B  	STA $2B88,Y
C1/8FEA:	BD8A26  	LDA $268A,X
C1/8FED:	998A2B  	STA $2B8A,Y
C1/8FF0:	A901    	LDA #$01
C1/8FF2:	99892B  	STA $2B89,Y
C1/8FF5:	BD8926  	LDA $2689,X
C1/8FF8:	C902    	CMP #$02
C1/8FFA:	9005    	BCC $9001
C1/8FFC:	DE8926  	DEC $2689,X
C1/8FFF:	8013    	BRA $9014