
	dw SPC700_Engine_End-SPC700_Engine
base $!Define_SMRPG_SPC700_EngineStartAddress

;%SPCDataBlockStart(!Define_SMRPG_SPC700_EngineStartAddress)
SPC700_Engine:
	MOV A, #$00
	SETP
	MOV X, A
CODE_0204:
	MOV (X), A
	DEC X
	BNE CODE_0204
	CLRP
	MOV X, A
CODE_020A:
	MOV (X+), A
	CMP X, #$F0
	BNE CODE_020A
	MOV X, #$FF
	MOV SP, X
	CALL CODE_031A
	MOV $F6, #$00
	MOV $F7, #$02
	MOV $F4, A
	MOV $F5, A
CODE_021F:
	MOV A, $F7
	BNE CODE_021F
CODE_0223:
	MOV A, #$00
	CBNE $FD, CODE_0243
	CBNE $FE, CODE_0277
	CBNE $F4, CODE_023B
	CBNE $FF, CODE_02A0
	CALL CODE_02FE
	BRA CODE_0223

CODE_0236:
	CALL CODE_02D2
	BRA CODE_0223

CODE_023B:
	CALL CODE_0308
	CALL CODE_02FE
	BRA CODE_0223

CODE_0243:
	MOV A, $61
	BEQ CODE_0275
	MOV $2F, A
	MOVW YA, $62
	MOVW $30, YA
	MOV A, $4A
	OR A, $5E
	EOR A, #$FF
	MOV $22, A
	MOV A, $1D
	CALL CODE_158A
	MOVW YA, $59
	MOVW $23, YA
	MOV $1C, #$08
	CALL CODE_0B7D
	MOVW YA, $23
	MOVW $59, YA
	MOV A, $23
	BEQ CODE_0275
	CMP A, $67
	BNE CODE_0275
	INC $68
	MOV $67, #$00
CODE_0275:
	BRA CODE_0223

CODE_0277:
	MOV A, $57
	BEQ CODE_027E
	CALL CODE_15A2
CODE_027E:
	MOV $22, #$FF
	MOV A, #$14
	CALL CODE_158A
	MOV $1C, #$04
	MOV $2F, $50
	MOV $31, $51
	MOV $30, #$00
	MOVW YA, $4A
	MOVW $23, YA
	CALL CODE_0B7D
	MOVW YA, $23
	MOVW $4A, YA
	JMP CODE_0223

CODE_02A0:
	BBS0 $37, CODE_02CF
	MOV A, $39
	BEQ CODE_02B3
	DBNZ $3C, CODE_02B3
	BBC1 $39, CODE_02B0
	CALL CODE_0AAE
CODE_02B0:
	MOV $3C, $3B
CODE_02B3:
	MOV A, $3A
	BEQ CODE_02CF
	DBNZ $41, CODE_02CF
	BBC0 $3A, CODE_02C0
	CALL CODE_0AD4
CODE_02C0:
	BBC1 $3A, CODE_02C6
	CALL CODE_0AF7
CODE_02C6:
	BBC3 $3A, CODE_02CC
	CALL CODE_0B31
CODE_02CC:
	MOV $41, $40
CODE_02CF:
	JMP CODE_0223

CODE_02D2:
	DBNZ $34, CODE_02FD
	BBS5 $38, CODE_02F0
	CALL CODE_169C
	MOV A, #$1B
	MOV $0227, A
	MOV A, $5F
	CLRC
	ADC A, $60
	MOV $FA, A
	CLR0 $37
	MOV $F2, #$4D
	CALL CODE_14E0
	RET

CODE_02F0:
	MOV $34, $64
	INC $34
	CLR5 $38
	MOV $F2, #$6C
	MOV $F3, $38
CODE_02FD:
	RET

CODE_02FE:
	MOV $F5, $52
	MOV $F6, $59
	MOV $F7, $69
	RET

CODE_0308:
	MOV A, $F4
	CBNE $F4, CODE_0308
	CMP A, #$34
	BCS CODE_0317
	DEC A
	ASL A
	MOV X, A
	JMP (DATA_16D9+x)

CODE_0317:
	JMP CODE_16CD

;---------------------------------------------------------------------------

CODE_031A:
	MOV $F2, #$6C
	MOV $F3, #$E0
	SET5 $38
	MOV X, #$F3
	MOV A, #$00
	MOV $F1, A
	MOV $F2, #$2C
	MOV (X), A
	MOV $F2, #$3C
	MOV (X), A
	MOV $F2, #$0D
	MOV (X), A
	MOV $F2, #$0C
	MOV (X), A
	MOV $F2, #$1C
	MOV (X), A
	MOV $F2, #$2D
	MOV (X), A
	MOV $F2, #$3D
	MOV (X), A
	MOV $F2, #$4D
	MOV (X), A
	MOV $FA, A
	MOV $FB, A
	MOV $FC, #$00
	MOV $33, #$07
	MOV $F1, #$07
	MOV $F2, #$5D
	MOV $F3, #$46
	CALL CODE_0A95
	RET

CODE_035F:
	MOV $5E, #$00
	MOV $01, #$20
	MOV $00, #$00
	JMP CODE_0920

CODE_036B:
	EOR $1D, #$08
	MOV Y, #$11
	MOV X, #$00
CODE_0372:
	MOV A, $59+x
	MOV $1E24+x, A
	INC X
	DBNZ Y, CODE_0372
	JMP CODE_0A1F

CODE_037D:
	EOR $1D, #$08
	MOV Y, #$11
	MOV X, #$00
CODE_0384:
	MOV A, $1E24+x
	MOV $59+x, A
	INC X
	DBNZ Y, CODE_0384
	MOV $5A, #$FF
	BBS0 $37, CODE_0395
	MOV $FA, $5F
CODE_0395:
	CALL CODE_15CE
	JMP CODE_0A1F

CODE_039B:
	MOV $61, $F5
	CALL CODE_0A1F
	CALL CODE_0489
	MOV $06, #$08
	MOV A, $1D
	ASL A
	MOV X, A
CODE_03AB:
	MOV A, $2000+y
	MOV $1BFC+x, A
	MOV A, $2000+$01+y
	MOV $1BFD+x, A
	INC X
	INC X
	INC Y
	INC Y
	DBNZ $06, CODE_03AB
	MOV A, #$00
	MOV Y, A
	MOV $60, A
	MOV $3A, A
	MOVW $5B, YA
	MOV $5D, A
	MOVW $62, YA
	MOVW $67, YA
	MOV $69, A
	MOV A, $1D
	CALL CODE_158A
	MOV $06, #$00
	MOV $07, #$80
	MOV $1C, #$08
	MOV $2F, $61
	CALL CODE_0A33
	MOV A, $23
	MOV $59, A
	MOV $5A, A
	CALL CODE_10AD
	CALL CODE_107E
	CALL CODE_14E0
	MOV A, #$3E
	MOV $5F, A
	BBS0 $37, CODE_03FB
	MOV $FA, A
CODE_03FB:
	RET

CODE_03FC:
	CALL CODE_0A1F
	MOV $F2, #$5C
	MOV A, $4A
	EOR A, #$FF
	MOV $F3, A
	MOV $59, #$00
	RET

CODE_040C:
	BBS0 $37, CODE_0415
	MOV $F2, #$6C
	MOV $F3, $38
CODE_0415:
	MOV A, $F5
	MOV $61, A
	MOV $2F, A
	CALL CODE_0A1F
	MOV $F2, #$5C
	MOV $F3, #$00
	CALL CODE_0489
	CALL CODE_10AD
	CALL CODE_107E
	CALL CODE_14E0
	MOV $2F, $61
	MOVW YA, $62
	MOVW $30, YA
	MOV A, $4A
	OR A, $5E
	EOR A, #$FF
	MOV $22, A
	MOV $1C, #$08
	MOV A, $1D
	CALL CODE_158A
	MOV A, #$00
	MOV $25, A
	MOV $3A, A
	MOV $59, A
CODE_044F:
	MOV Y, $1F
	MOV A, $1BFD+y
	BEQ CODE_0472
	MOV Y, $1E
	MOV A, $0100+y
	AND A, #$22
	BNE CODE_0462
	OR $25, $20
CODE_0462:
	MOV A, $0100+y
	AND A, #$20
	BNE CODE_046F
	CALL CODE_14FD
	CALL CODE_0F68
CODE_046F:
	OR $59, $20
CODE_0472:
	ASL $20
	INC $1E
	ADC $1F, #$02
	ADC $21, #$10
	DBNZ $1C, CODE_044F
	MOV $F2, #$4C
	AND $25, $22
	MOV $F3, $25
	RET

CODE_0489:
	MOV Y, #$00
CODE_048B:
	MOV A, $2000+y
	BMI CODE_04AC
	ASL A
	ASL A
	ADC A, #$6A
	MOV X, A
	MOV A, $2001+y
	MOV (X+), A
	MOV A, $2002+y
	MOV (X+), A
	MOV A, $2003+y
	MOV (X+), A
	MOV A, $2004+y
	MOV (X), A
	MOV A, Y
	CLRC
	ADC A, #$05
	MOV Y, A
	BRA CODE_048B

CODE_04AC:
	INC Y
	RET

CODE_04AE:
	MOV $48, #$14
	MOV $49, #$30
	BRA CODE_04BC

CODE_04B6:
	MOV $48, #$16
	MOV $49, #$C0
CODE_04BC:
	MOV A, $F7
	AND A, #$0F
	MOV Y, A
	MOV A, $4A
	AND A, $49
	BEQ CODE_04CB
	CMP Y, $53
	BMI CODE_04E8
