Final Fantasy VI:ROM map/Assembly C15

From Data Crystal
Jump to: navigation, search


C1/500C unknow

C1/500C:	A904    	LDA #$04       (from C1/5052, C1/96C4, C1/96D3)
C1/500E:	8DFD7A  	STA $7AFD
C1/5011:	E210    	SEP #$10
C1/5013:	C220    	REP #$20
C1/5015:	0B      	PHD 
C1/5016:	A90001  	LDA #$0100
C1/5019:	48      	PHA 
C1/501A:	2B      	PLD 
C1/501B:	A200    	LDX #$00
C1/501D:	A96000  	LDA #$0060
C1/5020:	9502    	STA $02,X
C1/5022:	9DF751  	STA $51F7,X
C1/5025:	E8      	INX 
C1/5026:	E8      	INX 
C1/5027:	E8      	INX 
C1/5028:	E8      	INX 
C1/5029:	E0C0    	CPX #$C0
C1/502B:	D0F3    	BNE $5020
C1/502D:	9502    	STA $02,X
C1/502F:	E8      	INX 
C1/5030:	E8      	INX 
C1/5031:	E8      	INX 
C1/5032:	E8      	INX 
C1/5033:	E000    	CPX #$00
C1/5035:	D0F6    	BNE $502D
C1/5037:	2B      	PLD 
C1/5038:	7B      	TDC 
C1/5039:	E220    	SEP #$20
C1/503B:	C210    	REP #$10
C1/503D:	60      	RTS

C1/503E unknow

C1/503E:	7B      	TDC            (from C1/4512, X = 27)
C1/503F:	AA      	TAX 
C1/5040:	C220    	REP #$20
C1/5042:	BD614D  	LDA $4D61,X
C1/5045:	9DD552  	STA $52D5,X
C1/5048:	E8      	INX 
C1/5049:	E8      	INX 
C1/504A:	E00001  	CPX #$0100
C1/504D:	D0F3    	BNE $5042
C1/504F:	7B      	TDC 
C1/5050:	E220    	SEP #$20
C1/5052:	200C50  	JSR $500C
C1/5055:	A914    	LDA #$14
C1/5057:	20FB50  	JSR $50FB
C1/505A:	A902    	LDA #$02
C1/505C:	206551  	JSR $5165
C1/505F:	4C7A4F  	JMP $4F7A

C1/5062 unknow

C1/5062:	E610    	INC $10        (from C1/4512, X = 28)
C1/5064:	A915    	LDA #$15
C1/5066:	20FB50  	JSR $50FB
C1/5069:	7B      	TDC 
C1/506A:	AA      	TAX 
C1/506B:	C220    	REP #$20
C1/506D:	BDD552  	LDA $52D5,X
C1/5070:	9DD551  	STA $51D5,X
C1/5073:	E8      	INX 
C1/5074:	E8      	INX 
C1/5075:	E00001  	CPX #$0100
C1/5078:	D0F3    	BNE $506D
C1/507A:	7B      	TDC 
C1/507B:	E220    	SEP #$20
C1/507D:	A902    	LDA #$02
C1/507F:	206551  	JSR $5165
C1/5082:	EEEE7B  	INC $7BEE
C1/5085:	4C8C4F  	JMP $4F8C

C1/5088 unknow

C1/5088:	20A546  	JSR $46A5      (from C1/4512, X = 7, 13, 15, 1B, 1D, or 20)
C1/508B:	A903    	LDA #$03
C1/508D:	20FB50  	JSR $50FB
C1/5090:	A902    	LDA #$02
C1/5092:	206551  	JSR $5165
C1/5095:	4C7A4F  	JMP $4F7A

C1/5098 unknow

C1/5098:	A982    	LDA #$82       (from C1/4512, X = B or 11)
C1/509A:	20C24E  	JSR $4EC2
C1/509D:	20A546  	JSR $46A5
C1/50A0:	A904    	LDA #$04
C1/50A2:	20FB50  	JSR $50FB
C1/50A5:	A902    	LDA #$02
C1/50A7:	206551  	JSR $5165
C1/50AA:	4C7A4F  	JMP $4F7A

C1/50AD unknow

C1/50AD:	7B      	TDC            (from C1/4512, X = 6)
C1/50AE:	AA      	TAX 
C1/50AF:	A8      	TAY 
C1/50B0:	20D34F  	JSR $4FD3
C1/50B3:	9C9289  	STZ $8992
C1/50B6:	E610    	INC $10        (from C1/4512, X = 8, C, 12, 14, 16, 1C, 1E, or 21)
C1/50B8:	A906    	LDA #$06
C1/50BA:	20FB50  	JSR $50FB
C1/50BD:	A902    	LDA #$02
C1/50BF:	206551  	JSR $5165
C1/50C2:	EEEE7B  	INC $7BEE
C1/50C5:	4C8C4F  	JMP $4F8C

C1/50C8 unknow

C1/50C8:	20F248  	JSR $48F2      (from C1/4512, X = 1F)
C1/50CB:	4CE950  	JMP $50E9

C1/50CE unknow

C1/50CE:	ADD17B  	LDA $7BD1      (from C1/4512, X = 1)
C1/50D1:	0DDD7B  	ORA $7BDD
C1/50D4:	D006    	BNE $50DC
C1/50D6:	9C987B  	STZ $7B98
C1/50D9:	20E950  	JSR $50E9
C1/50DC:	60      	RTS

C1/50DD unknow

C1/50DD:	ADD17B  	LDA $7BD1      (from C1/4512, X = 2)
C1/50E0:	0DDD7B  	ORA $7BDD
C1/50E3:	D003    	BNE $50E8
C1/50E5:	20E950  	JSR $50E9
C1/50E8:	60      	RTS

C1/50E9 unknow

C1/50E9:	7B      	TDC            
C1/50EA:	AA      	TAX 
C1/50EB:	8DFF7B  	STA $7BFF
C1/50EE:	BDF17B  	LDA $7BF1,X
C1/50F1:	9DF07B  	STA $7BF0,X
C1/50F4:	E8      	INX 
C1/50F5:	E00F00  	CPX #$000F
C1/50F8:	D0F4    	BNE $50EE
C1/50FA:	60      	RTS

C1/50FB unknow

C1/50FB:	0A      	ASL A
C1/50FC:	0A      	ASL A
C1/50FD:	AA      	TAX 
C1/50FE:	A510    	LDA $10
C1/5100:	F031    	BEQ $5133
C1/5102:	C220    	REP #$20
C1/5104:	BFA2DEC2	LDA $C2DEA2,X
C1/5108:	8DD27B  	STA $7BD2
C1/510F:	8DD47B  	STA $7BD4
C1/5112:	BF34DEC2	LDA $C2DE34,X
C1/5116:	8DD67B  	STA $7BD6
C1/5119:	0A      	ASL A
C1/511A:	0A      	ASL A
C1/511B:	0A      	ASL A
C1/511C:	0A      	ASL A
C1/511D:	0A      	ASL A
C1/511E:	18      	CLC 
C1/511F:	7F32DEC2	ADC $C2DE32,X
C1/5123:	38      	SEC 
C1/5124:	E91000  	SBC #$0010
C1/5127:	8DD77B  	STA $7BD7
C1/512A:	BF32DEC2	LDA $C2DE32,X
C1/512E:	8DD97B  	STA $7BD9
C1/5131:	802B    	BRA $515E
C1/5133:	C220    	REP #$20
C1/5135:	BFA2DEC2	LDA $C2DEA2,X
C1/5139:	8DD27B  	STA $7BD2
C1/5140:	8DD47B  	STA $7BD4
C1/5143:	BF34DEC2	LDA $C2DE34,X
C1/5147:	8DD67B  	STA $7BD6
C1/514A:	3A      	DEC A
C1/514B:	0A      	ASL A
C1/514C:	0A      	ASL A
C1/514D:	0A      	ASL A
C1/514E:	0A      	ASL A
C1/514F:	18      	CLC 
C1/5150:	7F32DEC2	ADC $C2DE32,X
C1/5154:	8DD77B  	STA $7BD7
C1/5157:	18      	CLC 
C1/5158:	691000  	ADC #$0010
C1/515B:	8DD97B  	STA $7BD9
C1/515E:	9CDB7B  	STZ $7BDB
C1/5161:	7B      	TDC 
C1/5162:	E220    	SEP #$20
C1/5164:	60      	RTS

C1/5165 unknow

C1/5165:	0A      	ASL A 
C1/5166:	0A      	ASL A
C1/5167:	0A      	ASL A
C1/5168:	AA      	TAX 
C1/5169:	9CEB7B  	STZ $7BEB
C1/516C:	A510    	LDA $10
C1/516E:	F03D    	BEQ $51AD
C1/5170:	C220    	REP #$20
C1/5176:	18      	CLC 
C1/5177:	691000  	ADC #$0010
C1/517A:	8DE27B  	STA $7BE2
C1/5181:	18      	CLC 
C1/5182:	691000  	ADC #$0010
C1/5185:	8DE47B  	STA $7BE4
C1/518C:	0A      	ASL A
C1/518D:	0A      	ASL A
C1/518E:	0A      	ASL A
C1/518F:	0A      	ASL A
C1/5190:	0A      	ASL A
C1/5191:	48      	PHA 
C1/5192:	18      	CLC 
C1/5197:	38      	SEC 
C1/5198:	E92000  	SBC #$0020
C1/519B:	8DDE7B  	STA $7BDE
C1/519E:	68      	PLA 
C1/519F:	18      	CLC 
C1/51A4:	38      	SEC 
C1/51A5:	E92000  	SBC #$0020
C1/51A8:	8DE07B  	STA $7BE0
C1/51AB:	802B    	BRA $51D8
C1/51AD:	C220    	REP #$20
C1/51B3:	3A      	DEC A
C1/51B4:	0A      	ASL A
C1/51B5:	0A      	ASL A
C1/51B6:	0A      	ASL A
C1/51B7:	0A      	ASL A
C1/51B8:	48      	PHA 
C1/51B9:	18      	CLC 
C1/51BE:	8DDE7B  	STA $7BDE
C1/51C1:	18      	CLC 
C1/51C2:	691000  	ADC #$0010
C1/51C5:	8DE27B  	STA $7BE2
C1/51C8:	68      	PLA 
C1/51C9:	18      	CLC 
C1/51CE:	8DE07B  	STA $7BE0
C1/51D1:	18      	CLC 
C1/51D2:	691000  	ADC #$0010
C1/51D5:	8DE47B  	STA $7BE4
C1/51DC:	18      	CLC 
C1/51DD:	691000  	ADC #$0010
C1/51E0:	8DE77B  	STA $7BE7
C1/51E7:	18      	CLC 
C1/51E8:	691000  	ADC #$0010
C1/51EB:	8DE97B  	STA $7BE9
C1/51F2:	3A      	DEC A
C1/51F3:	0A      	ASL A
C1/51F4:	0A      	ASL A
C1/51F5:	0A      	ASL A
C1/51F6:	0A      	ASL A
C1/51F7:	0A      	ASL A
C1/51F8:	3A      	DEC A
C1/51F9:	8DEC7B  	STA $7BEC
C1/51FC:	7B      	TDC 
C1/51FD:	E220    	SEP #$20
C1/5203:	3A      	DEC A
C1/5204:	8DE67B  	STA $7BE6
C1/5207:	9CEE7B  	STZ $7BEE
C1/520A:	60      	RTS

C1/520B unknow

C1/520B:	C220    	REP #$20		(from C1/529C, C1/52F3, C1/5300)
C1/520D:	A600    	LDX $00
C1/520F:	A9FF00  	LDA #$00FF
C1/5212:	9D138D  	STA $8D13,X
C1/5215:	E8      	INX 
C1/5216:	E8      	INX 
C1/5217:	E00003  	CPX #$0300
C1/521A:	D0F3    	BNE $520F
C1/521C:	7B      	TDC 
C1/521D:	E220    	SEP #$20
C1/521F:	60      	RTS

C1/5220 unknow

