Final Fantasy VI/ROM map/Assembly C09

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of Final Fantasy VI/ROM map.

C0/903F unknow

C0/903F:	AD3B05  	LDA $053B
C0/9042:	D00C    	BNE $9050
C0/9044:	A20800  	LDX #$0008
C0/9047:	CA      	DEX
C0/9048:	D0FD    	BNE $9047
C0/904A:	A980    	LDA #$80
C0/904C:	8D0021  	STA $2100
C0/904F:	60      	RTS

C0/9050 unknow

C0/9050:	9C0B42  	STZ $420B		(from C0/9042)
C0/9053:	A980    	LDA #$80
C0/9055:	8D1521  	STA $2115
C0/9058:	A20028  	LDX #$2800
C0/905B:	8E1621  	STX $2116
C0/905E:	A941    	LDA #$41
C0/9060:	8D0043  	STA $4300
C0/9063:	A918    	LDA #$18
C0/9065:	8D0143  	STA $4301
C0/9068:	A20010  	LDX #$1000
C0/906B:	DA      	PHX
C0/906C:	2B      	PLD 
C0/906D:	E210    	SEP #$10      (8 bit index registers)
C0/906F:	C221    	REP #$21
C0/9071:	A001    	LDY #$01
C0/9073:	EA      	NOP
C0/9074:	EA      	NOP
C0/9075:	EA      	NOP
C0/9076:	EA      	NOP
C0/9077:	EA      	NOP
C0/9078:	A280    	LDX #$80
C0/907A:	8E0021  	STX $2100
C0/907D:	A569    	LDA $69
C0/907F:	18      	CLC
C0/9080:	656B    	ADC $6B
C0/9082:	8569    	STA $69
C0/9084:	290006  	AND #$0600
C0/9087:	EB      	XBA
C0/9088:	AA      	TAX
C0/9089:	B56E    	LDA $6E,X
C0/908B:	8D0243  	STA $4302
C0/908E:	A66D    	LDX $6D
C0/9090:	8E0443  	STX $4304
C0/9093:	A280    	LDX #$80
C0/9095:	8E0543  	STX $4305
C0/9098:	8C0B42  	STY $420B
C0/909B:	A576    	LDA $76
C0/909D:	18      	CLC
C0/909E:	6578    	ADC $78
C0/90A0:	8576    	STA $76
C0/90A2:	290006  	AND #$0600
C0/90A5:	EB      	XBA
C0/90A6:	AA      	TAX
C0/90A7:	B57B    	LDA $7B,X
C0/90A9:	8D0243  	STA $4302
C0/90AC:	A67A    	LDX $7A
C0/90AE:	8E0443  	STX $4304
C0/90B1:	A280    	LDX #$80
C0/90B3:	8E0543  	STX $4305
C0/90B6:	8C0B42  	STY $420B
C0/90B9:	A583    	LDA $83
C0/90BB:	18      	CLC
C0/90BC:	6585    	ADC $85
C0/90BE:	8583    	STA $83
C0/90C0:	290006  	AND #$0600
C0/90C3:	EB      	XBA
C0/90C4:	AA      	TAX
C0/90C5:	B588    	LDA $88,X
C0/90C7:	8D0243  	STA $4302
C0/90CA:	A687    	LDX $87
C0/90CC:	8E0443  	STX $4304
C0/90CF:	A280    	LDX #$80
C0/90D1:	8E0543  	STX $4305
C0/90D4:	8C0B42  	STY $420B
C0/90D7:	A590    	LDA $90
C0/90D9:	18      	CLC
C0/90DA:	6592    	ADC $92
C0/90DC:	8590    	STA $90
C0/90DE:	290006  	AND #$0600
C0/90E1:	EB      	XBA
C0/90E2:	AA      	TAX
C0/90E3:	B595    	LDA $95,X
C0/90E5:	8D0243  	STA $4302
C0/90E8:	A694    	LDX $94
C0/90EA:	8E0443  	STX $4304
C0/90ED:	A280    	LDX #$80
C0/90EF:	8E0543  	STX $4305
C0/90F2:	8C0B42  	STY $420B
C0/90F5:	A59D    	LDA $9D
C0/90F7:	18      	CLC
C0/90F8:	659F    	ADC $9F
C0/90FA:	859D    	STA $9D
C0/90FC:	290006  	AND #$0600
C0/90FF:	EB      	XBA
C0/9100:	AA      	TAX
C0/9101:	B5A2    	LDA $A2,X
C0/9103:	8D0243  	STA $4302
C0/9106:	A6A1    	LDX $A1
C0/9108:	8E0443  	STX $4304
C0/910B:	A280    	LDX #$80
C0/910D:	8E0543  	STX $4305
C0/9110:	8C0B42  	STY $420B
C0/9113:	A5AA    	LDA $AA
C0/9115:	18      	CLC
C0/9116:	65AC    	ADC $AC
C0/9118:	85AA    	STA $AA
C0/911A:	290006  	AND #$0600
C0/911D:	EB      	XBA
C0/911E:	AA      	TAX
C0/911F:	B5AF    	LDA $AF,X
C0/9121:	8D0243  	STA $4302
C0/9124:	A6AE    	LDX $AE
C0/9126:	8E0443  	STX $4304
C0/9129:	A280    	LDX #$80
C0/912B:	8E0543  	STX $4305
C0/912E:	8C0B42  	STY $420B
C0/9131:	A5B7    	LDA $B7
C0/9133:	18      	CLC
C0/9134:	65B9    	ADC $B9
C0/9136:	85B7    	STA $B7
C0/9138:	290006  	AND #$0600
C0/913B:	EB      	XBA
C0/913C:	AA      	TAX
C0/913D:	B5BC    	LDA $BC,X
C0/913F:	8D0243  	STA $4302
C0/9142:	A6BB    	LDX $BB
C0/9144:	8E0443  	STX $4304
C0/9147:	A280    	LDX #$80
C0/9149:	8E0543  	STX $4305
C0/914C:	8C0B42  	STY $420B
C0/914F:	A5C4    	LDA $C4
C0/9151:	18      	CLC
C0/9152:	65C6    	ADC $C6
C0/9154:	85C4    	STA $C4
C0/9156:	290006  	AND #$0600
C0/9159:	EB      	XBA
C0/915A:	AA      	TAX
C0/915B:	B5C9    	LDA $C9,X
C0/915D:	8D0243  	STA $4302
C0/9160:	A6C8    	LDX $C8
C0/9162:	8E0443  	STX $4304
C0/9165:	A280    	LDX #$80
C0/9167:	8E0543  	STX $4305
C0/916A:	8C0B42  	STY $420B
C0/916D:	E220    	SEP #$20      (8 bit accum./memory)
C0/916F:	C210    	REP #$10      (16 bit index registers)
C0/9171:	A20000  	LDX #$0000
C0/9174:	DA      	PHX
C0/9175:	2B      	PLD 
C0/9176:	7B      	TDC 
C0/9177:	60      	RTS

C0/9178 unknow

C0/9178:	9C0B42  	STZ $420B      (turn off DMA)
C0/917B:	A980    	LDA #$80
C0/917D:	8D1521  	STA $2115
C0/9180:	A20030  	LDX #$3000
C0/9183:	8E1621  	STX $2116
C0/9186:	A941    	LDA #$41
C0/9188:	8D0043  	STA $4300
C0/918B:	A918    	LDA #$18
C0/918D:	8D0143  	STA $4301
C0/9190:	A20500  	LDX #$0005
C0/9193:	CA      	DEX
C0/9194:	D0FD    	BNE $9193
C0/9196:	A980    	LDA #$80
C0/9198:	8D0021  	STA $2100
C0/919B:	AD3B05  	LDA $053B
C0/919E:	29E0    	AND #$E0
C0/91A0:	F032    	BEQ $91D4
C0/91A2:	C221    	REP #$21
C0/91A4:	ADD510  	LDA $10D5
C0/91A7:	8D0543  	STA $4305
C0/91AA:	ADD110  	LDA $10D1
C0/91AD:	6DD310  	ADC $10D3
C0/91B0:	8DD110  	STA $10D1
C0/91B3:	7B      	TDC 
C0/91B4:	E220    	SEP #$20      (8 bit accum./memory)
C0/91B6:	ADD210  	LDA $10D2
C0/91B9:	290E    	AND #$0E
C0/91BB:	AA      	TAX
C0/91BC:	C221    	REP #$21
C0/91BE:	BDD710  	LDA $10D7,X
C0/91C1:	6900BF  	ADC #$BF00
C0/91C4:	8D0243  	STA $4302
C0/91C7:	7B      	TDC 
C0/91C8:	E220    	SEP #$20      (8 bit accum./memory)
C0/91CA:	A97E    	LDA #$7E
C0/91CC:	8D0443  	STA $4304
C0/91CF:	A901    	LDA #$01
C0/91D1:	8D0B42  	STA $420B
C0/91D4:	60      	RTS

C0/91D5 unknow

C0/91D5:	0000
C0/91D7:	5000
C0/91D9:	A000
C0/91DB:	F000
C0/91DC:	4001
C0/91DE:	9001
C0/91E0:	E001
C0/91E2:	3002
C0/91E4:	4402
C0/91E6:	9402
C0/91E8:	E402
C0/91EA:	3403
C0/91EC:	3403
C0/91EE:	8403
C0/91F0:	2404
C0/91F2:	9204
C0/91F4:	E204
C0/91F6:	3403
C0/91F8:	5005
C0/91FA:	3403
C0/91FC:	A005

C0/91FF unknow

C0/91FF:	0001 0000 8000 0001 8001 
C0/9209:	0001 0028 8028 0029 8029 
C0/9213:	0001 002A 802A 002B 802B 
C0/921D:	0001 002C 802C 002D 802D 
C0/9227:	0001 002E 802E 002F 802F 
C0/9231:	0001 0030 8030 0031 8031
C0/923B:	0001 0032 8032 0033 8033 
C0/9245:	0001 0002 8002 0003 8003
C0/924F:	0001 0004 8004 0005 8005
C0/9259:	0001 0006 8006 0007 8007
C0/9263:	0001 0008 8008 0009 8009 
C0/926D:	0001 000A 800A 000B 800B
C0/9277:	0001 000C 800C 000D 800D 

