	.extern	start
	.extern	restart
	.extern	mainloop
	.extern	gameloop
	.extern	clearscr
	.extern	initgame
	.extern	startlev
	.extern	adjblak
	.extern	blitmask
	.extern	init_plr
	.extern	run_counters
	.extern	do_colors
	.extern	mk_form
	.extern	mk_front
	.extern	mv_front
	.extern	mv_cutr,mv_cutsh
	.extern	plr_left,plr_right,plr_up,plr_down
	.extern	fire_shot
	.extern	fire_bomb
	.extern	loadbomb
	.extern	make_pwrup
	.extern	got_pwrup
	.extern	pw_bull,pw_bomb,pw_mag,pw_ring,pw_trace,pw_miss,pw_flash,pw_beam,pw_bolt,pw_shld
	.extern	add_spec
	.extern	pw_life
	.extern	pw_pts
	.extern	mv_obj2
	.extern	move_obj
	.extern	move_left,move_right,move_up,move_down
	.extern	hitlimit
	.extern	fire_cut
	.extern	load_dta
	.extern	load_exp
	.extern	load_ship
	.extern	loadgrph
	.extern	loadshld
	.extern	loadshts
	.extern	ld_gmovr
	.extern	ld_cont
	.extern	ld_pause
	.extern	start_explosion
	.extern	start_plr_exp
	.extern	erase_info
	.extern	draw_info
	.extern	draw_score
	.extern	draw_icns
	.extern	draw_lives
	.extern	conv_score
	.extern	addscore
	.extern	playsnd
	.extern	playvoice
	.extern	startsmp
	.extern	chk_voices
	.extern	init_snd
	.extern	sndpause,sndunpause
	.extern	sndoff
	.extern	sndoffd0
	.extern	voiceoff
	.extern	bssnd_on,bssndoff
	.extern	initonce
	.extern	ld_decmp
	.extern	ld_build,ld_bldsc
	.extern	load_dq
	.extern	ob_heads
	.extern	do_build
	.extern	copy_oli
	.extern	VideoIni
	.extern	set_palette
	.extern	wait_int
	.extern	framecnt
	.extern	IntInit
	.extern	random
	.extern	seedinit
	.extern	input
	.extern	gameinput
	.extern	input_joy
	.extern	input_but
	.extern	input_keys
	.extern	cutinput
	.extern	do_cont
	.extern	readpad
	.extern	fire_spec
	.extern	f_tracer
	.extern	f_beam
	.extern	f_flash
	.extern	f_missile
	.extern	f_ring
	.extern	f_bolt
	.extern	f_magnet
	.extern	f_shield
	.extern	loadspec
	.extern	draw_flsh
	.extern	move_spec
	.extern	mv_spec
	.extern	spec_off
	.extern	endmvspe
	.extern	m_msexp
	.extern	ms_exp
	.extern	ld_msexp
	.extern	m_bolt
	.extern	m_missile
	.extern	m_magnet
	.extern	m_tracer
	.extern	m_beam
	.extern	m_ring
	.extern	m_flash
	.extern	m_shield
	.extern	get_tr_d
	.extern	spec_collisions
	.extern	beamcoll
	.extern	boltcoll
	.extern	magcoll
	.extern	ringcoll
	.extern	misscoll
	.extern	msexp_co
	.extern	shldcoll
	.extern	s_coll
	.extern	traccoll
	.extern	flshcoll
	.extern	anim_enemies
	.extern	chg_type
	.extern	adjbspos
	.extern	adboss00,adboss01,adboss02,adboss03,adboss04,adboss05,adboss06,adboss07,adboss08,adboss09,adboss10
	.extern	wtl_x
	.extern	wtl_y
	.extern	an_en_shots
	.extern	get_en_distance
	.extern	got_quad
	.extern	quadofst
	.extern	move_en
	.extern	mv_stat
	.extern	get_dir
	.extern	en_shoot
	.extern	move_en_shots
	.extern	grnd_obj
	.extern	create_en
	.extern	ck_boss
	.extern	dodecomp,do_mask
	.extern	mkboss00,mkboss01,mkboss02,mkboss03,mkboss04,mkboss05,mkboss06,mkboss07,mkboss08,mkboss09,mkboss10
	.extern	split_en
	.extern	set_en_info
	.extern	damage_enemy
	.extern	go_intro
	.extern	clrinttx
	.extern	int_txt
	.extern	blitint
	.extern	int_strs
	.extern	int_spc
	.extern	int_des
	.extern	int_air
	.extern	int_cave
	.extern	int_yang
	.extern	int_city
	.extern	intolst
	.extern	selloop
	.extern	sel_info
	.extern	selinput
	.extern	sel_joy
	.extern	curs_up,curs_dn,curs_lf,curs_rt
	.extern	sel_but
	.extern	curs_loc
	.extern	plnt_txt
	.extern	blitstr
	.extern	blit_chr
	.extern	blitdash
	.extern	goselect
	.extern	ld_selbk
	.extern	ld_plnts
	.extern	win_info
	.extern	wininfo0,wininfo1,wininfo2,wininfo3,wininfo4,wininfo5,wininfo6
	.extern	fontaddr
	.extern	string0,string1,string2,string3,string4,strcomp
	.extern	finalno
	.extern	finalyes
	.extern	selolst
	.extern	titleloop
	.extern	titlinpu
	.extern	loadtshp
	.extern	gotitle
	.extern	ld_tback
	.extern	decomp
	.extern	titlestr
	.extern	titlolst
	.extern	congloop
	.extern	conginfo
	.extern	go_cong
	.extern	congolst
	.extern	startbss
	.extern	olist
	.extern	olist_ram
	.extern	olist_bak
	.extern	objram
	.extern	shield00,shield01,shield02,shield03,shield04
	.extern	cutrdata
	.extern	specdata
	.extern	bombdata
	.extern	pwrupdata
	.extern	msgdata
	.extern	ramobjs
	.extern	bulletl0,bulletl1,bulletl2,bulletl3,bulletl4,bulletl5
	.extern	mode_ram
	.extern	end_mode
	.extern	iconbar
	.extern	scorebar
	.extern	tile00,tile01,tile02,tile03,tile04,tile05,tile06,tile07,tile08,tile09,tile10,tile11,tile12,tile13,tile14,tile15,tile16,tile17
	.extern	tile18,tile19,tile20,tile21
	.extern	exp_a0,exp_a1,exp_a2,exp_a3
	.extern	exp_b0,exp_b1,exp_b2,exp_b3,exp_b4,exp_b5,exp_b6,exp_b7
	.extern	exp_c0,exp_c1,exp_c2,exp_c3,exp_c4,exp_c5,exp_c6,exp_c7
	.extern	exp_d0,exp_d1,exp_d2,exp_d3,exp_d4,exp_d5,exp_d6,exp_d7
	.extern	screen,screenpad
	.extern	lev_data
	.extern	sel_data
	.extern	cursdta
	.extern	bgplanet
	.extern	plan00,plan01,plan02,plan03,plan04,plan05,plan06,plan07,plan08,plan09,plan10,plan11,plan12,plan13,plan14,plan15
	.extern	plan16,plan17,plan18,plan19,plan20,plan21,plan22,plan23,plan24
	.extern	dash
	.extern	dashwdta
	.extern	selback
	.extern	titlescr
	.extern	cglogo,crlogo
	.extern	tship00,tship01
	.extern	congscrn
	.extern	cngline0,cngline1,cngline2,cngline3,cngline4,cngline5,cngline6,cngline7,cngline8
	.extern	spore0,spore1,spore2,spore3,spore4,spore5,spore6
	.extern	fern0,fern1,fern2,fern3,fern4,fern5,fern6,fern7
	.extern	pillbug0,pillbug1,pillbug2,pillbug3,pillbug4,pillbug5,pillbug6,pillbug7,pillexp0,pillexp1,pillexp2
	.extern	seymor0,seymor1,seymor2,seymor3,seymor4,seymor5,seymor6,seymexp0,seymexp1,seymexp2,seymexp3
	.extern	bskull0,bskull1,bskull2,bskull3,bskull4,bskull5,bskull6,bskull7
	.extern	flwr00,flwr01,flwr02,flwr03,flwr04,flwr05,flwr06
	.extern	gund00,gund01,gund02,gund03,gund04,gund05,gund06
	.extern	kilrun00,kilrun01,kilrun02,kilrun03,kilrun04,kilrun05,kilrun06,kilrun07,kilrun08
	.extern	sadmsk00,sadmsk01,sadmsk02,sadmsk03,sadmsk04,sadmsk05,sadmsk06,sadmsk07,sadmsk08,sadmsk09
	.extern	ffly00,ffly01,ffly02,ffly03,ffly04,ffly05
	.extern	moss0,mossrk0,stump0,tree0
	.extern	spit0,spit1,spit2
	.extern	fernsht0,fernsht1,fernsht2,fernsht3
	.extern	seyshot0,seyshot1
	.extern	bskshot
	.extern	gundsht0,gundsht1,gundsht2
	.extern	kilrunsh
	.extern	sadmsht0,sadmsht1,sadmsht2
	.extern	fflysht0,fflysht1
	.extern	trat00,trat01,trat02,trat03,trat04,trat05,trat06,trat07,trat08,trat09,trat10,trat11,trat12,trat13,trat14,trat15,trat16,trat17,trat18
	.extern	scorp00b,scorp01b,scorp02b,scorp03b,scorp04b,scorp05b
	.extern	scorp00s,scorp01s,scorp02s,scorp03s,scorp04s,scorp05s
	.extern	buggy0,buggy1,buggy2,buggy3,buggy4,buggy5,buggy6,buggy7,buggy8,buggy9,buggy10,buggy11
	.extern	fbug00,fbug01,fbug02,fbug03,fbug04,fbug05,fbug06,fbug07,fbug08,fbug09,fbug10,fbug11,fbug12,fbug13,fbug14,fbug15,fbug16,fbug17,fbug18
	.extern	vult00,vult01,vult02,vult03,vult04,vult05,vult06,vult07,vult08,vult09,vult10,vult11,vult12,vult13,vult14,vult15,vult16,vult17,vult18
	.extern	vult19,vult20,vult21,vult22,vult23,vult24,vult25,vult26,vult27,vult28,vult29,vult30,vult31
	.extern	ball00
	.extern	geyser00,geyser01,geyser02,geyser03,geyser04,geyser05,geyser06
	.extern	poppy00,poppy01,poppy02
	.extern	dino00,dino01,dino02,dino03,dino04,dino05,dino06,dino07
	.extern	dinos00,dinos01,dinos02,dinos03,dinos04,dinos05,dinos06,dinos07
	.extern	dso00,dso01,dso02,dso03,dso04
	.extern	tratshot
	.extern	scorpsh0,scorpsh1,scorpsh2,scorpsh3
	.extern	buggysh0,buggysh1,buggysh2,buggysh3
	.extern	fbugsht0,fbugsht1
	.extern	vultshot
	.extern	bat00,bat01,bat02,bat03,bat04,bat05,bat06,bat07,bat08,bat09,bat10,bat11,bat12,bat13,bat14,bat15,bat16,bat17,bat18,bat19
	.extern	bat20,bat21,bat22,bat23,bat24,bat25,bat26,bat27
	.extern	spidsm00,spidsm01,spidsm02,spidsm03,spidsm04,spidsm05
	.extern	spidbg00,spidbg01,spidbg02,spidbg03,spidbg04,spidbg05
	.extern	spin00,spin01,spin02,spin03,spin04,spin05,spin06,spin07
	.extern	humm00,humm01,humm02,humm03,humm04,humm05,humm06,humm07,humm08,humm09
	.extern	baby00,baby01,baby02,baby03,baby04,baby05,baby06,baby07,baby08,baby09,baby10,baby11,baby12,baby13
	.extern	dragon00,dragon01,dragon02,dragon03,dragon04,dragon05
	.extern	blockb00,blockb01,blockm00,blocks00,blocks01
	.extern	slug00,slug01,slug02,slug03,slug04,slug05
	.extern	hummshot
	.extern	babyshot
	.extern	dragshot
	.extern	slugshot,dinoshot
	.extern	dino,dinos
	.extern	fishtx00,fishtx01,fishtx02,fishtx03,fishtx04,fishtx05,fishtx06,fishtx07,fishtx08,fishtx09,fishtx10,fishtx11
	.extern	fishtx12,fishtx13,fishtx14,fishtx15,fishtx16,fishtx17,fishtx18,fishtx19,fishtx20,fishtx21,fishtx22,fishtxsh
	.extern	tower00,ming00,robot00,robot01,robot02,robot03,robot04
	.extern	elec00,elec01,elec02,elec03
	.extern	bigrok00,bigrok01,bigrok02,bigrok03,bigrok04,bigrok05,bigrok06,bigrok07
	.extern	bigrok08,bigrok09,bigrok10,bigrok11,bigrok12,bigrok13,bigrok14,bigrok15
	.extern	medrok00,medrok01,medrok02,medrok03,medrok04,medrok05,medrok06,medrok07
	.extern	medrok08,medrok09,medrok10,medrok11,medrok12,medrok13,medrok14,medrok15
	.extern	smlrok00,smlrok01,smlrok02,smlrok03,smlrok04,smlrok05,smlrok06,smlrok07
	.extern	smlrok08,smlrok09,smlrok10,smlrok11,smlrok12,smlrok13,smlrok14,smlrok15
	.extern	mdcrsa00,mdcrsa01,mdcrsa02,mdcrsa03,mdcrsa04,mdcrsa05,mdcrsa06,mdcrsa07
	.extern	mdcrsa08,mdcrsa09,mdcrsa10,mdcrsa11,mdcrsa12,mdcrsa13,mdcrsa14,mdcrsa15
	.extern	mdcrsb00,mdcrsb01,mdcrsb02,mdcrsb03,mdcrsb04,mdcrsb05,mdcrsb06,mdcrsb07
	.extern	mdcrsb08,mdcrsb09,mdcrsb10,mdcrsb11,mdcrsb12,mdcrsb13,mdcrsb14,mdcrsb15
	.extern	bigcrs00,bigcrs01,bigcrs02,bigcrs03,bigcrs04,bigcrs05,bigcrs06,bigcrs07
	.extern	bigstar0,bigstar1,bigstar2,bigstar3
	.extern	bstar_a0,bstar_a1,bstar_a2,bstar_a3
	.extern	bstar_b0,bstar_b1,bstar_b2,bstar_b3
	.extern	medstar0,medstar1,medstar2,medstar3
	.extern	mstar_a0,mstar_a1,mstar_a2,mstar_a3
	.extern	mstar_b0,mstar_b1,mstar_b2,mstar_b3
	.extern	prockb00,prockb01,prockb02,prockb03,prockb04,prockb05,prockb06,prockb07,prockb08,prockb09,prockb10,prockb11,prockb12,prockb13
	.extern	prockm00,prockm01,prockm02,prockm03,prockm04,prockm05,prockm06,prockm07,prockm08,prockm09,prockm10,prockm11,prockm12,prockm13
	.extern	procks00,procks01,procks02,procks03,procks04,procks05,procks06,procks07,procks08,procks09,procks10,procks11,procks12,procks13
	.extern	burplb00,burplb01,burplb02,burplb03,burplb04,burplb05,burplb06,burplb07
	.extern	burplb08,burplb09,burplb10,burplb11,burplb12,burplb13,burplb14,burplb15
	.extern	burpls00,burpls01,burpls02,burpls03,burpls04,burpls05,burpls06,burpls07
	.extern	burpls08,burpls09,burpls10,burpls11,burpls12,burpls13,burpls14,burpls15
	.extern	bubblb00,bubblb01,bubblb02,bubblb03,bubblb04,bubblb05,bubblb06,bubblb07
	.extern	bubblb08,bubblb09,bubblb10,bubblb11,bubblb12,bubblb13,bubblb14,bubblb15
	.extern	bubbls00,bubbls01,bubbls02,bubbls03,bubbls04,bubbls05,bubbls06,bubbls07
	.extern	bubbls08,bubbls09,bubbls10,bubbls11,bubbls12,bubbls13,bubbls14,bubbls15
	.extern	pebblb00,pebblb01,pebblb02,pebblb03,pebblb04,pebblb05,pebblb06,pebblb07
	.extern	pebblb08,pebblb09,pebblb10,pebblb11,pebblb12,pebblb13,pebblb14,pebblb15
	.extern	pebblm00,pebblm01,pebblm02,pebblm03,pebblm04,pebblm05,pebblm06,pebblm07
	.extern	pebblm08,pebblm09,pebblm10,pebblm11,pebblm12,pebblm13,pebblm14,pebblm15
	.extern	pebbls00,pebbls01,pebbls02,pebbls03,pebbls04,pebbls05,pebbls06,pebbls07
	.extern	pebbls08,pebbls09,pebbls10,pebbls11,pebbls12,pebbls13,pebbls14,pebbls15
	.extern	cube00,cube01,cube02,cube03,cube04,cube05,cube06,cube07,cube08,cube09,cube10,cube11,cube12,cube13,cube14,cube15,cube16
	.extern	sphere00,sphere01,sphere02,sphere03,sphere04,sphere05,sphere06,sphere07,sphere08,sphere09,sphere10,sphere11,sphere12
	.extern	sphere13,sphere14,sphere15,sphere16,sphere17,sphere18,sphere19,sphere20,sphere21,sphere22,sphere23,sphere24
	.extern	tri00,tri01,tri02,tri03,tri04,tri05,tri06,tri07,tri08,tri09,tri10,tri11,tri12,tri13,tri14,tri15
	.extern	tri16,tri17,tri18,tri19,tri20,tri21,tri22,tri23,tri24,tri25,tri26,tri27
	.extern	glow00,glow01,glow02,glow03,glow04,glow05,glow06,glow07
	.extern	eyelgbl0,eyelgbl1,eyelgbl2,eyelgbl3,eyelgbl4,eyelgbl5,eyelgbl6,eyelgbl7
	.extern	eyelggr0,eyelggr1,eyelggr2,eyelggr3,eyelggr4,eyelggr5,eyelggr6,eyelggr7
	.extern	eyesmbl0,eyesmbl1,eyesmbl2,eyesmbl3,eyesmbl4,eyesmbl5,eyesmbl6,eyesmbl7
	.extern	eyesmgr0,eyesmgr1,eyesmgr2,eyesmgr3,eyesmgr4,eyesmgr5,eyesmgr6,eyesmgr7
	.extern	snake00,snake01,snake02,snake03,snake04,snake05,snake06,snake07,snake08,snake09,snake10,snake11,snake12,snake13,snake14,snake15
	.extern	snake16,snake17,snake18,snake19,snake20,snake21,snake22
	.extern	cubeshot,spheresh
	.extern	ring00,ring01,ring02,ring03,ring04,ring05
	.extern	destop0,destop1,destop2,desbot0,desbot1,desbot2,desbssh0,desbssh1,desbssh2,desbssh3
	.extern	airboss0,airboss1,airboss2,airboss3,airboss4,airboss5,airboss6,airboss7,airboss8
	.extern	cvboss00,cvboss01,cvboss02,cvboss03,cvboss04,cvboss05,cvboss06,cvboss07,cvboss08,cvboss09,cvboss10,cvboss11,cvboss12,cvboss13,cvboss14
	.extern	cvbssh0,cvbssh1
	.extern	wboss00,wboss01,wboss02,wboss03,wboss04,wboss05,wboss06,wboss07,wboss08,wboss09,wboss10,wboss11,wboss12,wboss13,wboss14,wboss15
	.extern	wboss16,wboss17,wboss18,wboss19,wboss20,wboss21,wboss22,wboss23
	.extern	wshot00,wshot01
	.extern	citybs00,cityhd00,cityhd01,cityhd02,cityhd03,cityhd04,cityhd05,cityhd06,citysh00,citysh01,citysh02,citysh03,citysh04
	.extern	skribs
	.extern	skneck00,skneck01,skneck02,skneck03,skneck04
	.extern	skarm00,skarm01,skarm02,skarm03,skarm04,skarm05
	.extern	skhead00,skhead01,skhead02,skhead03,skhead04,skhead05,skhead06,skhead07
	.extern	skhrnb00,skhrnb01,skhrnb02,skhrnb03,skhrnb04,skhrnb05,skhrnb06,skhrnb07,skhrnb08
	.extern	skhrnf00,skhrnf01,skhrnf02,skhrnf03,skhrnf04,skhrnf05,skhrnf06,skhrnf07,skhrnf08
	.extern	skhrnn00,skhrnn01,skhrnn02,skhrnn03,skhrnn04,skhrnn05
	.extern	skullsh0
	.extern	serp00,serp01,serp02,serp03,serp04,serp05,serp06,serp07,serp08,serp09,serp10,serp11
	.extern	serprw00,serprw01,serprw02,serprw03,serprw04,serprw05,serprw06,serprw07,serprw08
	.extern	serplw00,serplw01,serplw02,serplw03,serplw04,serplw05,serplw06,serplw07,serplw08
	.extern	serpsht0
	.extern	quetbd00,quetbd01,quetbd02,quetbd03,quetbd04,quetbd05,quetbd06,quetbd07,quetbd08,quetbd09,quetbd10,quetbd11,quetbd12,quetbd13,quetbd14,quetbd15
	.extern	quetab00,quetab01,quetab02,quetab03,quetab04,quetab05,quetab06,quetab07,quetab08,quetab09,quetab10,quetab11,quetab12,quetab13,quetab14,quetab15
	.extern	quetaf00,quetaf01,quetaf02,quetaf03,quetaf04,quetaf05,quetaf06,quetaf07,quetaf08,quetaf09,quetaf10,quetaf11,quetaf12,quetaf13,quetaf14,quetaf15
	.extern	quettl00,quettl01,quettl02,quettl03,quettl04,quettl05,quettl06,quettl07,quettl08,quettl09,quettl10,quettl11,quettl12,quettl13,quettl14,quettl15
	.extern	mud00,mud01,mud02,mud03,mud04,mud05,mud06,mud07,mudshot
	.extern	oddcld00,oddcld01,oddcld02,oddcld03,oddit00,oddit01,oddit02,oddit03,oddit04,oddit05,oddit06,oddit07,oddit08,oddit09,oddit10,oddit11
	.extern	odditsh0
	.extern	quetsht0
	.extern	station0,statflg0,statflg1,statflg2,statflg3,statflg4,statflg5,statflg6
	.extern	cvrock0,cvrock1,cvrock2
	.extern	bldg0,bldg1,bldg2,bldg3
	.extern	levdata
	.extern	gameobjs
	.extern	bkground
	.extern	statn,statnflg
	.extern	iconbox
	.extern	scorebox
	.extern	enemy0,enemy1,enemy2,enemy3,enemy4,enemy5,enemy6,enemy7,enemy8,enemy9
	.extern	powerup
	.extern	cutter
	.extern	cutshot0,cutshot1,cutshot2,cutshot3
	.extern	player
	.extern	bullet0,bullet1,bullet2,bullet3,bullet4,bullet5,bullet6,bullet7,bullet8,bullet9,bullet10,bullet11,bullet12,bullet13,bullet14
	.extern	en_shot0,en_shot1,en_shot2,en_shot3,en_shot4,en_shot5,en_shot6,en_shot7,en_shot8,en_shot9
	.extern	bomb
	.extern	specweap
	.extern	front0,front1,front2,front3,front4,front5,front6,front7
	.extern	specflsh
	.extern	message
	.extern	scrcover
	.extern	titlobjs
	.extern	t_scr,t_cg,t_cr,t_ship
	.extern	tplayer
	.extern	selobjs
	.extern	selbackg
	.extern	planet1
	.extern	planet2
	.extern	planet3
	.extern	planet4
	.extern	planet5
	.extern	dashobj
	.extern	dashwind
	.extern	selicons
	.extern	selscore
	.extern	cursor
	.extern	congobjs
	.extern	congscr
	.extern	congscor
	.extern	congln0,congln1,congln2,congln3,congln4,congln5,congln6,congln7,congln8
	.extern	intobjs
	.extern	introscr
	.extern	introtxt
	.extern	introicn
	.extern	introsco
	.extern	sndsave0
	.extern	sndtype
	.extern	voicestatus
	.extern	snd_cnt
	.extern	hiscores
	.extern	seed
	.extern	joyedge,joycur,joyold,joyhold
	.extern	joyedge2,joycur2,sampnum
	.extern	firebut,bombbut,specbut
	.extern	chtcode,chtflag
	.extern	t_count
	.extern	endlvdel
	.extern	level,levelx2,levelx4,levelx64
	.extern	curbktile
	.extern	oldbktile
	.extern	scrlspd
	.extern	scrlspdf
	.extern	odomback
	.extern	odomfrnt
	.extern	odomend
	.extern	oldfront
	.extern	firstbuf
	.extern	lastbuf
	.extern	backxpos
	.extern	score
	.extern	oldscore
	.extern	bomb_power
	.extern	flagcnt,flagstp
	.extern	spec_type
	.extern	spec_hit
	.extern	spec_tot
	.extern	spec_dir
	.extern	spec_tgt
	.extern	boltflip
	.extern	ms_excnt,ms_exstp
	.extern	ms_rlimit
	.extern	maglimit
	.extern	beamtime
	.extern	flshtime
	.extern	ringstep
	.extern	ringcnt
	.extern	shldtime
	.extern	tracstep
	.extern	max_gtbl,max_g_en
	.extern	cur_en
	.extern	en_ptcnt
	.extern	exp_step
	.extern	exp_count
	.extern	exp_stpb,exp_cntb
	.extern	exp_stps,exp_cnts
	.extern	en_lim
	.extern	en_type
	.extern	en_health
	.extern	dir_to_plr
	.extern	enemydir
	.extern	dirtomag
	.extern	en_action
	.extern	en_an_step
	.extern	en_an_chg
	.extern	en_an_time
	.extern	atk_chnc
	.extern	en_fired
	.extern	en_speed
	.extern	en_pat
	.extern	en_ptinf
	.extern	en_mvcnt
	.extern	en_mvlmt
	.extern	en_altmv
	.extern	en_sh_dir
	.extern	en_sh_speed
	.extern	en_sh_cnt
	.extern	en_sh_anm
	.extern	en_sh_tg
	.extern	sh_targx,sh_targy
	.extern	sh_usetg
	.extern	gamemode
	.extern	finished,lvlsdone
	.extern	pause_flag
	.extern	cont_del
	.extern	cont_cnt
	.extern	cont_sign
	.extern	gameover
	.extern	levstatus
	.extern	levflag
	.extern	bossmade
	.extern	active_enemies
	.extern	limitflag,limitall,limittop,limitbot,limitlf,limitrt
	.extern	en_lf_lim
	.extern	newtilfl
	.extern	lives
	.extern	plrflash
	.extern	levdelay
	.extern	shot_delay
	.extern	spec_delay
	.extern	score_dec
	.extern	pwr_dir
	.extern	bulnum
	.extern	bulpower
	.extern	p_expstp
	.extern	p_expcnt
	.extern	bomb_an_step
	.extern	cutshdel
	.extern	cutrfrmc,cutrfrmx,cutrfrmy,cutrrad,cutrthet
	.extern	cutrtime
	.extern	oddithsz,odditvsz
	.extern	curship
	.extern	selection
	.extern	intcount
	.extern	pal_ntsc
	.extern	looptable
	.extern	tilebufs
	.extern	boss_tbl
	.extern	boss_adj
	.extern	od_end1
	.extern	od_end2
	.extern	shipdata
	.extern	shlddata
	.extern	cutrshps,cutrmsks
	.extern	spds_h
	.extern	spds_v
	.extern	num_addr
	.extern	exp_data
	.extern	expa_dta,expb_dta,expc_dta,expd_dta,expe_dta
	.extern	plr_exdt
	.extern	exp_otyp
	.extern	exp_ht
	.extern	exp_dw
	.extern	exp_scl
	.extern	exp_stp
	.extern	exp_chg
	.extern	exp_snd
	.extern	en_chg_times
	.extern	en_steps
	.extern	en_actdw
	.extern	en_xstart,en_ystart
	.extern	en_pt_table
	.extern	health_table
	.extern	en_dead_table
	.extern	en_expl
	.extern	en_ex_pos
	.extern	en_appear_flag
	.extern	en_shtch
	.extern	shstart
	.extern	atktable
	.extern	en_moves
	.extern	track_xy
	.extern	en_mvlim
	.extern	dir_chg_table
	.extern	en_alt_table
	.extern	en_spd_table
	.extern	en_dir_table
	.extern	en_limit
	.extern	en_coladd
	.extern	en_collwh
	.extern	en_ht_dw
	.extern	en_tractg
	.extern	act_ofst
	.extern	en_an_table
	.extern	en_an
	.extern	enfirsnd
	.extern	enhitsnd
	.extern	shot_types
	.extern	shot_pos
	.extern	shot_data
	.extern	en_sh_width
	.extern	en_sh_dwidth
	.extern	en_sh_ht
	.extern	en_sh_dp
	.extern	en_sh_fp
	.extern	shot_speeds
	.extern	shotdirs
	.extern	track_dirs
	.extern	pwrtable
	.extern	pwr_data
	.extern	pw_coll
	.extern	buldata
	.extern	bulheight,buldwid,bulfirst
	.extern	bulyoff,bulcolht,bulwidth
	.extern	bull_dmg
	.extern	bomb_hpos_chg
	.extern	bomb_vpos_chg
	.extern	bomb_dmg
	.extern	bombsrom
	.extern	s_coll_addr
	.extern	f_spec
	.extern	m_spec
	.extern	spec_snd
	.extern	specssnd
	.extern	specblit
	.extern	spec_ht
	.extern	specinfw
	.extern	specinfb
	.extern	tracdata
	.extern	spec_icons
	.extern	ringoffs
	.extern	snd_addr
	.extern	sampvol
	.extern	samp_priorities
	.extern	snd_hdr_tbl
	.extern	simpenv
	.extern	spc_en0,spc_en1,spc_en2,spc_en3,spc_en4
	.extern	des_en,sw_en,cave_en,air_en,city_en
	.extern	adblktbl
	.extern	enload,enloadm
	.extern	shload,objload
	.extern	univ_sh
	.extern	tile_q
	.extern	bk_ypos
	.extern	til_tbl
	.extern	elisttbl
	.extern	elistsp0,elistsp1,elistsp2,elistsp3,elistsp4,elistds,elistsw,elistcv,elistair,elistcty
	.extern	glisttbl
	.extern	glistds,glistsw,glistcv,glistair,glistcty,glistbon
	.extern	flisttbl
	.extern	flistds,flistcv,flistcty,flistsw
	.extern	frinftbl
	.extern	frinfds,frinfcv,frinfcty,frinfsw,frinfbon
	.extern	tlisttbl
	.extern	tlistsp0,tlistsp1,tlistsp2,tlistsp3,tlistsp4,tlistds,tlistsw,tlistcv,tlistair,tlistcty,tlistbn
	.extern	frontcol
	.extern	scoreclr,scrclr0,scrclr1
	.extern	statypos
	.extern	palette
	.extern	gameolst
	.extern	scrcov
	.extern	build,buildsc
	.extern	adblack
	.extern	dejagst
	.extern	q65,q85
	.extern	dehuff