CODE_04CB:
	MOV $53, Y
	MOV $47, $F6
	MOV X, $F5
	CALL CODE_04E8
	MOV A, X
	CALL CODE_04F9
	MOVW $45, YA
	MOV A, $FE
	MOV $FB, #$3E
	MOV $4F, #$3E
	MOV $58, #$00
	BRA CODE_0504

CODE_04E8:
	MOV A, $F7
	SET4 $33
	MOV $F1, $33
	CLR4 $33
	AND A, #$F0
	XCN A
	MOV $52, A
	MOV $F5, A
	RET

CODE_04F9:
	MOV Y, #$04
	MUL YA
	PUSH A
	MOV A, Y
	CLRC
	ADC A, #$30
	MOV Y, A
	POP A
	RET

CODE_0504:
	MOV A, $48
	CALL CODE_158A
	MOV Y, #$00
	MOV X, $1F
CODE_050D:
	MOV A, ($45)+y
	MOV $1BFC+x, A
	INC Y
	INC X
	CMP Y, #$04
	BNE CODE_050D
	MOV $2F, $50
	MOV $06, #$80
	MOV $07, $47
	MOV $1C, #$02
	CALL CODE_0A33
	MOV $4B, $23
	OR $5A, $23
	MOV $F2, #$5C
	MOV A, $49
	AND A, $4A
	OR A, $23
	MOV $F3, A
	OR $57, $49
	MOV A, $49
	EOR A, #$FF
	MOV $0A, A
	AND A, $4A
	OR A, $23
	MOV $4A, A
	AND $4D, $0A
	AND $4C, $0A
	CALL CODE_10AD
	CALL CODE_107E
	MOV $49, #$00
	RET

CODE_0557:
	CALL CODE_0A1F
CODE_055A:
	MOV $F2, #$5C
	MOV $F3, $4A
	OR $57, $4A
	MOV A, #$00
	MOV $4A, A
	MOV $4D, A
	MOV $4C, A
	CALL CODE_10AD
	CALL CODE_107E
	RET

CODE_0572:
	MOV $01, #$30
	MOV $00, #$00
	JMP CODE_0920

CODE_057B:
	CALL CODE_0A1F
	MOV $F2, #$5C
	MOV $F3, #$FF
	MOV A, #$00
	MOV Y, A
	MOV $59, A
	MOVW $4A, YA
	MOVW $4C, YA
	MOV $4E, A
	MOV $49, A
	RET

CODE_0592:
	MOV $FB, $F6
	MOV $F5, $4F
	BRA CODE_05A5

CODE_059A:
	CLR0 $3A
	MOV A, $F6
	MOV $60, A
	CLRC
	ADC A, $5F
	MOV $FA, A
CODE_05A5:
	JMP CODE_0A1F

CODE_05A8:
	CLR1 $39
	MOV A, $F6
	BMI CODE_05D7
	MOV $50, A
	MOV $2F, A
	CALL CODE_0A1F
	MOV $22, $4A
	MOV A, #$10
	CALL CODE_0B16
	RET

CODE_05BE:
	CLR1 $3A
	MOV A, $F6
	BMI CODE_05D7
	MOV $61, A
	MOV $2F, A
	CALL CODE_0A1F
	MOV $22, $4A
	EOR $22, #$FF
	MOV A, $1D
	CALL CODE_0B16
	RET

CODE_05D7:
	JMP CODE_0A1F

CODE_05DA:
	MOV $51, $F5
	MOV $22, $4A
	BRA CODE_05F0

CODE_05E2:
	CLR3 $3A
	MOV $63, $F6
	MOV $62, #$00
	MOV $22, $4A
	EOR $22, #$FF
CODE_05F0:
	MOV $30, A
	CALL CODE_0A1F
	MOVW YA, $62
	MOVW $30, YA
	MOV A, $1D
	CALL CODE_0B66
	RET

CODE_05FF:
	JMP CODE_0A1F

CODE_0602:
	JMP CODE_0A1F

CODE_0605:
	SET0 $3A
	MOV $42, $F6
	MOV $40, $F5
	MOV $41, #$01
	JMP CODE_0A1F

CODE_0613:
	SET1 $39
	MOV $3E, $F6
	MOV $3B, $F5
	MOV $3C, #$01
	JMP CODE_0A1F

CODE_0621:
	SET1 $3A
	MOV $43, $F6
	MOV $40, $F5
	MOV $41, #$01
	JMP CODE_0A1F

CODE_062F:
	JMP CODE_0A1F

CODE_0632:
	SET3 $3A
	MOV $44, $F6
	CLRC
	ADC $44, #$80
	MOV $40, $F5
	MOV $41, #$01
	JMP CODE_0A1F

CODE_0644:
	MOV $58, $F5
	JMP CODE_0A1F

CODE_064A:
	MOV $F5, $69
	MOV $F6, $5F
	MOV $F7, $68
	JMP CODE_0A15

CODE_0656:
	AND $37, #$07
	OR $37, $F5
	CALL CODE_0A1F
	CALL CODE_0B04
	CALL CODE_1676
	JMP CODE_15CE

CODE_0668:
	BBC0 $F6, CODE_067B
	MOV $5E, $F5
	MOV A, $4A
	EOR A, #$FF
	AND A, $5E
	MOV $22, A
	MOV $F2, #$5C
	MOV $F3, A
CODE_067B:
	MOV $F5, $5E
	JMP CODE_0A15

CODE_0681:
	MOV A, $F5
	MOV $06, A
	AND A, #$0F
	MOV $64, A
	MOVW YA, $F6
	MOVW $65, YA
	CALL CODE_0A1F
	CALL CODE_15CE
	MOV A, $06
	AND A, #$F0
	XCN A
	LSR A
	MOV X, A
	MOV Y, #$08
CODE_069C:
	MOV A, X
	AND A, #$07
	XCN A
	OR A, #$0F
	MOV $F2, A
	MOV A, DATA_181C+x
	MOV $F3, A
	INC X
	DBNZ Y, CODE_069C
	RET

CODE_06AD:
	MOV $F7, $36
	MOV A, $F5
	BMI CODE_06BF
	MOV $36, A
	CALL CODE_0A15
	CALL CODE_1676
	JMP CODE_15CE

CODE_06BF:
	JMP CODE_0A15

CODE_06C2:
	MOV X, $F5
	MOV $0C, X
	MOV $0D, $F6
	MOV A, $4680+x
	MOV $F5, A
	MOV $06, A
	BPL CODE_06E2
	MOV A, $1B
	MOV $4680+x, A
	ASL A
	MOV X, A
	ASL A
	MOV $02, A
	MOVW YA, $19
	MOVW $00, YA
	BRA CODE_06F2

CODE_06E2:
	ASL A
	MOV X, A
	ASL A
	MOV $02, A
	MOV Y, A
	MOV A, $4600+y
	MOV $00, A
	MOV A, $4601+y
	MOV $01, A
CODE_06F2:
	MOV A, $0C
	MOV $4700+x, A
	MOV A, $0D
	MOV $4701+x, A
	CALL CODE_0A09
	MOVW YA, $F6
	ADDW YA, $00
	MOVW $04, YA
	MOV Y, $02
	MOV A, $00
	MOV $4600+y, A
	MOV A, $01
	MOV $4601+y, A
	MOV A, $04
	MOV $4602+y, A
	MOV A, $05
	MOV $4603+y, A
	CALL CODE_0A09
	MOV A, $F6
	MOV $4741+x, A
	MOV A, $F7
	MOV $4740+x, A
	CALL CODE_0A09
	MOV A, $F6
	MOV $4780+x, A
	MOV A, $F7
	MOV $4781+x, A
	MOV A, $06
	BMI CODE_073C
	JMP CODE_0A1F

CODE_073C:
	CALL CODE_0A09
	MOVW YA, $F6
	MOVW $06, YA
	MOV $47C0+x, A
	MOV A, Y
	MOV $47C1+x, A
	CALL CODE_0A09
	MOVW YA, $19
	ADDW YA, $06
	ADDW YA, $06
	ADDW YA, $06
	MOVW $19, YA
	INC $1B
	JMP CODE_0979

CODE_075C:
	MOV A, $F5
	BMI CODE_0774
	MOV Y, A
	MOV A, $4680+y
	ASL A
	MOV X, A
	MOV A, #$FF
	MOV $4700+x, A
	MOV $4701+x, A
	MOV $4680+y, A
	JMP CODE_0A1F

CODE_0774:
	MOV A, #$00
	MOV Y, #$48
	MOVW $00, YA
	MOV Y, A
	MOV $1B, A
	MOVW $06, YA
	MOVW $08, YA
	MOV $0C, #$20
CODE_0784:
	MOV X, $06
	MOV A, $4700+x
	BMI CODE_07B2
	CMP $06, $08
	BEQ CODE_0793
	CALL CODE_07C4
CODE_0793:
	MOV X, $08
	MOV A, $47C0+x
	MOV $0A, A
	MOV A, $47C0+$01+x
	MOV $0B, A
	MOVW YA, $00
	ADDW YA, $0A
	ADDW YA, $0A
	ADDW YA, $0A
	MOVW $00, YA
	INC $1B
	CLRC
	ADC $08, #$02
	ADC $09, #$04
CODE_07B2:
	CLRC
	ADC $06, #$02
	ADC $07, #$04
	DEC $0C
	BNE CODE_0784
	MOVW YA, $00
	MOVW $19, YA
	JMP CODE_0A1F