C0/9281:	0000    	BRK #$00
C0/9283:	0000    	BRK #$00
C0/9285:	0000    	BRK #$00
C0/9287:	0000    	BRK #$00
C0/9289:	0000    	BRK #$00
C0/928B:	0000    	BRK #$00
C0/928D:	0000    	BRK #$00
C0/928F:	0000    	BRK #$00
C0/9291:	0000    	BRK #$00
C0/9293:	0000    	BRK #$00
C0/9295:	0000    	BRK #$00
C0/9297:	0000    	BRK #$00
C0/9299:	0000    	BRK #$00
C0/929B:	0000    	BRK #$00
C0/929D:	0000    	BRK #$00
C0/929F:	0001    	BRK #$01
C0/92A1:	0010    	BRK #$10
C0/92A3:	8010    	BRA $92B5
C0/92A5:	0010    	BRK #$10
C0/92A7:	8010    	BRA $92B9
C0/92A9:	0000    	BRK #$00
C0/92AB:	0000    	BRK #$00
C0/92AD:	0000    	BRK #$00
C0/92AF:	0000    	BRK #$00
C0/92B1:	0000    	BRK #$00
C0/92B3:	0000    	BRK #$00
C0/92B5:	0000    	BRK #$00
C0/92B7:	0000    	BRK #$00
C0/92B9:	0000    	BRK #$00
C0/92BB:	0000    	BRK #$00
C0/92BD:	0000    	BRK #$00
C0/92BF:	0000    	BRK #$00
C0/92C1:	0000    	BRK #$00
C0/92C3:	0000    	BRK #$00
C0/92C5:	0000    	BRK #$00
C0/92C7:	0000    	BRK #$00
C0/92C9:	0000    	BRK #$00
C0/92CB:	0000    	BRK #$00
C0/92CD:	0000    	BRK #$00
C0/92CF:	0000    	BRK #$00
C0/92D1:	0000    	BRK #$00
C0/92D3:	0000    	BRK #$00
C0/92D5:	0000    	BRK #$00
C0/92D7:	0000    	BRK #$00
C0/92D9:	0000    	BRK #$00
C0/92DB:	0000    	BRK #$00
C0/92DD:	0000    	BRK #$00
C0/92DF:	0000    	BRK #$00
C0/92E1:	0000    	BRK #$00
C0/92E3:	0000    	BRK #$00
C0/92E5:	0000    	BRK #$00
C0/92E7:	0000    	BRK #$00
C0/92E9:	0000    	BRK #$00
C0/92EB:	0000    	BRK #$00
C0/92ED:	0000    	BRK #$00
C0/92EF:	0001    	BRK #$01
C0/92F1:	0034    	BRK #$34
C0/92F3:	8034    	BRA $9329
C0/92F5:	0035    	BRK #$35
C0/92F7:	8035    	BRA $932E
C0/92F9:	0001    	BRK #$01
C0/92FB:	0028    	BRK #$28
C0/92FD:	8028    	BRA $9327
C0/92FF:	0029    	BRK #$29
C0/9301:	8029    	BRA $932C
C0/9303:	0001    	BRK #$01
C0/9305:	002A    	BRK #$2A
C0/9307:	802A    	BRA $9333
C0/9309:	002B    	BRK #$2B
C0/930B:	802B    	BRA $9338
C0/930D:	0001    	BRK #$01
C0/930F:	002C    	BRK #$2C
C0/9311:	802C    	BRA $933F
C0/9313:	002D    	BRK #$2D
C0/9315:	802D    	BRA $9344
C0/9317:	0001    	BRK #$01
C0/9319:	002E    	BRK #$2E
C0/931B:	802E    	BRA $934B
C0/931D:	002F    	BRK #$2F
C0/931F:	802F    	BRA $9350
C0/9321:	0001    	BRK #$01
C0/9323:	0030    	BRK #$30
C0/9325:	8030    	BRA $9357
C0/9327:	0031    	BRK #$31
C0/9329:	8031    	BRA $935C
C0/932B:	0001    	BRK #$01
C0/932D:	0032    	BRK #$32
C0/932F:	8032    	BRA $9363
C0/9331:	0033    	BRK #$33
C0/9333:	8033    	BRA $9368
C0/9335:	0001    	BRK #$01
C0/9337:	0036    	BRK #$36
C0/9339:	8036    	BRA $9371
C0/933B:	0037    	BRK #$37
C0/933D:	8037    	BRA $9376
C0/933F:	0004    	BRK #$04
C0/9341:	001B    	BRK #$1B
C0/9343:	001B    	BRK #$1B
C0/9345:	001B    	BRK #$1B
C0/9347:	001B    	BRK #$1B
C0/9349:	0004    	BRK #$04
C0/934B:	801B    	BRA $9368
C0/934D:	801B    	BRA $936A
C0/934F:	801B    	BRA $936C
C0/9351:	801B    	BRA $936E
C0/9353:	8000    	BRA $9355
C0/9355:	001C    	BRK #$1C
C0/9357:	801C    	BRA $9375
C0/9359:	001D    	BRK #$1D
C0/935B:	801D    	BRA $937A
C0/935D:	8000    	BRA $935F
C0/935F:	001E    	BRK #$1E
C0/9361:	801E    	BRA $9381
C0/9363:	001F    	BRK #$1F
C0/9365:	801F    	BRA $9386
C0/9367:	8000    	BRA $9369
C0/9369:	0020    	BRK #$20
C0/936B:	8020    	BRA $938D
C0/936D:	0021    	BRK #$21
C0/936F:	8021    	BRA $9392
C0/9371:	8000    	BRA $9373
C0/9373:	0022    	BRK #$22
C0/9375:	8022    	BRA $9399
C0/9377:	0023    	BRK #$23
C0/9379:	8023    	BRA $939E
C0/937B:	8000    	BRA $937D
C0/937D:	0024    	BRK #$24
C0/937F:	8024    	BRA $93A5
C0/9381:	0025    	BRK #$25
C0/9383:	8025    	BRA $93AA
C0/9385:	8000    	BRA $9387
C0/9387:	0026    	BRK #$26
C0/9389:	8026    	BRA $93B1
C0/938B:	0027    	BRK #$27
C0/938D:	8027    	BRA $93B6
C0/938F:	0002    	BRK #$02
C0/9391:	005E    	BRK #$5E
C0/9393:	805E    	BRA $93F3
C0/9395:	005E    	BRK #$5E
C0/9397:	805E    	BRA $93F7
C0/9399:	0002    	BRK #$02
C0/939B:	005F    	BRK #$5F
C0/939D:	805F    	BRA $93FE
C0/939F:	005F    	BRK #$5F
C0/93A1:	805F    	BRA $9402
C0/93A3:	0002    	BRK #$02
C0/93A5:	0060    	BRK #$60
C0/93A7:	8060    	BRA $9409
C0/93A9:	0060    	BRK #$60
C0/93AB:	8060    	BRA $940D
C0/93AD:	0002    	BRK #$02
C0/93AF:	0061    	BRK #$61
C0/93B1:	8061    	BRA $9414
C0/93B3:	0061    	BRK #$61
C0/93B5:	8061    	BRA $9418
C0/93B7:	0002    	BRK #$02
C0/93B9:	0062    	BRK #$62
C0/93BB:	8062    	BRA $941F
C0/93BD:	0062    	BRK #$62
C0/93BF:	8062    	BRA $9423
C0/93C1:	0002    	BRK #$02
C0/93C3:	0063    	BRK #$63
C0/93C5:	8063    	BRA $942A
C0/93C7:	0063    	BRK #$63
C0/93C9:	8063    	BRA $942E
C0/93CB:	0002    	BRK #$02
C0/93CD:	0064    	BRK #$64
C0/93CF:	60      	RTS
C0/93D0:	6400    	STZ $00
C0/93D2:	6460    	STZ $60
C0/93D4:	6400    	STZ $00
C0/93D6:	0000    	BRK #$00
C0/93D8:	0000    	BRK #$00
C0/93DA:	0000    	BRK #$00
C0/93DC:	0000    	BRK #$00
C0/93DE:	0000    	BRK #$00
C0/93E0:	0100    	ORA ($00,X)
C0/93E2:	68      	PLA
C0/93E3:	8068    	BRA $944D
C0/93E5:	0069    	BRK #$69
C0/93E7:	8069    	BRA $9452
C0/93E9:	0001    	BRK #$01
C0/93EB:	006A    	BRK #$6A
C0/93ED:	806A    	BRA $9459
C0/93EF:	006B    	BRK #$6B
C0/93F1:	806B    	BRA $945E
C0/93F3:	0001    	BRK #$01
C0/93F5:	006C    	BRK #$6C
C0/93F7:	806C    	BRA $9465
C0/93F9:	006D    	BRK #$6D
C0/93FB:	806D    	BRA $946A
C0/93FD:	0001    	BRK #$01
C0/93FF:	006E    	BRK #$6E
C0/9401:	806E    	BRA $9471
C0/9403:	006F    	BRK #$6F
C0/9405:	806F    	BRA $9476
C0/9407:	0001    	BRK #$01
C0/9409:	000E    	BRK #$0E
C0/940B:	800E    	BRA $941B
C0/940D:	000F    	BRK #$0F
C0/940F:	800F    	BRA $9420
C0/9411:	0000    	BRK #$00
C0/9413:	0000    	BRK #$00
C0/9415:	0000    	BRK #$00
C0/9417:	0000    	BRK #$00
C0/9419:	0000    	BRK #$00
C0/941B:	0000    	BRK #$00
C0/941D:	0000    	BRK #$00
C0/941F:	0000    	BRK #$00
C0/9421:	0000    	BRK #$00
C0/9423:	0000    	BRK #$00
C0/9425:	0000    	BRK #$00
C0/9427:	0000    	BRK #$00
C0/9429:	0000    	BRK #$00
C0/942B:	0000    	BRK #$00
C0/942D:	0000    	BRK #$00
C0/942F:	0100    	ORA ($00,X)
C0/9431:	0038    	BRK #$38
C0/9433:	0038    	BRK #$38
C0/9435:	0038    	BRK #$38
C0/9437:	0038    	BRK #$38
C0/9439:	0100    	ORA ($00,X)
C0/943B:	8038    	BRA $9475
C0/943D:	8038    	BRA $9477
C0/943F:	8038    	BRA $9479
C0/9441:	8038    	BRA $947B
C0/9443:	0002    	BRK #$02
C0/9445:	0056    	BRK #$56
C0/9447:	8056    	BRA $949F
C0/9449:	0056    	BRK #$56
C0/944B:	8056    	BRA $94A3
C0/944D:	0002    	BRK #$02
C0/944F:	0057    	BRK #$57
C0/9451:	8057    	BRA $94AA
C0/9453:	0057    	BRK #$57
C0/9455:	8057    	BRA $94AE
C0/9457:	0002    	BRK #$02
C0/9459:	0058    	BRK #$58
C0/945B:	8058    	BRA $94B5
C0/945D:	0058    	BRK #$58
C0/945F:	8058    	BRA $94B9
C0/9461:	0002    	BRK #$02
C0/9463:	0059    	BRK #$59
C0/9465:	8059    	BRA $94C0
C0/9467:	0059    	BRK #$59
C0/9469:	8059    	BRA $94C4
C0/946B:	0002    	BRK #$02
C0/946D:	005A    	BRK #$5A
C0/946F:	805A    	BRA $94CB
C0/9471:	005A    	BRK #$5A
C0/9473:	805A    	BRA $94CF
C0/9475:	0002    	BRK #$02
C0/9477:	005B    	BRK #$5B
C0/9479:	805B    	BRA $94D6
C0/947B:	005B    	BRK #$5B
C0/947D:	805B    	BRA $94DA
C0/947F:	0002    	BRK #$02
C0/9481:	005C    	BRK #$5C
C0/9483:	805C    	BRA $94E1
C0/9485:	005C    	BRK #$5C
C0/9487:	805C    	BRA $94E5
C0/9489:	0002    	BRK #$02
C0/948B:	005D    	BRK #$5D
C0/948D:	805D    	BRA $94EC
C0/948F:	005D    	BRK #$5D
C0/9491:	805D    	BRA $94F0
C0/9493:	0001    	BRK #$01
C0/9495:	004E    	BRK #$4E
C0/9497:	804E    	BRA $94E7
C0/9499:	004F    	BRK #$4F
C0/949B:	804F    	BRA $94EC
C0/949D:	0001    	BRK #$01
C0/949F:	0050    	BRK #$50
C0/94A1:	8050    	BRA $94F3
C0/94A3:	0051    	BRK #$51
C0/94A5:	8051    	BRA $94F8
C0/94A7:	0001    	BRK #$01
C0/94A9:	0052    	BRK #$52
C0/94AB:	8052    	BRA $94FF
C0/94AD:	0053    	BRK #$53
C0/94AF:	8053    	BRA $9504
C0/94B1:	0001    	BRK #$01
C0/94B3:	0054    	BRK #$54
C0/94B5:	8054    	BRA $950B
C0/94B7:	0055    	BRK #$55
C0/94B9:	8055    	BRA $9510
C0/94BB:	0001    	BRK #$01
C0/94BD:	C03800  	CPY #$0038
C0/94C0:	394039  	AND $3940,Y
C0/94C3:	8039    	BRA $94FE
C0/94C5:	0000    	BRK #$00
C0/94C7:	0000    	BRK #$00
C0/94C9:	0000    	BRK #$00
C0/94CB:	0000    	BRK #$00
C0/94CD:	0000    	BRK #$00
C0/94CF:	0000    	BRK #$00
C0/94D1:	0000    	BRK #$00
C0/94D3:	0000    	BRK #$00
C0/94D5:	0000    	BRK #$00
C0/94D7:	0000    	BRK #$00
C0/94D9:	0000    	BRK #$00
C0/94DB:	0000    	BRK #$00
C0/94DD:	0000    	BRK #$00
C0/94DF:	0000    	BRK #$00
C0/94E1:	0000    	BRK #$00
C0/94E3:	0002    	BRK #$02
C0/94E5:	0046    	BRK #$46
C0/94E7:	8046    	BRA $952F
C0/94E9:	0047    	BRK #$47
C0/94EB:	8047    	BRA $9534
C0/94ED:	0002    	BRK #$02
C0/94EF:	0048    	BRK #$48
C0/94F1:	8048    	BRA $953B
C0/94F3:	0049    	BRK #$49
C0/94F5:	8049    	BRA $9540
C0/94F7:	0002    	BRK #$02
C0/94F9:	004A    	BRK #$4A
C0/94FB:	804A    	BRA $9547
C0/94FD:	004B    	BRK #$4B
C0/94FF:	804B    	BRA $954C
C0/9501:	0000    	BRK #$00
C0/9503:	0000    	BRK #$00
C0/9505:	0000    	BRK #$00
C0/9507:	0000    	BRK #$00
C0/9509:	0000    	BRK #$00
C0/950B:	0000    	BRK #$00
C0/950D:	0000    	BRK #$00
C0/950F:	0000    	BRK #$00
C0/9511:	0000    	BRK #$00
C0/9513:	0000    	BRK #$00
C0/9515:	0000    	BRK #$00
C0/9517:	0000    	BRK #$00
C0/9519:	0000    	BRK #$00
C0/951B:	0000    	BRK #$00
C0/951D:	0000    	BRK #$00
C0/951F:	0000    	BRK #$00
C0/9521:	0000    	BRK #$00
C0/9523:	0000    	BRK #$00
C0/9525:	0000    	BRK #$00
C0/9527:	0000    	BRK #$00
C0/9529:	0000    	BRK #$00
C0/952B:	0000    	BRK #$00
C0/952D:	0000    	BRK #$00
C0/952F:	0000    	BRK #$00
C0/9531:	0000    	BRK #$00
C0/9533:	0004    	BRK #$04
C0/9535:	003A    	BRK #$3A
C0/9537:	003A    	BRK #$3A
C0/9539:	003A    	BRK #$3A
C0/953B:	003A    	BRK #$3A
C0/953D:	0004    	BRK #$04
C0/953F:	803A    	BRA $957B
C0/9541:	803A    	BRA $957D
C0/9543:	803A    	BRA $957F
C0/9545:	803A    	BRA $9581
C0/9547:	0004    	BRK #$04
C0/9549:	003B    	BRK #$3B
C0/954B:	003B    	BRK #$3B
C0/954D:	003B    	BRK #$3B
C0/954F:	003B    	BRK #$3B
C0/9551:	0000    	BRK #$00
C0/9553:	0000    	BRK #$00
C0/9555:	0000    	BRK #$00
C0/9557:	0000    	BRK #$00
C0/9559:	0000    	BRK #$00
C0/955B:	8000    	BRA $955D
C0/955D:	003C    	BRK #$3C
C0/955F:	803C    	BRA $959D
C0/9561:	003D    	BRK #$3D
C0/9563:	803D    	BRA $95A2
C0/9565:	0001    	BRK #$01
C0/9567:	0000    	BRK #$00
C0/9569:	8000    	BRA $956B
C0/956B:	0001    	BRK #$01
C0/956D:	8001    	BRA $9570
C0/956F:	0002    	BRK #$02
C0/9571:	0066    	BRK #$66
C0/9573:	8066    	BRA $95DB
C0/9575:	0066    	BRK #$66
C0/9577:	8066    	BRA $95DF
C0/9579:	0002    	BRK #$02
C0/957B:	0067    	BRK #$67
C0/957D:	8067    	BRA $95E6
C0/957F:	0067    	BRK #$67
C0/9581:	8067    	BRA $95EA
C0/9583:	0004    	BRK #$04
C0/9585:	003E    	BRK #$3E
C0/9587:	003E    	BRK #$3E
C0/9589:	003E    	BRK #$3E
C0/958B:	003E    	BRK #$3E
C0/958D:	0004    	BRK #$04
C0/958F:	803E    	BRA $95CF
C0/9591:	803E    	BRA $95D1
C0/9593:	803E    	BRA $95D3
C0/9595:	803E    	BRA $95D5
C0/9597:	0004    	BRK #$04
C0/9599:	003F    	BRK #$3F
C0/959B:	003F    	BRK #$3F
C0/959D:	003F    	BRK #$3F
C0/959F:	003F    	BRK #$3F
C0/95A1:	0004    	BRK #$04
C0/95A3:	803F    	BRA $95E4
C0/95A5:	803F    	BRA $95E6
C0/95A7:	803F    	BRA $95E8
C0/95A9:	803F    	BRA $95EA
C0/95AB:	0004    	BRK #$04
C0/95AD:	0040    	BRK #$40
C0/95AF:	0040    	BRK #$40
C0/95B1:	0040    	BRK #$40
C0/95B3:	0040    	BRK #$40
C0/95B5:	0004    	BRK #$04
C0/95B7:	8040    	BRA $95F9
C0/95B9:	8040    	BRA $95FB
C0/95BB:	8040    	BRA $95FD
C0/95BD:	8040    	BRA $95FF
C0/95BF:	0004    	BRK #$04
C0/95C1:	0041    	BRK #$41
C0/95C3:	0041    	BRK #$41
C0/95C5:	0041    	BRK #$41
C0/95C7:	0041    	BRK #$41
C0/95C9:	0004    	BRK #$04
C0/95CB:	8041    	BRA $960E
C0/95CD:	8041    	BRA $9610
C0/95CF:	8041    	BRA $9612
C0/95D1:	8041    	BRA $9614
C0/95D3:	0004    	BRK #$04
C0/95D5:	0042    	BRK #$42
C0/95D7:	0042    	BRK #$42
C0/95D9:	0042    	BRK #$42
C0/95DB:	0042    	BRK #$42
C0/95DD:	0004    	BRK #$04
C0/95DF:	8042    	BRA $9623
C0/95E1:	8042    	BRA $9625
C0/95E3:	8042    	BRA $9627
C0/95E5:	8042    	BRA $9629
C0/95E7:	0004    	BRK #$04
C0/95E9:	0043    	BRK #$43
C0/95EB:	0043    	BRK #$43
C0/95ED:	0043    	BRK #$43
C0/95EF:	0043    	BRK #$43
C0/95F1:	0004    	BRK #$04
C0/95F3:	8043    	BRA $9638
C0/95F5:	8043    	BRA $963A
C0/95F7:	8043    	BRA $963C
C0/95F9:	8043    	BRA $963E
C0/95FB:	0004    	BRK #$04
C0/95FD:	0044    	BRK #$44
C0/95FF:	0044    	BRK #$44
C0/9601:	0044    	BRK #$44
C0/9603:	0044    	BRK #$44
C0/9605:	0004    	BRK #$04
C0/9607:	8044    	BRA $964D
C0/9609:	8044    	BRA $964F
C0/960B:	8044    	BRA $9651
C0/960D:	8044    	BRA $9653
C0/960F:	0004    	BRK #$04
C0/9611:	0045    	BRK #$45
C0/9613:	0045    	BRK #$45
C0/9615:	0045    	BRK #$45
C0/9617:	0045    	BRK #$45
C0/9619:	0004    	BRK #$04
C0/961B:	8045    	BRA $9662
C0/961D:	8045    	BRA $9664
C0/961F:	8045    	BRA $9666
C0/9621:	8045    	BRA $9668
C0/9623:	0001    	BRK #$01
C0/9625:	0012    	BRK #$12
C0/9627:	8012    	BRA $963B
C0/9629:	0013    	BRK #$13
C0/962B:	8013    	BRA $9640
C0/962D:	0001    	BRK #$01
C0/962F:	0014    	BRK #$14
C0/9631:	8014    	BRA $9647
C0/9633:	0015    	BRK #$15
C0/9635:	8015    	BRA $964C
C0/9637:	8000    	BRA $9639
C0/9639:	8079    	BRA $96B4
C0/963B:	0079    	BRK #$79
C0/963D:	8078    	BRA $96B7
C0/963F:	0078    	BRK #$78
C0/9641:	8000    	BRA $9643
C0/9643:	007A    	BRK #$7A
C0/9645:	807A    	BRA $96C1
C0/9647:	007B    	BRK #$7B
C0/9649:	807B    	BRA $96C6
C0/964B:	0001    	BRK #$01
C0/964D:	0016    	BRK #$16
C0/964F:	8016    	BRA $9667
C0/9651:	0017    	BRK #$17
C0/9653:	8017    	BRA $966C
C0/9655:	0001    	BRK #$01
C0/9657:	0018    	BRK #$18
C0/9659:	40      	RTI
C0/965A:	18      	CLC
C0/965B:	8018    	BRA $9675
C0/965D:	C01800  	CPY #$0018
C0/9660:	0140    	ORA ($40,X)
C0/9662:	1A      	INC A
C0/9663:	801A    	BRA $967F
C0/9665:	40      	RTI
C0/9666:	1A      	INC A
C0/9667:	801A    	BRA $9683
C0/9669:	8000    	BRA $966B
C0/966B:	007C    	BRK #$7C
C0/966D:	207C40  	JSR $407C
C0/9670:	7C607C  	JMP ($7C60,X)
C0/9673:	0004    	BRK #$04
C0/9675:	0019    	BRK #$19
C0/9677:	0019    	BRK #$19
C0/9679:	0019    	BRK #$19
C0/967B:	0019    	BRK #$19
C0/967D:	0004    	BRK #$04
C0/967F:	8019    	BRA $969A
C0/9681:	8019    	BRA $969C
C0/9683:	8019    	BRA $969E
C0/9685:	8019    	BRA $96A0
C0/9687:	0004    	BRK #$04
C0/9689:	001A    	BRK #$1A
C0/968B:	001A    	BRK #$1A
C0/968D:	001A    	BRK #$1A
C0/968F:	001A    	BRK #$1A
C0/9691:	8000    	BRA $9693
C0/9693:	0070    	BRK #$70
C0/9695:	8070    	BRA $9707
C0/9697:	0070    	BRK #$70
C0/9699:	8070    	BRA $970B
C0/969B:	8000    	BRA $969D
C0/969D:	0071    	BRK #$71
C0/969F:	8071    	BRA $9712
C0/96A1:	0071    	BRK #$71
C0/96A3:	8071    	BRA $9716
C0/96A5:	8000    	BRA $96A7
C0/96A7:	0072    	BRK #$72
C0/96A9:	8072    	BRA $971D
C0/96AB:	0072    	BRK #$72
C0/96AD:	8072    	BRA $9721
C0/96AF:	8000    	BRA $96B1
C0/96B1:	0073    	BRK #$73
C0/96B3:	8073    	BRA $9728
C0/96B5:	0073    	BRK #$73
C0/96B7:	8073    	BRA $972C
C0/96B9:	8000    	BRA $96BB
C0/96BB:	807C    	BRA $9739
C0/96BD:	E07C80  	CPX #$807C
C0/96C0:	7CE07C  	JMP ($7CE0,X)
C0/96C3:	0000    	BRK #$00
C0/96C5:	0000    	BRK #$00
C0/96C7:	0000    	BRK #$00
C0/96C9:	0000    	BRK #$00
C0/96CB:	0000    	BRK #$00
C0/96CD:	0000    	BRK #$00
C0/96CF:	0000    	BRK #$00
C0/96D1:	0000    	BRK #$00
C0/96D3:	0000    	BRK #$00
C0/96D5:	0000    	BRK #$00
C0/96D7:	0000    	BRK #$00
C0/96D9:	0000    	BRK #$00
C0/96DB:	0000    	BRK #$00
C0/96DD:	0000    	BRK #$00
C0/96DF:	0000    	BRK #$00
C0/96E1:	0004    	BRK #$04
C0/96E3:	0074    	BRK #$74
C0/96E5:	0074    	BRK #$74
C0/96E7:	0074    	BRK #$74
C0/96E9:	0074    	BRK #$74
C0/96EB:	0004    	BRK #$04
C0/96ED:	8074    	BRA $9763
C0/96EF:	8074    	BRA $9765
C0/96F1:	8074    	BRA $9767
C0/96F3:	8074    	BRA $9769
C0/96F5:	0004    	BRK #$04
C0/96F7:	0075    	BRK #$75
C0/96F9:	0075    	BRK #$75
C0/96FB:	0075    	BRK #$75
C0/96FD:	0075    	BRK #$75
C0/96FF:	0004    	BRK #$04
C0/9701:	8075    	BRA $9778
C0/9703:	8075    	BRA $977A
C0/9705:	8075    	BRA $977C
C0/9707:	8075    	BRA $977E
C0/9709:	0004    	BRK #$04
C0/970B:	0076    	BRK #$76
C0/970D:	0076    	BRK #$76
C0/970F:	0076    	BRK #$76
C0/9711:	0076    	BRK #$76
C0/9713:	0004    	BRK #$04
C0/9715:	8076    	BRA $978D
C0/9717:	8076    	BRA $978F
C0/9719:	8076    	BRA $9791
C0/971B:	8076    	BRA $9793
C0/971D:	0004    	BRK #$04
C0/971F:	0077    	BRK #$77
C0/9721:	0077    	BRK #$77
C0/9723:	0077    	BRK #$77
C0/9725:	0077    	BRK #$77
C0/9727:	0004    	BRK #$04
C0/9729:	8077    	BRA $97A2
C0/972B:	8077    	BRA $97A4
C0/972D:	8077    	BRA $97A6
C0/972F:	8077    	BRA $97A8
C0/9731:	0004    	BRK #$04
C0/9733:	C064C0  	CPY #$C064
C0/9736:	64C0    	STZ $C0
C0/9738:	64C0    	STZ $C0
C0/973A:	6400    	STZ $00
C0/973C:	0440    	TSB $40
C0/973E:	6540    	ADC $40
C0/9740:	6540    	ADC $40
C0/9742:	6540    	ADC $40
C0/9744:	6500    	ADC $00
C0/9746:	04C0    	TSB $C0
C0/9748:	65C0    	ADC $C0
C0/974A:	65C0    	ADC $C0
C0/974C:	65C0    	ADC $C0
C0/974E:	6580    	ADC $80
C0/9750:	0000    	BRK #$00
C0/9752:	7E807E  	ROR $7E80,X
C0/9755:	007F    	BRK #$7F
C0/9757:	807F    	BRA $97D8
C0/9759:	8000    	BRA $975B
C0/975B:	004C    	BRK #$4C
C0/975D:	804C    	BRA $97AB
C0/975F:	004D    	BRK #$4D
C0/9761:	804D    	BRA $97B0
C0/9763:	8000    	BRA $9765
C0/9765:	807F    	BRA $97E6
C0/9767:	007F    	BRK #$7F
C0/9769:	807E    	BRA $97E9
C0/976B:	007E    	BRK #$7E
C0/976D:	8000    	BRA $976F
C0/976F:	804D    	BRA $97BE
C0/9771:	004D    	BRK #$4D
C0/9773:	804C    	BRA $97C1
C0/9775:	004C    	BRK #$4C
C0/9777:	0000    	BRK #$00
C0/9779:	0000    	BRK #$00
C0/977B:	0000    	BRK #$00
C0/977D:	0000    	BRK #$00
C0/977F:	0000    	BRK #$00
C0/9781:	0000    	BRK #$00
C0/9783:	0000    	BRK #$00
C0/9785:	0000    	BRK #$00
C0/9787:	0000    	BRK #$00
C0/9789:	0000    	BRK #$00
C0/978B:	0000    	BRK #$00
C0/978D:	0000    	BRK #$00
C0/978F:	0000    	BRK #$00
C0/9791:	0000    	BRK #$00
C0/9793:	0000    	BRK #$00
C0/9795:	0000    	BRK #$00
C0/9797:	0000    	BRK #$00
C0/9799:	0000    	BRK #$00
C0/979B:	0000    	BRK #$00
C0/979D:	0000    	BRK #$00
C0/979F:	0000 
C0/97A1:	1400    	
C0/97A3:	2800    
C0/97A5:	3C00   
C0/97A7:	5000  
C0/97A9:	6400    	
C0/97AB:	7800  
C0/97AD:	0001 8003 0000 8003 0007 800A 0000 8003 0007 800A 
C0/97C1:	0001 8001 0000 8001 0003 8004 0000 8001 0003 8004 
C0/97D5:	0001 C000 0000 C000 8001 4002 0003 C003 8004 4005 
C0/97E9:	0002 8002 0000 8002 0000 8002 0000 8002 0000 8002 
C0/97FD:	4000 8001 0000 8001 0003 8004 0006 8007 0009 800A
C0/9811:	8000 C003 0000 C003 8007 400B 0000 C003 8007 400B
C0/9825:	1104 8804 0000 1104 1204 0000 1108 C20E 0000 8000 
C0/9839:	0000    	BRK #$00
C0/983B:	0000    	BRK #$00
C0/983D:	1108    	ORA ($08),Y
C0/983F:	7A      	PLY
C0/9840:	0400    	TSB $00
C0/9842:	0080    	BRK #$80
C0/9844:	0000    	BRK #$00
C0/9846:	0000    	BRK #$00
C0/9848:	0028    	BRK #$28
C0/984A:	10C0    	BPL $980C
C0/984C:	1E0000  	ASL $0000,X
C0/984F:	8000    	BRA $9851
C0/9851:	0000    	BRK #$00
C0/9853:	0000    	BRK #$00
C0/9855:	8000    	BRA $9857
C0/9857:	0000    	BRK #$00
C0/9859:	0000    	BRK #$00
C0/985B:	8000    	BRA $985D
C0/985D:	0000    	BRK #$00
C0/985F:	0000    	BRK #$00
C0/9861:	2418    	BIT $18
C0/9863:	A01E00  	LDY #$001E
C0/9866:	0124    	ORA ($24,X)
C0/9868:	18      	CLC
C0/9869:	E00E80  	CPX #$800E
C0/986C:	0111    	ORA ($11,X)
C0/986E:	08      	PHP 
C0/986F:	1204    	ORA ($04)
C0/9871:	0000    	BRK #$00
C0/9873:	8000    	BRA $9875
C0/9875:	0000    	BRK #$00
C0/9877:	0000    	BRK #$00
C0/9879:	3F04BA00	AND $00BA04,X
C0/987D:	0000    	BRK #$00
C0/987F:	8000    	BRA $9881
C0/9881:	0000    	BRK #$00
C0/9883:	0000    	BRK #$00
C0/9885:	3F10A210	AND $10A210,X
C0/9889:	0000    	BRK #$00
C0/988B:	3F082200	AND $002208,X
C0/988F:	0000    	BRK #$00
C0/9891:	3F103E00	AND $003E10,X
C0/9895:	0000    	BRK #$00
C0/9897:	8000    	BRA $9899
C0/9899:	0000    	BRK #$00
C0/989B:	0000    	BRK #$00

