;*********************************************************************
;*								*
;*	------------------------				*
;*		STARFOX2 					*
;*	------------------------				*
;*								*
;*	File 		: d_ext.asm				*
;* 	Description	: oamdata extra				*
;*	Date		: 1994.8.16				*
;*	Author		: H.Yajima				*
;*								*
;*********************************************************************
;
;---------------------------------------------------------------------



;********************************************************************
;
; game object animation data
;
;********************************************************************
;----------------------------------
nomal	equ	0
hflip	equ	40h
vflip	equ	80h
hvflip	equ	40h+80h
attr0	equ	00h
attr1	equ	02h
;----------------------------------
messet	macro
	db	\1+40h
	db	\2+\3+30h
	endm
;----------------------------------
SEQ_stage	dwcode	OBJ_stage
	dwcode	stage_S_0
	dwcode	stage_S_1
;---------------------------------------------
stage_S_0	
	db	15,1
	db	18,0ffh
	db	8,0
	db	8,0ffh
	db	8,0
	db	8,0ffh
	db	8,0
	db	085h
stage_S_1
	db	30,2
	db	085h
;---------------------------------------------
OBJ_stage	dwcode	stage_start
	dwcode	stage_ready
	dwcode	stage_clear
;---------------------------------------------
stage_clear	db	86h,0
	dwcode	stage_HV	; positon addr
	dwcode	stage_CA	; character addr
	db	86h,0
	dwcode	clear_HV	; positon addr
	dwcode	clear_CA	; character addr
	db	7
	dwcode	004ch		; offset data
	dwcode	KGameMapPtr	; keydata address
	dwcode	ndata_0
;---------------------------------------------
stage_ready	db	86h,0
	dwcode	stage_HV	; positon addr
	dwcode	stage_CA	; character addr
	db	86h,0
	dwcode	ready_HV	; positon addr
	dwcode	ready_CA	; character addr
	db	7
	dwcode	004ch		; offset data
	dwcode	KGameMapPtr	; keydata address
	dwcode	ndata_0
;---------------------------------------------
stage_start	db	6,0
	dwcode	start_HV	; positon addr
	dwcode	start_CA	; character addr
;---------------------------------------------
stage_HV	db	5	; stage
	dw	001ch
	db	5
	dw	081ch
	db	0
;---------------------------------------------
clear_HV
ready_HV	db	14	; start
	dw	3000h
	db	14
	dw	3800h
	db	0
;---------------------------------------------
start_HV	db	14	; start
	dw	1800h
	db	14
	dw	2000h
	db	0
;---------------------------------------------
;=====================================================
;	stage character
;=====================================================

stage_CA
	messet	10h,nomal,attr0		; stage
	messet	11h,nomal,attr0	
	messet	12h,nomal,attr0
	messet	13h,nomal,attr0
	messet	20h,nomal,attr0

	messet	10h,hvflip,attr1
	messet	21h,nomal,attr1
	messet	22h,nomal,attr1
	messet	23h,nomal,attr1
	messet	20h,vflip,attr1

;=====================================================
;	start character
;=====================================================

start_CA
	messet	60h,nomal,attr0		; start
	messet	61h,nomal,attr0
	dw	0
	messet	62h,nomal,attr0
	messet	62h,hflip,attr0
	dw	0
	messet	63h,nomal,attr0
	messet	63h,hflip,attr0
	dw	0
	messet	70h,nomal,attr0
	messet	60h,hflip,attr0
	dw	0
	messet	62h,nomal,attr0
	messet	62h,hflip,attr0

	messet	61h,hvflip,attr1
	messet	60h,hvflip,attr1
	dw	0
	messet	72h,nomal,attr1
	messet	72h,hflip,attr1
	dw	0
	messet	73h,nomal,attr1
	messet	73h,hflip,attr1
	dw	0
	messet	73h,nomal,attr1
	messet	74h,nomal,attr1
	dw	0
	messet	72h,nomal,attr1
	messet	72h,hflip,attr1

;=====================================================
;	clear character
;=====================================================

clear_CA
	messet	64h,nomal,attr0		; clear
	messet	65h,nomal,attr0
	dw	0
	messet	66h,nomal,attr0
	dw	0
	dw	0
	messet	70h,nomal,attr0
	messet	71h,nomal,attr0
	dw	0
	messet	63h,nomal,attr0
	messet	63h,hflip,attr0
	dw	0
	messet	70h,nomal,attr0
	messet	60h,hflip,attr0

	messet	64h,vflip,attr1
	messet	65h,vflip,attr1
	dw	0
	messet	76h,nomal,attr1
	messet	65h,vflip,attr1
	dw	0
	messet	70h,vflip,attr1
	messet	71h,vflip,attr1
	dw	0
	messet	73h,nomal,attr1
	messet	73h,hflip,attr1
	dw	0
	messet	73h,nomal,attr1
	messet	74h,nomal,attr1

;=====================================================
;	clear character
;=====================================================

ready_CA
	messet	70h,nomal,attr0		; ready
	messet	60h,hflip,attr0
	dw	0
	messet	70h,nomal,attr0
	messet	71h,nomal,attr0
	dw	0
	messet	63h,nomal,attr0
	messet	63h,hflip,attr0
	dw	0
	messet	76h,vflip,attr0
	messet	64h,hflip,attr0
	dw	0
	messet	75h,nomal,attr0
	messet	75h,hflip,attr0

	messet	73h,nomal,attr1
	messet	74h,nomal,attr1
	dw	0
	messet	70h,vflip,attr1
	messet	71h,vflip,attr1
	dw	0
	messet	73h,nomal,attr1
	messet	73h,hflip,attr1
	dw	0
	messet	76h,nomal,attr1
	messet	64h,hvflip,attr1
	dw	0
	messet	72h,nomal,attr1
	messet	72h,hflip,attr1


;=====================================================
;	number data
;=====================================================

ndata_0	messet  15h,nomal,attr0
	messet  15h,vflip,attr1
ndata_1	messet  16h,nomal,attr0
	messet  21h,nomal,attr1
ndata_2	messet  10h,hflip,attr0
	messet  27h,nomal,attr1
ndata_3	messet  17h,nomal,attr0
	messet  17h,vflip,attr1
ndata_4	messet  18h,nomal,attr0
	messet  28h,nomal,attr1
ndata_5	messet  27h,vflip,attr0
	messet  26h,nomal,attr1
ndata_6	messet  25h,nomal,attr0
	messet  12h,vflip,attr1
ndata_7	messet  24h,hvflip,attr0
	messet  14h,hvflip,attr1
ndata_8	messet  19h,nomal,attr0
	messet  19h,vflip,attr1
ndata_9	messet  12h,hflip,attr0
	messet  25h,hvflip,attr1

;=====================================================================

;********************************************************************
;
; fox2 player animechar obj animation data
;
;********************************************************************

d2_0_S_2
	db	0c0h+4,0
	db	8,1
	db	81h
d2_1_S_2
	db	0c0h+4,0
	db	8,1
	db	81h
d2_2_S_2
	db	0c0h+4,0
	db	8,1
	db	81h
d2_3_S_2
	db	30,0
	db	20,1
	db	81h
d2_4_S_2
	db	0c0h+4,0
	db	8,1
	db	81h
d2_5_S_2
	db	0c0h+4,0
	db	8,1
	db	81h
d2_6_S_2
	db	0c0h+4,0
	db	81h
d2_7_S_2
	db	0c0h+4,0
	db	81h


;=====================================================================