CODE_07C4:
	MOV X, $06
	MOV Y, $08
	MOV A, $47C0+x
	MOV $47C0+y, A
	MOV $0A, A
	MOV A, $47C0+$01+x
	MOV $47C0+$01+y, A
	MOV $0B, A
	MOV A, $4700+x
	MOV $4700+y, A
	MOV Y, A
	MOV A, $1B
	MOV $4680+y, A
	MOV A, #$FF
	MOV $4700+x, A
	MOV $4700+$01+x, A
	MOV X, $09
	MOV A, $01
	MOV $03, A
	MOV $4600+$01+x, A
	MOV A, $00
	MOV $02, A
	MOV $4600+x, A
	MOVW YA, $00
	MOV $0848, A
	MOV $0848+$01, Y
	INC A
	BNE CODE_0808
	INC Y
CODE_0808:
	MOV $084E, A
	MOV $084E+$01, Y
	INC A
	BNE CODE_0812
	INC Y
CODE_0812:
	MOV $0854, A
	MOV $0854+$01, Y
	MOV X, $07
	MOV A, $4600+$01+x
	MOV Y, A
	MOV A, $4600+x
	MOV $0845, A
	MOV $0845+$01, Y
	INC A
	BNE CODE_082B
	INC Y
CODE_082B:
	MOV $084B, A
	MOV $084B+$01, Y
	INC A
	BNE CODE_0835
	INC Y
CODE_0835:
	MOV $0851, A
	MOV $0851+$01, Y
	CLRC
	MOV X, #$00
	MOV Y, $0A
	BNE CODE_0844
	DEC $0B
CODE_0844:
	MOV A, $0000+x
	MOV $0000+x, A
	MOV A, $0000+x
	MOV $0000+x, A
	MOV A, $0000+x
	MOV $0000+x, A
	MOV A, X
	ADC A, #$03
	BCC CODE_086E
	INC $0846
	INC $0849
	INC $084C
	INC $084F
	INC $0852
	INC $0855
	CLRC
CODE_086E:
	MOV X, A
	DBNZ Y, CODE_0844
	MOV A, $0B
	BEQ CODE_0879
	DEC $0B
	BRA CODE_0844

CODE_0879:
	RET

CODE_087A:
	MOV $00, #$0E
	MOV $01, #$00
	CALL CODE_0920
	MOV Y, $0E
	MOV A, $4680+y
	ASL A
	MOV Y, A
	MOV X, #$0F
	MOV A, (X+)
	MOV $4701+y, A
	MOV A, (X+)
	MOV $4740+y, A
	MOV A, (X+)
	MOV $4741+y, A
	MOV A, (X+)
	MOV $4780+y, A
	MOV A, (X+)
	MOV $4781+y, A
	RET

CODE_08A1:
	MOV X, #$00
	MOV A, ($F5+x)
	MOV $F7, A
	JMP CODE_0A15

CODE_08AA:
	MOV X, #$00
	MOV A, ($F5+x)
	MOV $F7, A
	MOV A, $F7
	MOV ($F5+x), A
	JMP CODE_0A15

CODE_08B7:
	MOV $F2, $F5
	MOV $F7, $F3
	JMP CODE_0A15

CODE_08C0:
	MOV $F2, $F5
	MOV $F3, $F7
	JMP CODE_0A1F

CODE_08C9:
	CALL CODE_057B
	CALL CODE_0A95
	MOV $52, #$00
	RET

CODE_08D3:
	MOV X, #$0E
	MOV Y, $F5
	MOV A, $0100+y
	MOV (X+), A
	MOV A, $1824+y
	MOV (X+), A
	MOV A, $1854+y
	MOV (X+), A
	MOV A, Y
	ASL A
	MOV Y, A
	MOV A, $1B25+y
	MOV (X+), A
	MOV A, $1885+y
	MOV (X), A
	JMP CODE_09F0

CODE_08F1:
	MOV X, #$07
CODE_08F3:
	MOV A, X
	XCN A
	OR A, $F5
	MOV $F2, A
	MOV A, $F3
	MOV $0E+x, A
	DEC X
	BPL CODE_08F3
	JMP CODE_09F0

CODE_0903:
	MOV $0E, $1A
	MOV $11, #$E2
	MOV $0F, #$3C
	MOV $10, #$1E
	JMP CODE_09F0

CODE_0912:
	MOVW YA, $17
	MOVW $00, YA
	JMP CODE_0920

CODE_0919:
	MOVW YA, $17
	MOVW $00, YA
	JMP CODE_0979

CODE_0920:
	MOVW YA, $F6
	MOVW $06, YA
CODE_0924:
	MOV A, $F4
	CBNE $F4, CODE_0924
	MOV $F4, A
	MOV X, A
	MOVW YA, $00
	ADDW YA, $06
	ADDW YA, $06
	MOVW $17, YA
	MOVW YA, $00
	MOV CODE_0951+$01, A
	MOV CODE_0951+$02, Y
	MOV CODE_0957+$01, A
	MOV CODE_0957+$02, Y
	MOV A, X
	MOV Y, $06
	BNE CODE_0949
	DEC $07
CODE_0949:
	MOV X, #$00
CODE_094B:
	CMP A, $F4
	BEQ CODE_094B
	MOV A, $F6
CODE_0951:
	MOV $0000+x, A
	INC X
	MOV A, $F7
CODE_0957:
	MOV $0000+x, A
CODE_095A:
	MOV A, $F4
	CBNE $F4, CODE_095A
	MOV $F4, A
	INC X
	BNE CODE_096A
	INC CODE_0951+$02
	INC CODE_0957+$02
CODE_096A:
	DBNZ Y, CODE_094B
	MOV Y, $07
	BEQ CODE_0976
	DEC $07
	MOV Y, #$00
	BRA CODE_094B

CODE_0976:
	JMP CODE_0A1F

CODE_0979:
	MOVW YA, $F6
	MOVW $06, YA
CODE_097D:
	MOV A, $F4
	CBNE $F4, CODE_097D
	MOV $F4, A
	MOV $16, A
	MOVW YA, $00
	MOV CODE_09BC+$01, A
	MOV CODE_09BC+$02, Y
	INC A
	BNE CODE_0992
	INC Y
CODE_0992:
	MOV CODE_09C1+$01, A
	MOV CODE_09C1+$02, Y
	INC A
	BNE CODE_099C
	INC Y
CODE_099C:
	MOV CODE_09C6+$01, A
	MOV CODE_09C6+$02, Y
	MOVW YA, $00
	ADDW YA, $06
	ADDW YA, $06
	ADDW YA, $06
	MOVW $17, YA
	MOV Y, $06
	BNE CODE_09B2
	DEC $07
CODE_09B2:
	MOV X, #$00
CODE_09B4:
	MOV A, $16
CODE_09B6:
	CMP A, $F4
	BEQ CODE_09B6
	MOV A, $F5
CODE_09BC:
	MOV $0000+x, A
	MOV A, $F6
CODE_09C1:
	MOV $0000+x, A
	MOV A, $F7
CODE_09C6:
	MOV $0000+x, A
CODE_09C9:
	MOV A, $F4
	CBNE $F4, CODE_09C9
	MOV $F4, A
	MOV $16, A
	CLRC
	MOV A, X
	ADC A, #$03
	BCC CODE_09E1
	INC CODE_09BC+$02
	INC CODE_09C1+$02
	INC CODE_09C6+$02
CODE_09E1:
	MOV X, A
	DBNZ Y, CODE_09B4
	MOV Y, $07
	BEQ CODE_09EE
	DEC $07
	MOV Y, #$00
	BRA CODE_09B4

CODE_09EE:
	BRA CODE_0A1F

CODE_09F0:
	MOV X, #$0E
	MOV Y, #$04
CODE_09F4:
	MOV A, (X+)
	MOV $F5, A
	MOV A, (X+)
	MOV $F6, A
CODE_09FA:
	MOV A, $F4
	CBNE $F4, CODE_09FA
	MOV $F4, A
CODE_0A01:
	CMP A, $F4
	BEQ CODE_0A01
	DBNZ Y, CODE_09F4
	BRA CODE_0A1F

CODE_0A09:
	MOV A, $F4
	CBNE $F4, CODE_0A09
	MOV $F4, A
CODE_0A10:
	CMP A, $F4
	BEQ CODE_0A10
	RET

CODE_0A15:
	MOV X, #$F4
CODE_0A17:
	MOV A, (X)
	CMP A, (X)
	BNE CODE_0A17
	MOV (X), A
CODE_0A1C:
	CMP A, (X)
	BEQ CODE_0A1C
CODE_0A1F:
	MOV $F4, #$FF
CODE_0A22:
	MOV A, $F4
	BNE CODE_0A22
	MOV $F4, #$00
	MOV $F5, $52
	MOV $F6, $59
	MOV $F7, $69
	RET

CODE_0A33:
	MOV $23, #$00
CODE_0A36:
	MOV X, $1F
	MOV A, $1BFD+x
	BEQ CODE_0A87
	MOV Y, $1E
	MOV A, #$FF
	MOV $1C5C+y, A
	MOV $1854+y, A
	MOV A, $06
	OR A, #$02
	MOV $0100+y, A
	MOV A, #$0F
	MOV $186C+y, A
	MOV A, #$00
	MOV $0118+y, A
	MOV $0130+y, A
	MOV $1A1C+y, A
	MOV $1C2D+x, A
	MOV $19EC+x, A
	MOV $19ED+x, A
	MOV $1A34+x, A
	MOV $1B24+x, A
	MOV A, #$64
	MOV $1A35+x, A
	MOV A, $07
	MOV $1B25+x, A
	MOV A, #$06
	MOV $183C+y, A
	MOV A, #$04
	MOV $1824+y, A
	CALL CODE_1260
	OR $23, $20