C1/5220:	AECA62  	LDX $62CA		(from C1/4512, X = 29)
C1/5223:	BDCC62  	LDA $62CC,X
C1/5226:	D015    	BNE $523D
C1/5228:	AD2E2F  	LDA $2F2E
C1/522B:	F008    	BEQ $5235
C1/522D:	A901    	LDA #$01
C1/522F:	8DB864  	STA $64B8
C1/5232:	4CE950  	JMP $50E9
C1/5235:	A902    	LDA #$02		(from C1/4512, X = 2A)
C1/5237:	8DB864  	STA $64B8
C1/523A:	4CE950  	JMP $50E9
C1/523D:	A903    	LDA #$03
C1/523F:	8DB864  	STA $64B8
C1/5242:	4CE950  	JMP $50E9

C1/5245 unknow

C1/5245:	7B      	TDC 
C1/5246:	AA      	TAX 
C1/5247:	C220    	REP #$20
C1/5249:	BD138D  	LDA $8D13,X
C1/524C:	9D1392  	STA $9213,X
C1/524F:	E8      	INX 
C1/5250:	E8      	INX 
C1/5251:	E00002  	CPX #$0200
C1/5254:	D0F3    	BNE $5249
C1/5256:	E220    	SEP #$20
C1/5258:	7B      	TDC 
C1/5259:	20A053  	JSR $53A0
C1/525C:	A901    	LDA #$01
C1/525E:	20A053  	JSR $53A0
C1/5261:	A90E    	LDA #$0E
C1/5263:	20A053  	JSR $53A0
C1/5266:	7B      	TDC 
C1/5267:	AA      	TAX 
C1/5268:	C220    	REP #$20
C1/526A:	BD138D  	LDA $8D13,X
C1/526D:	9D1394  	STA $9413,X
C1/5270:	E8      	INX 
C1/5271:	E8      	INX 
C1/5272:	E00002  	CPX #$0200
C1/5275:	D0F3    	BNE $526A
C1/5277:	E220    	SEP #$20
C1/5279:	7B      	TDC 
C1/527A:	20A053  	JSR $53A0
C1/527D:	A901    	LDA #$01
C1/527F:	20A053  	JSR $53A0
C1/5282:	A90D    	LDA #$0D
C1/5284:	20A053  	JSR $53A0
C1/5287:	7B      	TDC 
C1/5288:	AA      	TAX 
C1/5289:	C220    	REP #$20
C1/528B:	BD138D  	LDA $8D13,X
C1/528E:	9D1390  	STA $9013,X
C1/5291:	E8      	INX 
C1/5292:	E8      	INX 
C1/5293:	E00002  	CPX #$0200
C1/5296:	D0F3    	BNE $528B
C1/5298:	7B      	TDC 
C1/5299:	E220    	SEP #$20
C1/529B:	60      	RTS

C1/529C unknow

C1/529C:	200B52  	JSR $520B
C1/529F:	7B      	TDC 
C1/52A0:	20A053  	JSR $53A0
C1/52A3:	A901    	LDA #$01
C1/52A5:	20A053  	JSR $53A0
C1/52A8:	7B      	TDC 
C1/52A9:	207353  	JSR $5373
C1/52AC:	A902    	LDA #$02
C1/52AE:	20A053  	JSR $53A0
C1/52B1:	204552  	JSR $5245
C1/52B4:	A901    	LDA #$01
C1/52B6:	207353  	JSR $5373
C1/52B9:	A903    	LDA #$03
C1/52BB:	20A053  	JSR $53A0
C1/52BE:	203553  	JSR $5335
C1/52C1:	A902    	LDA #$02
C1/52C3:	207353  	JSR $5373
C1/52C6:	A904    	LDA #$04
C1/52C8:	20A053  	JSR $53A0
C1/52CB:	A903    	LDA #$03
C1/52CD:	207353  	JSR $5373
C1/52D0:	A907    	LDA #$07
C1/52D2:	20A053  	JSR $53A0
C1/52D5:	A905    	LDA #$05
C1/52D7:	209753  	JSR $5397
C1/52DA:	A904    	LDA #$04
C1/52DC:	207353  	JSR $5373
C1/52DF:	A906    	LDA #$06
C1/52E1:	20A053  	JSR $53A0
C1/52E4:	A905    	LDA #$05
C1/52E6:	207353  	JSR $5373
C1/52E9:	A908    	LDA #$08
C1/52EB:	20A053  	JSR $53A0
C1/52EE:	A906    	LDA #$06
C1/52F0:	207353  	JSR $5373
C1/52F3:	200B52  	JSR $520B
C1/52F6:	A909    	LDA #$09
C1/52F8:	20A053  	JSR $53A0
C1/52FB:	A907    	LDA #$07
C1/52FD:	207353  	JSR $5373
C1/5300:	200B52  	JSR $520B
C1/5303:	A90A    	LDA #$0A
C1/5305:	20A053  	JSR $53A0
C1/5308:	A908    	LDA #$08
C1/530A:	4C7353  	JMP $5373

C1/530D unknow

C1/530D:	9D658D  	STA $8D65,X
C1/5310:	9D6F8D  	STA $8D6F,X
C1/5313:	9D798D  	STA $8D79,X
C1/5316:	1A      	INC A
C1/5317:	9D678D  	STA $8D67,X
C1/531A:	9D718D  	STA $8D71,X
C1/531D:	9D7B8D  	STA $8D7B,X
C1/5320:	1A      	INC A
C1/5321:	9D698D  	STA $8D69,X
C1/5324:	9D738D  	STA $8D73,X
C1/5327:	9D7D8D  	STA $8D7D,X
C1/532A:	1A      	INC A
C1/532B:	9D6B8D  	STA $8D6B,X
C1/532E:	9D758D  	STA $8D75,X
C1/5331:	9D7F8D  	STA $8D7F,X
C1/5334:	60      	RTS

C1/5335 unknow

C1/5335:	7B      	TDC 
C1/5336:	AA      	TAX 
C1/5337:	C220    	REP #$20
C1/5339:	A20000  	LDX #$0000
C1/533C:	A9682A  	LDA #$2A68
C1/533F:	200D53  	JSR $530D
C1/5342:	A24000  	LDX #$0040
C1/5345:	A9782A  	LDA #$2A78
C1/5348:	200D53  	JSR $530D
C1/534B:	A28000  	LDX #$0080
C1/534E:	A96C2A  	LDA #$2A6C
C1/5351:	200D53  	JSR $530D
C1/5354:	A2C000  	LDX #$00C0
C1/5357:	A97C2A  	LDA #$2A7C
C1/535A:	200D53  	JSR $530D
C1/535D:	A20001  	LDX #$0100
C1/5360:	A978AA  	LDA #$AA78
C1/5363:	200D53  	JSR $530D
C1/5366:	A24001  	LDX #$0140
C1/5369:	A968AA  	LDA #$AA68
C1/536C:	200D53  	JSR $530D
C1/536F:	7B      	TDC 
C1/5370:	E220    	SEP #$20
C1/5372:	60      	RTS

C1/5373 unknow

C1/5373:	0A      	ASL A
C1/5374:	AA      	TAX 
C1/5375:	C220    	REP #$20
C1/5377:	BF8CDDC2	LDA $C2DD8C,X
C1/537B:	A8      	TAY 
C1/537C:	7B      	TDC 
C1/537D:	E220    	SEP #$20
C1/537F:	A20002  	LDX #$0200
C1/5382:	8636    	STX $36
C1/5384:	A2138D  	LDX #$8D13
C1/5387:	A97E    	LDA #$7E
C1/5389:	4C2B1A  	JMP $1A2B

C1/538C unknow

C1/538C:	0A      	ASL A
C1/538D:	0A      	ASL A
C1/538E:	AA      	TAX 
C1/538F:	A980    	LDA #$80
C1/5391:	857C    	STA $7C
C1/5393:	A928    	LDA #$28
C1/5395:	8010    	BRA $53A7
C1/5397:	647C    	STZ $7C
C1/5399:	0A      	ASL A
C1/539A:	0A      	ASL A
C1/539B:	AA      	TAX 
C1/539C:	A90A    	LDA #$0A
C1/539E:	8007    	BRA $53A7

C1/53A0 unknow