;compressed files
	.extern	titlebk,titlecg,titlecr,tship0,tship1
	.extern	congpic
	.extern	congtx0,congtx1,congtx2,congtx3,congtx4,congtx5
	.extern	desplan
	.extern	bigrocks,medrocks,smlrocks
	.extern	bigstar,medstar
	.extern	bigcryst,mdcrsa,mdcrsb
	.extern	buggy
	.extern	spore
	.extern	pbug,pexp
	.extern	seym,seymexp
	.extern	rat
	.extern	spinner
	.extern	scrpb,scrps
	.extern	bskull
	.extern	fern
	.extern	cube,sphere,tri,trisht0,trisht1,trisht2
	.extern	bat
	.extern	dsob00,dsob01,dsob02,dsob03,dsob04
	.extern	cvrock00,cvrock01,cvrock02,cvrock03,cvrock04
	.extern	bldg00,bldg01,bldg02,bldg03
	.extern	prockb,prockm,procks,burplb,burpls,bubblb,bubbls
	.extern	pebblb,pebblm,pebbls
	.extern	vult,fbug,humm,flwr,gund,ffly,spidsm,spidbg,kilrun,sadmsk,fishtx,baby,slug
	.extern	blokb0,blokb1,blokm,bloks0,bloks1
	.extern	station,ball
	.extern	flags,general
	.extern	ringl0,ringl1,ringm0,ringm1,rings0,rings1
	.extern	geyser
	.extern	cutr0,cutr1,cutr2,cutr3,cutr4
	.extern	plrship,shlds
	.extern	bullet0r,bullet1r,bullet2r,bullet3r
	.extern	bmb0rom,bmb1rom,bmb2rom
	.extern	gmoverrm,pauserm,controm
	.extern	magicn,traceicn,beamicn,flashicn,missicn,shldicn,ringicn,bolticn,lifeicn,cutricn
	.extern	boltmid,boltbot,magrom,tracerm0,tracerm1,tracerm2,beamrom,missrom,ringrom,bolttop
	.extern	swshts,desshts,airshts,cvshts,cityshts,univshts
	.extern	airbossh,cvbssht0,skullsht,wshots,odditsht
	.extern	pwbull1,pwbull2,pwbull3,pwbomb1,pwbomb2,pwbeam,pwmagnet,pwlife,pwmiss,pwring,pwtrace,pwflash,pwbolt,pwshld,pwpoints
	.extern	player00,player01,player02,player03,player04
	.extern	expa,expb,expc,expd
	.extern	poppy0,poppy1,poppy2,robot,ming,tower
	.extern	snake0,snake1,snake2,snake3,snake4
	.extern	elec
	.extern	glowbug
	.extern	eyelgbl,eyelggr,eyesmbl,eyesmgr
	.extern	dragon
	.extern	moss,mossrk,stump,tree

	.extern	fnt_excl,fnt_quot,fnt_pnd,fnt_dol,fnt_perc,fnt_amp,fnt_apos,fnt_lpar,fnt_rpar,fnt_astr,fnt_plus,fnt_com,fnt_hyph,fnt_per,fnt_slsh
	.extern	fnt_0,fnt_1,fnt_2,fnt_3,fnt_4,fnt_5,fnt_6,fnt_7,fnt_8,fnt_9
	.extern	fnt_col,fnt_semi,fnt_less,fnt_equ,fnt_grtr,fnt_ques,fnt_at,fnt_a,fnt_b,fnt_c,fnt_d,fnt_e,fnt_f,fnt_g,fnt_h,fnt_i,fnt_j,fnt_k,fnt_l
	.extern	fnt_m,fnt_n,fnt_o,fnt_p,fnt_q,fnt_r,fnt_s,fnt_t,fnt_u,fnt_v,fnt_w,fnt_x,fnt_y,fnt_z
	.extern	num0,num1,num2,num3,num4,num5,num6,num7,num8,num9