CODE_0A87:
	ASL $20
	INC $1E
	ADC $1F, #$02
	ADC $21, #$10
	DBNZ $1C, CODE_0A36
	RET

CODE_0A95:
	MOV A, #$FF
	MOV Y, #$80
CODE_0A99:
	MOV $467F+y, A
	DBNZ Y, CODE_0A99
	MOV Y, #$40
CODE_0AA0:
	MOV $46FF+y, A
	DBNZ Y, CODE_0AA0
	MOV A, #$00
	MOV $1B, A
	MOV Y, #$48
	MOVW $19, YA
	RET

CODE_0AAE:
	CMP $50, $3E
	BEQ CODE_0AC7
	BCC CODE_0AB9
	DEC $50
	BRA CODE_0ABB

CODE_0AB9:
	INC $50
CODE_0ABB:
	MOV $2F, $50
	MOV $22, $4A
	MOV A, #$10
	CALL CODE_0B16
	RET

CODE_0AC7:
	CLR1 $39
	MOV A, $50
	BNE CODE_0AD3
	CALL CODE_055A
	MOV $50, #$7F
CODE_0AD3:
	RET

CODE_0AD4:
	CLRC
	MOV $06, $42
	ADC $06, #$80
	CLRC
	MOV A, $60
	ADC A, #$80
	CMP A, $06
	BEQ CODE_0AF4
	BCC CODE_0AEA
	DEC $60
	BRA CODE_0AEC

CODE_0AEA:
	INC $60
CODE_0AEC:
	CLRC
	MOV A, $5F
	ADC A, $60
	MOV $FA, A
	RET

CODE_0AF4:
	CLR0 $3A
	RET

CODE_0AF7:
	CMP $61, $43
	BEQ CODE_0B13
	BCC CODE_0B02
	DEC $61
	BRA CODE_0B04

CODE_0B02:
	INC $61
CODE_0B04:
	MOV $2F, $61
	MOV $22, $4A
	EOR $22, #$FF
	MOV A, $1D
	CALL CODE_0B16
	RET

CODE_0B13:
	CLR1 $3A
	RET

CODE_0B16:
	CALL CODE_158A
	MOV $1C, #$08
CODE_0B1C:
	MOV X, $1E
	MOV A, $9A+x
	CALL CODE_153A
	ASL $20
	INC $1E
	ADC $1F, #$02
	ADC $21, #$10
	DBNZ $1C, CODE_0B1C
	RET

CODE_0B31:
	MOV A, $63
	CLRC
	ADC A, #$80
	CMP A, $44
	BEQ CODE_0B50
	BCC CODE_0B46
	MOV Y, #$FF
	MOV A, #$E0
	ADDW YA, $62
	MOVW $62, YA
	BRA CODE_0B58

CODE_0B46:
	MOV Y, #$00
	MOV A, #$20
	ADDW YA, $62
	MOVW $62, YA
	BRA CODE_0B58

CODE_0B50:
	CLR3 $3A
	MOV A, #$00
	MOV $62, A
	MOV Y, $63
CODE_0B58:
	MOVW $30, YA
	MOV $22, $4A
	EOR $22, #$FF
	MOV A, $1D
	CALL CODE_0B66
	RET

CODE_0B66:
	CALL CODE_158A
	MOV $1C, #$08
CODE_0B6C:
	CALL CODE_0F68
	ASL $20
	INC $1E
	ADC $1F, #$02
	ADC $21, #$10
	DBNZ $1C, CODE_0B6C
	RET

CODE_0B7D:
	MOV $25, #$00
CODE_0B80:
	MOV A, $23
	AND A, $20
	BEQ CODE_0BBB
	CALL CODE_0BD5
	BBS0 $26, CODE_0BCF
CODE_0B8C:
	MOV X, $1F
	MOV A, $1BFC+$01+x
	MOV Y, A
	MOV A, $1BFC+x
	MOVW $29, YA
CODE_0B97:
	MOV Y, $1E
	MOV X, #$00
	MOV A, ($29+x)
	INCW $29
	CMP A, #$C4
	BCC CODE_0BD2
	CALL CODE_1010
	MOV A, $23
	AND A, $20
	BNE CODE_0B97
CODE_0BAC:
	MOV X, $1F
	MOV A, $29
	MOV $1BFC+x, A
	MOV A, $2A
	MOV $1BFC+$01+x, A
CODE_0BB8:
	CALL CODE_0BFA
CODE_0BBB:
	ASL $20
	INC $1E
	ADC $1F, #$02
	ADC $21, #$10
	DBNZ $1C, CODE_0B80
	MOV $F2, #$4C
	MOV $F3, $25
	RET

CODE_0BCF:
	JMP CODE_0C22

CODE_0BD2:
	JMP CODE_0DC4

CODE_0BD5:
	MOV X, $1E
	MOV A, $0100+x
	MOV $26, A
	MOV A, $0130+x
	MOV Y, A
	MOV A, $0118+x
	MOVW $27, YA
	MOV X, $1F
	MOV A, $1885+x
	MOV Y, A
	MOV A, $1884+x
	MOVW $2B, YA
	MOV A, $18B5+x
	MOV Y, A
	MOV A, $18B4+x
	MOVW $2D, YA
	RET

CODE_0BFA:
	MOV X, $1F
	MOV A, $2B
	MOV $1884+x, A
	MOV A, $2C
	MOV $1885+x, A
	MOV A, $2D
	MOV $18B4+x, A
	MOV A, $2E
	MOV $18B5+x, A
	MOV X, $1E
	MOV A, $26
	MOV $0100+x, A
	MOV A, $27
	MOV $0118+x, A
	MOV A, $28
	MOV $0130+x, A
	RET

CODE_0C22:
	MOV A, $27
	AND A, #$09
	BEQ CODE_0C5F
	BBC0 $27, CODE_0C3D
	MOV X, $1E
	MOV A, $19BC+x
	BEQ CODE_0C38
	DEC A
	MOV $19BC+x, A
	BRA CODE_0C3D

CODE_0C38:
	CALL CODE_0D21
	SET7 $27
CODE_0C3D:
	BBC3 $27, CODE_0C57
	MOV X, $1E
	MOV A, $1944+x
	BNE CODE_0C4E
	BBS5 $27, CODE_0C4E
	CLR3 $27
	BRA CODE_0C57

CODE_0C4E:
	DEC A
	MOV $1944+x, A
	CALL CODE_0D4C
	SET7 $27
CODE_0C57:
	BBC7 $27, CODE_0C5F
	CLR7 $27
	CALL CODE_0F73
CODE_0C5F:
	MOV A, $28
	AND A, #$59
	BEQ CODE_0CE2
	BBC0 $28, CODE_0C7A
	MOV X, $1E
	MOV A, $1AF4+x
	BEQ CODE_0C75
	DEC A
	MOV $1AF4+x, A
	BRA CODE_0C7A

CODE_0C75:
	CALL CODE_0D69
	SET7 $28
CODE_0C7A:
	BBC3 $28, CODE_0CA5
	MOV X, $1E
	MOV A, $1A94+x
	BEQ CODE_0CA3
	DEC A
	MOV $1A94+x, A
	MOV X, $1F
	CLRC
	MOV A, $1A34+x
	ADC A, $1A64+x
	MOV $1A34+x, A
	MOV A, $1A34+$01+x
	ADC A, $1A64+$01+x
	AND A, #$7F
	MOV $1A34+$01+x, A
	SET7 $28
	BRA CODE_0CA5

CODE_0CA3:
	CLR3 $28
CODE_0CA5:
	BBC6 $28, CODE_0CCE
	MOV X, $1E
	MOV A, $1B84+x
	BEQ CODE_0CCC
	DEC A
	MOV $1B84+x, A
	MOV X, $1F
	CLRC
	MOV A, $1B24+x
	ADC A, $1B54+x
	MOV $1B24+x, A
	MOV A, $1B24+$01+x
	ADC A, $1B54+$01+x
	MOV $1B24+$01+x, A
	SET7 $28
	BRA CODE_0CD6

CODE_0CCC:
	CLR6 $28
CODE_0CCE:
	BBC4 $28, CODE_0CD6
	CALL CODE_0D8C
	SET7 $28
CODE_0CD6:
	BBC7 $28, CODE_0CE2
	CLR7 $28
	MOV X, $1E
	MOV A, $9A+x
	CALL CODE_153A
CODE_0CE2:
	MOV X, $1E
	BBS2 $26, CODE_0D14
	DEC $CA+x
	BNE CODE_0D0A
	SET1 $26
	MOV A, $20
	AND A, $22
	BEQ CODE_0D0A
	BBS4 $26, CODE_0CFD
	MOV $F2, #$5C
	MOV $F3, A
	BRA CODE_0D0A

CODE_0CFD:
	MOV Y, $1F
	MOV A, $21
	OR A, #$06
	MOV $F2, A
	MOV A, $0161+y
	MOV $F3, A
CODE_0D0A:
	DEC $B2+x
	BNE CODE_0D1E
	AND $26, #$FC
	JMP CODE_0B8C

CODE_0D14:
	DEC $B2+x
	BNE CODE_0D1E
	AND $26, #$FC
	JMP CODE_0B8C