C1/53A0:	647C    	STZ $7C
C1/53A2:	0A      	ASL A
C1/53A3:	0A      	ASL A
C1/53A4:	AA      	TAX 
C1/53A5:	A92A    	LDA #$2A
C1/53A7:	8DAE7B  	STA $7BAE
C1/53AA:	A400    	LDY $00
C1/53B0:	99D388  	STA $88D3,Y
C1/53B3:	E8      	INX 
C1/53B4:	C8      	INY 
C1/53B5:	C00400  	CPY #$0004
C1/53B8:	D0F2    	BNE $53AC
C1/53BA:	AED588  	LDX $88D5
C1/53BD:	8610    	STX $10
C1/53BF:	6414    	STZ $14
C1/53C1:	ADD488  	LDA $88D4
C1/53C4:	3A      	DEC A
C1/53C5:	3A      	DEC A
C1/53C6:	8513    	STA $13
C1/53C8:	C220    	REP #$20
C1/53CA:	AF1055C1	LDA $C15510    (wouldn't LDA #$3132 be more effective?)
C1/53CE:	8522    	STA $22		(Animation Script pointer)
C1/53D0:	AF1255C1	LDA $C15512    (wouldn't LDA #$3132 be more effective?)
C1/53D4:	8524    	STA $24
C1/53D6:	7B      	TDC 
C1/53D7:	E220    	SEP #$20
C1/53D9:	ADD388  	LDA $88D3
C1/53DC:	8512    	STA $12
C1/53DE:	20B854  	JSR $54B8
C1/53E1:	A940    	LDA #$40
C1/53E3:	20AD54  	JSR $54AD
C1/53E6:	A514    	LDA $14
C1/53E8:	290F    	AND #$0F
C1/53EA:	AA      	TAX 
C1/53EB:	C220    	REP #$20
C1/53ED:	BF0055C1	LDA $C15500,X
C1/53F1:	8522    	STA $22		(Animation Script pointer)
C1/53F3:	BF0255C1	LDA $C15502,X
C1/53F7:	8524    	STA $24
C1/53F9:	7B      	TDC 
C1/53FA:	E220    	SEP #$20
C1/53FC:	ADD388  	LDA $88D3
C1/53FF:	8512    	STA $12
C1/5401:	20B854  	JSR $54B8
C1/5404:	A514    	LDA $14
C1/5406:	18      	CLC 
C1/5407:	6904    	ADC #$04
C1/5409:	8514    	STA $14
C1/540B:	A940    	LDA #$40
C1/540D:	20AD54  	JSR $54AD
C1/5410:	C613    	DEC $13
C1/5412:	D0D2    	BNE $53E6
C1/5414:	C220    	REP #$20
C1/5416:	AF1455C1	LDA $C15514    (wouldn't LDA #$393A be more effective?)
C1/541A:	8522    	STA $22		(Animation Script pointer)
C1/541C:	AF1655C1	LDA $C15516    (wouldn't LDA #$3039 be more effective?)
C1/5420:	8524    	STA $24
C1/5422:	7B      	TDC 
C1/5423:	E220    	SEP #$20
C1/5425:	ADD388  	LDA $88D3
C1/5428:	8512    	STA $12
C1/542A:	20B854  	JSR $54B8
C1/542D:	AED588  	LDX $88D5
C1/5430:	8610    	STX $10
C1/5432:	ADD488  	LDA $88D4
C1/5435:	8512    	STA $12
C1/5437:	AF1C55C1	LDA $C1551C    (wouldn't LDA #$36 be more effective?)
C1/543B:	8522    	STA $22		(Animation Script pointer)
C1/543D:	AF1D55C1	LDA $C1551D    (wouldn't LDA #$34 be more effective?)
C1/5441:	8523    	STA $23
C1/5443:	A400    	LDY $00
C1/5445:	20CE54  	JSR $54CE
C1/5448:	AED588  	LDX $88D5
C1/544B:	8610    	STX $10
C1/544D:	ADD488  	LDA $88D4
C1/5450:	8512    	STA $12
C1/5452:	AF2055C1	LDA $C15520    (wouldn't LDA #$37 be more effective?)
C1/5456:	8522    	STA $22		(Animation Script pointer)
C1/5458:	AF2155C1	LDA $C15521    (wouldn't LDA #$35 be more effective?)
C1/545C:	8523    	STA $23
C1/545E:	ADD388  	LDA $88D3
C1/5461:	3A      	DEC A
C1/5462:	0A      	ASL A
C1/5463:	A8      	TAY 
C1/5464:	20CE54  	JSR $54CE
C1/5467:	AED588  	LDX $88D5
C1/546A:	8610    	STX $10
C1/546C:	A400    	LDY $00
C1/546E:	AF1855C1	LDA $C15518    (wouldn't LDA #$30 be more effective?)
C1/5472:	20F354  	JSR $54F3
C1/5475:	ADD388  	LDA $88D3
C1/5478:	3A      	DEC A
C1/5479:	0A      	ASL A
C1/547A:	A8      	TAY 
C1/547B:	AF1955C1	LDA $C15519    (wouldn't LDA #$33 be more effective?)
C1/547F:	20F354  	JSR $54F3
C1/5482:	ADD488  	LDA $88D4
C1/5485:	3A      	DEC A
C1/5486:	C220    	REP #$20
C1/5488:	0A      	ASL A
C1/5489:	0A      	ASL A
C1/548A:	0A      	ASL A
C1/548B:	0A      	ASL A
C1/548C:	0A      	ASL A
C1/548D:	0A      	ASL A
C1/548E:	18      	CLC 
C1/548F:	6DD588  	ADC $88D5
C1/5492:	8510    	STA $10
C1/5494:	7B      	TDC 
C1/5495:	A8      	TAY 
C1/5496:	E220    	SEP #$20
C1/5498:	AF1A55C1	LDA $C1551A    (wouldn't LDA #$38 be more effective?)
C1/549C:	20F354  	JSR $54F3
C1/549F:	ADD388  	LDA $88D3
C1/54A2:	3A      	DEC A
C1/54A3:	0A      	ASL A
C1/54A4:	A8      	TAY 
C1/54A5:	AF1B55C1	LDA $C1551B    (wouldn't LDA #$3B be more effective?)
C1/54A9:	20F354  	JSR $54F3
C1/54AC:	60      	RTS

C1/54AD unknow

C1/54AD:	C220    	REP #$20
C1/54AF:	18      	CLC 
C1/54B0:	6510    	ADC $10
C1/54B2:	8510    	STA $10
C1/54B4:	7B      	TDC 
C1/54B5:	E220    	SEP #$20
C1/54B7:	60      	RTS

C1/54B8 unknow

C1/54B8:	7B      	TDC 
C1/54B9:	AA      	TAX 
C1/54BA:	A8      	TAY 
C1/54BB:	E210    	SEP #$10
C1/54BD:	B522    	LDA $22,X
C1/54BF:	20F354  	JSR $54F3
C1/54C2:	8A      	TXA 
C1/54C3:	1A      	INC A
C1/54C4:	2903    	AND #$03
C1/54C6:	AA      	TAX 
C1/54C7:	C612    	DEC $12
C1/54C9:	D0F2    	BNE $54BD
C1/54CB:	C210    	REP #$10
C1/54CD:	60      	RTS

C1/54CE unknow

C1/54CE:	7B      	TDC 
C1/54CF:	AA      	TAX 
C1/54D0:	B522    	LDA $22,X
C1/54D2:	18      	CLC 
C1/54D3:	657C    	ADC $7C
C1/54D5:	9110    	STA ($10),Y
C1/54D7:	C8      	INY 
C1/54D8:	ADAE7B  	LDA $7BAE
C1/54DB:	9110    	STA ($10),Y
C1/54DD:	C8      	INY 
C1/54DE:	C220    	REP #$20
C1/54E0:	98      	TYA 
C1/54E1:	18      	CLC 
C1/54E2:	693E00  	ADC #$003E
C1/54E5:	A8      	TAY 
C1/54E6:	7B      	TDC 
C1/54E7:	E220    	SEP #$20
C1/54E9:	8A      	TXA 
C1/54EA:	1A      	INC A
C1/54EB:	2901    	AND #$01
C1/54ED:	AA      	TAX 
C1/54EE:	C612    	DEC $12
C1/54F0:	D0DE    	BNE $54D0
C1/54F2:	60      	RTS

C1/54F3 unknow

C1/54F3:	18      	CLC 
C1/54F4:	657C    	ADC $7C
C1/54F6:	9110    	STA ($10),Y
C1/54F8:	C8      	INY 
C1/54F9:	ADAE7B  	LDA $7BAE
C1/54FC:	9110    	STA ($10),Y
C1/54FE:	C8      	INY 
C1/54FF:	60      	RTS

C1/5500 unknow

C1/5500:	2320    	AND $20,S
C1/5502:	2122    	AND ($22,X)
C1/5504:	2724    	AND [$24]
C1/5506:	2526    	AND $26
C1/5508:	2B      	PLD 
C1/5509:	28      	PLP 
C1/550A:	292A    	AND #$2A
C1/550C:	2F2C2D2E	AND $2E2D2C
C1/5510:	3231    	AND ($31)
C1/5512:	3231    	AND ($31)
C1/5514:	3A      	DEC A
C1/5515:	393A39  	AND $393A,Y
C1/5518:	3033    	BMI $554D
C1/551A:	38      	SEC 
C1/551B:	3B      	TSC 
C1/551C:	3634    	ROL $34,X
C1/551E:	3634    	ROL $34,X
C1/5520:	3735    	AND [$35],Y
C1/5522:	3735    	AND [$35],Y

C1/5524 unknow

C1/5524:	ADC27B  	LDA $7BC2		(from C1/5D95)
C1/5527:	0A      	ASL A
C1/5528:	AA      	TAX 
C1/5529:	7C2C55  	JMP ($552C,X)

C1/552C unknow

		(function)		(value of $7BC2) 
C1/552C:	405A		(exits)	(0)
C1/552E:	415A			(1)
C1/5530:	4A5A       		(2)
C1/5532:	405A		(exits)	(3)
C1/5534:	D659    		(4)
C1/5536:	927A		(????)	(5)
C1/5538:	AE59		(Slot)	(6)
C1/553A:	A056			(7)
C1/553C:	087F		(Slot?)	(8)
C1/553E:	6957		(Item)	(9)
C1/5540:	7D88			(A)
C1/5542:	4556    		(B)
C1/5544:	988D			(C)
C1/5546:	A057		(Magic)	(D)
C1/5548:	4581    	(Esper menu)(E)
C1/554A:	8556    		(F)
C1/554C:	5B56 			(10)
C1/554E:	405A		(exits)	(11)
C1/5550:	F256    		(12)
C1/5552:	6956    		(13)
C1/5554:	E956			(14)
C1/5556:	1F57			(15)
C1/5558:	B382			(16)
C1/555A:	915C			(17)
C1/555C:	F75C			(18)
C1/555E:	ED58		(Lore)	(19)
C1/5560:	FB56			(1A)
C1/5562:	0883    		(1B)
C1/5564:	2759		(Rage) 	(1C)
C1/5565:	0457			(1D)
C1/5568:	C684    		(1E)
C1/556A:	5859		(Dance) (1F)
C1/556C:	0D57			(20)
C1/556E:	B485    		(21)
C1/5570:	3156		(Row)   (22)
C1/5572:	7C56			(23)
C1/5574:	737E			(24)
C1/5576:	3B56		(Def.)	(25)
C1/5578:	7356    		(26)
C1/557A:	057E    		(27)
C1/557C:	8359		(Magitek)(28)
C1/557E:	1657    		(29)
C1/5580:	2586    		(2A)
C1/5582:	7558		(Throw)	(2B)
C1/5584:	E056			(2C)
C1/5586:	B586    		(2E)
C1/5588:	B158		(Tools) (2D)
C1/558A:	9756			(2F)
C1/558C:	9D87			(30)
C1/558E:	3E8D			(31)
C1/5590:	C955			(32)
C1/5592:	D756    		(33)
C1/5594:	B556    		(34)
C1/5596:	1B56		(SwdTech)(35)
C1/5598:	2856    		(36)
C1/559A:	257D    		(37)
C1/559C:	906D			(38)
C1/559E:	6842    		(39)
C1/55A0:	C842    		(3A)
C1/55A2:	5557    		(3B)
C1/55A4:	5F57    		(3C)
C1/55A6:	F86F    	(Blitz timer and interpretter)(3D)
C1/55A8:	4C5B			(3E)
C1/55AA:	B055    		(3F)
C1/55AC:	BA55    		(40)
C1/55AE:	1C91    		(41)

C1/55B0 unknow

C1/55B0:	A92B    	LDA #$2B 		(from C1/5529, X = 3F)
C1/55B2:	8DF07B  	STA $7BF0
C1/55B5:	A912    	LDA #$12
C1/55B7:	4C2C5A  	JMP $5A2C

C1/55BA unknow

C1/55BA:	A92C    	LDA #$2C		(from C1/5529, X = 40)
C1/55BC:	8DF07B  	STA $7BF0
C1/55C2:	0A      	ASL A
C1/55C3:	18      	CLC 
C1/55C4:	6902    	ADC #$02
C1/55C6:	4C2C5A  	JMP $5A2C

C1/55C9 unknow

C1/55C9:	7B      	TDC 			(from C1/5529, X = 32)
C1/55CA:	AA      	TAX 
C1/55CB:	A94C    	LDA #$4C
C1/55CD:	9DFD5F  	STA $5FFD,X
C1/55D0:	9D0760  	STA $6007,X
C1/55D3:	9D1160  	STA $6011,X
C1/55D6:	E8      	INX 
C1/55D7:	E8      	INX 
C1/55D8:	E00800  	CPX #$0008
C1/55DB:	D0F0    	BNE $55CD
C1/55DD:	A901    	LDA #$01
C1/55DF:	8D957B  	STA $7B95
C1/55E2:	8D977B  	STA $7B97
C1/55E5:	8D8B7B  	STA $7B8B
C1/55E8:	8D9289  	STA $8992
C1/55EB:	A980    	LDA #$80
C1/55ED:	8D837B  	STA $7B83
C1/55F0:	AD0E80  	LDA $800E
C1/55F3:	297F    	AND #$7F
C1/55F5:	8D0E80  	STA $800E
C1/55F8:	A90C    	LDA #$0C
C1/55FA:	8D8A7B  	STA $7B8A
C1/55FD:	9C8F7B  	STZ $7B8F
C1/5600:	9C907B  	STZ $7B90
C1/5603:	9C917B  	STZ $7B91
C1/5606:	9C8C7B  	STZ $7B8C
C1/5609:	9C8D7B  	STZ $7B8D
C1/560C:	9C8E7B  	STZ $7B8E
C1/560F:	9C927B  	STZ $7B92
C1/5612:	9C937B  	STZ $7B93
C1/5615:	9C947B  	STZ $7B94
C1/5618:	4C4A5A  	JMP $5A4A

C1/561B sword tech command

C1/561B:	9C827B  	STZ $7B82		(from C1/5529, X = 35)
C1/561E:	A925    	LDA #$25
C1/5620:	8DF07B  	STA $7BF0
C1/5623:	A910    	LDA #$10
C1/5625:	4C2C5A  	JMP $5A2C

C1/5628 unknow

C1/5628:	A926    	LDA #$26		(from C1/5529, X = 36)
C1/562A:	8DF07B  	STA $7BF0
C1/562D:	7B      	TDC 
C1/562E:	4C2C5A  	JMP $5A2C

C1/5631 row command

C1/5631:	A917    	LDA #$17		(from C1/5529, X = 22)
C1/5633:	8DF07B  	STA $7BF0
C1/5636:	A90B    	LDA #$0B
C1/5638:	4C2C5A  	JMP $5A2C

C1/563B def command

C1/563B:	A919    	LDA #$19		(from C1/5529, X = 25)
C1/563D:	8DF07B  	STA $7BF0
C1/5640:	A90C    	LDA #$0C
C1/5642:	4C2C5A  	JMP $5A2C

C1/5645 unknow

C1/5645:	20BA4B  	JSR $4BBA		(from C1/5529, X = B)
C1/5648:	A2407E  	LDX #$7E40
C1/564B:	8EAA7B  	STX $7BAA
C1/564E:	EEA97B  	INC $7BA9
C1/5651:	A909    	LDA #$09
C1/5653:	8DF07B  	STA $7BF0
C1/5656:	A903    	LDA #$03
C1/5658:	4C2C5A  	JMP $5A2C

C1/565B unknow

C1/565B:	9CCB7B  	STZ $7BCB		(from C1/5529, X = 10)
C1/565E:	A922    	LDA #$22
C1/5660:	8DF07B  	STA $7BF0
C1/5663:	A901    	LDA #$01
C1/5665:	8DC27B  	STA $7BC2      (queue up to execute at C1/5A41)
C1/5668:	60      	RTS

C1/5669 unknow

C1/5669:	A90A    	LDA #$0A		(from C1/5529, X = 13)
C1/566B:	8DF07B  	STA $7BF0
C1/566E:	A908    	LDA #$08
C1/5670:	4C2C5A  	JMP $5A2C

C1/5673 unknow

C1/5673:	A91A    	LDA #$1A		(from C1/5529, X = 26)
C1/5675:	8DF07B  	STA $7BF0
C1/5678:	7B      	TDC 
C1/5679:	4C2C5A  	JMP $5A2C

C1/567C unknow

C1/567C:	A918    	LDA #$18		(from C1/5529, X = 23)
C1/567E:	8DF07B  	STA $7BF0
C1/5681:	7B      	TDC 
C1/5682:	4C2C5A  	JMP $5A2C

C1/5685 unknow

C1/5685:	9C2F63  	STZ $632F		(from C1/5529, X = F)
C1/5688:	A905    	LDA #$05
C1/568A:	8DF07B  	STA $7BF0
C1/568D:	A92A    	LDA #$2A
C1/568F:	8DF17B  	STA $7BF1
C1/5692:	A905    	LDA #$05
C1/5694:	4C2C5A  	JMP $5A2C

C1/5697 unknow

C1/5697:	A921    	LDA #$21		(from C1/5529, X = 2F)
C1/5699:	8DF07B  	STA $7BF0
C1/569C:	7B      	TDC 
C1/569D:	4C2C5A  	JMP $5A2C

C1/56A0 unknow

C1/56A0:	A980    	LDA #$80		(from C1/5529, X = 7)
C1/56A2:	8D837B  	STA $7B83
C1/56A5:	A93A    	LDA #$3A
C1/56A7:	8DC27B  	STA $7BC2      (queue up to execute at C1/42C8)
C1/56AA:	A901    	LDA #$01
C1/56AC:	8DC37B  	STA $7BC3
C1/56AF:	A934    	LDA #$34
C1/56B1:	8DC47B  	STA $7BC4
C1/56B4:	60      	RTS

C1/56B5 unknow

C1/56B5:	20FE40  	JSR $40FE		(from C1/5529, X = 34)
C1/56B8:	201E41  	JSR $411E
C1/56BB:	A933    	LDA #$33
C1/56BD:	8DC27B  	STA $7BC2      (queue up to execute at C1/56D7)
C1/56C0:	A902    	LDA #$02
C1/56C2:	8D957B  	STA $7B95
C1/56C5:	8D977B  	STA $7B97
C1/56C8:	9C8B7B  	STZ $7B8B
C1/56CB:	AD0E80  	LDA $800E
C1/56CE:	297F    	AND #$7F
C1/56D0:	8D0E80  	STA $800E
C1/56D3:	9C8A7B  	STZ $7B8A
C1/56D6:	60      	RTS

C1/56D7 unknow

C1/56D7:	A906    	LDA #$06		(from C1/5529, X = 33)
C1/56D9:	8DF07B  	STA $7BF0
C1/56DC:	7B      	TDC 
C1/56DD:	4C2C5A  	JMP $5A2C

C1/56E0 unknow

C1/56E0:	A91E    	LDA #$1E		(from C1/5529, X = 2C)
C1/56E2:	8DF07B  	STA $7BF0
C1/56E5:	7B      	TDC 
C1/56E6:	4C2C5A  	JMP $5A2C

C1/56E9 unknow

C1/56E9:	A90C    	LDA #$0C		(from C1/5529, X = 14)
C1/56EB:	8DF07B  	STA $7BF0
C1/56EE:	7B      	TDC 
C1/56EF:	4C2C5A  	JMP $5A2C

C1/56F2 unknow

C1/56F2:	A908    	LDA #$08		(from C1/5529, X = 12)
C1/56F4:	8DF07B  	STA $7BF0
C1/56F7:	7B      	TDC 
C1/56F8:	4C2C5A  	JMP $5A2C

C1/56FB unknow

C1/56FB:	A912    	LDA #$12		(from C1/5529, X = 1A)
C1/56FD:	8DF07B  	STA $7BF0
C1/5700:	7B      	TDC 
C1/5701:	4C2C5A  	JMP $5A2C

C1/5704 unknow

C1/5704:	A914    	LDA #$14		(from C1/5529, X = 1D)
C1/5706:	8DF07B  	STA $7BF0
C1/5709:	7B      	TDC 
C1/570A:	4C2C5A  	JMP $5A2C

C1/570D unknow

C1/570D:	A916    	LDA #$16		(from C1/5529, X = 20)
C1/570F:	8DF07B  	STA $7BF0
C1/5712:	7B      	TDC 
C1/5713:	4C2C5A  	JMP $5A2C

C1/5716 unknow

C1/5716:	A91C    	LDA #$1C		(from C1/5529, X = 29)
C1/5718:	8DF07B  	STA $7BF0
C1/571B:	7B      	TDC 
C1/571C:	4C2C5A  	JMP $5A2C

C1/571F unknow

C1/571F:	A90E    	LDA #$0E		(from C1/5529, X = 15)
C1/5721:	8DF07B  	STA $7BF0
C1/5724:	A904    	LDA #$04
C1/5726:	4C2C5A  	JMP $5A2C

C1/5729 unknow

C1/5729:	ADA57B  	LDA $7BA5
C1/572C:	2903    	AND #$03
C1/572E:	0A      	ASL A
C1/572F:	AA      	TAX 
C1/5730:	BF9182C1	LDA $C18291,X
C1/5734:	8DAA7B  	STA $7BAA
C1/5737:	BF9282C1	LDA $C18292,X
C1/573B:	8DAB7B  	STA $7BAB
C1/573E:	EEA97B  	INC $7BA9
C1/5741:	EEA67B  	INC $7BA6
C1/5744:	EEA57B  	INC $7BA5
C1/5747:	ADA57B  	LDA $7BA5
C1/574A:	C984    	CMP #$84
C1/574C:	D005    	BNE $5753
C1/574E:	9CA57B  	STZ $7BA5
C1/5751:	38      	SEC 
C1/5752:	60      	RTS
C1/5753:	18      	CLC 
C1/5754:	60      	RTS

C1/5755 unknow

C1/5755:	A927    	LDA #$27		(from C1/5529, X = 3B)
C1/5757:	8DF07B  	STA $7BF0
C1/575A:	A911    	LDA #$11
C1/575C:	4C2C5A  	JMP $5A2C

C1/575F unknow

C1/575F:	A928    	LDA #$28		(from C1/5529, X = 3C)
C1/5761:	8DF07B  	STA $7BF0
C1/5764:	A911    	LDA #$11
C1/5766:	4C2C5A  	JMP $5A2C

C1/5769 item command

C1/5769:	9C027B  	STZ $7B02		(from C1/5529, X = 9)
C1/576C:	9C0C89  	STZ $890C
C1/576F:	A909    	LDA #$09
C1/5771:	8DC27B  	STA $7BC2      (queue up to execute at C1/5769)
C1/5774:	ADA57B  	LDA $7BA5
C1/5777:	3011    	BMI $578A
C1/5779:	20175A  	JSR $5A17
C1/577C:	AECA62  	LDX $62CA
C1/577F:	BD4789  	LDA $8947,X
C1/5782:	8DA67B  	STA $7BA6
C1/5785:	A980    	LDA #$80
C1/5787:	8DA57B  	STA $7BA5
C1/578A:	ADA67B  	LDA $7BA6
C1/578D:	206B4C  	JSR $4C6B
C1/5790:	202957  	JSR $5729
C1/5793:	900A    	BCC $579F
C1/5795:	A907    	LDA #$07
C1/5797:	8DF07B  	STA $7BF0
C1/579A:	A902    	LDA #$02
C1/579C:	4C2C5A  	JMP $5A2C
C1/579F:	60      	RTS

C1/57A0 magic command

C1/57A0:	A90D    	LDA #$0D		(from C1/5529, X = D)
C1/57A2:	8DC27B  	STA $7BC2      (queue up to execute at C1/57A0)
C1/57A5:	ADA57B  	LDA $7BA5
C1/57A8:	301A    	BMI $57C4
C1/57AA:	201484  	JSR $8414
C1/57AD:	BD9520  	LDA $2095,X
C1/57B0:	8D7861  	STA $6178
C1/57B3:	20175A  	JSR $5A17
C1/57B6:	AECA62  	LDX $62CA
C1/57B9:	BD1389  	LDA $8913,X
C1/57BC:	8DA67B  	STA $7BA6
C1/57BF:	A980    	LDA #$80
C1/57C1:	8DA57B  	STA $7BA5
C1/57C4:	ADA67B  	LDA $7BA6
C1/57C7:	20B54D  	JSR $4DB5
C1/57CA:	202957  	JSR $5729
C1/57CD:	900A    	BCC $57D9
C1/57CF:	A90B    	LDA #$0B
C1/57D1:	8DF07B  	STA $7BF0
C1/57D4:	A904    	LDA #$04
C1/57D6:	4C2C5A  	JMP $5A2C
C1/57D9:	60      	RTS

C1/57DA unknow


		(function)	(value for)	(value for)
				(C1/587F)	(C1/58BB)
C1/57DA:	3A58     	(0)
C1/57DC:	5058    	(1)
C1/57DE:	5658    	(2)
C1/57E0:	5C58		(3)
C1/57E2: 	8258		(4)

C1/57E4:	3658				(0)
C1/57E6:	5058				(1)
C1/57E8:	5658				(2)
C1/57EA:	5C58				(3)
C1/57EC:  	BE58				(4)

C1/57EE unknow

C1/57EE:	8636    	STX $36
C1/57F0:	ADA47B  	LDA $7BA4
C1/57F3:	8538    	STA $38
C1/57F5:	ADA37B  	LDA $7BA3
C1/57F8:	8539    	STA $39
C1/57FA:	AE9F7B  	LDX $7B9F
C1/57FD:	ACA17B  	LDY $7BA1
C1/5800:	B98726  	LDA $2687,Y
C1/5803:	2538    	AND $38
C1/5805:	F015    	BEQ $581C
C1/5807:	B98626  	LDA $2686,Y
C1/580A:	9D0540  	STA $4005,X
C1/580D:	B98926  	LDA $2689,Y
C1/5810:	9D0640  	STA $4006,X
C1/5813:	B98826  	LDA $2688,Y
C1/5816:	9D0740  	STA $4007,X
C1/5819:	E8      	INX 
C1/581A:	E8      	INX 
C1/581B:	E8      	INX 
C1/581C:	E639    	INC $39
C1/581E:	C8      	INY 
C1/581F:	C8      	INY 
C1/5820:	C8      	INY 
C1/5821:	C8      	INY 
C1/5822:	C8      	INY 
C1/5823:	C436    	CPY $36
C1/5825:	D0D9    	BNE $5800
C1/5827:	8E9F7B  	STX $7B9F
C1/582A:	8CA17B  	STY $7BA1
C1/582D:	EE9E7B  	INC $7B9E
C1/5830:	A539    	LDA $39
C1/5832:	8DA37B  	STA $7BA3
C1/5835:	60      	RTS

C1/5836 unknow

C1/5836:	A940    	LDA #$40		(from C1/58BB, X = 0)
C1/5838:	8002    	BRA $583C
C1/583A:	A920    	LDA #$20		(from C1/587F, X = 0)
C1/583C:	8DA47B  	STA $7BA4
C1/583F:	7B      	TDC 
C1/5840:	AA      	TAX 
C1/5841:	8E9F7B  	STX $7B9F
C1/5844:	8EA17B  	STX $7BA1
C1/5847:	9CA37B  	STZ $7BA3
C1/584A:	A24001  	LDX #$0140
C1/584D:	4CEE57  	JMP $57EE

C1/5850 unknow

C1/5850:	A28002  	LDX #$0280		(from C1/587F, X = 1; C1/58BB, X = 6)
C1/5853:	4CEE57  	JMP $57EE

C1/5856 unknow

C1/5856:	A2C003  	LDX #$03C0		(from C1/587F, X = 2; C1/58BB, X = 7)
C1/5859:	4CEE57  	JMP $57EE

C1/585C unknow

C1/585C:	A20005  	LDX #$0500		(from C1/587F, X = 3; C1/58BB, X = 8)
C1/585F:	20EE57  	JSR $57EE
C1/5862:	A9FF    	LDA #$FF
C1/5864:	E00003  	CPX #$0300
C1/5867:	F00B    	BEQ $5874
C1/5869:	9D0540  	STA $4005,X
C1/586C:	9E0640  	STZ $4006,X
C1/586F:	E8      	INX 
C1/5870:	E8      	INX 
C1/5871:	E8      	INX 
C1/5872:	80F0    	BRA $5864
C1/5874:	60      	RTS

C1/5875 throw command

C1/5875:	A92B    	LDA #$2B		(from C1/5529, X = 2B)
C1/5877:	8DC27B  	STA $7BC2      (queue up to execute at C1/5875)
C1/587A:	AD9E7B  	LDA $7B9E
C1/587D:	0A      	ASL A
C1/587E:	AA      	TAX 
C1/587F:	7CDA57  	JMP ($57DA,X)

C1/5882 unknow

C1/5882:	ADA57B  	LDA $7BA5		(from C1/587F, X = 4)
C1/5885:	3011    	BMI $5898
C1/5887:	20175A  	JSR $5A17
C1/588A:	AECA62  	LDX $62CA
C1/588D:	BD5389  	LDA $8953,X
C1/5890:	8DA67B  	STA $7BA6
C1/5893:	A980    	LDA #$80
C1/5895:	8DA57B  	STA $7BA5
C1/5898:	ADA67B  	LDA $7BA6
C1/589B:	20274C  	JSR $4C27
C1/589E:	202957  	JSR $5729
C1/58A1:	900D    	BCC $58B0
C1/58A3:	9C9E7B  	STZ $7B9E
C1/58A6:	A91D    	LDA #$1D
C1/58A8:	8DF07B  	STA $7BF0
C1/58AB:	A90E    	LDA #$0E
C1/58AD:	4C2C5A  	JMP $5A2C
C1/58B0:	60      	RTS

C1/58B1 tools command

C1/58B1:	A92E    	LDA #$2E		(from C1/5529, X = 2D)
C1/58B3:	8DC27B  	STA $7BC2      (queue up to execute at C1/86B5)
C1/58B6:	AD9E7B  	LDA $7B9E
C1/58B9:	0A      	ASL A
C1/58BA:	AA      	TAX 
C1/58BB:	7CE457  	JMP ($57E4,X)

C1/58BE unknow

C1/58BE:	ADA57B  	LDA $7BA5		(from C1/58BB, X = 4)
C1/58C1:	3011    	BMI $58D4
C1/58C3:	20175A  	JSR $5A17
C1/58C6:	AECA62  	LDX $62CA
C1/58C9:	BD5F89  	LDA $895F,X
C1/58CC:	8DA67B  	STA $7BA6
C1/58CF:	A980    	LDA #$80
C1/58D1:	8DA57B  	STA $7BA5
C1/58D4:	ADA67B  	LDA $7BA6
C1/58D7:	20F74B  	JSR $4BF7
C1/58DA:	202957  	JSR $5729
C1/58DD:	900D    	BCC $58EC
C1/58DF:	9C9E7B  	STZ $7B9E
C1/58E2:	A920    	LDA #$20
C1/58E4:	8DF07B  	STA $7BF0
C1/58E7:	A90F    	LDA #$0F
C1/58E9:	4C2C5A  	JMP $5A2C
C1/58EC:	60      	RTS

C1/58ED lore command

C1/58ED:	A919    	LDA #$19		(from C1/5529, X = 19)
C1/58EF:	8DC27B  	STA $7BC2      (queue up to execute at C1/58ED)
C1/58F2:	ADA57B  	LDA $7BA5
C1/58F5:	301A    	BMI $5911
C1/58F7:	20F783  	JSR $83F7
C1/58FA:	BD6D21  	LDA $216D,X
C1/58FD:	8D7861  	STA $6178
C1/5900:	20175A  	JSR $5A17
C1/5903:	AECA62  	LDX $62CA
C1/5906:	BD1F89  	LDA $891F,X
C1/5909:	8DA67B  	STA $7BA6
C1/590C:	A980    	LDA #$80
C1/590E:	8DA57B  	STA $7BA5
C1/5911:	ADA67B  	LDA $7BA6
C1/5914:	20764D  	JSR $4D76
C1/5917:	202957  	JSR $5729
C1/591A:	900A    	BCC $5926
C1/591C:	A911    	LDA #$11
C1/591E:	8DF07B  	STA $7BF0
C1/5921:	A907    	LDA #$07
C1/5923:	4C2C5A  	JMP $5A2C
C1/5926:	60      	RTS

C1/5927 rage command

C1/5927:	A91C    	LDA #$1C		(from C1/5529, X = 1C)
C1/5929:	8DC27B  	STA $7BC2      (queue up to execute at C1/5927)
C1/592C:	ADA57B  	LDA $7BA5
C1/592F:	3011    	BMI $5942
C1/5931:	20175A  	JSR $5A17
C1/5934:	AECA62  	LDX $62CA
C1/5937:	BD2B89  	LDA $892B,X
C1/593A:	8DA67B  	STA $7BA6
C1/593D:	A980    	LDA #$80
C1/593F:	8DA57B  	STA $7BA5
C1/5942:	ADA67B  	LDA $7BA6
C1/5945:	20E24C  	JSR $4CE2		(Build the Rage menu?)
C1/5948:	202957  	JSR $5729
C1/594B:	900A    	BCC $5957
C1/594D:	A913    	LDA #$13
C1/594F:	8DF07B  	STA $7BF0
C1/5952:	A909    	LDA #$09
C1/5954:	4C2C5A  	JMP $5A2C
C1/5957:	60      	RTS

C1/5958 dance command

C1/5958:	A91F    	LDA #$1F		(from C1/5529, X = 1F)
C1/595A:	8DC27B  	STA $7BC2      (queue up to execute at C1/5958)
C1/595D:	ADA57B  	LDA $7BA5
C1/5960:	300B    	BMI $596D
C1/5962:	20175A  	JSR $5A17
C1/5965:	9CA67B  	STZ $7BA6
C1/5968:	A980    	LDA #$80
C1/596A:	8DA57B  	STA $7BA5
C1/596D:	ADA67B  	LDA $7BA6
C1/5970:	20084D  	JSR $4D08		(Build the Dance menu?)
C1/5973:	202957  	JSR $5729
C1/5976:	900A    	BCC $5982
C1/5978:	A915    	LDA #$15
C1/597A:	8DF07B  	STA $7BF0
C1/597D:	A90A    	LDA #$0A
C1/597F:	4C2C5A  	JMP $5A2C
C1/5982:	60      	RTS

C1/5983 magitek command

C1/5983:	A928    	LDA #$28		(from C1/5529, X = 28)
C1/5985:	8DC27B  	STA $7BC2      (queue up to execute at C1/5983)
C1/5988:	ADA57B  	LDA $7BA5
C1/598B:	300B    	BMI $5998
C1/598D:	20175A  	JSR $5A17
C1/5990:	9CA67B  	STZ $7BA6
C1/5993:	A980    	LDA #$80
C1/5995:	8DA57B  	STA $7BA5
C1/5998:	ADA67B  	LDA $7BA6
C1/599B:	202E4D  	JSR $4D2E		(Build the Magitek menu?)
C1/599E:	202957  	JSR $5729
C1/59A1:	900A    	BCC $59AD
C1/59A3:	A91B    	LDA #$1B
C1/59A5:	8DF07B  	STA $7BF0
C1/59A8:	A90D    	LDA #$0D
C1/59AA:	4C2C5A  	JMP $5A2C
C1/59AD:	60      	RTS

C1/59AE slot command

C1/59AE:	201E41  	JSR $411E		(from C1/5529, X = 6)
C1/59B1:	A906    	LDA #$06
C1/59B3:	8DC27B  	STA $7BC2      (queue up to execute at C1/59AE)
C1/59B6:	ADA57B  	LDA $7BA5
C1/59B9:	300B    	BMI $59C6
C1/59BB:	20175A  	JSR $5A17
C1/59BE:	9CA67B  	STZ $7BA6
C1/59C1:	A980    	LDA #$80
C1/59C3:	8DA57B  	STA $7BA5
C1/59C6:	202957  	JSR $5729
C1/59C9:	900A    	BCC $59D5
C1/59CB:	A904    	LDA #$04
C1/59CD:	8DF07B  	STA $7BF0
C1/59D0:	A901    	LDA #$01
C1/59D2:	4C2C5A  	JMP $5A2C
C1/59D5:	60      	RTS

C1/59D6 unknow

C1/59D6:	AF4E1D00	LDA $001D4E		(from C1/5529, X = 4)
C1/59DA:	2940    	AND #$40		(Isolate the cursor memory bit)
C1/59DC:	D00B    	BNE $59E9		(Branch if cursor memory on)
C1/59DE:	7B      	TDC 
C1/59DF:	AA      	TAX 
C1/59E0:	9E0F89  	STZ $890F,X      (Cursor memory)		(from C1/59E7)
C1/59E3:	E8      	INX 
C1/59E4:	E05C00  	CPX #$005C
C1/59E7:	D0F7    	BNE $59E0
C1/59E9:	A901    	LDA #$01		(from C1/59DC)
C1/59EB:	8D2F63  	STA $632F
C1/59EE:	A929    	LDA #$29
C1/59F0:	8DF07B  	STA $7BF0
C1/59F3:	A903    	LDA #$03
C1/59F5:	8DF17B  	STA $7BF1
C1/59F8:	A91F    	LDA #$1F
C1/59FA:	8DF27B  	STA $7BF2
C1/59FD:	7B      	TDC 
C1/59FE:	4C2C5A  	JMP $5A2C

C1/5A01 unknow

C1/5A01:	201E4E  	JSR $4E1E		(from C1/8198)
C1/5A04:	A2807B  	LDX #$7B80
C1/5A07:	8EAA7B  	STX $7BAA
C1/5A0A:	EEA97B  	INC $7BA9
C1/5A0D:	A90D    	LDA #$0D
C1/5A0F:	8DF07B  	STA $7BF0
C1/5A12:	A906    	LDA #$06
C1/5A14:	4C2C5A  	JMP $5A2C

C1/5A17 unknow

C1/5A17:	C220    	REP #$20  		(from C1/5931, C1/59BB)
C1/5A19:	A600    	LDX $00
C1/5A1B:	A9FF01  	LDA #$01FF
C1/5A1E:	9D4D5E  	STA $5E4D,X
C1/5A21:	E8      	INX 
C1/5A22:	E8      	INX 
C1/5A23:	E08000  	CPX #$0080
C1/5A26:	D0F6    	BNE $5A1E
C1/5A28:	7B      	TDC 
C1/5A29:	E220    	SEP #$20
C1/5A2B:	60      	RTS

C1/5A2C unknow

C1/5A2C:	0A      	ASL A		
C1/5A2D:	0A      	ASL A
C1/5A2E:	AA      	TAX 
C1/5A2F:	A400    	LDY $00
C1/5A31:	BF48E3C2	LDA $C2E348,X
C1/5A35:	99C27B  	STA $7BC2,Y
C1/5A38:	E8      	INX 
C1/5A39:	C8      	INY 
C1/5A3A:	C00400  	CPY #$0004
C1/5A3D:	D0F2    	BNE $5A31
C1/5A3F:	60      	RTS
C1/5A40:	60      	RTS			(from C1/5529, X = 0, 3, or 11)

C1/5A41 unknow

C1/5A41:	ADF07B  	LDA $7BF0		(from C1/5529, X = 1)
C1/5A44:	D003    	BNE $5A49
C1/5A46:	4C4A5A  	JMP $5A4A
C1/5A49:	60      	RTS

C1/5A4A unknow

C1/5A4A:	7B      	TDC 			(from C1/5A46; C1/5529, X = 2)
C1/5A4B:	AA      	TAX 
C1/5A4C:	8DC97B  	STA $7BC9
C1/5A4F:	BDC37B  	LDA $7BC3,X
C1/5A52:	9DC27B  	STA $7BC2,X
C1/5A55:	E8      	INX 
C1/5A56:	E00700  	CPX #$0007
C1/5A59:	D0F4    	BNE $5A4F
C1/5A5B:	60      	RTS

C1/5A5C unknow

C1/5A5F:	F06F    	BEQ $5AD0
C1/5A61:	ADBB7B  	LDA $7BBB
C1/5A64:	D06A    	BNE $5AD0
C1/5A66:	ADEE7B  	LDA $7BEE
C1/5A69:	D062    	BNE $5ACD
C1/5A6E:	D011    	BNE $5A81
C1/5A70:	EEEB7B  	INC $7BEB
C1/5A73:	C220    	REP #$20
C1/5A75:	AEE97B  	LDX $7BE9
C1/5A78:	A0D555  	LDY #$55D5
C1/5A7E:	547E7E  	MVN $7E,$7E
C1/5A81:	C220    	REP #$20
C1/5A83:	ADDE7B  	LDA $7BDE
C1/5A86:	AA      	TAX 
C1/5A87:	38      	SEC 
C1/5A88:	E91000  	SBC #$0010
C1/5A8B:	8DDE7B  	STA $7BDE
C1/5A8E:	ADE07B  	LDA $7BE0
C1/5A91:	A8      	TAY 
C1/5A92:	38      	SEC 
C1/5A93:	E91000  	SBC #$0010
C1/5A96:	8DE07B  	STA $7BE0
C1/5A99:	A90F00  	LDA #$000F
C1/5A9C:	547E7E  	MVN $7E,$7E
C1/5A9F:	AEE27B  	LDX $7BE2
C1/5AA2:	ACE47B  	LDY $7BE4
C1/5AA5:	A90F00  	LDA #$000F
C1/5AA8:	547E7E  	MVN $7E,$7E
C1/5AAB:	8EE27B  	STX $7BE2
C1/5AAE:	8CE47B  	STY $7BE4
C1/5AB1:	7B      	TDC 
C1/5AB2:	E220    	SEP #$20
C1/5AB4:	CEE67B  	DEC $7BE6
C1/5AB7:	D014    	BNE $5ACD
C1/5AB9:	9CDD7B  	STZ $7BDD
C1/5ABC:	C220    	REP #$20
C1/5ABE:	A2D555  	LDX #$55D5
C1/5AC1:	ACE77B  	LDY $7BE7
C1/5AC7:	547E7E  	MVN $7E,$7E
C1/5ACA:	7B      	TDC 
C1/5ACB:	E220    	SEP #$20
C1/5AD0:	60      	RTS

C1/5AD1 unknow

C1/5AD4:	D01F    	BNE $5AF5
C1/5AD6:	ADD27B  	LDA $7BD2
C1/5AD9:	9D7547  	STA $4775,X
C1/5ADC:	9D7947  	STA $4779,X
C1/5ADF:	9D7D47  	STA $477D,X
C1/5AE2:	9D8147  	STA $4781,X
C1/5AE5:	ADD47B  	LDA $7BD4
C1/5AE8:	9D7747  	STA $4777,X
C1/5AEB:	9D7B47  	STA $477B,X
C1/5AEE:	9D7F47  	STA $477F,X
C1/5AF1:	9D8347  	STA $4783,X
C1/5AF4:	60      	RTS

C1/5AF5 unknow

C1/5AF5:	ADD27B  	LDA $7BD2
C1/5AF8:	9DF543  	STA $43F5,X
C1/5AFB:	9DF943  	STA $43F9,X
C1/5AFE:	9DFD43  	STA $43FD,X
C1/5B01:	9D0144  	STA $4401,X
C1/5B04:	ADD47B  	LDA $7BD4
C1/5B07:	9DF743  	STA $43F7,X
C1/5B0A:	9DFB43  	STA $43FB,X
C1/5B0D:	9DFF43  	STA $43FF,X
C1/5B10:	9D0344  	STA $4403,X
C1/5B13:	60      	RTS

C1/5B14 unknow

C1/5B14:	ADD17B  	LDA $7BD1		(from C1/0CDD, C1/0CE8, C1/0CEE)
C1/5B17:	F032    	BEQ $5B4B
C1/5B19:	ADBB7B  	LDA $7BBB
C1/5B1C:	D02D    	BNE $5B4B
C1/5B1E:	C220    	REP #$20
C1/5B20:	AED77B  	LDX $7BD7
C1/5B23:	20D15A  	JSR $5AD1
C1/5B26:	AED97B  	LDX $7BD9
C1/5B29:	20D15A  	JSR $5AD1
C1/5B2C:	ADD77B  	LDA $7BD7
C1/5B2F:	38      	SEC 
C1/5B30:	E91000  	SBC #$0010
C1/5B33:	8DD77B  	STA $7BD7
C1/5B36:	ADD97B  	LDA $7BD9
C1/5B39:	18      	CLC 
C1/5B3A:	691000  	ADC #$0010
C1/5B3D:	8DD97B  	STA $7BD9
C1/5B40:	7B      	TDC 
C1/5B41:	E220    	SEP #$20
C1/5B43:	CED67B  	DEC $7BD6
C1/5B46:	D003    	BNE $5B4B
C1/5B48:	9CD17B  	STZ $7BD1
C1/5B4B:	60      	RTS

C1/5B4C unknow

C1/5B4C:	ADAF7B  	LDA $7BAF		(from C1/5529, X = 3E)
C1/5B4F:	F011    	BEQ $5B62
C1/5B51:	ADA87B  	LDA $7BA8
C1/5B54:	C901    	CMP #$01
C1/5B56:	F00A    	BEQ $5B62
C1/5B58:	AEB17B  	LDX $7BB1
C1/5B5B:	CA      	DEX 
C1/5B5C:	CA      	DEX 
C1/5B5D:	CA      	DEX 
C1/5B5E:	CA      	DEX 
C1/5B5F:	8EB17B  	STX $7BB1
C1/5B62:	E210    	SEP #$10
C1/5B64:	7B      	TDC 
C1/5B65:	AA      	TAX 
C1/5B66:	C220    	REP #$20
C1/5B68:	A90001  	LDA #$0100
C1/5B6B:	48      	PHA 
C1/5B6C:	2B      	PLD 
C1/5B6D:	B502    	LDA $02,X
C1/5B6F:	8DFE7A  	STA $7AFE
C1/5B72:	B512    	LDA $12,X
C1/5B74:	18      	CLC 
C1/5B75:	690400  	ADC #$0004
C1/5B78:	9502    	STA $02,X
C1/5B7A:	9506    	STA $06,X
C1/5B7C:	950A    	STA $0A,X
C1/5B7E:	950E    	STA $0E,X
C1/5B80:	8A      	TXA 
C1/5B81:	18      	CLC 
C1/5B82:	691000  	ADC #$0010
C1/5B85:	AA      	TAX 
C1/5B86:	E0F0    	CPX #$F0
C1/5B88:	D0E8    	BNE $5B72
C1/5B8D:	38      	SEC 
C1/5B8E:	E93C00  	SBC #$003C
C1/5B91:	4C5C5D  	JMP $5D5C

C1/5B94 unknow

C1/5B94:	CEA87B  	DEC $7BA8
C1/5B97:	CEA87B  	DEC $7BA8
C1/5B9A:	CEA87B  	DEC $7BA8
C1/5BA0:	F00C    	BEQ $5BAE
C1/5BA2:	C220    	REP #$20
C1/5BA4:	ADB17B  	LDA $7BB1
C1/5BA7:	18      	CLC 
C1/5BA8:	690800  	ADC #$0008
C1/5BAB:	8DB17B  	STA $7BB1
C1/5BAE:	E210    	SEP #$10
C1/5BB0:	A290    	LDX #$90
C1/5BB2:	C220    	REP #$20
C1/5BB4:	A90001  	LDA #$0100
C1/5BB7:	48      	PHA 
C1/5BB8:	2B      	PLD 
C1/5BB9:	B532    	LDA $32,X
C1/5BBE:	B502    	LDA $02,X
C1/5BC0:	38      	SEC 
C1/5BC1:	E90C00  	SBC #$000C
C1/5BC4:	955E    	STA $5E,X
C1/5BC6:	955A    	STA $5A,X
C1/5BC8:	9556    	STA $56,X
C1/5BCA:	9552    	STA $52,X
C1/5BCC:	954E    	STA $4E,X
C1/5BCE:	954A    	STA $4A,X
C1/5BD0:	9546    	STA $46,X
C1/5BD2:	9542    	STA $42,X
C1/5BD4:	953E    	STA $3E,X
C1/5BD6:	953A    	STA $3A,X
C1/5BD8:	9536    	STA $36,X
C1/5BDA:	9532    	STA $32,X
C1/5BDC:	8A      	TXA 
C1/5BDD:	38      	SEC 
C1/5BDE:	E93000  	SBC #$0030
C1/5BE1:	AA      	TAX 
C1/5BE2:	E0D0    	CPX #$D0
C1/5BE4:	D0D8    	BNE $5BBE
C1/5BE6:	A200    	LDX #$00
C1/5BEB:	18      	CLC 
C1/5BEC:	693000  	ADC #$0030
C1/5BEF:	8059    	BRA $5C4A
C1/5BF1:	CEA87B  	DEC $7BA8
C1/5BF4:	CEA87B  	DEC $7BA8
C1/5BF7:	CEA87B  	DEC $7BA8
C1/5BFD:	F00C    	BEQ $5C0B
C1/5BFF:	C220    	REP #$20
C1/5C01:	ADB17B  	LDA $7BB1
C1/5C04:	38      	SEC 
C1/5C05:	E90800  	SBC #$0008
C1/5C08:	8DB17B  	STA $7BB1
C1/5C0B:	E210    	SEP #$10
C1/5C0D:	7B      	TDC 
C1/5C0E:	AA      	TAX 
C1/5C0F:	C220    	REP #$20
C1/5C11:	A90001  	LDA #$0100
C1/5C14:	48      	PHA 
C1/5C15:	2B      	PLD 
C1/5C16:	B502    	LDA $02,X
C1/5C18:	8DFE7A  	STA $7AFE
C1/5C1B:	B532    	LDA $32,X
C1/5C1D:	18      	CLC 
C1/5C1E:	690C00  	ADC #$000C
C1/5C21:	9502    	STA $02,X
C1/5C23:	9506    	STA $06,X
C1/5C25:	950A    	STA $0A,X
C1/5C27:	950E    	STA $0E,X
C1/5C29:	9512    	STA $12,X
C1/5C2B:	9516    	STA $16,X
C1/5C2D:	951A    	STA $1A,X
C1/5C2F:	951E    	STA $1E,X
C1/5C31:	9522    	STA $22,X
C1/5C33:	9526    	STA $26,X
C1/5C35:	952A    	STA $2A,X
C1/5C37:	952E    	STA $2E,X
C1/5C39:	8A      	TXA 
C1/5C3A:	18      	CLC 
C1/5C3B:	693000  	ADC #$0030
C1/5C3E:	AA      	TAX 
C1/5C3F:	E0C0    	CPX #$C0
C1/5C41:	D0D8    	BNE $5C1B
C1/5C43:	ADFE7A  	LDA $7AFE
C1/5C46:	38      	SEC 
C1/5C47:	E93000  	SBC #$0030
C1/5C4A:	9502    	STA $02,X
C1/5C4C:	9506    	STA $06,X
C1/5C4E:	950A    	STA $0A,X
C1/5C50:	950E    	STA $0E,X
C1/5C52:	9512    	STA $12,X
C1/5C54:	9516    	STA $16,X
C1/5C56:	951A    	STA $1A,X
C1/5C58:	951E    	STA $1E,X
C1/5C5A:	9522    	STA $22,X
C1/5C5C:	9526    	STA $26,X
C1/5C5E:	952A    	STA $2A,X
C1/5C60:	952E    	STA $2E,X
C1/5C62:	A200    	LDX #$00
C1/5C64:	B502    	LDA $02,X
C1/5C66:	9D834D  	STA $4D83,X
C1/5C69:	B506    	LDA $06,X
C1/5C6B:	9D874D  	STA $4D87,X
C1/5C6E:	B50A    	LDA $0A,X
C1/5C70:	9D8B4D  	STA $4D8B,X
C1/5C73:	B50E    	LDA $0E,X
C1/5C75:	9D8F4D  	STA $4D8F,X
C1/5C78:	8A      	TXA 
C1/5C79:	18      	CLC 
C1/5C7A:	691000  	ADC #$0010
C1/5C7D:	AA      	TAX 
C1/5C7E:	E0C0    	CPX #$C0
C1/5C80:	D0E2    	BNE $5C64
C1/5C82:	A90000  	LDA #$0000
C1/5C85:	48      	PHA 
C1/5C86:	2B      	PLD 
C1/5C87:	E220    	SEP #$20
C1/5C89:	C210    	REP #$10
C1/5C8B:	204A5A  	JSR $5A4A
C1/5C8E:	4C2455  	JMP $5524

C1/5C91 unknow

C1/5C91:	A506    	LDA $06		(from C1/5529, X = 17)
C1/5C93:	2910    	AND #$10
C1/5C95:	F018    	BEQ $5CAF
C1/5C97:	ADA87B  	LDA $7BA8
C1/5C9A:	C903    	CMP #$03
C1/5C9C:	D011    	BNE $5CAF
C1/5C9E:	A50B    	LDA $0B
C1/5CA0:	290F    	AND #$0F
C1/5CA2:	8536    	STA $36
C1/5CA4:	A505    	LDA $05
C1/5CA6:	29F0    	AND #$F0
C1/5CA8:	0536    	ORA $36
C1/5CAA:	8505    	STA $05
C1/5CAC:	4CF15B  	JMP $5BF1

C1/5CAF unknow

C1/5CAF:	ADAF7B  	LDA $7BAF		(from C1/5C9C, C1/5C9C)
C1/5CB2:	F011    	BEQ $5CC5
C1/5CB4:	ADA87B  	LDA $7BA8
C1/5CB7:	C901    	CMP #$01
C1/5CB9:	F00A    	BEQ $5CC5
C1/5CBB:	AEB17B  	LDX $7BB1
C1/5CBE:	CA      	DEX 
C1/5CBF:	CA      	DEX 
C1/5CC0:	CA      	DEX 
C1/5CC1:	CA      	DEX 
C1/5CC2:	8EB17B  	STX $7BB1
C1/5CC5:	E210    	SEP #$10
C1/5CC7:	7B      	TDC 
C1/5CC8:	AA      	TAX 
C1/5CC9:	C220    	REP #$20
C1/5CCB:	A90001  	LDA #$0100
C1/5CCE:	48      	PHA 
C1/5CCF:	2B      	PLD 
C1/5CD0:	B502    	LDA $02,X
C1/5CD2:	8DFE7A  	STA $7AFE
C1/5CD5:	B512    	LDA $12,X
C1/5CD7:	18      	CLC 
C1/5CD8:	690400  	ADC #$0004
C1/5CDB:	9502    	STA $02,X
C1/5CDD:	9506    	STA $06,X
C1/5CDF:	950A    	STA $0A,X
C1/5CE1:	950E    	STA $0E,X
C1/5CE3:	8A      	TXA 
C1/5CE4:	18      	CLC 
C1/5CE5:	691000  	ADC #$0010
C1/5CE8:	AA      	TAX 
C1/5CE9:	E0E0    	CPX #$E0
C1/5CEB:	D0E8    	BNE $5CD5
C1/5CF0:	38      	SEC 
C1/5CF1:	E93800  	SBC #$0038
C1/5CF4:	4C5C5D  	JMP $5D5C

C1/5CF7 unknow

C1/5CF7:	A506    	LDA $06		(from C1/5529, X = 18)
C1/5CF9:	2910F0  	AND #$F010
C1/5CFC:	18      	CLC 
C1/5CFD:	ADA87B  	LDA $7BA8
C1/5D00:	C903D0  	CMP #$D003
C1/5D03:	11A5    	ORA ($A5),Y
C1/5D05:	0B      	PHD 
C1/5D06:	290F85  	AND #$850F
C1/5D09:	36A5    	ROL $A5,X
C1/5D0B:	0529    	ORA $29
C1/5D0D:	F005    	BEQ $5D14
C1/5D0F:	3685    	ROL $85,X
C1/5D11:	054C    	ORA $4C
C1/5D13:	945B    	STY $5B,X
C1/5D15:	ADAF7B  	LDA $7BAF
C1/5D18:	F011    	BEQ $5D2B
C1/5D1A:	ADA87B  	LDA $7BA8
C1/5D1D:	C901F0  	CMP #$F001
C1/5D20:	0A      	ASL A
C1/5D21:	AEB17B  	LDX $7BB1
C1/5D24:	E8      	INX 
C1/5D25:	E8      	INX 
C1/5D26:	E8      	INX 
C1/5D27:	E8      	INX 
C1/5D28:	8EB17B  	STX $7BB1
C1/5D2B:	E210    	SEP #$10
C1/5D2D:	A2DC    	LDX #$DC
C1/5D2F:	C220    	REP #$20
C1/5D31:	A90001  	LDA #$0100
C1/5D34:	48      	PHA 
C1/5D35:	2B      	PLD 
C1/5D36:	B506    	LDA $06,X
C1/5D38:	8DFE7A  	STA $7AFE
C1/5D3B:	B502    	LDA $02,X		(from C1/5D51)
C1/5D3D:	38      	SEC 
C1/5D3E:	E90400  	SBC #$0004
C1/5D41:	9512    	STA $12,X
C1/5D43:	950E    	STA $0E,X
C1/5D45:	950A    	STA $0A,X
C1/5D47:	9506    	STA $06,X
C1/5D49:	8A      	TXA 
C1/5D4A:	38      	SEC 
C1/5D4B:	E91000  	SBC #$0010
C1/5D4E:	AA      	TAX 
C1/5D4F:	E0FC    	CPX #$FC
C1/5D51:	D0E8    	BNE $5D3B
C1/5D53:	A200    	LDX #$00
C1/5D55:	ADFE7A  	LDA $7AFE
C1/5D58:	18      	CLC 
C1/5D59:	693800  	ADC #$0038
C1/5D5C:	950E    	STA $0E,X		(from C1/5B91, C1/5CF4)
C1/5D5E:	950A    	STA $0A,X
C1/5D60:	9506    	STA $06,X
C1/5D62:	9502    	STA $02,X
C1/5D64:	A200    	LDX #$00
C1/5D66:	B502    	LDA $02,X		(from C1/5D82)
C1/5D68:	9D834D  	STA $4D83,X
C1/5D6B:	B506    	LDA $06,X
C1/5D6D:	9D874D  	STA $4D87,X
C1/5D70:	B50A    	LDA $0A,X
C1/5D72:	9D8B4D  	STA $4D8B,X
C1/5D75:	B50E    	LDA $0E,X
C1/5D77:	9D8F4D  	STA $4D8F,X
C1/5D7A:	8A      	TXA 
C1/5D7B:	18      	CLC 
C1/5D7C:	691000  	ADC #$0010
C1/5D7F:	AA      	TAX 
C1/5D80:	E0C0    	CPX #$C0
C1/5D82:	D0E2    	BNE $5D66
C1/5D84:	A90000  	LDA #$0000
C1/5D87:	48      	PHA 
C1/5D88:	2B      	PLD 
C1/5D89:	E220    	SEP #$20
C1/5D8B:	C210    	REP #$10
C1/5D8D:	CEA87B  	DEC $7BA8
C1/5D90:	D006    	BNE $5D98
C1/5D92:	204A5A  	JSR $5A4A
C1/5D95:	4C2455  	JMP $5524
C1/5D98:	60      	RTS

C1/5D99 unknow

C1/5D99:	ADA97B  	LDA $7BA9		(from only C1/0BD1)
C1/5D9C:	F013    	BEQ $5DB1
C1/5D9E:	A28000  	LDX #$0080
C1/5DA1:	8636    	STX $36
C1/5DA6:	A24D5E  	LDX #$5E4D
C1/5DA9:	A97E    	LDA #$7E
C1/5DAB:	202B1A  	JSR $1A2B
C1/5DAE:	9CA97B  	STZ $7BA9
C1/5DB1:	AD8562  	LDA $6285
C1/5DB4:	3004    	BMI $5DBA
C1/5DB6:	228AABC2	JSR $C2AB8A
C1/5DBA:	60      	RTS

C1/5DBB unknow

C1/5DBB:	C220    	REP #$20
C1/5DBD:	7B      	TDC 
C1/5DBE:	AA      	TAX 
C1/5DBF:	9D3FE3  	STA $E33F,X
C1/5DC2:	9D3FE4  	STA $E43F,X
C1/5DC5:	9D3FE5  	STA $E53F,X
C1/5DC8:	9D3FE6  	STA $E63F,X
C1/5DCB:	E8      	INX 
C1/5DCC:	E8      	INX 
C1/5DCD:	E00001  	CPX #$0100
C1/5DD0:	D0ED    	BNE $5DBF
C1/5DD2:	E220    	SEP #$20
C1/5DD4:	60      	RTS

C1/5DD5 unknow

C1/5DD5:	9CF5E9  	STZ $E9F5
C1/5DD8:	647A    	STZ $7A
C1/5DDA:	AED788  	LDX $88D7
C1/5DDD:	8648    	STX $48
C1/5DDF:	ADD988  	LDA $88D9
C1/5DE2:	854A    	STA $4A
C1/5DE4:	644B    	STZ $4B
C1/5DE6:	A748    	LDA [$48]
C1/5DE8:	F014    	BEQ $5DFE
C1/5DEA:	C920    	CMP #$20
C1/5DEC:	9008    	BCC $5DF6
C1/5DEE:	201161  	JSR $6111
C1/5DF1:	20EC66  	JSR $66EC
C1/5DF4:	80F0    	BRA $5DE6

C1/5DF6 unknow

C1/5DF6:	204F5E  	JSR $5E4F
C1/5DF9:	20EC66  	JSR $66EC
C1/5DFC:	80E8    	BRA $5DE6

C1/5DFE unknow

C1/5DFE:	20025E  	JSR $5E02
C1/5E01:	60      	RTS

C1/5E02 unknow

C1/5E02:	A648    	LDX $48
C1/5E04:	DA      	PHX 
C1/5E05:	A64A    	LDX $4A
C1/5E07:	DA      	PHX 
C1/5E08:	A57A    	LDA $7A
C1/5E0A:	48      	PHA 
C1/5E0B:	7B      	TDC 
C1/5E0C:	20B69B  	JSR $9BB6
C1/5E0F:	209B63  	JSR $639B
C1/5E12:	68      	PLA 
C1/5E13:	857A    	STA $7A
C1/5E15:	FA      	PLX 
C1/5E16:	864A    	STX $4A
C1/5E18:	FA      	PLX 
C1/5E19:	8648    	STX $48
C1/5E1B:	60      	RTS

C1/5E1C unknow

C1/5E1C:	A648    	LDX $48
C1/5E1E:	DA      	PHX 
C1/5E1F:	A64A    	LDX $4A
C1/5E21:	DA      	PHX 
C1/5E22:	A57A    	LDA $7A
C1/5E24:	48      	PHA 
C1/5E25:	202A02  	JSR $022A
C1/5E28:	68      	PLA 
C1/5E29:	857A    	STA $7A
C1/5E2B:	FA      	PLX 
C1/5E2C:	864A    	STX $4A
C1/5E2E:	FA      	PLX 
C1/5E2F:	8648    	STX $48
C1/5E31:	60      	RTS

C1/5E32 unknow

C1/5E32:	8522    	STA $22
C1/5E34:	A648    	LDX $48
C1/5E36:	DA      	PHX 
C1/5E37:	A64A    	LDX $4A
C1/5E39:	DA      	PHX 
C1/5E3A:	A57A    	LDA $7A
C1/5E3C:	48      	PHA 
C1/5E3D:	A522    	LDA $22
C1/5E3F:	20B69B  	JSR $9BB6
C1/5E42:	209B63  	JSR $639B
C1/5E45:	68      	PLA 
C1/5E46:	857A    	STA $7A
C1/5E48:	FA      	PLX 
C1/5E49:	864A    	STX $4A
C1/5E4B:	FA      	PLX 
C1/5E4C:	8648    	STX $48
C1/5E4E:	60      	RTS

C1/5E4F unknow

C1/5E4F:	0A      	ASL A			(from C1/5DF6)
C1/5E50:	AA      	TAX 
C1/5E51:	7C545E  	JMP ($5E54,X)

C1/5E54 unknow

Pointers to Code

C1/5E54:	4767    	(00)		(exits)
C1/5E56:	8C60		(01)
C1/5E58:	AC5E		(02)
C1/5E5A:	4767  	(03)		(exits)
C1/5E5C:	7B60 		(04)
C1/5E5E:	A75E 		(05)
C1/5E60:	9F5E		(06)
C1/5E62:	945E		(07)
C1/5E64:	4767    	(08)		(exits)
C1/5E66:	4767    	(09)		(exits)
C1/5E68:	4767    	(0A)		(exits)
C1/5E6A:	4767    	(0B)		(exits)
C1/5E6C:	0C5F  	(0C)
C1/5E6E:	4767    	(0D)		(exits)
C1/5E70:	4360      	(0E)
C1/5E72:	B35F    	(0F)
C1/5E74:	755F    	(10)
C1/5E76:	7D5F		(11)
C1/5E78:	E65E		(12)
C1/5E7A:	6D5F  	(13)
C1/5E7C:	655F    	(14)
C1/5E7E:	4767    	(15)		(exits)
C1/5E80:	4767    	(16)		(exits)
C1/5E82:	4767    	(16)		(exits)
C1/5E84:	4767    	(17)		(exits)
C1/5E86:	4767    	(18)		(exits)
C1/5E88:	4767    	(19)		(exits)
C1/5E8A:	4767    	(1A)		(exits)
C1/5E8C:	1161    	(1B)
C1/5E8E:	1161    	(1C)
C1/5E90:	1161    	(1D)
C1/5E92:	1161    	(1E)

C1/5E94 unknow

C1/5E94:	EEF5E9  	INC $E9F5		(from C1/5E51, X = 7)
C1/5E97:	20025E  	JSR $5E02
C1/5E9A:	A504    	LDA $04
C1/5E9C:	10F6    	BPL $5E94
C1/5E9E:	60      	RTS

C1/5E9F unknow

C1/5E9F:	20EC66  	JSR $66EC		(from C1/5E51, X = 6)
C1/5EA2:	A748    	LDA [$48]
C1/5EA4:	4C325E  	JMP $5E32

C1/5EA7 unknow

C1/5EA7:	A93C    	LDA #$3C		(from C1/5E51, X = 5)
C1/5EA9:	4C325E  	JMP $5E32

C1/5EAC unknow

C1/5EAC:	20EC66  	JSR $66EC		(from C1/5E51, X = 2)
C1/5EAF:	A748    	LDA [$48]
C1/5EB1:	8522    	STA $22
C1/5EB3:	7B      	TDC 			(from C1/5E51, X = F)
C1/5EB4:	AA      	TAX 
C1/5EB5:	BF001600	LDA $001600,X
C1/5EB9:	C522    	CMP $22
C1/5EBB:	F012    	BEQ $5ECF
C1/5EBD:	C220    	REP #$20
C1/5EBF:	8A      	TXA 
C1/5EC0:	18      	CLC 
C1/5EC1:	692500  	ADC #$0025
C1/5EC4:	AA      	TAX 
C1/5EC5:	7B      	TDC 
C1/5EC6:	E220    	SEP #$20
C1/5EC8:	E05002  	CPX #$0250
C1/5ECB:	F018    	BEQ $5EE5
C1/5ECD:	80E6    	BRA $5EB5
C1/5ECF:	A906    	LDA #$06
C1/5ED1:	8D6D61  	STA $616D
C1/5ED4:	BF021600	LDA $001602,X
C1/5ED8:	C9FF    	CMP #$FF
C1/5EDA:	F009    	BEQ $5EE5
C1/5EDC:	201161  	JSR $6111
C1/5EDF:	E8      	INX 
C1/5EE0:	CE6D61  	DEC $616D
C1/5EE3:	D0EF    	BNE $5ED4
C1/5EE5:	60      	RTS

C1/5EE6 unknow

C1/5EE6:	20EC66  	JSR $66EC		(from C1/5E51, X = 12)
C1/5EE9:	A748    	LDA [$48]
C1/5EEB:	0A      	ASL A
C1/5EEC:	AA      	TAX 
C1/5EED:	7CF05E  	JMP ($5EF0,X)

C1/5EF0 unknow

C1/5EF0:	405F      	(0)
C1/5EF2:	065F		(1)
C1/5EF4:	005F		(2)
C1/5EF6:	135F		(3)
C1/5EF8:	AE2ECE2E  	ROL $2ECE		
C1/5EFC:	EE2E0E  	INC $0E2E
C1/5EFF:	2F

C1/5F00 unknow

C1/5F00:	AD352F  	LDA $2F35		(from C1/5EED, X = 2)
C1/5F03:	4CB85F  	JMP $5FB8

C1/5F06 unknow

C1/5F06:	AD352F  	LDA $2F35		(from C1/5EED, X = 1)
C1/5F09:	4C4860  	JMP $6048

C1/5F0C unknow

C1/5F0C:	20EC66  	JSR $66EC		(from C1/5E51, X = C)
C1/5F0F:	A748    	LDA [$48]
C1/5F11:	8003    	BRA $5F16
C1/5F13:	AD352F  	LDA $2F35		(from C1/5EED, X = 3)
C1/5F16:	C9FF    	CMP #$FF		(from C1/5F11)
C1/5F18:	D001    	BNE $5F1B
C1/5F1A:	60      	RTS

C1/5F1B unknow

C1/5F1B:	EB      	XBA 			(from C1/5F18)
C1/5F1C:	A907    	LDA #$07		(7 = battle command name length)
C1/5F1E:	8D6D61  	STA $616D
C1/5F21:	20CA18  	JSR $18CA		(half multiplier)
C1/5F24:	C220    	REP #$20
C1/5F26:	AF164200	LDA $004216		(load product)
C1/5F2A:	AA      	TAX 
C1/5F2B:	7B      	TDC 
C1/5F2C:	E220    	SEP #$20
C1/5F2E:	BFA0CED8	LDA $D8CEA0,X	(Load battle command name X)
C1/5F32:	C9FF    	CMP #$FF
C1/5F34:	F009    	BEQ $5F3F
C1/5F36:	201161  	JSR $6111
C1/5F39:	E8      	INX 
C1/5F3A:	CE6D61  	DEC $616D
C1/5F3D:	D0EF    	BNE $5F2E
C1/5F3F:	60      	RTS

C1/5F40 unknow

C1/5F40:	AD382F  	LDA $2F38		(from 5EED, X = 0)
C1/5F43:	0A      	ASL A
C1/5F44:	AA      	TAX 
C1/5F45:	C220    	REP #$20
C1/5F47:	BFF85EC1	LDA $C15EF8,X
C1/5F4B:	AA      	TAX 
C1/5F4C:	7B      	TDC 
C1/5F4D:	E220    	SEP #$20
C1/5F4F:	A906    	LDA #$06
C1/5F51:	8D6D61  	STA $616D
C1/5F54:	BD0100  	LDA $0001,X
C1/5F57:	C9FF    	CMP #$FF
C1/5F59:	F009    	BEQ $5F64
C1/5F5B:	201161  	JSR $6111
C1/5F5E:	E8      	INX 
C1/5F5F:	CE6D61  	DEC $616D
C1/5F62:	D0F0    	BNE $5F54
C1/5F64:	60      	RTS

C1/5F65 unknow

C1/5F65:	AE3E2F  	LDX $2F3E		(from C1/5E51, X = 14)
C1/5F68:	AD402F  	LDA $2F40
C1/5F6B:	8016    	BRA $5F83

C1/5F6D unknow

C1/5F6D:	AE3B2F  	LDX $2F3B		(from C1/5E51, X = 13)
C1/5F70:	AD3D2F  	LDA $2F3D
C1/5F73:	800E    	BRA $5F83

C1/5F75 unknow

C1/5F75:	AE352F  	LDX $2F35		(from C1/5E51, X = 10)
C1/5F78:	AD372F  	LDA $2F37
C1/5F7B:	8006    	BRA $5F83

C1/5F7D unknow

C1/5F7D:	AE382F  	LDX $2F38		(from C1/5E51, X = 11)
C1/5F80:	AD3A2F  	LDA $2F3A
C1/5F83:	8610    	STX $10
C1/5F85:	8512    	STA $12
C1/5F87:	A9B4    	LDA #$B4
C1/5F89:	8568    	STA $68
C1/5F8B:	20BF1A  	JSR $1ABF
C1/5F8E:	7B      	TDC 
C1/5F8F:	AA      	TAX 
C1/5F90:	B569    	LDA $69,X
C1/5F92:	C9B4    	CMP #$B4
C1/5F94:	D006    	BNE $5F9C
C1/5F96:	E8      	INX 
C1/5F97:	E00700  	CPX #$0007
C1/5F9A:	D0F4    	BNE $5F90
C1/5F9C:	B569    	LDA $69,X
C1/5F9E:	201161  	JSR $6111
C1/5FA1:	E8      	INX 
C1/5FA2:	E00800  	CPX #$0008
C1/5FA5:	D0F5    	BNE $5F9C
C1/5FA7:	60      	RTS

C1/5FA8 unknow

C1/5FA8:	48      	PHA 			(from C1/604E)
C1/5FA9:	A9FF    	LDA #$FF
C1/5FAB:	201161  	JSR $6111
C1/5FAE:	68      	PLA 
C1/5FAF:	3A      	DEC A
C1/5FB0:	D0F6    	BNE $5FA8
C1/5FB2:	60      	RTS

C1/5FB3 unknow

C1/5FB3:	20EC66  	JSR $66EC		(from C1/5E54, X = F)
C1/5FB6:	A748    	LDA [$48]
C1/5FB8:	C9FF    	CMP #$FF
C1/5FBA:	D001    	BNE $5FBD
C1/5FBC:	60      	RTS

C1/5FBD display attack name

Display attack name, does all attacks from the skeans on down to the end, except for sword techniques
C1/5FBD:	C936    	CMP #$36		(from C1/5FBA)
C1/5FBF:	9058    	BCC $6019
C1/5FC1:	C951    	CMP #$51
C1/5FC3:	902A    	BCC $5FEF
C1/5FC5:	38      	SEC 
C1/5FC6:	E951    	SBC #$51
C1/5FC8:	EB      	XBA 
C1/5FC9:	A90A    	LDA #$0A		(10 = skean attack name length)
C1/5FCB:	8510    	STA $10
C1/5FCD:	8D6D61  	STA $616D
C1/5FD0:	20CA18  	JSR $18CA		(half multiplier)
C1/5FD3:	C220    	REP #$20
C1/5FD5:	AF164200	LDA $004216
C1/5FD9:	AA      	TAX 
C1/5FDA:	7B      	TDC 
C1/5FDB:	E220    	SEP #$20
C1/5FDD:	BFB9F7E6	LDA $E6F7B9,X	(Load skean attack name X)
C1/5FE1:	C9FF    	CMP #$FF
C1/5FE3:	F009    	BEQ $5FEE
C1/5FE5:	201161  	JSR $6111
C1/5FE8:	E8      	INX 
C1/5FE9:	CE6D61  	DEC $616D
C1/5FEC:	D0EF    	BNE $5FDD
C1/5FEE:	60      	RTS

C1/5FEF display esper name

C1/5FEF:	38      	SEC 			(from only C1/5FC3)
C1/5FF0:	E936    	SBC #$36
C1/5FF2:	EB      	XBA 
C1/5FF3:	A908    	LDA #$08		(8 = Esper name length)
C1/5FF5:	8510    	STA $10
C1/5FF7:	8D6D61  	STA $616D
C1/5FFA:	20CA18  	JSR $18CA		(half multiplier)
C1/5FFD:	C220    	REP #$20
C1/5FFF:	AF164200	LDA $004216
C1/6003:	AA      	TAX 
C1/6004:	7B      	TDC 
C1/6005:	E220    	SEP #$20
C1/6007:	BFE1F6E6	LDA $E6F6E1,X	(Load Esper name X)
C1/600B:	C9FF    	CMP #$FF
C1/600D:	F009    	BEQ $6018
C1/600F:	201161  	JSR $6111
C1/6012:	E8      	INX 
C1/6013:	CE6D61  	DEC $616D
C1/6016:	D0EF    	BNE $6007
C1/6018:	60      	RTS