;masks
	.extern	ttlecgm,ttlecrm,tship0m,tship1m
	.extern	cngtx0m,cngtx1m,cngtx2m,cngtx3m,cngtx4m,cngtx5m
	.extern	bskull_m,bcrst_m,bigrk_m,bstar_m,buggy_m,fern_m,mcrysa_m,mcrysb_m,mrock_m,mstar_m,pbug_m,pexp_m,rat_m
	.extern	scrpb_m,scrps_m,seymex_m,seym_m,smlrk_m,spin_m,spore_m
	.extern	earth_m,despln_m
	.extern	cube_m,sphere_m,tri_m,tri0_m,tri1_m,tri2_m,bat_m
	.extern	dsob0m,dsob1m,dsob2m,dsob3m,dsob4m
	.extern	prockb_m,prockm_m,procks_m,burplb_m,burpls_m,bubblb_m,bubbls_m,pebblb_m,pebblm_m,pebbls_m
	.extern	vult_m,fbug_m,humm_m,flower_m,gund_m,ffly_m,spidsm_m,spidbg_m,kilrun_m,sadmsk_m,fishtx_m,baby_m,slug_m,dino_m,dinos_m
	.extern	blokb_m,blokm_m,bloks_m
	.extern	cutr0_m,cutr1_m,cutr2_m,cutr3_m,cutr4_m
	.extern	plrshpm,shld_m
	.extern	statnm,ball_m
	.extern	flags_m
	.extern	ringl0m,ringl1m,ringm0m,ringm1m,rings0m,rings1m
	.extern	geyser_m
	.extern	cvrk0m,cvrk1m,cvrk2m
	.extern	expa_m,expb_m,expc_m,expd_m
	.extern	poppy0m,poppy1m,poppy2m,robot_m,ming_m,tower_m
	.extern	bldg0_m,bldg1_m,bldg2_m,bldg3_m
	.extern	snake0m,snake1m,snake2m,snake3m,snake4m
	.extern	elec_m
	.extern	glow_m
	.extern	eyelg_m,eyesm_m
	.extern	dragon_m
	.extern	moss_m,mossrk_m,stump_m,tree_m