CODE_0D1E:
	JMP CODE_0BB8

CODE_0D21:
	MOV X, $1F
	MOV A, $195C+$01+x
	MOV Y, A
	MOV A, $195C+x
	MOVW $0E, YA
	MOVW YA, $2B
	BBS2 $27, CODE_0D35
	ADDW YA, $0E
	BRA CODE_0D37

CODE_0D35:
	SUBW YA, $0E
CODE_0D37:
	MOVW $2B, YA
	MOV X, $1E
	MOV A, $198C+x
	DEC A
	BNE CODE_0D48
	NOT2 C, $0027
	MOV A, $19A4+x
	ASL A
CODE_0D48:
	MOV $198C+x, A
	RET

CODE_0D4C:
	MOV X, $1F
	MOV A, $1914+$01+x
	MOV Y, A
	MOV A, $1914+x
	ADDW YA, $2D
	BCC CODE_0D5B
	INCW $2B
CODE_0D5B:
	MOVW $2D, YA
	MOV A, $18E4+$01+x
	MOV Y, A
	MOV A, $18E4+x
	ADDW YA, $2B
	MOVW $2B, YA
	RET

CODE_0D69:
	MOV A, $9A+x
	BBC2 $28, CODE_0D74
	CLRC
	ADC A, $1AAC+x
	BRA CODE_0D78

CODE_0D74:
	SETC
	SBC A, $1AAC+x
CODE_0D78:
	AND A, #$7F
	MOV $9A+x, A
	MOV A, $1AC4+x
	DEC A
	BNE CODE_0D88
	NOT2 C, $0028
	MOV A, $1ADC+x
CODE_0D88:
	MOV $1AC4+x, A
	RET

CODE_0D8C:
	MOV X, $1F
	MOV A, $1BCC+$01+x
	MOV Y, A
	MOV A, $1BCC+x
	MOVW $0E, YA
	MOV A, $1B24+$01+x
	MOV Y, A
	MOV A, $1B24+x
	BBS5 $28, CODE_0DA7
	ADDW YA, $0E
	BCS CODE_0DB2
	BRA CODE_0DAB

CODE_0DA7:
	SUBW YA, $0E
	BCC CODE_0DB2
CODE_0DAB:
	MOV $1B24+x, A
	MOV A, Y
	MOV $1B24+$01+x, A
CODE_0DB2:
	MOV Y, $1E
	MOV A, $1B9C+y
	DEC A
	BNE CODE_0DC0
	NOT5 C, $0028
	MOV A, $1BB4+y
CODE_0DC0:
	MOV $1B9C+y, A
	RET

CODE_0DC4:
	MOV Y, #$00
	MOV $08, Y
	MOV X, #$0E
	DIV YA, X
	MOV $06, A
	MOV $09, Y
	CMP Y, #$0D
	BEQ CODE_0DD9
	CMP Y, #$0C
	BEQ CODE_0DDE
	BRA CODE_0DE4

CODE_0DD9:
	SET0 $26
	JMP CODE_0E9F

CODE_0DDE:
	OR $26, #$03
	JMP CODE_0E9F

CODE_0DE4:
	SET0 $26
	CLR1 $26
	MOV Y, $1E
	BBC5 $26, CODE_0DF2
	CALL CODE_0FE9
	BRA CODE_0E15

CODE_0DF2:
	MOV A, $183C+y
	MOV Y, #$0C
	MUL YA
	CLRC
	ADC A, $09
	MOV $09, A
	MOV Y, $1E
	MOV A, $1854+y
	MOV $07, A
	CBNE $09, CODE_0E0A
	BBS2 $26, CODE_0E81
CODE_0E0A:
	MOV A, $09
	MOV $1854+y, A
	MOV A, $19A4+y
	MOV $198C+y, A
CODE_0E15:
	MOV A, $1A1C+y
	BEQ CODE_0E29
	MOV $0A, A
	SETC
	MOV A, $09
	SBC A, $07
	MOV $0B, A
	CALL CODE_1301
	MOV $09, $07
CODE_0E29:
	MOV X, $1F
	MOV A, $0190+$01+x
	MOV Y, A
	MOV A, $0190+x
	ADDW YA, $08
	MOVW $2B, YA
	MOV A, $19EC+$01+x
	MOV Y, A
	MOV A, $19EC+x
	ADDW YA, $2B
	MOVW $2B, YA
	CALL CODE_0F73
	MOV X, $1E
	BBS2 $26, CODE_0E81
	MOV A, $20
	AND A, $22
	OR A, $25
	MOV $25, A
	MOV $F2, #$5C
	MOV $F3, #$00
	MOV A, $0148+x
	MOV $9A+x, A
	BBC0 $27, CODE_0E6B
	MOV1 C, $0027
	MOV2 $0027, C
	MOV A, $19D4+x
	MOV $19BC+x, A
CODE_0E6B:
	BBC0 $28, CODE_0E81
	CLR2 $28
	MOV A, $1ADC+x
	MOV $1AC4+x, A
	MOV A, $1B0C+x
	MOV $1AF4+x, A
	MOV A, $9A+x
	CALL CODE_153A
CODE_0E81:
	MOV A, $20
	AND A, $22
	BEQ CODE_0E9F
	MOV A, $24
	AND A, $20
	BEQ CODE_0E90
	CALL CODE_14FD
CODE_0E90:
	BBC4 $26, CODE_0E9F
	MOV A, $21
	OR A, #$06
	MOV $F2, A
	MOV A, $F3
	AND A, #$E0
	MOV $F3, A
CODE_0E9F:
	MOV X, $1E
	CMP $06, #$0D
	BEQ CODE_0EB0
	MOV Y, $06
	MOV A, DATA_17F5+y
	MOV Y, A
	MOV $B2+x, Y
	BRA CODE_0EB9

CODE_0EB0:
	MOV Y, #$00
	MOV A, ($29)+y
	INCW $29
	MOV Y, A
	MOV $B2+x, A
CODE_0EB9:
	MOV A, $186C+x
	BEQ CODE_0EC8
	CMP A, #$0F
	BEQ CODE_0ECB
	XCN A
	MUL YA
	MOV A, Y
	INC A
	BRA CODE_0ED1

CODE_0EC8:
	MOV A, Y
	BRA CODE_0ED1

CODE_0ECB:
	MOV A, Y
	CMP A, #$01
	BEQ CODE_0ED1
	DEC A
CODE_0ED1:
	MOV $CA+x, A
	BBS1 $26, CODE_0EF7
	MOV A, $1C5C+x
	MOV $06, A
	MOVW YA, $29
	MOVW $00, YA
CODE_0EDF:
	MOV Y, #$00
CODE_0EE1:
	MOV A, ($00)+y
	CMP A, #$C4
	BCS CODE_0F01
	MOV X, #$0E
	MOV Y, #$00
	DIV YA, X
	CMP Y, #$0D
	BEQ CODE_0EFC
	CMP Y, #$0C
	BEQ CODE_0EF7
	BBS3 $26, CODE_0EFC
CODE_0EF7:
	CLR2 $26
	JMP CODE_0BAC

CODE_0EFC:
	SET2 $26
	JMP CODE_0BAC

CODE_0F01:
	SETC
	SBC A, #$C4
	MOV X, A
	MOV A, DATA_17B9+x
	MOV $04, A
	XCN A
	AND A, #$0F
	ASL A
	MOV X, A
	JMP (DATA_0F5C+x)

CODE_0F12:
	CLRC
	AND $04, #$07
	MOV A, Y
	ADC A, $04
	MOV Y, A
	BRA CODE_0EE1

CODE_0F1C:
	MOV X, $1F
	MOV A, $1C2C+$01+x
	BEQ CODE_0EF7
	MOV Y, A
	MOV A, $1C2C+x
	MOVW $00, YA
	BRA CODE_0EDF

CODE_0F2B:
	MOV A, $06
	CALL CODE_165E
	MOV A, $1C74+x
	BEQ CODE_0F57
	MOV A, $1D04+$01+x
	MOV Y, A
	MOV A, $1D04+x
	MOVW $00, YA
	BRA CODE_0EDF

CODE_0F40:
	MOV A, $06
	CALL CODE_165E
	MOV A, $1C74+x
	BNE CODE_0F59
	MOV A, $1D94+$01+x
	MOV Y, A
	MOV A, $1D94+x
	MOVW $00, YA
	DEC $06
	BRA CODE_0EDF

CODE_0F57:
	DEC $06
CODE_0F59:
	INC Y
	BRA CODE_0EE1

DATA_0F5C:
	dw CODE_0F12
	dw CODE_0EFC
	dw CODE_0EF7
	dw CODE_0F1C
	dw CODE_0F2B
	dw CODE_0F40

CODE_0F68:
	MOV X, $1F
	MOV A, $1884+$01+x
	MOV Y, A
	MOV A, $1884+x
	MOVW $2B, YA
CODE_0F73:
	MOV A, $20
	AND A, $22
	BEQ CODE_0FE8
	MOVW YA, $2B
	ADDW YA, $30
	MOVW $02, YA
	MOV X, #$0C
	MOV Y, #$00
	MOV A, $03
	CLRC
	DIV YA, X
	MOV $08, A
	MOV A, Y
	ASL A
	MOV X, A
	MOV A, $1802+$01+x
	MOV Y, A
	MOV A, $1802+x
	MOVW $0A, YA
	MOVW $04, YA
	MOV A, $1802+$03+x
	MOV Y, A
	MOV A, $1802+$02+x
	SUBW YA, $0A
	MOV $0B, Y
	MOV Y, $02
	MUL YA
	MOV $0D, #$00
	MOV $0C, Y
	MOV Y, $02
	MOV A, $0B
	MUL YA
	ADDW YA, $0C
	ADDW YA, $04
	MOVW $0C, YA
	MOV A, $08
	AND A, #$07
	MOV $0A, A
	ASL A
	ADC A, $0A
	MOV $0FC3, A
	MOV A, Y
	BRA CODE_0FC4