C0/989D unknow

C0/989D:	A600    	LDX $00	  (from C0/BE7F)
C0/989F:	86E3    	STX $E3
C0/98A1:	86E8    	STX $E8
C0/98A3:	A20000  	LDX #$0000
C0/98A6:	86E5    	STX $E5
C0/98A8:	A9CA    	LDA #$CA
C0/98AA:	85E7    	STA $E7
C0/98AC:	A20000  	LDX #$0000
C0/98AF:	8E9405  	STX $0594
C0/98B2:	A9CA    	LDA #$CA
C0/98B4:	8D9605  	STA $0596
C0/98B7:	A901    	LDA #$01
C0/98B9:	8FC40500	STA $0005C4
C0/98BD:	A980    	LDA #$80
C0/98BF:	85E2    	STA $E2
C0/98C1:	64E1    	STZ $E1
C0/98C3:	60      	RTS

C0/98C4 script events (#$35 to #$FF)

C0/98C4:	449C    	(gen. act. 35)
C0/98C6:	6F9C    	(gen. act. 36)
C0/98C8:	8F9C    	(gen. act. 37)
C0/98CA:	0E9D    	(gen. act. 38)
C0/98CC:	169D    	(gen. act. 39)
C0/98CE:	1E9D    	(gen. act. 3A)
C0/98D0:	2E9D    	(gen. act. 3B)
C0/98D2:	6D9D    	(gen. act. 3C)
C0/98D4:	3C9E    	(gen. act. 3D)
C0/98D6:	679E    	(gen. act. 3E)
C0/98D8:	3B9D    	(gen. act. 3F)
C0/98DA:	7CA0    	(gen. act. 40)
C0/98DC:	FAA2    	(gen. act. 41)
C0/98DE:	36A3    	(gen. act. 42)
C0/98E0:	A99C    	(gen. act. 43)
C0/98E2:	CA9C    	(gen. act. 44)
C0/98E4:	E29C    	(gen. act. 45)
C0/98E6:	EA9C    	(gen. act. 46)
C0/98E8:	039D    	(gen. act. 47)
C0/98EA:	75A4    	(gen. act. 48)
C0/98EC:	A6A4    	(gen. act. 49)
C0/98EE:	B0A4    	(gen. act. 4A)
C0/98F0:	BCA4    	(gen. act. 4B)
C0/98F2:	91A5    	(gen. act. 4C)
C0/98F4:	78A5    	(gen. act. 4D)
C0/98F6:	F9A4    	(gen. act. 4E)
C0/98F8:	F3A5    	(gen. act. 4F)
C0/98FA:	FDA5    	(gen. act. 50)
C0/98FC:	40A6    	(gen. act. 51)
C0/98FE:	86A6    	(gen. act. 52)
C0/9900:	C5A6    	(gen. act. 53)
C0/9902:	84A7    	(gen. act. 54)
C0/9904:	95A7    	(gen. act. 55)
C0/9906:	BAA7    	(gen. act. 56)
C0/9908:	D0A7    	(gen. act. 57)
C0/990A:	E6A7    	(gen. act. 58)
C0/990C:	0AA8    	(gen. act. 59)
C0/990E:	17A8    	(gen. act. 5A)
C0/9910:	26A8    	(gen. act. 5B)
C0/9912:	2DA8    	(gen. act. 5C)
C0/9914:	38A8    	(gen. act. 5D)
C0/9916:	CEA8    	(gen. act. 5E)
C0/9918:	64A9    	(gen. act. 5F)
C0/991A:	FAA9    	(gen. act. 60)
C0/991C:	3DAA    	(gen. act. 61)
C0/991E:	CBAA    	(gen. act. 62)
C0/9920:	DBAA    	(gen. act. 63)
C0/9922:	E9AA    	(gen. act. 64)
C0/9924:	09AB    	(gen. act. 65)
C0/9926:	1AB9    	(gen. act. 66)
C0/9928:	1AB9    	(gen. act. 67)
C0/992A:	1AB9    	(gen. act. 68)
C0/992C:	1AB9    	(gen. act. 69)
C0/992E:	47AB    	(gen. act. 6A)
C0/9930:	55AB    	(gen. act. 6B)
C0/9932:	0BAC    	(gen. act. 6C)
C0/9934:	1AB9    	(gen. act. 6D)
C0/9936:	1AB9    	(gen. act. 6E)
C0/9938:	1AB9    	(gen. act. 6F)
C0/993A:	81A8    	(gen. act. 70)
C0/993C:	17A9    	(gen. act. 71)
C0/993E:	ADA9    	(gen. act. 72)
C0/9940:	45AC    	(gen. act. 73)
C0/9942:	62AC    	(gen. act. 74)
C0/9944:	1FAC    	(gen. act. 75)
C0/9946:	1AB9    	(gen. act. 76)
C0/9948:	329F    	(gen. act. 77)
C0/994A:	7F9C    	(gen. act. 78)
C0/994C:	6AA3    	(gen. act. 79)
C0/994E:	2AA4    	(gen. act. 7A)
C0/9950:	41A4    	(gen. act. 7B)
C0/9952:	55A4    	(gen. act. 7C)
C0/9954:	65A4    	(gen. act. 7D)
C0/9956:	9AA3    	(gen. act. 7E)
C0/9958:	3AA0    	(gen. act. 7F)
C0/995A:	F0AC    	(gen. act. 80)
C0/995C:	2DAD    	(gen. act. 81)
C0/995E:	70A5    	(gen. act. 82)
C0/9960:	1AB9    	(gen. act. 83)
C0/9962:	50AD    	(gen. act. 84)
C0/9964:	7FAD    	(gen. act. 85)
C0/9966:	B8AD    	(gen. act. 86)
C0/9968:	D7AD    	(gen. act. 87)
C0/996A:	2DAE    	(gen. act. 88)
C0/996C:	47AE    	(gen. act. 89)
C0/996E:	61AE    	(gen. act. 8A)
C0/9970:	7BAE    	(gen. act. 8B)
C0/9972:	3EAF    	(gen. act. 8C)
C0/9974:	CE9F    	(gen. act. 8D)
C0/9976:	4EA5    	(gen. act. 8E)
C0/9978:	F8AF    	(gen. act. 8F)
C0/997A:	02B0    	(gen. act. 90)
C0/997C:	3FB2    	(gen. act. 91)
C0/997E:	49B2    	(gen. act. 92)
C0/9980:	53B2    	(gen. act. 93)
C0/9982:	5DB2    	(gen. act. 94)
C0/9984:	67B2    	(gen. act. 95)
C0/9986:	F0A7    	(gen. act. 96)
C0/9988:	FDA7    	(gen. act. 97)
C0/998A:	0FB0    	(gen. act. 98)
C0/998C:	35B0    	(gen. act. 99) (Invoke party selection screen (X groups)
C0/998E:	B2B0    	(gen. act. 9A) (Invoke Colliseum item selection)
C0/9990:	6DB0    	(gen. act. 9B) (Invoke shop XX)
C0/9992:	8CB0    	(gen. act. 9C) (Optimum equip character XX)
C0/9994:	9CB0    	(gen. act. 9D) (Invoke party selection for final battle)
C0/9996:	1AB9    	(gen. act. 9E)
C0/9998:	1AB9    	(gen. act. 9F)
C0/999A:	E0B0    	(gen. act. A0)
C0/999C:	0EB1    	(gen. act. A1)
C0/999E:	30B1    	(gen. act. A2)
C0/99A0:	1AB9    	(gen. act. A3)
C0/99A2:	1AB9    	(gen. act. A4)
C0/99A4:	1AB9    	(gen. act. A5)
C0/99A6:	09BA    	(gen. act. A6)
C0/99A8:	14BA    	(gen. act. A7)
C0/99AA:	51BA    	(gen. act. A8)
C0/99AC:	66B9    	(gen. act. A9)
C0/99AE:	92B9    	(gen. act. AA)
C0/99B0:	1BB9    	(gen. act. AB)
C0/99B2:	5EB9    	(gen. act. AC)
C0/99B4:	69BA    	(gen. act. AD)
C0/99B6:	C5B9    	(gen. act. AE)
C0/99B8:	03A5    	(gen. act. AF)
C0/99BA:	38B1    	(gen. act. B0)
C0/99BC:	45B1    	(gen. act. B1)
C0/99BE:	A1B1    	(gen. act. B2)
C0/99C0:	DFB1    	(gen. act. B3)
C0/99C2:	1DB2    	(gen. act. B4)
C0/99C4:	27B2    	(gen. act. B5)
C0/99C6:	D3B6    	(gen. act. B6)
C0/99C8:	99B2    	(gen. act. B7)
C0/99CA:	ABB6    	(gen. act. B8)
C0/99CC:	BFB6    	(gen. act. B9)
C0/99CE:	31BA    	(gen. act. BA)
C0/99D0:	BEB9    	(gen. act. BB)
C0/99D2:	6FB1    	(gen. act. BC)
C0/99D4:	71B2    	(gen. act. BD)
C0/99D6:	F7B6    	(gen. act. BE)
C0/99D8:	E7B9    	(gen. act. BF)
C0/99DA:	C8B2    	(gen. act. C0)
C0/99DC:	C8B2    	(gen. act. C1)
C0/99DE:	C8B2    	(gen. act. C2)
C0/99E0:	C8B2    	(gen. act. C3)
C0/99E2:	C8B2    	(gen. act. C4)
C0/99E4:	C8B2    	(gen. act. C5)
C0/99E6:	C8B2    	(gen. act. C6)
C0/99E8:	C8B2    	(gen. act. C7)
C0/99EA:	2DB3    	(gen. act. C8)
C0/99EC:	2DB3    	(gen. act. C9)
C0/99EE:	2DB3    	(gen. act. CA)
C0/99F0:	2DB3    	(gen. act. CB)
C0/99F2:	2DB3    	(gen. act. CC)
C0/99F4:	2DB3    	(gen. act. CD)
C0/99F6:	2DB3    	(gen. act. CE)
C0/99F8:	2DB3    	(gen. act. CF)
C0/99FA:	93B5    	(gen. act. D0)
C0/99FC:	CFB5    	(gen. act. D1)
C0/99FE:	A7B5    	(gen. act. D2)
C0/9A00:	E3B5    	(gen. act. D3)
C0/9A02:	BBB5    	(gen. act. D4)
C0/9A04:	F7B5    	(gen. act. D5)
C0/9A06:	0BB6    	(gen. act. D6)
C0/9A08:	5BB6    	(gen. act. D7)
C0/9A0A:	1FB6    	(gen. act. D8)
C0/9A0C:	6FB6    	(gen. act. D9)
C0/9A0E:	33B6    	(gen. act. DA)
C0/9A10:	83B6    	(gen. act. DB)
C0/9A12:	47B6    	(gen. act. DC)
C0/9A14:	97B6    	(gen. act. DD)
C0/9A16:	0BB4    	(gen. act. DE)
C0/9A18:	65B4    	(gen. act. DF)
C0/9A1A:	13B5    	(gen. act. E0)
C0/9A1C:	1EB5    	(gen. act. E1)
C0/9A1E:	B9B4    	(gen. act. E2)
C0/9A20:	B7B3    	(gen. act. E3)
C0/9A22:	9EB3    	(gen. act. E4)
C0/9A24:	1AB9    	(gen. act. E5)
C0/9A26:	1AB9    	(gen. act. E6)
C0/9A28:	94B3    	(gen. act. E7)
C0/9A2A:	29B5    	(gen. act. E8)
C0/9A2C:	3CB5    	(gen. act. E9)
C0/9A2E:	56B5    	(gen. act. EA)
C0/9A30:	71B5    	(gen. act. EB)
C0/9A32:	1AB9    	(gen. act. EC)
C0/9A34:	1AB9    	(gen. act. ED)
C0/9A36:	1AB9    	(gen. act. EE)
C0/9A38:	AAB7    	(gen. act. EF) (Play song $EB at volume $EC)
C0/9A3A:	80B7    	(gen. act. F0) (Play song $EB)
C0/9A3C:	D4B7    	(gen. act. F1) (Fade in song $EB at speed $EC)
C0/9A3E:	11B8    	(gen. act. F2) (Fade out song at speed $EB)
C0/9A40:	27B8    	(gen. act. F3) (Continue song previously paused)
C0/9A42:	54B8        	(gen. act. F4) (Play sound effect $EB)
C0/9A44:	5EB8    	(gen. act. F5)
C0/9A46:	89B8    	(gen. act. F6)
C0/9A48:	A1B8    	(gen. act. F7)
C0/9A4A:	AFB8    	(gen. act. F8)
C0/9A4C:	BAB8    	(gen. act. F9)
C0/9A4E:	C7B8    	(gen. act. FA) (Pause event queue until song playing finishes or fades out)
C0/9A50:	D2B8    	(gen. act. FB)
C0/9A52:	1AB9    	(gen. act. FC)
C0/9A54:	D2B8    	(gen. act. FD)
C0/9A56:	D7B8    	(gen. act. FE)
C0/9A58:	1AB9    	(gen. act. FF)

C0/9A5A unknow

C0/9A5A:	E647    	INC $47		(from C0/00DA,)
C0/9A5C:	A584    	LDA $84
C0/9A5E:	D00D    	BNE $9A6D
C0/9A60:	A558    	LDA $58
C0/9A62:	D006    	BNE $9A6A
C0/9A64:	A547    	LDA $47
C0/9A66:	2903    	AND #$03
C0/9A68:	D003    	BNE $9A6D
C0/9A6A:	204A71  	JSR $714A
C0/9A6D:	A6E3    	LDX $E3		(from C0/9A5E, C0/9A68)
C0/9A6F:	F004    	BEQ $9A75
C0/9A71:	CA      	DEX
C0/9A72:	86E3    	STX $E3
C0/9A74:	60      	RTS
C0/9A75:	AD9807  	LDA $0798		(from C0/9A6F)
C0/9A78:	F001    	BEQ $9A7B
C0/9A7A:	60      	RTS
C0/9A7B:	AD5A05  	LDA $055A		(from C0/9A78)
C0/9A7E:	F004    	BEQ $9A84
C0/9A80:	C905    	CMP #$05
C0/9A82:	D0F6    	BNE $9A7A		(returns from sub)
C0/9A84:	AD5B05  	LDA $055B		(from C0/9A7E)
C0/9A87:	F004    	BEQ $9A8D
C0/9A89:	C905    	CMP #$05
C0/9A8B:	D0ED    	BNE $9A7A		(returns from sub)
C0/9A8D:	AD5C05  	LDA $055C		(from C0/9A87)
C0/9A90:	F004    	BEQ $9A96
C0/9A92:	C905    	CMP #$05
C0/9A94:	D0E4    	BNE $9A7A		(returns from sub)
C0/9A96:	2081BA  	JSR $BA81
C0/9A99:	A5E1    	LDA $E1
C0/9A9B:	1021    	BPL $9ABE
C0/9A9D:	A5E2    	LDA $E2
C0/9A9F:	8D0242  	STA $4202
C0/9AA2:	A929    	LDA #$29
C0/9AA4:	8D0342  	STA $4203
C0/9AA7:	EA      	NOP
C0/9AA8:	EA      	NOP
C0/9AA9:	EA      	NOP
C0/9AAA:	EA      	NOP
C0/9AAB:	AC1642  	LDY $4216
C0/9AAE:	B97C08  	LDA $087C,Y
C0/9AB1:	290F    	AND #$0F
C0/9AB3:	F001    	BEQ $9AB6
C0/9AB5:	60      	RTS
C0/9AB6:	A5E1    	LDA $E1		(from C0/9AB3)
C0/9AB8:	297F    	AND #$7F
C0/9ABA:	85E1    	STA $E1        (LDA #$80 TRB $E1 would've worked here)
C0/9ABC:	805D    	BRA $9B1B
C0/9ABE:	A5E1    	LDA $E1		(from C0/9A9B)
C0/9AC0:	2940    	AND #$40
C0/9AC2:	F00C    	BEQ $9AD0
C0/9AC4:	A54A    	LDA $4A
C0/9AC6:	F001    	BEQ $9AC9
C0/9AC8:	60      	RTS
C0/9AC9:	A5E1    	LDA $E1		(from C0/9AC6)
C0/9ACB:	29BF    	AND #$BF
C0/9ACD:	85E1    	STA $E1        (LDA #$40 TRB $E1 would've worked here)
C0/9ACF:	60      	RTS

C0/9AD0 unknow

C0/9AD0:	A5E1    	LDA $E1		(from C0/9AC2)
C0/9AD2:	2920    	AND #$20
C0/9AD4:	F045    	BEQ $9B1B
C0/9AD6:	AD4105  	LDA $0541
C0/9AD9:	CD5705  	CMP $0557
C0/9ADC:	F00D    	BEQ $9AEB
C0/9ADE:	1A      	INC A
C0/9ADF:	CD5705  	CMP $0557
C0/9AE2:	F007    	BEQ $9AEB
C0/9AE4:	3A      	DEC A
C0/9AE5:	3A      	DEC A
C0/9AE6:	CD5705  	CMP $0557
C0/9AE9:	D015    	BNE $9B00
C0/9AEB:	AD4205  	LDA $0542
C0/9AEE:	CD5805  	CMP $0558
C0/9AF1:	F00E    	BEQ $9B01
C0/9AF3:	1A      	INC A
C0/9AF4:	CD5805  	CMP $0558
C0/9AF7:	F008    	BEQ $9B01
C0/9AF9:	3A      	DEC A
C0/9AFA:	3A      	DEC A
C0/9AFB:	CD5805  	CMP $0558
C0/9AFE:	F001    	BEQ $9B01
C0/9B00:	60      	RTS

C0/9B01 unknow

C0/9B01:	A5E1    	LDA $E1		(from C0/9AF1, C0/9AF7, C0/9AFE)
C0/9B03:	29DF    	AND #$DF
C0/9B05:	85E1    	STA $E1
C0/9B07:	A600    	LDX $00
C0/9B09:	8E4705  	STX $0547
C0/9B0C:	8E4905  	STX $0549
C0/9B0F:	8E4B05  	STX $054B
C0/9B12:	8E4D05  	STX $054D
C0/9B15:	8E4F05  	STX $054F
C0/9B18:	8E5105  	STX $0551
C0/9B1B:	A00500  	LDY #$0005
C0/9B1E:	B7E5    	LDA [$E5],Y
C0/9B20:	85EF    	STA $EF
C0/9B22:	88      	DEY 
C0/9B23:	B7E5    	LDA [$E5],Y
C0/9B25:	85EE    	STA $EE
C0/9B27:	88      	DEY 
C0/9B28:	B7E5    	LDA [$E5],Y
C0/9B2A:	85ED    	STA $ED
C0/9B2C:	88      	DEY 
C0/9B2D:	B7E5    	LDA [$E5],Y
C0/9B2F:	85EC    	STA $EC
C0/9B31:	88      	DEY 
C0/9B32:	B7E5    	LDA [$E5],Y
C0/9B34:	85EB    	STA $EB
C0/9B36:	88      	DEY 
C0/9B37:	B7E5    	LDA [$E5],Y
C0/9B39:	85EA    	STA $EA
C0/9B3B:	C931    	CMP #$31
C0/9B3D:	B003    	BCS $9B42
C0/9B3F:	4CA59B  	JMP $9BA5
C0/9B42:	C935    	CMP #$35		(from C0/9B3D)
C0/9B44:	B003    	BCS $9B49
C0/9B46:	4C0B9C  	JMP $9C0B
C0/9B49:	38      	SEC 			(from C0/9B44)
C0/9B4A:	E935    	SBC #$35       (event commands start at #$35)
C0/9B4C:	C220    	REP #$20      	(16 bit accum./memory)
C0/9B4E:	0A      	ASL A
C0/9B4F:	AA      	TAX
C0/9B50:	BFC498C0	LDA $C098C4,X  (Loads pointer for general action X)
C0/9B54:	852A    	STA $2A		(Stores it in $2A)
C0/9B56:	7B      	TDC 
C0/9B57:	E220    	SEP #$20      	(8 bit accum./memory)
C0/9B59:	6C2A00  	JMP ($002A)    (after the TAX, TDC SEP #$20 JMP ($98C4,X) would've worked)

C0/9B5C advance event queue

C0/9B5C:	18      	CLC		(Called from various, below)
C0/9B5D:	65E5    	ADC $E5
C0/9B5F:	85E5    	STA $E5
C0/9B61:	A5E6    	LDA $E6
C0/9B63:	6900    	ADC #$00
C0/9B65:	85E6    	STA $E6
C0/9B67:	A5E7    	LDA $E7
C0/9B69:	6900    	ADC #$00
C0/9B6B:	85E7    	STA $E7
C0/9B6D:	4C6D9A  	JMP $9A6D

C0/9B70 advance event queue

C0/9B70:	18      	CLC		(Called from various, below)
C0/9B71:	65E5    	ADC $E5
C0/9B73:	85E5    	STA $E5
C0/9B75:	A5E6    	LDA $E6
C0/9B77:	6900    	ADC #$00
C0/9B79:	85E6    	STA $E6
C0/9B7B:	A5E7    	LDA $E7
C0/9B7D:	6900    	ADC #$00
C0/9B7F:	85E7    	STA $E7
C0/9B81:	60      	RTS

C0/9B82 unknow

C0/9B82:	A6E8    	LDX $E8
C0/9B84:	18      	CLC
C0/9B85:	65E5    	ADC $E5
C0/9B87:	85E5    	STA $E5
C0/9B89:	9DF405  	STA $05F4,X
C0/9B8C:	A5E6    	LDA $E6
C0/9B8E:	6900    	ADC #$00
C0/9B90:	85E6    	STA $E6
C0/9B92:	9DF505  	STA $05F5,X
C0/9B95:	A5E7    	LDA $E7
C0/9B97:	6900    	ADC #$00
C0/9B99:	85E7    	STA $E7
C0/9B9B:	9FF60500	STA $0005F6,X
C0/9B9F:	E8      	INX
C0/9BA0:	E8      	INX
C0/9BA1:	E8      	INX
C0/9BA2:	86E8    	STX $E8
C0/9BA4:	60      	RTS

C0/9BA5 unknow

C0/9BA5:	8D0242  	STA $4202
C0/9BA8:	A929    	LDA #$29
C0/9BAA:	8D0342  	STA $4203
C0/9BAD:	EA      	NOP
C0/9BAE:	EA      	NOP
C0/9BAF:	EA      	NOP
C0/9BB0:	EA      	NOP
C0/9BB1:	AC1642  	LDY $4216
C0/9BB4:	B97C08  	LDA $087C,Y
C0/9BB7:	29F0    	AND #$F0
C0/9BB9:	0901    	ORA #$01
C0/9BBB:	997C08  	STA $087C,Y
C0/9BBE:	7B      	TDC 
C0/9BBF:	998608  	STA $0886,Y
C0/9BC2:	A5E5    	LDA $E5
C0/9BC4:	18      	CLC
C0/9BC5:	6902    	ADC #$02
C0/9BC7:	998308  	STA $0883,Y
C0/9BCA:	A5E6    	LDA $E6
C0/9BCC:	6900    	ADC #$00
C0/9BCE:	998408  	STA $0884,Y
C0/9BD1:	A5E7    	LDA $E7
C0/9BD3:	6900    	ADC #$00
C0/9BD5:	998508  	STA $0885,Y
C0/9BD8:	A5EB    	LDA $EB
C0/9BDA:	1026    	BPL $9C02
C0/9BDC:	A5EA    	LDA $EA
C0/9BDE:	C931    	CMP #$31
C0/9BE0:	901A    	BCC $9BFC
C0/9BE2:	38      	SEC 
C0/9BE3:	E931    	SBC #$31
C0/9BE5:	0A      	ASL A
C0/9BE6:	A8      	TAY
C0/9BE7:	BE0308  	LDX $0803,Y
C0/9BEA:	8E0442  	STX $4204
C0/9BED:	A929    	LDA #$29
C0/9BEF:	8D0642  	STA $4206
C0/9BF2:	EA      	NOP
C0/9BF3:	EA      	NOP
C0/9BF4:	EA      	NOP
C0/9BF5:	EA      	NOP
C0/9BF6:	EA      	NOP
C0/9BF7:	EA      	NOP
C0/9BF8:	EA      	NOP
C0/9BF9:	AD1442  	LDA $4214
C0/9BFC:	85E2    	STA $E2
C0/9BFE:	A980    	LDA #$80
C0/9C00:	85E1    	STA $E1
C0/9C02:	A5EB    	LDA $EB
C0/9C04:	297F    	AND #$7F
C0/9C06:	1A      	INC A
C0/9C07:	1A      	INC A
C0/9C08:	4C5C9B  	JMP $9B5C

C0/9C0B unknow

C0/9C0B:	38      	SEC 		(from C0/9B46) 
C0/9C0C:	E931    	SBC #$31
C0/9C0E:	0A      	ASL A
C0/9C0F:	AA      	TAX
C0/9C10:	BC0308  	LDY $0803,X
C0/9C13:	C0B007  	CPY #$07B0
C0/9C16:	F022    	BEQ $9C3A
C0/9C18:	B96708  	LDA $0867,Y
C0/9C1B:	2907    	AND #$07
C0/9C1D:	CD6D1A  	CMP $1A6D		(Is this the active party?)
C0/9C20:	D018    	BNE $9C3A
C0/9C22:	8C0442  	STY $4204
C0/9C25:	A929    	LDA #$29
C0/9C27:	8D0642  	STA $4206
C0/9C2A:	EA      	NOP
C0/9C2B:	EA      	NOP
C0/9C2C:	EA      	NOP
C0/9C2D:	EA      	NOP
C0/9C2E:	EA      	NOP
C0/9C2F:	EA      	NOP
C0/9C30:	EA      	NOP
C0/9C31:	EA      	NOP
C0/9C32:	AD1442  	LDA $4214
C0/9C35:	85EA    	STA $EA
C0/9C37:	4CB49B  	JMP $9BB4

C0/9C3A unknow

C0/9C3A:	A931    	LDA #$31
C0/9C3C:	85EA    	STA $EA
C0/9C3E:	A0D907  	LDY #$07D9
C0/9C41:	4CB49B  	JMP $9BB4

C0/9C44 event #$35

C0/9C44:	A5EB    	LDA $EB	
C0/9C46:	C931    	CMP #$31       (is this a party character?)
C0/9C48:	901A    	BCC $9C64      (branch if not)
C0/9C4A:	38      	SEC 
C0/9C4B:	E931    	SBC #$31
C0/9C4D:	0A      	ASL A
C0/9C4E:	A8      	TAY
C0/9C4F:	BE0308  	LDX $0803,Y
C0/9C52:	8E0442  	STX $4204
C0/9C55:	A929    	LDA #$29       (Set to divide by 41)
C0/9C57:	8D0642  	STA $4206
C0/9C5A:	EA      	NOP
C0/9C5B:	EA      	NOP
C0/9C5C:	EA      	NOP
C0/9C5D:	EA      	NOP
C0/9C5E:	EA      	NOP
C0/9C5F:	EA      	NOP
C0/9C60:	EA      	NOP
C0/9C61:	AD1442  	LDA $4214
C0/9C64:	85E2    	STA $E2
C0/9C66:	A980    	LDA #$80
C0/9C68:	85E1    	STA $E1
C0/9C6A:	A902    	LDA #$02
C0/9C6C:	4C5C9B  	JMP $9B5C

C0/9C6F event #$36

C0/9C6F:	20F09D  	JSR $9DF0	
C0/9C72:	B97C08  	LDA $087C,Y
C0/9C75:	29EF    	AND #$EF
C0/9C77:	997C08  	STA $087C,Y
C0/9C7A:	A902    	LDA #$02
C0/9C7C:	4C5C9B  	JMP $9B5C

C0/9C7F event #$78

C0/9C7F:	20F09D  	JSR $9DF0	
C0/9C82:	B97C08  	LDA $087C,Y
C0/9C85:	0910    	ORA #$10
C0/9C87:	997C08  	STA $087C,Y
C0/9C8A:	A902    	LDA #$02
C0/9C8C:	4C5C9B  	JMP $9B5C

C0/9C8F event #$37 : assign graphic set

C0/9C8F:	20F09D  	JSR $9DF0	
C0/9C92:	A5EC    	LDA $EC
C0/9C94:	997908  	STA $0879,Y
C0/9C97:	20AD9D  	JSR $9DAD
C0/9C9A:	C05002  	CPY #$0250
C0/9C9D:	B005    	BCS $9CA4
C0/9C9F:	A5EC    	LDA $EC
C0/9CA1:	990116  	STA $1601,Y
C0/9CA4:	A903    	LDA #$03
C0/9CA6:	4C5C9B  	JMP $9B5C

C0/9CA9 event #$43 : assign palette

C0/9CA9:	20F09D  	JSR $9DF0	
C0/9CAC:	A5EC    	LDA $EC
C0/9CAE:	0A      	ASL A
C0/9CAF:	851A    	STA $1A
C0/9CB1:	B98008  	LDA $0880,Y
C0/9CB4:	29F1    	AND #$F1
C0/9CB6:	051A    	ORA $1A
C0/9CB8:	998008  	STA $0880,Y
C0/9CBB:	B98108  	LDA $0881,Y
C0/9CBE:	29F1    	AND #$F1
C0/9CC0:	051A    	ORA $1A
C0/9CC2:	998108  	STA $0881,Y
C0/9CC5:	A903    	LDA #$03
C0/9CC7:	4C5C9B  	JMP $9B5C

C0/9CCA event #$44 : place object on vehicle

C0/9CCA:	20F09D  	JSR $9DF0	
C0/9CCD:	A5EC    	LDA $EC
C0/9CCF:	29E0    	AND #$E0
C0/9CD1:	851A    	STA $1A
C0/9CD3:	B96808  	LDA $0868,Y
C0/9CD6:	291F    	AND #$1F
C0/9CD8:	051A    	ORA $1A
C0/9CDA:	996808  	STA $0868,Y
C0/9CDD:	A903    	LDA #$03
C0/9CDF:	4C5C9B  	JMP $9B5C

C0/9CE2 event #$45 : refresh objects

C0/9CE2:	A901    	LDA #$01
C0/9CE4:	8D9807  	STA $0798
C0/9CE7:	4C5C9B  	JMP $9B5C

C0/9CEA event #$46 : set party

C0/9CEA:	A5EB    	LDA $EB
C0/9CEC:	8D6D1A  	STA $1A6D		(Store to active party)
C0/9CEF:	A0D907  	LDY #$07D9
C0/9CF2:	8CFB07  	STY $07FB
C0/9CF5:	8CFD07  	STY $07FD
C0/9CF8:	8CFF07  	STY $07FF
C0/9CFB:	8C0108  	STY $0801
C0/9CFE:	A902    	LDA #$02
C0/9D00:	4C5C9B  	JMP $9B5C

C0/9D03 event #$47

C0/9D03:	20676F  	JSR $6F67
C0/9D06:	209170  	JSR $7091
C0/9D09:	A901    	LDA #$01
C0/9D0B:	4C5C9B  	JMP $9B5C

C0/9D0E unknow

C0/9D0E:	A901    	LDA #$01
C0/9D10:	8D5905  	STA $0559
C0/9D13:	4C5C9B  	JMP $9B5C

C0/9D16 unknow

C0/9D16:	9C5905  	STZ $0559
C0/9D19:	A901    	LDA #$01
C0/9D1B:	4C5C9B  	JMP $9B5C

C0/9D1E event #$3A

C0/9D1E:	AC0308  	LDY $0803
C0/9D21:	A902    	LDA #$02
C0/9D23:	997C08  	STA $087C,Y
C0/9D26:	997D08  	STA $087D,Y
C0/9D29:	A901    	LDA #$01	
C0/9D2B:	4C5C9B  	JMP $9B5C

C0/9D2E event #$3B : set ready stance

C0/9D2E:	AC0308  	LDY $0803	
C0/9D31:	A901    	LDA #$01	
C0/9D33:	997C08  	STA $087C,Y
C0/9D36:	A901    	LDA #$01	
C0/9D38:	4C5C9B  	JMP $9B5C

C0/9D3B event #$3F : add/remove character in party

C0/9D3B:	207770  	JSR $7077		
C0/9D3E:	A5EC    	LDA $EC
C0/9D40:	20A29E  	JSR $9EA2
C0/9D43:	05EC    	ORA $EC
C0/9D45:	851A    	STA $1A
C0/9D47:	20F09D  	JSR $9DF0
C0/9D4A:	B96708  	LDA $0867,Y
C0/9D4D:	29E0    	AND #$E0
C0/9D4F:	051A    	ORA $1A
C0/9D51:	996708  	STA $0867,Y
C0/9D54:	851A    	STA $1A
C0/9D56:	7B      	TDC 
C0/9D57:	997D08  	STA $087D,Y
C0/9D5A:	20D870  	JSR $70D8
C0/9D5D:	A5EB    	LDA $EB
C0/9D5F:	A8      	TAY
C0/9D60:	A51A    	LDA $1A
C0/9D62:	995018  	STA $1850,Y
C0/9D65:	20F36C  	JSR $6CF3
C0/9D68:	A903    	LDA #$03
C0/9D6A:	4C5C9B  	JMP $9B5C

C0/9D6D event #$3C : setup party

C0/9D6D:	A0D907  	LDY #$07D9
C0/9D70:	8CFD07  	STY $07FD      (vacate slot 2)
C0/9D73:	8CFF07  	STY $07FF      (vacate slot 3)
C0/9D76:	8C0108  	STY $0801      (vacate slot 4)
C0/9D79:	20F09D  	JSR $9DF0      (assign first character parameter as leader)
C0/9D7C:	8CFB07  	STY $07FB      (set slot 1)
C0/9D7F:	A5EC    	LDA $EC        (load second parameter)
C0/9D81:	3020    	BMI $9DA3      (branch if no character defined)
C0/9D83:	85EB    	STA $EB        (save to set character in slot 2)
C0/9D85:	20F09D  	JSR $9DF0
C0/9D88:	8CFD07  	STY $07FD      (set slot 2)
C0/9D8B:	A5ED    	LDA $ED        (load third parameter)
C0/9D8D:	3014    	BMI $9DA3      (branch if no character defined)
C0/9D8F:	85EB    	STA $EB        (save to set character in slot 3)
C0/9D91:	20F09D  	JSR $9DF0
C0/9D94:	8CFF07  	STY $07FF      (set slot 3)
C0/9D97:	A5EE    	LDA $EE        (load fourth parameter)
C0/9D99:	3008    	BMI $9DA3      (branch if no character defined)
C0/9D9B:	85EB    	STA $EB        (save to set character in slot 4)
C0/9D9D:	20F09D  	JSR $9DF0
C0/9DA0:	8C0108  	STY $0801      (set slot 4)
C0/9DA3:	A901    	LDA #$01
C0/9DA5:	8D9807  	STA $0798
C0/9DA8:	A905    	LDA #$05
C0/9DAA:	4C5C9B  	JMP $9B5C

C0/9DAD unknow

C0/9DAD:	A5EB    	LDA $EB
C0/9DAF:	C931    	CMP #$31       (are we checking party characters?)
C0/9DB1:	902D    	BCC $9DE0      (branch if not)
C0/9DB3:	38      	SEC 
C0/9DB4:	E931    	SBC #$31
C0/9DB6:	0A      	ASL A
C0/9DB7:	AA      	TAX
C0/9DB8:	BC0308  	LDY $0803,X    (load room's entities)
C0/9DBB:	C0B007  	CPY #$07B0     (is it the camera?)
C0/9DBE:	F01E    	BEQ $9DDE      (branch if so)
C0/9DC0:	B96708  	LDA $0867,Y
C0/9DC3:	2907    	AND #$07
C0/9DC5:	CD6D1A  	CMP $1A6D      (Is this the active party?)
C0/9DC8:	D014    	BNE $9DDE      (branch if not)
C0/9DCA:	8C0442  	STY $4204      (save Y's index)
C0/9DCD:	A929    	LDA #$29
C0/9DCF:	8D0642  	STA $4206      (divide Y by 41)
C0/9DD2:	EA      	NOP
C0/9DD3:	EA      	NOP
C0/9DD4:	EA      	NOP
C0/9DD5:	EA      	NOP
C0/9DD6:	EA      	NOP
C0/9DD7:	EA      	NOP
C0/9DD8:	EA      	NOP
C0/9DD9:	AD1442  	LDA $4214      (load the dividing result)
C0/9DDC:	8002    	BRA $9DE0      (store that as the multiplier)
C0/9DDE:	A911    	LDA #$11       (you reach this point if it's not the active party)
C0/9DE0:	8D0242  	STA $4202
C0/9DE3:	A925    	LDA #$25       (character data is 37 bytes in length)
C0/9DE5:	8D0342  	STA $4203
C0/9DE8:	EA      	NOP
C0/9DE9:	EA      	NOP
C0/9DEA:	EA      	NOP
C0/9DEB:	EA      	NOP
C0/9DEC:	AC1642  	LDY $4216      (load current character)
C0/9DEF:	60      	RTS

C0/9DF0 unknow

C0/9DF0:	A5EB    	LDA $EB        (from C0/9D47, C0/9D79, C0/9D85, C0/9D91, C0/9D9D)
C0/9DF2:	C931    	CMP #$31       (are we checking party characters?)
C0/9DF4:	9035    	BCC $9E2B      (branch if not)
C0/9DF6:	38      	SEC 
C0/9DF7:	E931    	SBC #$31
C0/9DF9:	0A      	ASL A
C0/9DFA:	AA      	TAX
C0/9DFB:	BC0308  	LDY $0803,X    (load room's entities)
C0/9DFE:	C0B007  	CPY #$07B0     (is it the camera?)
C0/9E01:	F020    	BEQ $9E23      (branch if so)
C0/9E03:	B96708  	LDA $0867,Y
C0/9E06:	2907    	AND #$07
C0/9E08:	CD6D1A  	CMP $1A6D      (Is this the active party?)
C0/9E0B:	D016    	BNE $9E23      (branch if not)
C0/9E0D:	8C0442  	STY $4204      (save Y's index)
C0/9E10:	A929    	LDA #$29
C0/9E12:	8D0642  	STA $4206      (divide Y by 41)
C0/9E15:	EA      	NOP
C0/9E16:	EA      	NOP
C0/9E17:	EA      	NOP
C0/9E18:	EA      	NOP
C0/9E19:	EA      	NOP
C0/9E1A:	EA      	NOP
C0/9E1B:	EA      	NOP
C0/9E1C:	EA      	NOP
C0/9E1D:	AD1442  	LDA $4214
C0/9E20:	85EB    	STA $EB
C0/9E22:	60      	RTS

C0/9E23 unknow

C0/9E23:	A0D907  	LDY #$07D9     (from C0/9E01, C0/9E0B)
C0/9E26:	A931    	LDA #$31
C0/9E28:	85EB    	STA $EB
C0/9E2A:	60      	RTS

C0/9E2B unknow

C0/9E2B:	A5EB    	LDA $EB        (from C0/9DF4, load character ID)
C0/9E2D:	8D0242  	STA $4202
C0/9E30:	A929    	LDA #$29
C0/9E32:	8D0342  	STA $4203      (multiply by 41)
C0/9E35:	EA      	NOP
C0/9E36:	EA      	NOP
C0/9E37:	EA      	NOP
C0/9E38:	AC1642  	LDY $4216
C0/9E3B:	60      	RTS

C0/9E3C event #$3D : create object

C0/9E3C:	20F09D  	JSR $9DF0	
C0/9E3F:	B96708  	LDA $0867,Y    (load...?)
C0/9E42:	2940    	AND #$40       (does object already exist?)
C0/9E44:	D01C    	BNE $9E62      (branch if so)
C0/9E46:	B96708  	LDA $0867,Y    (load...?)
C0/9E49:	293F    	AND #$3F       (mask...?)
C0/9E4B:	0940    	ORA #$40       (set to be present)
C0/9E4D:	996708  	STA $0867,Y    (and save)
C0/9E50:	209255  	JSR $5592
C0/9E53:	A5EB    	LDA $EB        (load parameter, likely map NPCs)
C0/9E55:	C910    	CMP #$10       (is it an NPC?)
C0/9E57:	B009    	BCS $9E62      (branch if so)
C0/9E59:	A8      	TAY           (we're here if trying to create a character)
C0/9E5A:	B95018  	LDA $1850,Y
C0/9E5D:	0940    	ORA #$40
C0/9E5F:	995018  	STA $1850,Y
C0/9E62:	A902    	LDA #$02
C0/9E64:	4C5C9B  	JMP $9B5C

C0/9E67 event #$3E : delete object

C0/9E67:	20F09D  	JSR $9DF0
C0/9E6A:	B96708  	LDA $0867,Y
C0/9E6D:	2940    	AND #$40
C0/9E6F:	F02C    	BEQ $9E9D
C0/9E71:	B96708  	LDA $0867,Y
C0/9E74:	293F    	AND #$3F
C0/9E76:	996708  	STA $0867,Y
C0/9E79:	7B      	TDC 
C0/9E7A:	997D08  	STA $087D,Y
C0/9E7D:	20B155  	JSR $55B1
C0/9E80:	5A      	PHY
C0/9E81:	20D870  	JSR $70D8
C0/9E84:	7A      	PLY
C0/9E85:	BE7A08  	LDX $087A,Y
C0/9E88:	A9FF    	LDA #$FF
C0/9E8A:	9F00207E	STA $7E2000,X
C0/9E8E:	A5EB    	LDA $EB
C0/9E90:	C910    	CMP #$10
C0/9E92:	B009    	BCS $9E9D
C0/9E94:	A8      	TAY
C0/9E95:	B95018  	LDA $1850,Y
C0/9E98:	293F    	AND #$3F
C0/9E9A:	995018  	STA $1850,Y
C0/9E9D:	A902    	LDA #$02
C0/9E9F:	4C5C9B  	JMP $9B5C

C0/9EA2 unknow

C0/9EA2:	851A    	STA $1A
C0/9EA4:	C900    	CMP #$00
C0/9EA6:	F02C    	BEQ $9ED4
C0/9EA8:	A400    	LDY $00
C0/9EAA:	B96708  	LDA $0867,Y
C0/9EAD:	2940    	AND #$40
C0/9EAF:	F012    	BEQ $9EC3
C0/9EB1:	B96708  	LDA $0867,Y
C0/9EB4:	2907    	AND #$07
C0/9EB6:	C51A    	CMP $1A
C0/9EB8:	D009    	BNE $9EC3
C0/9EBA:	B96708  	LDA $0867,Y
C0/9EBD:	2918    	AND #$18
C0/9EBF:	C900    	CMP #$00
C0/9EC1:	F012    	BEQ $9ED5
C0/9EC3:	C220    	REP #$20      (16 bit accum./memory)
C0/9EC5:	98      	TYA
C0/9EC6:	18      	CLC
C0/9EC7:	692900  	ADC #$0029
C0/9ECA:	A8      	TAY
C0/9ECB:	7B      	TDC 
C0/9ECC:	E220    	SEP #$20      (8 bit accum./memory)
C0/9ECE:	C09002  	CPY #$0290
C0/9ED1:	D0D7    	BNE $9EAA
C0/9ED3:	7B      	TDC 
C0/9ED4:	60      	RTS

C0/9ED5 unknow

C0/9ED5:	A400    	LDY $00
C0/9ED7:	B96708  	LDA $0867,Y
C0/9EDA:	2940    	AND #$40
C0/9EDC:	F012    	BEQ $9EF0
C0/9EDE:	B96708  	LDA $0867,Y
C0/9EE1:	2907    	AND #$07
C0/9EE3:	C51A    	CMP $1A
C0/9EE5:	D009    	BNE $9EF0
C0/9EE7:	B96708  	LDA $0867,Y
C0/9EEA:	2918    	AND #$18
C0/9EEC:	C908    	CMP #$08
C0/9EEE:	F012    	BEQ $9F02
C0/9EF0:	C221    	REP #$21
C0/9EF2:	98      	TYA
C0/9EF3:	692900  	ADC #$0029
C0/9EF6:	A8      	TAY
C0/9EF7:	7B      	TDC 
C0/9EF8:	E220    	SEP #$20      (8 bit accum./memory)
C0/9EFA:	C09002  	CPY #$0290
C0/9EFD:	D0D8    	BNE $9ED7
C0/9EFF:	A908    	LDA #$08
C0/9F01:	60      	RTS

C0/9F02 unknow

C0/9F02:	A400    	LDY $00
C0/9F04:	B96708  	LDA $0867,Y
C0/9F07:	2940    	AND #$40
C0/9F09:	F012    	BEQ $9F1D
C0/9F0B:	B96708  	LDA $0867,Y
C0/9F0E:	2907    	AND #$07
C0/9F10:	C51A    	CMP $1A
C0/9F12:	D009    	BNE $9F1D
C0/9F14:	B96708  	LDA $0867,Y
C0/9F17:	2918    	AND #$18
C0/9F19:	C910    	CMP #$10
C0/9F1B:	F012    	BEQ $9F2F
C0/9F1D:	C221    	REP #$21
C0/9F1F:	98      	TYA
C0/9F20:	692900  	ADC #$0029
C0/9F23:	A8      	TAY
C0/9F24:	7B      	TDC 
C0/9F25:	E220    	SEP #$20      (8 bit accum./memory)
C0/9F27:	C09002  	CPY #$0290
C0/9F2A:	D0D8    	BNE $9F04
C0/9F2C:	A910    	LDA #$10
C0/9F2E:	60      	RTS

C0/9F2F unknow

C0/9F2F:	A918    	LDA #$18
C0/9F31:	60      	RTS

C0/9F32 event #$77 : set level averaging and restores HP/MP

C0/9F32:	20789F  	JSR $9F78      (get the average of every member's level)
C0/9F35:	48      	PHA            (save it for now)
C0/9F36:	20AD9D  	JSR $9DAD      (determine which character ($EB) to perform on)
C0/9F39:	B90816  	LDA $1608,Y    (load character's level)
C0/9F3C:	3A      	DEC A          (subtract 1)
C0/9F3D:	8520    	STA $20        (save it for now)
C0/9F3F:	6421    	STZ $21        (this is done for the two JSRs)
C0/9F41:	68      	PLA            (get the average level)
C0/9F42:	D90816  	CMP $1608,Y    (compare it to our level we currently have)
C0/9F45:	9029    	BCC $9F70      (if it's less, don't change it, HP, MP, or stats)
C0/9F47:	990816  	STA $1608,Y    (otherwise set new level)
C0/9F4A:	3A      	DEC A          (subtract 1)
C0/9F4B:	8522    	STA $22        (save it for now)
C0/9F4D:	6423    	STZ $23        (this is done for the two JSRs)
C0/9F4F:	2062C5  	JSR $C562      (set new max HP)
C0/9F52:	209BC5  	JSR $C59B      (set new max MP)
C0/9F55:	B90B16  	LDA $160B,Y    (max HP, low byte)
C0/9F58:	990916  	STA $1609,Y    (now current HP, low byte)
C0/9F5B:	B90C16  	LDA $160C,Y    (max MP, high byte)
C0/9F5E:	990A16  	STA $160A,Y    (now current HP, high byte)
C0/9F61:	B90F16  	LDA $160F,Y    (max MP, low byte)
C0/9F64:	990D16  	STA $160D,Y    (now current MP, low byte)
C0/9F67:	B91016  	LDA $1610,Y    (max MP, high byte)
C0/9F6A:	990E16  	STA $160E,Y    (now current MP, high byte)
C0/9F6D:	207FA1  	JSR $A17F      (Check Natural Abilities)
C0/9F70:	2035A2  	JSR $A235      (set experience needed for the next level)
C0/9F73:	A902    	LDA #$02
C0/9F75:	4C5C9B  	JMP $9B5C

C0/9F78 get average level of party

C0/9F78:	AEDE1E  	LDX $1EDE      (load every character recruited)
C0/9F7B:	8620    	STX $20        (save it to $20)
C0/9F7D:	A600    	LDX $00        (X = #$0000)
C0/9F7F:	9B      	TXY           (Y = #$0000)
C0/9F80:	861E    	STX $1E        (total of all recruited characters' levels)
C0/9F82:	641B    	STZ $1B        (number of characters checked)
C0/9F84:	C221    	REP #$21       (16 bit accum./memory + clear carry)
C0/9F86:	4620    	LSR $20        (characters recruited, shifted right for carry)
C0/9F88:	7B      	TDC            (A = #$0000)
C0/9F89:	E220    	SEP #$20       (8 bit accum./memory)
C0/9F8B:	9010    	BCC $9F9D      (branch if the party didn't find this character)
C0/9F8D:	A51E    	LDA $1E        (load the level total, low byte)
C0/9F8F:	18      	CLC
C0/9F90:	7D0816  	ADC $1608,X    (add it with this character's level)
C0/9F93:	851E    	STA $1E        (save it)
C0/9F95:	A51F    	LDA $1F        (load the level total, high byte)
C0/9F97:	6900    	ADC #$00       (incremented if the previous ADC wrapped)
C0/9F99:	851F    	STA $1F        (save it)
C0/9F9B:	E61B    	INC $1B        (increment number of characters we have checked)
C0/9F9D:	C8      	INY 
C0/9F9E:	C221    	REP #$21       (16 bit accum./memory + clear carry)
C0/9FA0:	8A      	TXA
C0/9FA1:	692500  	ADC #$0025     (add 37 to check the next character)
C0/9FA4:	AA      	TAX           (index it again)
C0/9FA5:	7B      	TDC            (A = #$0000)
C0/9FA6:	E220    	SEP #$20       (8 bit accum./memory)
C0/9FA8:	C00E00  	CPY #$000E     (have we done 14 characters yet?)
C0/9FAB:	D0D7    	BNE $9F84      (branch if not)
C0/9FAD:	A61E    	LDX $1E        (load the total of all recruited characters' levels)
C0/9FAF:	8E0442  	STX $4204
C0/9FB2:	A51B    	LDA $1B        (load the number of characters we checked)
C0/9FB4:	F00F    	BEQ $9FC5      (if this is 0, branch)
C0/9FB6:	8D0642  	STA $4206
C0/9FB9:	EA      	NOP
C0/9FBA:	EA      	NOP
C0/9FBB:	EA      	NOP
C0/9FBC:	EA      	NOP
C0/9FBD:	EA      	NOP
C0/9FBE:	EA      	NOP
C0/9FBF:	EA      	NOP
C0/9FC0:	AD1442  	LDA $4214      (load the average level, rounded down)
C0/9FC3:	8002    	BRA $9FC7
C0/9FC5:	A903    	LDA #$03       (this is apparently only used for Terra at start-up)
C0/9FC7:	C963    	CMP #$63       (compare level to 99)
C0/9FC9:	9002    	BCC $9FCD      (Branch if it's less)
C0/9FCB:	A963    	LDA #$63       (Otherwise, set it to 99)
C0/9FCD:	60      	RTS

C0/9FCE event #$8D : remove all equipment from character

C0/9FCE:	A5EB    	LDA $EB		(Grab the character's index)
C0/9FD0:	8D0242  	STA $4202		(Get ready to multiply it)
C0/9FD3:	A925    	LDA #$25		(There's 37 character RAM bytes)
C0/9FD5:	8D0342  	STA $4203		(Get ready to multipy by char. index)
C0/9FD8:	EA      	NOP
C0/9FD9:	EA      	NOP
C0/9FDA:	A00600  	LDY #$0006		(There's 6 slots)
C0/9FDD:	AE1642  	LDX $4216		(X <- index * 37) 
C0/9FE0:	A9FF    	LDA #$FF		(Get "empty")
C0/9FE2:	9D1E16  	STA $161E,X		(Put it in esper)
C0/9FE5:	5A      	PHY			(Push slot #)
C0/9FE6:	DA      	PHX			(Push 37 * char. index offset)
C0/9FE7:	BD1F16  	LDA $161F,X		(Character's items)
C0/9FEA:	C9FF    	CMP #$FF		(already empty?)
C0/9FEC:	F03E    	BEQ $A02C		(if so, branch -> go to the next one)
C0/9FEE:	851A    	STA $1A		(otherwise, stick it in $1A)
C0/9FF0:	A9FF    	LDA #$FF		(Load an empty item and store it in that slot)
C0/9FF2:	9D1F16  	STA $161F,X		(now it is empty)
C0/9FF5:	A600    	LDX $00		(Load X with $00)
C0/9FF7:	BD6918  	LDA $1869,X		(Items currently in inventory)
C0/9FFA:	C51A    	CMP $1A		(Is this removed item at $1A the same as one we have in inventory?)
C0/9FFC:	F023    	BEQ $A021		(If so, branch -> increment its quantity)
C0/9FFE:	E8      	INX			(otherwise, move on to the next one)
C0/9FFF:	E00001  	CPX #$0100		(Is X over 256?)
C0/A002:	D0F3    	BNE $9FF7		(If not, branch -> go to the next item)
C0/A004:	A600    	LDX $00		(otherwise, load X with $00)
C0/A006:	BD6918  	LDA $1869,X		(check item currently in inventory at X)
C0/A009:	C9FF    	CMP #$FF		(Is it the "empty" item?)
C0/A00B:	F008    	BEQ $A015		(If so, branch -> grab the removed item)
C0/A00D:	E8      	INX			(Otherwise, increment to next item)
C0/A00E:	E00001  	CPX #$0100		(Now are we over 256?)
C0/A011:	D0F3    	BNE $A006		(If not, branch -> check item currently in inventory at X)
C0/A013:	8017    	BRA $A02C		(Otherwise, exit the function, we're done)
C0/A015:	A51A    	LDA $1A		(Get the removed item from $1A)
C0/A017:	9D6918  	STA $1869,X		(Put it in inventory)
C0/A01A:	A901    	LDA #$01		(Get 1)
C0/A01C:	9D6919  	STA $1969,X 	(Put it in quantity of that item)
C0/A01F:	800B    	BRA $A02C		(Go to the exit, we're done with this item)
C0/A021:	BD6919  	LDA $1969,X 	(Check quantity of item X)
C0/A024:	C963    	CMP #$63		(Is it 99)
C0/A026:	F004    	BEQ $A02C		(If it is, go to the exit, we're done with this item)
C0/A028:	1A      	INC A			(Otherwise, add 1)
C0/A029:	9D6919  	STA $1969,X 	(Store it in the quantity of items)
C0/A02C:	FA      	PLX			(Pull 37 * char. index offset)
C0/A02D:	7A      	PLY			(Pull slot #)
C0/A02E:	E8      	INX			(Increment X = char. index offset)
C0/A02F:	88      	DEY 			(Decrement Y = slot #)
C0/A030:	D0B3    	BNE $9FE5		(If Slot != 0, Do the next item)
C0/A032:	20F36C  	JSR $6CF3		(Otherwise, go to this function)
C0/A035:	A902    	LDA #$02		(Load A with 2)
C0/A037:	4C5C9B  	JMP $9B5C		(Exit to Jump address)