;bosses
	.extern	airboss
	.extern	cvatk,cvspin
	.extern	destop,desbot,desbsht
	.extern	wlarm,wrarm,wtail,wbody
	.extern	citybs,cityhd,ctysh0,ctysh1
	.extern	ribs,neck,arm0,arm1,arm2,arm3,arm4,head,hornb,hornf0,hornf1,hornf2,hornn
	.extern	serpbod,serplw0,serplw1,serprw,serpsht
	.extern	quetbod,quetarf,quetarb,quettl,quetsht
	.extern	oddcld,oddit0,oddit1
	.extern	mud0,mud1,mud2,mud3,mud4,mud5,mudsht
;boss masks
	.extern	airbosm
	.extern	cvatk_m,cvspn_m
	.extern	destopm,desbotm,desbsh_m
	.extern	wbody_m,wlarm_m,wrarm_m,wtail_m
	.extern	citybs_m,cityhd_m,ctysh0_m,ctysh1_m
	.extern	ribs_m,neck_m,arm0_m,arm1_m,arm2_m,arm3_m,arm4_m,head_m,hornb_m,hornf0_m,hornf1_m,hornf2_m,hornn_m
	.extern	srpbodm,srplw0m,srplw1m,srprwm,srpshtm
	.extern	qutbodm,qutarfm,qutarbm,quttlm,qutshtm
	.extern	oddcld_m,oddit0_m,oddit1_m
	.extern	mud0_m,mud1_m,mud2_m,mud3_m,mud4_m,mud5_m,mudshtm

	.extern	cursrom
	.extern	earth

	.extern	GPUSTART,GPUEND,DSPORG
	.extern	samp01,samp02,samp03,samp04,samp05,samp06,samp07,samp08,samp09,samp10,samp11,samp12,samp13,samp14,samp15,samp16,samp17
	.extern	samp18,samp19,samp20,samp21
;background tiles
	.extern	sw00,sw01,sw02,sw03,sw04,sw05,sw06,sw07,sw08,sw09,sw10,sw11,sw12,sw13,sw14,sw15
	.extern	s00,s01,s02,s03,s04,s05,s06,s07,s08,s09,s10,s11,s12,s13
	.extern	des00,des01,des02,des03,des04,des05,des06,des07,des08,des09,des10,des11,des12,des13,des14,des15
	.extern	cv0,cv1,cv2,cv3,cv4,cv5,cv6,cv7
	.extern	air00,air01,air02,air03,air04,air05,air06,air07,air08,air09,air10,air11,air12,air13,air14,air15
	.extern	cty00,cty01,cty02,cty03,cty04,cty05,cty06,cty07,cty08,cty09,cty10,cty11,cty12,cty13,cty14,cty15,cty16,cty17,cty18,cty19,cty20,cty21
	.extern	bon00,bon01

	.extern	gpucode
	.extern	uncomp
	.extern	ld_uncmp

	.extern	do_form,do_wave
	.extern	en_formx,en_formy,en_theta,en_rad,en_newrd,en_formc,en_frmlm,en_usept

	.extern	forms,formtbl
	.extern	formsds
	.extern	in_form

	.extern	bombchg