CODE_0FC4:
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	LSR A
	ROR $0C
	MOV Y, A
	MOV A, $21
	OR A, #$02
	MOV $F2, A
	MOV $F3, $0C
	INC A
	MOV $F2, A
	MOV $F3, Y
CODE_0FE8:
	RET

CODE_0FE9:
	MOV A, $09
	MOV $1854+y, A
	ASL A
	ASL A
	MOV X, A
	MOV $0A, A
	MOV A, $6A+x
	MOV $1824+y, A
	CALL CODE_1260
	MOV Y, $1F
	MOV X, $0A
	MOV A, $6D+x
	MOV $1B25+y, A
	MOV Y, $1E
	MOV A, $6C+x
	MOV $0148+y, A
	MOV A, $6B+x
	MOV $09, A
	RET

CODE_1010:
	SETC
	SBC A, #$C4
	PUSH A
	MOV X, A
	MOV A, DATA_17B9+x
	AND A, #$07
	MOV $06, A
	MOV Y, #$00
	MOV X, #$00
CODE_1020:
	DEC $06
	BEQ CODE_102D
	MOV A, ($29)+y
	MOV $0E+x, A
	INCW $29
	INC X
	BRA CODE_1020

CODE_102D:
	POP A
	ASL A
	MOV X, A
	CLRC
	MOV Y, $1E
	JMP ($173F+x)

CODE_1036:
	MOV A, $183C+y
	INC A
	BRA CODE_1044

CODE_103C:
	MOV A, $183C+y
	DEC A
	BRA CODE_1044

CODE_1042:
	MOV A, $0E
CODE_1044:
	MOV $183C+y, A
	RET

CODE_1048:
	RET

CODE_1049:
	MOV A, $0E
	BRA CODE_1052

CODE_104D:
	MOV A, $0E
	CLRC
	ADC A, $38
CODE_1052:
	AND A, #$1F
	AND $38, #$E0
	OR A, $38
	MOV $38, A
	MOV $F2, #$6C
	MOV $F3, A
CODE_1060:
	BBS7 $26, CODE_1068
	OR $5B, $20
	BRA CODE_107E

CODE_1068:
	OR $4C, $20
	BRA CODE_107E

CODE_106D:
	MOV A, $20
	EOR A, #$FF
	BBS7 $26, CODE_107A
	AND A, $5B
	MOV $5B, A
	BRA CODE_107E

CODE_107A:
	AND A, $4C
	MOV $4C, A
CODE_107E:
	MOV $F2, #$3D
	MOV A, $4A
	EOR A, #$FF
	AND A, $5B
	OR A, $4C
	MOV $F3, A
CODE_108B:
	RET

CODE_108C:
	BBS7 $26, CODE_1094
	OR $5C, $20
	BRA CODE_10AD

CODE_1094:
	BBC0 $1E, CODE_108B
	OR $4D, $20
	BRA CODE_10AD

CODE_109C:
	MOV A, $20
	EOR A, #$FF
	BBS7 $26, CODE_10A9
	AND A, $5C
	MOV $5C, A
	BRA CODE_10AD

CODE_10A9:
	AND A, $4D
	MOV $4D, A
CODE_10AD:
	MOV $F2, #$2D
	MOV A, $4A
	EOR A, #$FF
	AND A, $5C
	OR A, $4D
	MOV $F3, A
	RET

CODE_10BB:
	MOV A, $0E
	CALL CODE_04F9
	BRA CODE_10C9

CODE_10C2:
	MOV A, $0E
	CALL CODE_04F9
	INC A
	INC A
CODE_10C9:
	MOVW $00, YA
	MOV Y, #$00
	MOV A, ($00)+y
	MOV $29, A
	INC Y
	MOV A, ($00)+y
	MOV $2A, A
	RET

CODE_10D7:
	MOV A, $0E
	BMI CODE_10E0
	XCN A
	AND A, #$0F
	BRA CODE_10E3

CODE_10E0:
	XCN A
	OR A, #$F0
CODE_10E3:
	MOV Y, $1F
	MOV $19EC+$01+y, A
	MOV A, $0E
	XCN A
	AND A, #$F0
	MOV $19EC+y, A
	RET

CODE_10F1:
	MOV X, $1F
	MOV A, $1C2C+$01+x
	MOV $2A, A
	BEQ CODE_1106
	MOV A, $1C2C+x
	MOV $29, A
	BBS7 $26, CODE_1105
	OR $67, $20
CODE_1105:
	RET

CODE_1106:
	MOV $F2, #$5C
	MOV $F3, $20
	MOV A, $20
	EOR A, #$FF
	AND A, $23
	MOV $23, A
	BBC7 $26, CODE_1122
	OR $57, $20
	MOV $4A, A
	CALL CODE_109C
	CALL CODE_106D
CODE_1122:
	RET

CODE_1123:
	MOV A, $0E
	BBS7 $26, CODE_1133
	MOV $5F, A
	BBS0 $37, CODE_1132
	CLRC
	ADC A, $60
	MOV $FA, A
CODE_1132:
	RET

CODE_1133:
	MOV $FB, A
	MOV $4F, A
	RET

CODE_1138:
	MOV $69, $0E
	RET

CODE_113C:
	CLRC
	ADC $69, $0E
	RET

CODE_1141:
	MOV A, $183C+y
	MOV $06, A
	MOV A, $1C5C+y
	INC A
	MOV $1C5C+y, A
	CALL CODE_165B
	MOV A, $0E
	DEC A
	MOV $1C74+x, A
	MOV A, $06
	MOV $1C74+$01+x, A
	MOV A, $29
	MOV $1D04+x, A
	MOV A, $2A
	MOV $1D04+$01+x, A
	RET

CODE_1166:
	CALL CODE_165B
	MOV A, $1C74+x
	BEQ CODE_11AD
	DEC A
	MOV $1C74+x, A
	BRA CODE_117F

CODE_1174:
	CALL CODE_165B
	MOV A, $1C74+x
	INC A
	CMP A, $58
	BEQ CODE_11AD
CODE_117F:
	MOV A, $1C75+x
	MOV $183C+y, A
	MOV A, $29
	MOV $1D94+x, A
	MOV A, $2A
	MOV $1D94+$01+x, A
	MOV A, $1D04+$01+x
	MOV Y, A
	MOV A, $1D04+x
	MOVW $29, YA
	RET

CODE_1199:
	CALL CODE_165B
	MOV A, $1C74+x
	BEQ CODE_11A2
	RET

CODE_11A2:
	MOV A, $1D94+$01+x
	MOV Y, A
	MOV A, $1D94+x
	MOVW $29, YA
	MOV Y, $1E
CODE_11AD:
	MOV A, $1C5C+y
	DEC A
	MOV $1C5C+y, A
	RET

CODE_11B5:
	MOV X, $1F
	MOV A, $29
	MOV $1C2C+x, A
	MOV A, $2A
	MOV $1C2C+$01+x, A
	RET

CODE_11C2:
	MOV A, $1824+y
	MOV X, A
	MOV A, $4680+x
	ASL A
	MOV X, A
	MOV Y, $1F
	MOV A, $4740+x
	MOV $0160+y, A
	MOV A, $4741+x
	MOV $0161+y, A
	MOV A, $20
	AND A, $22
	BEQ CODE_11F4
	MOV X, #$F2
	MOV A, $21
	OR A, #$05
	MOV (X+), A
	MOV A, $0160+y
	MOV (X), A
	MOV A, $21
	OR A, #$06
	DEC X
	MOV (X+), A
	MOV A, $0161+y
	MOV (X), A
CODE_11F4:
	RET

CODE_11F5:
	MOV A, $21
	OR A, #$05
	MOV $F2, A
	MOV Y, $1F
	MOV A, $0160+y
	AND A, #$F0
	OR A, $0E
	BRA CODE_1248

CODE_1206:
	MOV A, $21
	OR A, #$05
	MOV $F2, A
	MOV Y, $1F
	MOV A, $0160+y
	AND A, #$8F
	XCN A
	OR A, $0E
	XCN A
	BRA CODE_1248

CODE_1219:
	MOV A, $21
	OR A, #$06
	MOV $F2, A
	MOV Y, $1F
	INC Y
	MOV A, $0160+y
	AND A, #$1F
	MOV $06, A
	MOV A, $0E
	AND $06, #$1F
	XCN A
	ASL A
	OR A, $06
	BRA CODE_1248

CODE_1234:
	MOV A, $21
	OR A, #$06
	MOV $F2, A
	MOV Y, $1F
	INC Y
	MOV A, $0160+y
	AND A, #$E0
	OR A, $0E
	CLR4 $26
	BRA CODE_1248

CODE_1248:
	MOV $0160+y, A
	MOV Y, A
	MOV A, $20
	AND A, $22
	BEQ CODE_1254
	MOV $F3, Y
CODE_1254:
	RET

CODE_1255:
	MOV A, $0E
	MOV $186C+y, A
	RET

CODE_125B:
	MOV A, $0E
	MOV $1824+y, A
