BSS SEG "bss"
G420_B_Mou:/* global */
	.WORD	#2
G421_i_Obj:/* global */
	.WORD	#2
G422_i_Obj:/* global */
	.WORD	#2
G423_i_Inv:/* global */
	.WORD	#2
CODE SEG "init!"
	MOVE	#0,G424_i_Pan(A4)
BSS SEG "bss"
G424_i_Pan:/* global */
	.WORD	#2
G425_aT_Ch:/* global */
	.WORD	#16
CODE SEG "init!"
	MOVE	#-1,G426_T_Ope(A4)
BSS SEG "bss"
G426_T_Ope:/* global */
	.WORD	#2
G427_ac_Co:/* global */
	.WORD	#68
CODE SEG "init!"
	LEA	G428_apc_S(A4),A1
DATA SEG "s!"
s!:
	DATA 4E 45 4F 50 48 59 54 45 00 00 
CODE SEG "init!"
	LEA	s!(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 4E 4F 56 49 43 45 00 00 
CODE SEG "init!"
	LEA	s!+10(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 50 50 52 45 4E 54 49 43 45 00 00 
CODE SEG "init!"
	LEA	s!+18(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 4A 4F 55 52 4E 45 59 4D 41 4E 00 00 
CODE SEG "init!"
	LEA	s!+30(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 43 52 41 46 54 53 4D 41 4E 00 
CODE SEG "init!"
	LEA	s!+42(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 52 54 49 53 41 4E 00 
CODE SEG "init!"
	LEA	s!+52(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 44 45 50 54 00 
CODE SEG "init!"
	LEA	s!+60(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 45 58 50 45 52 54 00 00 
CODE SEG "init!"
	LEA	s!+66(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 60 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+74(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 61 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+84(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 62 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+94(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 63 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+104(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 64 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+114(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 65 20 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+124(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 52 43 48 4D 41 53 54 45 52 00 00 
CODE SEG "init!"
	LEA	s!+134(A4),A0
	MOVE.L	A0,(A1)+
BSS SEG "bss"
G428_apc_S:/* global */
	.WORD	#60
CODE SEG "init!"
	LEA	G429_apc_G(A4),A1
	LEA	G293_ai_Fu(A4),A0
	MOVE.L	A0,D0
	MOVE.L	D0,(A1)+
	LEA	G031_i_Gra(A4),A0
	MOVE.L	A0,D0
	MOVE.L	D0,(A1)+
	LEA	G418_l_Las(A4),A0
	MOVE.L	A0,D0
	MOVE.L	D0,(A1)+
	LEA	G068_i_Che(A4),A0
	MOVE.L	A0,D0
	MOVE.L	D0,(A1)+
BSS SEG "bss"
G429_apc_G:/* global */
	.WORD	#16
CODE SEG "player"
F332_xxxx_:/* global */
	LINK	A6,L$0
	CLR	-(A7)
	MOVE.L	#128,-(A7)
	JSR	F468_ozzz_(PC)
	ADDQ.L	#6,A7
	MOVE.L	D0,-12(A6)
	MOVE	10(A6),D0
	MOVE	D0,-8(A6)
	ADD	#15,D0
	MOVE	D0,-6(A6)
	MOVE	12(A6),D0
	MOVE	D0,-4(A6)
	AD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DA	#24,A7
	MOVE	#136,G031_i_Gra(A4)
L92:
	MOVE	D5,D0
	BEQ.S	L93
	JSR	F337_akzz_(PC)
	JSR	F296_aizz_(PC)
L93:
L81:
	MOVEM.L	(A7)+,D4-D7/A2-A3
	UNLK	A6
	RTS
L$80:	.EQU	#0
F339_xxxx_:/* global */
	LINK	A6,L$94
	MOVE	#8,-(A7)
	MOVE	#8,-(A7)
	PEA	G033_s_Gra(A4)
	MOVE	8(A6),D0
	BEQ.S	L96
	MOVE	#19,D0
	BRA.S	L97
L96:
	MOVE	#18,D0
L97:
	MOVE	D0,-(A7)
	JSR	F489_ayzz_(PC)
	ADDQ.L	#2,A7
	MOVE.L	D0,-(A7)
	JSR	F020_aAA5_(PC)
	ADDA	#12,A7
L95:
	UNLK	A6
	RTS
L$94:	.EQU	#0
F340_xxxx_:/* global */
	LINK	A6,L$98
	MOVEM.L	A3-A2,-(A7)
	MOVE.L	10(A6),A3
	MOVE.L	A3,A2
	BRA.S	L100
L101:
	MOVE.B	(A2),D0
	EXT	D0
	CMP	#65,D0
	BLT.S	L103
	MOVE.B	(A2),D0
	EXT	D0
	CMP	#90,D0
	BGT.S	L103
	SUBI.B	#64,(A2)+
	BRA.S	L100
L103:
	MOVE.B	(A2),D0
	EXT	D0
	CMP	#123,D0
	BLT.S	L104
	SUBI.B	#96,(A2)+
	BRA.S	L100
L104:
	ADDQ.L	#1,A2
L100:
	MOVE.B	(A2),D0
	BNE.S	L101
L102:
	MOVE.L	A3,-(A7)
	MOVE	#15,-(A7)
	CLR	-(A7)
	MOVE	8(A6),-(A7)
	MOVE.L	A3,-(A7)
	JSR	strlen(PC)
	ADDQ.L	#4,A7
	MOVE.L	D0,D1
	MOVE	D1,-10(A6)
	MOVE	#6,D1
	MULS	-10(A6),D1
	ASR	#1,D1
	MOVE	#162,D0
	SUB	D1,D0
	MOVE	D0,-(A7)
	MOVE	#112,-(A7)
	MOVE.L	G296_puc_B(A4),-(A7)
	JSR	F040_aacZ_(PC)
	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D7,-(A7)
	JSR	F340_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	A2,A3
	BRA.S	L118
L119:
	ADDQ	#7,D7
	BRA.S	L121
L122:
	ADDQ.L	#1,A2
L121:
	MOVE.B	(A2),D0
	BEQ.S	L124
	MOVE.B	(A2),D0
	EXT	D0
	CMP	#10,D0
	BNE.S	L122
L124:
L123:
	MOVE.B	(A2),D0
	BNE.S	L125
	CLR.B	1(A2)
L125:
	CLR.B	(A2)+
	MOVE.L	A3,-(A7)
	MOVE	D7,-(A7)
	JSR	F340_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	A2,A3
L118:
	MOVE.B	(A3),D0
	BNE.S	L119
L120:
L106:
	MOVEM.L	(A7)+,D7/A2-A3
	UNLK	A6
	RTS
L$105:	.EQU	#-260
F342_xxxx_:/* global */
	LINK	A6,L$126
DATA SEG "s!"
	DATA 29 00 28 00 
CODE SEG "init!"
	LEA	11G430_apc(A4),A1
DATA SEG "s!"
	DATA 4E 4F 52 54 48 00 
CODE SEG "init!"
	LEA	s!+160(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 45 41 53 54 00 00 
CODE SEG "init!"
	LEA	s!+166(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 53 4F 55 54 48 00 
CODE SEG "init!"
	LEA	s!+172(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 57 45 53 54 00 00 
CODE SEG "init!"
	LEA	s!+178(A4),A0
	MOVE.L	A0,(A1)+
BSS SEG "bss"
11G430_apc:
	.WORD	#16
CODE SEG "player"
	MOVEM.L	A3-A2/D7-D4,-(A7)
	LEA	s!+156(A4),A0
	MOVE.L	A0,-68(A6)
	LEA	s!+158(A4),A0
	MOVE.L	A0,-72(A6)
	MOVE	G331_B_Pre(A4),D0
	BNE.S	L129
	MOVE	G333_B_Pre(A4),D0
	BEQ.S	L128
L129:
	JSR	F334_akzz_(PC)
L128:
	MOVE	8(A6),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A7
	MOVE	D6,D0
	ASL.L	#2,D0
	LEA	G352_apc_O(A4),A0
	ADDA	D0,A0
	MOVE.L	(A0),-(A7)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	LEA	-114(A6),A0
	MOVE.L	A0,A3
	BRA.S	L135
L134:
	CMPI	#8,-74(A6)
	BNE.S	L136
	CMPI	#163,D6
	BEQ.S	L136
	MOVE	#2,-(A7)
	MOVE	G423_i_Inv(A4),D0
	SUBQ	#1,D0
	MOVE	D0,-(A7)
	JSR	F303_AA09_(PC)
	ADDQ.L	#4,A7
	CMPI	#1,D0
	BLS.S	L136
	MOVE	#95,D0
	MOVE.L	A2,D1
	MOVE.L	D1,A0
	MOVE	2(A0),D1
	AND	#255,D1
	AND.L	#65535,D1
	DIVU	#40,D1
	ADD	D1,D0
	MOVE.B	D0,-114(A6)
	MOVE.B	#32,-113(A6)
	CLR.B	-112(A6)
	MOVE	D6,D0
	ASL.L	#2,D0
	LEA	G352_apc_O(A4),A0
	ADDA	D0,A0
	MOVE.L	(A0),-(A7)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	LEA	-114(A6),A0
	MOVE.L	A0,A3
	BRA.S	L137
L136:
	MOVE	D6,D0
	ASL.L	#2,D0
	LEA	G352_apc_O(A4),A0
	ADDA	D0,A0
	MOVE.L	(A0),D0
	MOVE.L	D0,A3
L137:
L135:
	MOVE.L	A3,-(A7)
	MOVE	#13,-(A7)
	MOVE	#68,-(A7)
	MOVE	#134,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
	MOVE	#59,-(A7)
	MOVE	#111,-(A7)
	MOVE	D6,-(A7)
	JSR	F332_xxxx_(PC)
	ADDQ.L	#6,A7
DATA SEG "s!"
	DATA 43 4F 4E 53 55 4D 41 42 4C 45 00 00 
CODE SEG "player"
	LEA	s!+188(A4),A0
	MOVE.L	A0,-64(A6)
DATA SEG "s!"
	DATA 50 4F 49 53 4F 4E 45 44 00 00 
CODE SEG "player"
	LEA	s!+200(A4),A0
	MOVE.L	A0,-60(A6)
DATA SEG "s!"
	DATA 42 52 4F 4B 45 4E 00 00 
CODE SEG "player"
	LEA	s!+210(A4),A0
	MOVE.L	A0,-56(A6)
DATA SEG "s!"
	DATA 43 55 52 53 45 44 00 00 
CODE SEG "player"
	LEA	s!+218(A4),A0
	MOVE.L	A0,-52(A6)
	MOVE	#87,G422_i_Obj(A4)
	MOVE	-74(A6),D0
L138:
	CMP	#5,D0
	BEQ.S	L139
	BRA.S	L141
L139:
	MOVE	#14,D5
	MOVE.L	A2,D4
	MOVE.L	D4,A0
	MOVE	2(A0),D4
	AND	#256,D4
	LSR	#8,D4
	ASL	#3,D4
	MOVE.L	A2,D1
	MOVE.L	D1,A0
	MOVE	2(A0),D1
	AND	#512,D1
	LSR	#1,D1
	LSR	#8,D1
	ASL	#1,D1
	OR	D1,D4
	MOVE.L	A2,D1
	MOVE.L	D1,A0
	MOVE	2(A0),D1
	AND	#16384,D1
	LSR	#6,D1
	LSR	#8,D1
	ASL	#2,D1
	OR	D1,D4
	CMPI	#4,D6
	BCS.S	L143
	CMPI	#7,D6
	BHI.S	L143
	MOVE.L	A2,D0
	MOVE.L	D0,A0
	MOVE	2(A0),D0
	AND	#15360,D0
	LSR	#2,D0
	LSR	#8,D0
	CMPI	#0,D0
	BNE.S	L143
DATA SEG "s!"
	DATA 28 42 55 52 4E 54 20 4F 55 54 29 00 
CODE SEG "player"
	PEA	s!+226(A4)
	JSR	F335_xxxx_(PC)
	ADDQ.L	#4,A7
L143:
	BRA	L140(PC)
	BRA.S	L142
L141:
	CMP	#6,D0
	BEQ.S	L142
	BRA.S	L144
L142:
	MOVE	#12,D5
	MOVE.L	A2,D4
	MOVE.L	D4,A0
	MOVE	2(A0),D4
	AND	#256,D4
	LSR	#8,D4
	ASL	#3,D4
	MOVE.L	A2,D1
	MOVE.L	D1,A0
	MOVE	2(A0),D1
	AND	#8192,D1
	LSR	#5,D1
	LSR	#8,D1
	ASL	#2,D1
	OR	D1,D4
	BRA	L140(PC)
	BRA.S	L145
L144:
	CMP	#8,D0
	BEQ.S	L145
	BRA.S	L146
L145:
	MOVE	#1,D5
	MOVE	#2,D4
	MOVE.L	A2,D1
	MOVE.L	D1,A0
	MOVE	2(A0),D1
	AND	#32512,D1
	LSR	#8,D1
	ADD	D1,D4
	MULS	#6,D4
	LEA	G237_as_Gr+4(A4),A0
	ADDA	D4,A0
	MOVE	(A0),D4
	BRA	L140(PC)
	BRA.S	L147
L146:
	CMP	#10,D0
	BEQ.S	L147
	BRA	L148(PC)
L147:
	CMPI	#8,D6
	BCS.S	L150
	CMPI	#9,D6
	BHI.S	L150
	CLR	D5
	MOVE	2(A2),D0
	AND	#-16384,D0
	LSR	#6,D0
	LSR	#8,D0
L151:
	CMP	#0,D0
	BEQ.S	L152
	BRA.S	L154
L152:
DATA SEG "s!"
	DATA 28 45 4D 50 54 59 29 00 
CODE SEG "player"
	LEA	s!+238(A4),A0
	MOVE.L	A0,A3
	BRA.S	L153
	BRA.S	L155
L154:
	CMP	#1,D0
	BEQ.S	L155
	BRA.S	L156
L155:
DATA SEG "s!"
	DATA 28 41 4C 4D 4F 53 54 20 45 4D 50 54 59 29 00 00 
CODE SEG "player"
	LEA	s!+246(A4),A0
	MOVE.L	A0,A3
	BRA.S	L153
	BRA.S	L157
L156:
	CMP	#2,D0
	BEQ.S	L157
	BRA.S	L158
L157:
DATA SEG "s!"
	DATA 28 41 4C 4D 4F 53 54 20 46 55 4C 4C 29 00 
CODE SEG "player"
	LEA	s!+262(A4),A0
	MOVE.L	A0,A3
	BRA.S	L153
	BRA.S	L159
L158:
	CMP	#3,D0
	BEQ.S	L159
	BRA.S	L160
L159:
DATA SEG "s!"
	DATA 28 46 55 4C 4C 29 00 00 
CODE SEG "player"
	LEA	s!+276(A4),A0
	MOVE.L	A0,A3
L160:
L161:
L153:
	MOVE.L	A3,-(A7)
	JSR	F335_xxxx_(PC)
	ADDQ.L	#4,A7
	BRA.S	L162
L150:
	CMPI	#0,D6
	BCS.S	L163
	CMPI	#3,D6
	BHI.S	L163
	CLR	D5
DATA SEG "s!"
	DATA 50 41 52 54 59 20 46 41 43 49 4E 47 20 00 
CODE SEG "player"
	PEA	s!+284(A4)
	PEA	-114(A6)
	JSR	strcpy(PC)
	ADDQ.L	#8,A7
	MOVE	D6,D0
	ASL.L	#2,D0
	LEA	11G430_apc(A4),A0
	ADDA	D0,A0
	MOVE.L	(A0),-(A7)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	PEA	-114(A6)
	JSR	F335_xxxx_(PC)
	ADDQ.L	#4,A7
	BRA.S	L164
L163:
	MOVE	#1,D5
	MOVE	#127,D4
	MOVE	2(A2),D1
	AND	#127,D1
	ADD	D1,D4
	MULS	#6,D4
	LEA	G237_as_Gr+4(A4),A0
	ADDA	D4,A0
	MOVE	(A0),D4
L164:
L162:
L148:
L149:
L140:
	MOVE	D5,D0
	BEQ.S	L165
	MOVE.L	-68(A6),-(A7)
	MOVE.L	-72(A6),-(A7)
	PEA	-114(A6)
	PEA	-64(A6)
	MOVE	D4,-(A7)
	MOVE	D5,-(A7)
	JSR	F336_xxxx_(PC)
	ADDA	#20,A7
	PEA	-114(A6)
	JSR	F335_xxxx_(PC)
	ADDQ.L	#4,A7
L165:
DATA SEG "s!"
	DATA 57 45 49 47 48 53 20 00 
CODE SEG "player"
	PEA	s!+298(A4)
	PEA	-114(A6)
	JSR	strcpy(PC)
	ADDQ.L	#8,A7
	MOVE	8(A6),-(A7)
	JSR	F140_yzzz_(PC)
	ADDQ.L	#2,A7
	MOVE	D0,D7
	MOVE	#3,-(A7)
	CLR	-(A7)
	MOVE	D7,D0
	AND.L	#65535,D0
	DIVU	#10,D0
	MOVE	D0,-(A7)
	JSR	F288_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	D0,-(A7)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
DATA SEG "s!"
	DATA 2E 00 
CODE SEG "player"
	PEA	s!+306(A4)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	MOVE	D7,D0
	AND.L	#65535,D0
	DIVU	#10,D0
	MULU	#10,D0
	SUB	D0,D7
	MOVE	#1,-(A7)
	CLR	-(A7)
	MOVE	D7,-(A7)
	JSR	F288_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	D0,-(A7)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
DATA SEG "s!"
	DATA 20 4B 47 2E 00 00 
CODE SEG "player"
	PEA	s!+308(A4)
	PEA	-114(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	PEA	-114(A6)
	JSR	F335_xxxx_(PC)
	ADDQ.L	#4,A7
L133:
L131:
	MOVE	10(A6),-(A7)
	JSR	F339_xxxx_(PC)
	ADDQ.L	#2,A7
L127:
	MOVEM.L	(A7)+,D4-D7/A2-A3
	UNLK	A6
	RTS
L$126:	.EQU	#-114
F343_xxxx_:/* global */
	LINK	A6,L$166
	MOVE	8(A6),D0
	MOVE	D0,-8(A6)
	ADD	12(A6),D0
	MOVE	D0,-6(A6)
	MOVE	10(A6),D0
	MOVE	D0,-4(A6)
	ADDQ	#6,D0
	MOVE	D0,-2(A6)
	CLR	G578_B_Use(A4)
	MOVE	#112,-(A7)
	MOVE	14(A6),-(A7)
	PEA	-8(A6)
	MOVE.L	G296_puc_B(A4),-(A7)
	JSR	F135_xzzz_(PC)
	ADDA	#12,A7
L167:
	UNLK	A6
	RTS
L$166:	.EQU	#-8
F344_xxxx_:/* global */
	LINK	A6,L$168
	MOVEM.L	D7-D5,-(A7)
	MOVE	8(A6),D7
	CMPI	#-512,D7
	BGE.S	L170
	MOVE	#8,D6
	BRA.S	L171
L170:
	CMPI	#0,D7
	BGE.S	L172
	MOVE	#11,D6
	BRA.S	L173
L172:
	MOVE	12(A6),D6
L173:
L171:
	MOVE	D7,D5
	ADD	#1024,D5
	CMPI	#3072,D5
	BN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.L	#2,A7
	MOVE.L	D0,-(A7)
	JSR	F020_aAA5_(PC)
	ADDA	#12,A7
L177:
	MOVE	#5,-(A7)
	MOVE	#69,-(A7)
	MOVE	66(A3),-(A7)
	JSR	F344_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE	#14,-(A7)
	MOVE	#92,-(A7)
	MOVE	68(A3),-(A7)
	JSR	F344_xxxx_(PC)
	ADDQ.L	#6,A7
L176:
	MOVEM.L	(A7)+,D6-D7/A3
	UNLK	A6
	RTS
L$175:	.EQU	#0
F346_xxxx_:/* global */
	LINK	A6,L$178
	MOVE	#5,G424_i_Pan(A4)
	MOVE	#6,-(A7)
	MOVE	#72,-(A7)
	PEA	G032_s_Gra(A4)
	MOVE	#40,-(A7)
	JSR	F489_ayzz_(PC)
	ADDQ.L	#2,A7
	MOVE.L	D0,-(A7)
	JSR	F020_aAA5_(PC)
	ADDA	#12,A7
L179:
	UNLK	A6
	RTS
L$178:	.EQU	#0
F347_xxxx_:/* global */
	LINK	A6,L$180
	MOVEM.L	A3/D7,-(A7)
	MOVE	G299_ui_Ca(A4),D0
	BEQ.S	L182
	JSR	F346_xxxx_(PC)
	BRA.S	L181
L182:
	MOVE	G423_i_Inv(A4),D7
	MULS	#800,D7
	LEA	G407_s_Par+-588(A4),A0
	ADDA	D7,A0
	MOVE	2(A0),D7
	MOVE	D7,-(A7)
	JSR	F156_afzz_(PC)
	ADDQ.L	#2,A7
	MOVE.L	D0,A3
	CLR	G424_i_Pan(A4)
	MOVE	D7,D0
	AND	#15360,D0
	LSR	#2,D0
	LSR	#8,D0
L183:
	CMP	#9,D0
	BEQ.S	L184
	BRA.S	L186
L184:
	MOVE	#4,G424_i_Pan(A4)
	BRA.S	L185
	BRA.S	L187
L186:
	CMP	#7,D0
	BEQ.S	L187
	BRA.S	L188
L187:
	MOVE	#2,G424_i_Pan(A4)
	BRA.S	L185
L189:
	MOVE	#-1,D7
	BRA.S	L190
L188:
	BRA.S	L189
L190:
L185:
	CMPI	#-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-16384,D0
	LSR	#6,D0
	LSR	#8,D0
	BNE.S	L208
	BRA	L199(PC)
L208:
	MOVE	#2048,-(A7)
	MOVE	68(A2),D0
	ADD	#800,D0
	MOVE	D0,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,68(A2)
	MOVE	2(A3),D0
	AND	#-16384,D0
	LSR	#6,D0
	LSR	#8,D0
	SUBQ	#1,D0
	AND	#3,D0
	MOVE	D0,D3
	ASL	#6,D3
	ASL	#8,D3
	ANDI	#16383,2(A3)
	OR	D3,2(A3)
	CLR	D4
	BRA.S	L209
L207:
	CMPI	#8,-18(A6)
	BNE.S	L210
	CLR	D4
	BRA.S	L211
L210:
	MOVE	#-1,(A3)
	MOVE	#1,D4
L211:
L209:
	JSR	F077_aA39_(PC)
	MOVE	D4,D0
	BEQ.S	L212
	JSR	F298_aqzz_(PC)
L212:
	CMPI	#8,-18(A6)
	BNE	L213(PC)
	MOVE.L	A3,D0
	MOVE.L	D0,A0
	MOVE	2(A0),D0
	AND	#255,D0
	MOVE	D0,-12(A6)
	MOVE	#32,D0
	MOVE	-12(A6),D1
	ADDQ	#1,D1
	AND.L	#65535,D1
	DIVU	#8,D1
	ADD	D1,D0
	MOVE	D0,-30(A6)
	MOVE	#511,D0
	SUB	-12(A6),D0
	AND.L	#65535,D0
	DIVU	-30(A6),D0
	LSR	#1,D0
	MOVE	D0,-14(A6)
	MOVE	-12(A6),D0
	AND.L	#65535,D0
	DIVU	#25,D0
	ADDQ	#8,D0
	MOVE	D0,-12(A6)
	MOVE.L	A3,D0
	MOVE.L	D0,A0
	MOVE	2(A0),D0
	AND	#32512,D0
	LSR	#8,D0
L214:
	CMP	#6,D0
	BEQ.S	L215
	BRA.S	L217
L215:
	MOVE	-12(A6),-(A7)
	MOVE	#2,-(A7)
	MOVE.L	A2,-(A7)
	JSR	F348_xxxx_(PC)
	ADDQ.L	#8,A7
	BRA	L216(PC)
	BRA.S	L218
L217:
	CMP	#7,D0
	BEQ.S	L218
	BRA.S	L219
L218:
	MOVE.L	A3,D0
	MOVE.L	D0,A0
	MOVE	2(A0),D0
	AND	#255,D0
	AND.L	#65535,D0
	DIVU	#35,D0
	ADDQ	#5,D0
	MOVE	D0,-(A7)
	MOVE	#1,-(A7)
	MOVE.L	A2,-(A7)
	JSR	F348_xxxx_(PC)
	ADDQ.L	#8,A7
	BRA	L216(PC)
	BRA.S	L220
L219:
	CMP	#8,D0
	BEQ.S	L220
	BRA.S	L221
L220:
	MOVE	-12(A6),-(A7)
	MOVE	#3,-(A7)
	MOVE.L	A2,-(A7)
	JSR	F348_xxxx_(PC)
	ADDQ.L	#8,A7
	BRA	L216(PC)
	BRA.S	L222
L221:
	CMP	#9,D0
	BEQ.S	L222
	BRA.S	L223
L222:
	MOVE	-12(A6),-(A7)
	MOVE	#4,-(A7)
	MOVE.L	A2,-(A7)
	JSR	F348_xxxx_(PC)
	ADDQ.L	#8,A7
	BRA	L216(PC)
	BRA.S	L224
L223:
	CMP	#10,D0
	BEQ.S	L224
	BRA.S	L225
L224:
	MOVE	D5,-(A7)
	JSR	F323_xxxx_(PC)
	ADDQ.L	#2,A7
	BRA	L216(PC)
	BRA.S	L226
L225:
	CMP	#11,D0
	BEQ.S	L226
	BRA.S	L227
L226:
	MOVE	58(A2),D0
	AND.L	#65535,D0
	DIVU	-14(A6),D0
	MOVE	D0,-(A7)
	MOVE	58(A2),D0
	SUB	56(A2),D0
	MOVE	D0,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	ADD	D0,56(A2)
	BRA	L216(PC)
	BRA.S	L228
L227:
	CMP	#12,D0
	BEQ.S	L228
	BRA.S	L229
L228:
	MOVE	-12(A6),D0
	LSR	#1,D0
	ADD	D0,-12(A6)
	CMPI	#50,274(A2)
	BLE.S	L231
	MOVE	-12(A6),D0
	LSR	#2,D0
	MOVE	D0,-12(A6)
L231:
	MOVE	-12(A6),D0
	ADD	D0,274(A2)
	MOVE.B	#72,-6(A6)
	MOVE.L	G313_ul_Ga(A4),D0
	MOVE	-12(A6),D1
	MULU	-12(A6),D1
	AND.L	#65535,D1
	ADD.L	D1,D0
	MOVE	G309_i_Par(A4),D1
	EXT.L	D1
	MOVE.L	#24,D3
	ASL.L	D3,D1
	OR.L	D1,D0
	MOVE.L	D0,-10(A6)
	MOVE	D5,D0
	MOVE.B	D0,-5(A6)
	MOVE	-12(A6),-4(A6)
	PEA	-10(A6)
	JSR	F238_pzzz_(PC)
	ADDQ.L	#4,A7
	ORI	#4096,48(A2)
	BRA	L216(PC)
	BRA.S	L230
L229:
	CMP	#13,D0
	BEQ.S	L230
	BRA.S	L232
L230:
	MOVE	60(A2),D0
	ADD	-12(A6),D0
	MOVE	-12(A6),D1
	SUBQ	#8,D1
	ADD	D1,D0
	MOVE	D0,-(A7)
	MOVE	#900,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,-18(A6)
	MOVE	-18(A6),D0
	MOVE	62(A2),D1
	CMP	D1,D0
	BLS.S	L234
	MOVE	62(A2),-(A7)
	MOVE	60(A2),-(A7)
	JSR	F025_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,-40(A6)
	MOVE	-18(A6),D0
	SUB	-40(A6),D0
	LSR	#1,D0
	SUB	D0,-18(A6)
L234:
	MOVE	-18(A6),60(A2)
	BRA	L216(PC)
	BRA.S	L233
L232:
	CMP	#14,D0
	BEQ.S	L233
	BRA	L235(PC)
L233:
	MOVE.L	A3,D0
	MOVE.L	D0,A0
	MOVE	2(A0),D0
	AND	#255,D0
	AND.L	#65535,D0
	DIVU	#42,D0
	MOVE	D0,-(A7)
	MOVE	#1,-(A7)
	JSR	F025_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,-18(A6)
	MOVE	54(A2),D0
	AND.L	#65535,D0
	DIVU	-14(A6),D0
	ADD	D0,52(A2)
	MOVE	50(A2),-16(A6)
	BEQ.S	L237
	MOVE	#10,-14(A6)
L238:
	CLR	-12(A6)
	BRA.S	L241
L242:
	JSR	F027_AA59_(PC)
	AND	D0,50(A2)
L243:
	ADDQ	#1,-12(A6)
L241:
	MOVE	-12(A6),D0
	CMP	-18(A6),D0
	BCS.S	L242
L244:
	MOVE	#1,-18(A6)
L239:
	MOVE	-16(A6),D0
	CMP	50(A2),D0
	BNE.S	L245
	SUBQ	#1,-14(A6)
	MOVE	-14(A6),D0
	BNE.S	L238
L245:
L240:
L237:
	ORI	#8704,48(A2)
	BRA.S	L216
	BRA.S	L236
L235:
	CMP	#15,D0
	BEQ.S	L236
	BRA.S	L246
L236:
	MOVE	#2048,-(A7)
	MOVE	68(A2),D0
	ADD	#1600,D0
	MOVE	D0,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,68(A2)
L246:
L247:
L216:
	MOVE	#20,D0
	MOVE.L	A3,D1
	MOVE.L	D1,A0
	AND	#127,D0
	MOVE	D0,D3
	ASL	#8,D3
	ANDI	#-32513,2(A0)
	OR	D3,2(A0)
	BRA.S	L248
L213:
	CMPI	#168,D6
	BCS.S	L249
	CMPI	#176,D6
	BCC.S	L249
	MOVE	#2048,-(A7)
	MOVE	66(A2),D0
	MOVE	D6,D1
	ASL.L	#1,D1
	LEA	G242_ai_Gr+-336(A4),A0
	ADDA	D1,A0
	ADD	(A0),D0
	MOVE	D0,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,66(A2)
L249:
L248:
	MOVE	56(A2),D0
	CMP	58(A2),D0
	BLE.S	L250
	MOVE	58(A2),56(A2)
L250:
	MOVE	52(A2),D0
	CMP	54(A2),D0
	BLE.S	L251
	MOVE	54(A2),52(A2)
L251:
	MOVE	D4,D0
	BEQ.S	L252
	MOVE	#5,-14(A6)
	BRA.S	L253
L254:
	MOVE	#46,-(A7)
	MOVE	#56,-(A7)
	MOVE	#205,D0
	MOVE	-14(A6),D1
	AND	#1,D1
	SEQ	D1
	AND	#1,D1
	ADD	D1,D0
	MOVE	D0,-(A7)
	JSR	F037_aA29_(PC)
	ADDQ.L	#6,A7
	MOVE	#8,-(A7)
	JSR	F022_aaaU_(PC)
	ADDQ.L	#2,A7
L253:
	SUBQ	#1,-14(A6)
	BNE.S	L254
L255:
	BRA.S	L256
L252:
	JSR	F296_aizz_(PC)
	MOVE	D7,-(A7)
	JSR	F140_yzzz_(PC)
	ADDQ.L	#2,A7
	MOVE.L	D0,D1
	SUB	-20(A6),D1
	MOVE	G411_i_Lea(A4),D0
	MULS	#800,D0
	LEA	G407_s_Par+272(A4),A0
	ADDA	D0,A0
	MOVE	(A0),D0
	ADD	D1,D0
	MOVE	D0,(A0)
	MOVE	G411_i_Lea(A4),D0
	MULS	#800,D0
	LEA	G407_s_Par+48(A4),A0
	ADDA	D0,A0
	ORI	#512,(A0)
L256:
	CLR	-(A7)
	MOVE	G307_i_Par(A4),-(A7)
	MOVE	G306_i_Par(A4),-(A7)
	MOVE	#8,-(A7)
	JSR	F064_aadz_(PC)
	ADDQ.L	#8,A7
	ORI	#256,48(A2)
	CMPI	#0,G424_i_Pan(A4)
	BNE.S	L257
	ORI	#2048,48(A2)
L257:
	MOVE	D5,-(A7)
	JSR	F292_arzz_(PC)
	ADDQ.L	#2,A7
	JSR	F078_xzzz_(PC)
L204:
L199:
	MOVEM.L	(A7)+,D4-D7/A2-A3
	UNLK	A6
	RTS
L$198:	.EQU	#-40
F350_aqzz_:/* global */
	LINK	A6,L$258
	JSR	F347_xxxx_(PC)
	CLR	-(A7)
	JSR	F097_lzzz_(PC)
	ADDQ.L	#2,A7
	MOVE	#1,G587_i_Hid(A4)
	JSR	F078_xzzz_(PC)
L259:
	UNLK	A6
	RTS
L$258:	.EQU	#0
F351_xxxx_:/* global */
	LINK	A6,L$260
CODE SEG "init!"
	LEA	21G431_apc(A4),A1
DATA SEG "s!"
	DATA 4C 00 
CODE SEG "init!"
	LEA	s!+314(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 53 54 52 45 4E 47 54 48 00 00 
CODE SEG "init!"
	LEA	s!+316(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 44 45 58 54 45 52 49 54 59 00 
CODE SEG "init!"
	LEA	s!+326(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 57 49 53 44 4F 4D 00 00 
CODE SEG "init!"
	LEA	s!+336(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 56 49 54 41 4C 49 54 59 00 00 
CODE SEG "init!"
	LEA	s!+344(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 4E 54 49 2D 4D 41 47 49 43 00 00 
CODE SEG "init!"
	LEA	s!+354(A4),A0
	MOVE.L	A0,(A1)+
DATA SEG "s!"
	DATA 41 4E 54 49 2D 46 49 52 45 00 
CODE SEG "init!"
	LEA	s!+366(A4),A0
	MOVE.L	A0,(A1)+
BSS SEG "bss"
21G431_apc:
	.WORD	#28
CODE SEG "player"
	MOVEM.L	A3/D7-D4,-(A7)
	JSR	F334_akzz_(PC)
	MOVE	G423_i_Inv(A4),D0
	SUBQ	#1,D0
	MOVE	D0,D4
	MULS	#800,D0
	LEA	G407_s_Par(A4),A0
	ADDA	D0,A0
	LEA	(A0),A0
	MOVE.L	A0,A3
	MOVE	#8,-(A7)
	MOVE	#72,-(A7)
	PEA	G032_s_Gra(A4)
	MOVE	#20,-(A7)
	JSR	F489_ayzz_(PC)
	ADDQ.L	#2,A7
	MOVE.L	D0,-(A7)
	JSR	F020_aAA5_(PC)
	ADDA	#12,A7
	MOVE	#58,D6
	CLR	D7
	BRA.S	L262
L263:
	MOVE	D7,D0
	OR	#-32768,D0
	MOVE	D0,-(A7)
	MOVE	D4,-(A7)
	JSR	F303_AA09_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,-(A7)
	MOVE	#16,-(A7)
	JSR	F024_aatz_(PC)
	ADDQ.L	#4,A7
	MOVE	D0,D5
	CMPI	#1,D5
	BNE.S	L266
	BRA.S	L264
L266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_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	D0,-(A7)
	MOVE	-2(A6),-(A7)
	MOVE	D6,-(A7)
	MOVE	#174,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
DATA SEG "s!"
	DATA 2F 00 
CODE SEG "player"
	PEA	s!+378(A4)
	PEA	-24(A6)
	JSR	strcpy(PC)
	ADDQ.L	#8,A7
	MOVE	#3,-(A7)
	MOVE	#1,-(A7)
	MOVE	-4(A6),-(A7)
	JSR	F288_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE.L	D0,-(A7)
	PEA	-24(A6)
	JSR	strcat(PC)
	ADDQ.L	#8,A7
	PEA	-24(A6)
	MOVE	#13,-(A7)
	MOVE	D6,-(A7)
	MOVE	#192,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
	ADDQ	#7,D6
L269:
	ADDQ	#1,D7
L267:
	CMPI	#6,D7
	BLS	L268(PC)
L270:
L261:
	MOVEM.L	(A7)+,D4-D7/A3
	UNLK	A6
	RTS
L$260:	.EQU	#-24
F352_aszz_:/* global */
	LINK	A6,L$275
	MOVEM.L	D7-D6,-(A7)
	MOVE	#1,G597_B_Ign(A4)
	MOVE	#1,G331_B_Pre(A4)
	MOVE	G588_i_Mou(A4),D0
	AND	#2,D0
	BNE.S	L277
	CLR	G597_B_Ign(A4)
	CLR	G331_B_Pre(A4)
	CLR	G332_B_Sto(A4)
	BRA.S	L276
L277:
	JSR	F357_qzzz_(PC)
	JSR	F077_aA39_(PC)
	MOVE	#8,-(A7)
	JSR	F022_aaaU_(PC)
	ADDQ.L	#2,A7
	MOVE	#13,-(A7)
	MOVE	#12,-(A7)
	MOVE	#203,-(A7)
	JSR	F332_xxxx_(PC)
	ADDQ.L	#6,A7
	MOVE	G415_B_Lea(A4),D0
	BEQ.S	L278
	JSR	F351_xxxx_(PC)
	BRA.S	L279
L278:
	JSR	F035_aaaw_(PC)
	MOVE	#1,-(A7)
	MOVE	G414_T_Lea(A4),-(A7)
	JSR	F342_xxxx_(PC)
	ADDQ.L	#4,A7
L279:
	CLR	-(A7)
	JSR	F097_lzzz_(PC)
	ADDQ.L	#2,A7
L276:
	MOVEM.L	(A7)+,D6-D7
	UNLK	A6
	RTS
L$275:	.EQU	#0
F353_auzz_:/* global */
	LINK	A6,L$280
	MOVE	D7,-(A7)
	MOVE	#13,-(A7)
	MOVE	#12,-(A7)
	MOVE	#202,-(A7)
	JSR	F332_xxxx_(PC)
	ADDQ.L	#6,A7
	JSR	F347_xxxx_(PC)
	CLR	-(A7)
	JSR	F097_lzzz_(PC)
	ADDQ.L	#2,A7
	MOVE	G414_T_Lea(A4),D0
	MOVE	D0,D7
	CMPI	#-1,D0
	BEQ.S	L282
	MOVE	D7,-(A7)
	JSR	F034_aaau_(PC)
	ADDQ.L	#2,A7
L282:
	JSR	F078_xzzz_(PC)
L281:
	MOVE	(A7)+,D7
	UNLK	A6
	RTS
L$280:	.EQU	#0
F354_szzz_:/* global */
	LINK	A6,L$283
	CLR	G578_B_Use(A4)
	CLR	-4(A6)
	MOVE	#28,-2(A6)
	MOVE	8(A6),D0
	MULS	#69,D0
	ADDQ	#7,D0
	MOVE	D0,-8(A6)
	ADD	#31,D0
	MOVE	D0,-6(A6)
	MOVE	#-1,-(A7)
	MOVE	#16,-(A7)
	PEA	-8(A6)
	MOVE	8(A6),D0
	MULS	#800,D0
	LEA	G407_s_Par+336(A4),A0
	ADDA	D0,A0
	LEA	(A0),A0
	MOVE.L	A0,-(A7)
	JSR	F021_a002_(PC)
	ADDA	#12,A7
L284:
	UNLK	A6
	RTS
L$283:	.EQU	#-8
F355_hzzz_:/* global */
	LINK	A6,L$285
	MOVEM.L	A3/D7-D6,-(A7)
	MOVE	8(A6),D7
	CMPI	#4,D7
	BEQ.S	L287
	MOVE	D7,D0
	MULS	#800,D0
	LEA	G407_s_Par+52(A4),A0
	ADDA	D0,A0
	MOVE	(A0),D0
	BNE.S	L287
	BRA	L286(PC)
L287:
	MOVE	G333_B_Pre(A4),D0
	BNE.S	L289
	MOVE	G331_B_Pre(A4),D0
	BEQ.S	L288
L289:
	BRA	L286(PC)
L288:
	MOVE	#1,G321_B_Sto(A4)
	CMPI	#555,G068_i_Che(A4)
	BNE.S	L290
	MOVE.L	G313_ul_Ga(A4),D0
	SUB.L	G418_l_Las(A4),D0
	CMPI.L	#1000,D0
	BLE.S	L290
	ADDQ	#1,G330_i_Sto(A4)
L290:
	MOVE	G423_i_Inv(A4),D6
	MOVE	D7,D0
	ADDQ	#1,D0
	CMP	D6,D0
	BNE.S	L291
	MOVE	#4,D7
L291:
	JSR	F077_aA39_(PC)
	MOVE	D6,D0
	BEQ.S	L292
	CLR	G423_i_Inv(A4)
	JSR	F334_akzz_(PC)
	MOVE	D6,D0
	MULS	#800,D0
	LEA	G407_s_Par+-800(A4),A0
	ADDA	D0,A0
	LEA	(A0),A0
	MOVE.L	A0,A3
	MOVE	52(A3),D0
	BEQ.S	L293
	MOVE	G299_ui_Ca(A4),D0
	BNE.S	L293
	ORI	#4096,48(A3)
	MOVE	D6,D0
	SUBQ	#1,D0
	MOVE	D0,-(A7)
	JSR	F292_arzz_(PC)
	ADDQ.L	#2,A7
L293:
	MOVE	G300_B_Par(A4),D0
	BEQ.S	L294
	JSR	F078_xzzz_(PC)
	BRA	L286(PC)
L294:
	CMPI	#4,D7
	BNE.S	L295
	MOVE	#1,G326_B_Ref(A4)
	JSR	F395_pzzz_(PC)
	JSR	F078_xzzz_(PC)
	LEA	G448_as_Gr(A4),A0
	MOVE.L	A0,G442_ps_Se(A4)
	LEA	G459_as_Gr(A4),A0
	MOVE.L	A0,G444_ps_Se(A4)
	JSR	F357_qzzz_(PC)
	JSR	F098_rzzz_(PC)
	BRA	L286(PC)
L295:
L292:
	CLR	G578_B_Use(A4)
	MOVE	D7,D0
	ADDQ	#1,D0
	MOVE	D0,G423_i_Inv(A4)
	MOVE	D6,D0
	BNE.S	L296
	CLR	-(A7)
	PEA	G002_s_Gra(A4)
	JSR	F136_nzzz_(PC)
	ADDQ.L	#6,A7
L296:
	MOVE	D7,D0
	MULS	#800,D0
	LEA	G407_s_Par(A4),A0
	ADDA	D0,A0
	LEA	(A0),A0
	MOVE.L	A0,A3
	MOVE.L	G296_puc_B(A4),-(A7)
	MOVE	#17,-(A7)
	JSR	F488_bzzz_(PC)
	ADDQ.L	#6,A7
	MOVE	G299_ui_Ca(A4),D0
	BEQ.S	L297
	MOVE	#112,-(A7)
	MOVE	#12,-(A7)
	PEA	G041_s_Gra(A4)
	MOVE.L	G296_puc_B(A4),-(A7)
	JSR	F135_xzzz_(PC)
	ADDA	#12,A7
L297:
DATA SEG "s!"
	DATA 48 45 41 4C 54 48 00 00 
CODE SEG "player"
	PEA	s!+380(A4)
	MOVE	#13,-(A7)
	MOVE	#116,-(A7)
	MOVE	#5,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
DATA SEG "s!"
	DATA 53 54 41 4D 49 4E 41 00 
CODE SEG "player"
	PEA	s!+388(A4)
	MOVE	#13,-(A7)
	MOVE	#124,-(A7)
	MOVE	#5,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
DATA SEG "s!"
	DATA 4D 41 4E 41 00 00 
CODE SEG "player"
	PEA	s!+396(A4)
	MOVE	#13,-(A7)
	MOVE	#132,-(A7)
	MOVE	#5,-(A7)
	JSR	F052_aaoz_(PC)
	ADDA	#10,A7
	CLR	D6
	BRA.S	L298
L299:
	MOVE	D6,-(A7)
	MOVE	D7,-(A7)
	JSR	F291_xxxx_(PC)
	ADDQ.L	#4,A7
L300:
	ADDQ	#1,D6
L298:
	CMPI	#30,D6
	BCS.S	L299
L301:
	ORI	#23424,48(A3)
	MOVE	#37,-(A7)
	JSR	R056_aaal_(PC)
	ADDQ.L	#2,A7
	MOVE	D7,-(A7)
	JSR	F292_arzz_(PC)
	ADDQ.L	#2,A7
	MOVE	#1,G598_B_Mou(A4)
	JSR	F078_xzzz_(PC)
	LEA	G449_as_Gr(A4),A0
	MOVE.L	A0,G442_ps_Se(A4)
	CLR.L	G444_ps_Se(A4)
	JSR	F357_qzzz_(PC)
L286:
	MOVEM.L	(A7)+,D6-D7/A3
	UNLK	A6
	RTS
L$285:	.EQU	#0