CODE_1260:
	MOV X, A
	MOV A, $4680+x
	ASL A
	MOV X, A
	MOV A, $4701+x
	MOV $0148+y, A
	MOV Y, $1F
	MOV A, $4740+x
	MOV $0160+y, A
	MOV A, $4741+x
	MOV $0161+y, A
	MOV A, $4780+x
	MOV $0190+y, A
	MOV A, $4781+x
	MOV $0191+y, A
	OR $24, $20
	CLR4 $26
	RET

CODE_128C:
	MOV Y, $1F
	MOV A, $0161+y
	AND A, #$E0
	OR A, $0E
	MOV $0161+y, A
	SET4 $26
	RET

CODE_129B:
	MOV A, $0E
	MOV X, $1F
	MOV $1A35+x, A
	MOV A, #$00
	MOV $1A34+x, A
	MOV A, $0148+y
	JMP CODE_153A

CODE_12AD:
	MOV A, $0E
	MOV X, $1F
	CLRC
	ADC A, $1A35+x
	AND A, #$7F
	MOV $1A35+x, A
	MOV A, $0148+y
	JMP CODE_153A

CODE_12C0:
	MOV A, $0E
	BEQ CODE_12FA
	MOV $0C, A
	MOV $1A94+y, A
	MOV A, $0F
	MOV X, $1F
	SETC
	SBC A, $1A35+x
	BEQ CODE_12FA
	PUSH P
	BCS CODE_12D9
	EOR A, #$FF
	INC A
CODE_12D9:
	MOV $0A, #$00
	MOV $0B, A
	CALL CODE_1667
	POP P
	BCS CODE_12EC
	EOR $0A, #$FF
	EOR $0B, #$FF
	INCW $0A
CODE_12EC:
	MOV X, $1F
	MOV A, $0B
	MOV $1A65+x, A
	MOV A, $0A
	MOV $1A64+x, A
	SET3 $28
CODE_12FA:
	RET

CODE_12FB:
	MOV $0A, $0E
	MOV $0B, $0F
CODE_1301:
	MOV A, $0A
	BEQ CODE_1354
	MOV $1944+y, A
	MOV X, A
	MOV A, $0B
	BEQ CODE_1354
	PUSH P
	BPL CODE_1313
	EOR A, #$FF
	INC A
CODE_1313:
	MOV Y, #$00
	DIV YA, X
	MOV $0B, A
	MOV A, #$00
	DIV YA, X
	MOV $0A, A
	MOV A, #$00
	DIV YA, X
	MOV $0D, A
	MOV A, #$00
	DIV YA, X
	MOV $0C, A
	POP P
	BPL CODE_133C
	EOR $0C, #$FF
	EOR $0D, #$FF
	EOR $0A, #$FF
	EOR $0B, #$FF
	INCW $0C
	BNE CODE_133C
	INCW $0A
CODE_133C:
	MOV X, $1F
	MOV A, $0A
	MOV $18E4+x, A
	MOV A, $0B
	MOV $18E4+$01+x, A
	MOV A, $0C
	MOV $1914+x, A
	MOV A, $0D
	MOV $1914+$01+x, A
	SET3 $27
CODE_1354:
	RET

CODE_1355:
	BBS5 $27, CODE_135B
	SET5 $27
	RET

CODE_135B:
	CLR5 $27
	CLR3 $27
	RET

CODE_1360:
	CLR4 $28
	MOV A, $0E
	MOV X, $1F
	MOV $1B25+x, A
	MOV A, $0148+y
	JMP CODE_153A

CODE_136F:
	MOV A, $0E
	BEQ CODE_13AE
	MOV $0C, A
	MOV $1B84+y, A
	MOV A, $0F
	MOV X, $1F
	SETC
	SBC A, $1B25+x
	BEQ CODE_13AE
	PUSH P
	BCS CODE_1388
	EOR A, #$FF
	INC A
CODE_1388:
	MOV $0B, A
	MOV $0A, #$00
	CALL CODE_1667
	POP P
	BCS CODE_139B
	EOR $0A, #$FF
	EOR $0B, #$FF
	INCW $0A
CODE_139B:
	MOV X, $1F
	MOV A, $0B
	MOV $1B54+$01+x, A
	MOV A, $0A
	MOV $1B54+x, A
	MOV A, #$80
	MOV $1B24+x, A
	SET6 $28
CODE_13AE:
	RET

CODE_13AF:
	CLR5 $28
	MOV A, $0E
	MOV $1B9C+y, A
	ASL A
	MOV $1BB4+y, A
	MOV $0C, A
	MOV A, $0F
	BPL CODE_13C2
	SET5 $28
CODE_13C2:
	ASL A
	MOV $0B, A
	MOV $0A, #$00
	CALL CODE_1667
	MOV X, $1F
	MOV A, $0B
	MOV $1BCD+x, A
	MOV A, $0A
	MOV $1BCC+x, A
	SET4 $28
	RET

CODE_13DA:
	RET

CODE_13DB:
	CALL CODE_1401
	MOV X, $1F
	MOV A, $06
	MOV $19EC+x, A
	MOV A, $07
	MOV $19ED+x, A
	RET

CODE_13EB:
	CALL CODE_1401
	MOV X, $1F
	MOV A, $19ED+x
	MOV Y, A
	MOV A, $19EC+x
	ADDW YA, $06
	MOV $19EC+x, A
	MOV A, Y
	MOV $19ED+x, A
	RET

CODE_1401:
	MOV $06, #$00
	MOV A, $0E
	BMI CODE_1410
	LSR A
	ROR $06
	LSR A
	ROR $06
	BRA CODE_1418

CODE_1410:
	SETC
	ROR A
	ROR $06
	SETC
	ROR A
	ROR $06
CODE_1418:
	MOV $07, A
	MOV A, #$FF
	MOV $1854+y, A
	RET

CODE_1420:
	MOV A, $0E
	MOV $1A1C+y, A
	RET

CODE_1426:
	SET5 $26
	RET

CODE_1429:
	CLR5 $26
	RET

CODE_142C:
	CLR1 $27
	MOV A, $0E
	BEQ CODE_145F
	MOV $19A4+y, A
	MOV $198C+y, A
	MOV $0C, A
	MOV A, $0F
	BPL CODE_1443
	EOR A, #$FF
	INC A
	SET1 $27
CODE_1443:
	CLRC
	ADC A, #$04
	MOV Y, A
	MUL YA
	MOVW $0A, YA
	LSR $0B
	ROR $0A
	CALL CODE_1667
	MOV X, $1F
	MOV A, $0A
	MOV $195C+x, A
	MOV A, $0B
	MOV $195C+$01+x, A
	SET0 $27
CODE_145F:
	MOV Y, $1E
	MOV A, #$00
	MOV $19D4+y, A
	RET

CODE_1467:
	CALL CODE_142C
	MOV A, $10
	MOV $19D4+y, A
	RET

CODE_1470:
	MOV A, $0E
	BBS7 $26, CODE_1481
	ADC A, $5F
	MOV $5F, A
	BBS0 $37, CODE_1480
	ADC A, $60
	MOV $FA, A
CODE_1480:
	RET

CODE_1481:
	ADC A, $4F
	MOV $4F, A
	MOV $FB, A
	RET

CODE_1488:
	CLR0 $27
	RET

CODE_148B:
	MOV A, $0E
	MOV $1ADC+y, A
	MOV $1AC4+y, A
	MOV A, $0F
	MOV $1AAC+y, A
	MOV A, #$00
	MOV $1B0C+y, A
	SET0 $28
	RET

CODE_14A0:
	CALL CODE_148B
	MOV A, $10
	MOV $1B0C+y, A
	RET

CODE_14A9:
	CLR0 $28
	MOV A, $0148+y
	JMP CODE_153A

CODE_14B1:
	RET

CODE_14B2:
	SET3 $26
	RET

CODE_14B5:
	CLR3 $26
	CLR2 $26
	RET

CODE_14BA:
	BBS7 $26, CODE_14C2
	OR $5D, $20
	BRA CODE_14E0

CODE_14C2:
	OR $4E, $20
	MOV A, $20
	EOR A, #$FF
	AND A, $57
	MOV $57, A
	BRA CODE_14E0

CODE_14CF:
	MOV A, $20
	EOR A, #$FF
	BBS7 $26, CODE_14DC
	AND A, $5D
	MOV $5D, A
	BRA CODE_14E0

CODE_14DC:
	AND A, $4E
	MOV $4E, A
CODE_14E0:
	MOV $F2, #$4D
	MOV A, $4A
	OR A, $57
	EOR A, #$FF
	AND A, $5D
	OR A, $4E
	MOV $F3, A
	RET

CODE_14F0:
	MOV $64, $0E
	MOV $65, $0F
	MOV $66, $10
	CALL CODE_15CE
	RET

CODE_14FD:
	MOV A, $20
	AND A, $22
	BEQ CODE_1539
	MOV A, $20
	EOR A, #$FF
	AND A, $24
	MOV $24, A
	MOV Y, $1E
	MOV A, $21
	OR A, #$04
	MOV $F2, A
	MOV A, $1824+y
	MOV X, A
	MOV A, $4680+x
	MOV $F3, A
	MOV X, $1F
	MOV A, $21
	OR A, #$05
	MOV $F2, A
	MOV A, $0160+x
	MOV $F3, A
	MOV A, $21
	OR A, #$06
	MOV $F2, A
	MOV A, $0161+x
	MOV $F3, A
	MOV A, $0148+y
	BRA CODE_153A

CODE_1539:
	RET

CODE_153A:
	MOV Y, A
	MOV A, $20
	AND A, $22
	BEQ CODE_1589
	MOV X, $1F
	MOV A, $1A35+x
	ASL A
	MUL YA
	MOV A, $2F
	ASL A
	MUL YA
	BBS3 $37, CODE_157E
	MOV A, $1B25+x
	CMP A, #$80
	BEQ CODE_157E
	BCC CODE_156D
	MOV A, $21
	INC A
	MOV $F2, A
	MOV $F3, Y
	MOV $F2, $21
	MOV A, $1B25+x
	EOR A, #$FF
	INC A
	ASL A
	MUL YA
	MOV $F3, Y
	RET

CODE_156D:
	MOV A, $21
	MOV $F2, A
	MOV $F3, Y
	INC A
	MOV $F2, A
	MOV A, $1B25+x
	ASL A
	MUL YA
	MOV $F3, Y
	RET

CODE_157E:
	MOV A, $21
	MOV $F2, A
	MOV $F3, Y
	INC A
	MOV $F2, A
	MOV $F3, Y
CODE_1589:
	RET

CODE_158A:
	MOV Y, A
	MOV $1E, A
	ASL A
	MOV $1F, A
	MOV A, Y
	XCN A
	AND A, #$70
	MOV $21, A
	ASL A
	OR A, #$02
	MOV CODE_159F, A
	MOV $20, #$00
CODE_159F:
	SET0 $20
	RET

CODE_15A2:
	OR $5A, $57
	MOV Y, #$07
	MOV $08, #$00
	MOV $06, $57
CODE_15AD:
	ASL $06
	BCC CODE_15BE
	MOV A, Y
	XCN A
	OR A, #$08
	MOV $F2, A
	MOV A, $F3
	BNE CODE_15BE
	CLRC
	BRA CODE_15BF

CODE_15BE:
	SETC
CODE_15BF:
	ROL $08
	DEC Y
	BPL CODE_15AD
	AND $4E, $08
	AND $57, $08
	CALL CODE_14E0
	RET

CODE_15CE:
	MOV Y, $36
	MOV A, $66
	PUSH P
	BPL CODE_15D8
	EOR A, #$FF
	INC A
CODE_15D8:
	MUL YA
	MOV X, #$40
	DIV YA, X
	POP P
	BPL CODE_15E2
	EOR A, #$FF
	INC A
CODE_15E2:
	MOV $35, A
	MOV X, #$F3
	MOV A, $64
	BEQ CODE_163F
	BBS5 $38, CODE_1604
	MOV $F2, #$7D
	CBNE $F3, CODE_1602
	BBS0 $37, CODE_1601
	CLR5 $38
	MOV $F2, #$6C
	MOV $F3, $38
	CALL CODE_169C
CODE_1601:
	RET

CODE_1602:
	SET5 $38
CODE_1604:
	MOV $F2, #$6C
	MOV $F3, $38
	MOV A, #$00
	MOV $F2, #$4D
	MOV (X), A
	MOV $F2, #$2C
	MOV (X), A
	MOV $F2, #$3C
	MOV (X), A
	MOV $F2, #$0D
	MOV (X), A
	MOV $F2, #$7D
	MOV $34, $F3
	INC $34
	MOV A, $64
	MOV (X), A
	XCN A
	LSR A
	MOV $0C, A
	MOV A, #$00
	SETC
	SBC A, $0C
	MOV $F2, #$6D
	MOV (X), A
	SET0 $37
	MOV A, #$0E
	MOV $0227, A
	MOV $FA, #$81
	RET

CODE_163F:
	SET5 $38
	MOV $F2, #$6C
	MOV $F3, $38
	MOV $F2, #$7D
	MOV (X), A
	MOV $F2, #$6D
	MOV $F3, #$FF
	MOV $35, A
	MOV $65, A
	CALL CODE_169C
	CLR0 $37
	RET

CODE_165B:
	MOV A, $1C5C+y
CODE_165E:
	ASL A
	ADC A, $1F
	ADC A, $1F
	ADC A, $1F
	MOV X, A
	RET

CODE_1667:
	MOV X, $0C
	MOV A, $0B
	MOV Y, #$00
	DIV YA, X
	MOV $0B, A
	MOV A, $0A
	DIV YA, X
	MOV $0A, A
	RET

CODE_1676:
	MOV $F2, #$0C
	MOV A, $36
	BBS3 $37, CODE_1694
	BBC4 $37, CODE_1684
	EOR A, #$FF
	INC A
CODE_1684:
	MOV $F3, A
	MOV $F2, #$1C
	MOV A, $36
	BBC5 $37, CODE_1691
	EOR A, #$FF
	INC A
CODE_1691:
	MOV $F3, A
	RET

CODE_1694:
	MOV $F3, A
	MOV $F2, #$1C
	MOV $F3, A
	RET

CODE_169C:
	MOV $F2, #$0D
	MOV $F3, $65
	BBS3 $37, CODE_16C0
	MOV $F2, #$2C
	MOV A, $35
	BBC6 $37, CODE_16B0
	EOR A, #$FF
	INC A
CODE_16B0:
	MOV $F3, A
	MOV $F2, #$3C
	MOV A, $35
	BBC7 $37, CODE_16BD
	EOR A, #$FF
	INC A
CODE_16BD:
	MOV $F3, A
	RET

CODE_16C0:
	MOV A, $35
	MOV $F2, #$2C
	MOV $F3, A
	MOV $F2, #$3C
	MOV $F3, A
	RET

CODE_16CD:
	MOV $F2, #$6C
	MOV $F3, #$E0
	MOV $F1, #$B0
	JMP !REGISTER_SPC700_IPLROMLoc

DATA_16D9:
	dw CODE_035F
	dw CODE_036B
	dw CODE_037D
	dw CODE_039B
	dw CODE_03FC
	dw CODE_040C
	dw CODE_0415
	dw CODE_04B6
	dw CODE_04AE
	dw CODE_0317
	dw CODE_0557
	dw CODE_0572
	dw CODE_06C2
	dw CODE_075C
	dw CODE_057B
	dw CODE_0602
	dw CODE_0605
	dw CODE_0613
	dw CODE_0621
	dw CODE_062F
	dw CODE_0632
	dw CODE_0644
	dw CODE_0644
	dw CODE_0592
	dw CODE_059A
	dw CODE_05A8
	dw CODE_05BE
	dw CODE_05DA
	dw CODE_05E2
	dw CODE_05FF
	dw CODE_05FF
	dw CODE_0644
	dw CODE_064A
	dw CODE_0656
	dw CODE_0668
	dw CODE_0317
	dw CODE_0681
	dw CODE_06AD
	dw CODE_0317
	dw CODE_08A1
	dw CODE_08AA
	dw CODE_08B7
	dw CODE_08C0
	dw CODE_08C9
	dw CODE_087A
	dw CODE_08D3
	dw CODE_08F1
	dw CODE_0903
	dw CODE_0912
	dw CODE_0912
	dw CODE_0919
	dw CODE_1036
	dw CODE_103C
	dw CODE_1042
	dw CODE_1048
	dw CODE_1049
	dw CODE_1060
	dw CODE_106D
	dw CODE_108C
	dw CODE_109C
	dw CODE_10BB
	dw CODE_10C2
	dw CODE_10D7
	dw CODE_10F1
	dw CODE_1123
	dw CODE_1138
	dw CODE_113C
	dw CODE_1141
	dw CODE_1166
	dw CODE_1199
	dw CODE_11B5
	dw CODE_11C2
	dw CODE_11F5
	dw CODE_1206
	dw CODE_1219
	dw CODE_1234
	dw CODE_1255
	dw CODE_125B
	dw CODE_104D
	dw CODE_128C
	dw CODE_1036
	dw CODE_129B
	dw CODE_12AD
	dw CODE_12C0
	dw CODE_12FB
	dw CODE_1355
	dw CODE_1360
	dw CODE_136F
	dw CODE_13AF
	dw CODE_1036
	dw CODE_1036
	dw CODE_13DB
	dw CODE_13EB
	dw CODE_1426
	dw CODE_1429
	dw CODE_142C
	dw CODE_1467
	dw CODE_1470
	dw CODE_1488
	dw CODE_148B
	dw CODE_14A0
	dw CODE_1420
	dw CODE_14A9
	dw CODE_14B2
	dw CODE_14B5
	dw CODE_14BA
	dw CODE_14CF
	dw CODE_14F0
	dw CODE_1036
	dw CODE_1174
	dw CODE_1036
	dw CODE_1036

DATA_17B9:
	db $01,$01,$02,$11,$02,$01,$01,$01,$01,$02,$02,$02,$31,$02,$02,$02
	db $02,$41,$51,$01,$01,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02
	db $03,$03,$01,$02,$03,$03,$01,$01,$02,$02,$01,$01,$03,$04,$02,$01
	db $03,$04,$02,$01,$01,$21,$01,$01,$04,$01,$01,$01

DATA_17F5:
	db $C0,$90,$60,$48,$30,$24,$20,$18,$10,$0C,$08,$06,$03,$0E,$26,$51
	db $28,$B7,$2A,$41,$2D,$F2,$2F,$CC,$32,$D1,$35,$04,$39,$68,$3C,$00
	db $40,$CE,$43,$D6,$47,$1B,$4C

DATA_181C:
	db $7F,$00,$00,$00,$00,$00,$00,$00
;%SPCDataBlockEnd(0200)

;%SPCDataBlockEnd($!Define_SMRPG_SPC700_EngineStartAddress)
SPC700_Engine_End:
