; OW sprites represent what graphics
; are associated with an NPC object
	const_def
	const OWSPRITE_MARK                ; $00
	const OWSPRITE_MINT                ; $01
	const OWSPRITE_DR_MASON            ; $02
	const OWSPRITE_RONALD              ; $03
	const OWSPRITE_ISHIHARA            ; $04
	const OWSPRITE_IMAKUNI_BLACK       ; $05
	const OWSPRITE_IMAKUNI_RED         ; $06
	const OWSPRITE_ISAAC               ; $07
	const OWSPRITE_MURRAY              ; $08
	const OWSPRITE_GENE                ; $09
	const OWSPRITE_MITCH               ; $0a
	const OWSPRITE_NIKKI               ; $0b
	const OWSPRITE_RICK                ; $0c
	const OWSPRITE_AMY                 ; $0d
	const OWSPRITE_AMY_LOUNGE          ; $0e
	const OWSPRITE_SARA                ; $0f
	const OWSPRITE_AMANDA              ; $10
	const OWSPRITE_KEN                 ; $11
	const OWSPRITE_COURTNEY            ; $12
	const OWSPRITE_STEVE               ; $13
	const OWSPRITE_JACK                ; $14
	const OWSPRITE_ROD                 ; $15
	const OWSPRITE_EIJI                ; $16
	const OWSPRITE_MAGICIAN            ; $17
	const OWSPRITE_TOSHIRON            ; $18
	const OWSPRITE_PIERROT             ; $19
	const OWSPRITE_ANNA                ; $1a
	const OWSPRITE_DEE                 ; $1b
	const OWSPRITE_MASQUERADE          ; $1c
	const OWSPRITE_PAWN                ; $1d
	const OWSPRITE_KNIGHT              ; $1e
	const OWSPRITE_BISHOP              ; $1f
	const OWSPRITE_ROOK                ; $20
	const OWSPRITE_QUEEN               ; $21
	const OWSPRITE_GR_1                ; $22
	const OWSPRITE_GR_2                ; $23
	const OWSPRITE_GR_3                ; $24
	const OWSPRITE_GR_4                ; $25
	const OWSPRITE_GR_5                ; $26
	const OWSPRITE_MIDORI              ; $27
	const OWSPRITE_MORINO              ; $28
	const OWSPRITE_RENNA               ; $29
	const OWSPRITE_ICHIKAWA            ; $2a
	const OWSPRITE_CATHERINE           ; $2b
	const OWSPRITE_JES                 ; $2c
	const OWSPRITE_YUKI                ; $2d
	const OWSPRITE_SHOKO               ; $2e
	const OWSPRITE_HIDERO              ; $2f
	const OWSPRITE_AIRA                ; $30
	const OWSPRITE_KANOKO              ; $31
	const OWSPRITE_GODA                ; $32
	const OWSPRITE_GRACE               ; $33
	const OWSPRITE_KAMIYA              ; $34
	const OWSPRITE_MIWA                ; $35
	const OWSPRITE_KEVIN               ; $36
	const OWSPRITE_YOSUKE              ; $37
	const OWSPRITE_RYOKO               ; $38
	const OWSPRITE_MAMI                ; $39
	const OWSPRITE_NISHIJIMA           ; $3a
	const OWSPRITE_ISHII               ; $3b
	const OWSPRITE_SAMEJIMA            ; $3c
	const OWSPRITE_KANZAKI             ; $3d
	const OWSPRITE_RUI                 ; $3e
	const OWSPRITE_BIRURITCHI          ; $3f
	const OWSPRITE_GR_X                ; $40
	const OWSPRITE_TOBICHAN            ; $41
	const OWSPRITE_YOUNGSTER           ; $42
	const OWSPRITE_LAD                 ; $43
	const OWSPRITE_SPECS               ; $44
	const OWSPRITE_BUTCH               ; $45
	const OWSPRITE_MANIA               ; $46
	const OWSPRITE_JOSHUA              ; $47
	const OWSPRITE_HOOD                ; $48
	const OWSPRITE_TECH                ; $49
	const OWSPRITE_CHAP                ; $4a
	const OWSPRITE_MAN                 ; $4b
	const OWSPRITE_PAPPY               ; $4c
	const OWSPRITE_FIXER               ; $4d
	const OWSPRITE_GR_LAD              ; $4e
	const OWSPRITE_GR_CHAP             ; $4f
	const OWSPRITE_MIYAJIMA            ; $50
	const OWSPRITE_GR_PAPPY            ; $51
	const OWSPRITE_DEALER_BOY          ; $52
	const OWSPRITE_MONOCLE             ; $53
	const OWSPRITE_GIRL                ; $54
	const OWSPRITE_LASS1               ; $55
	const OWSPRITE_LASS2               ; $56
	const OWSPRITE_LASS3               ; $57
	const OWSPRITE_SWIMMER             ; $58
	const OWSPRITE_GAL                 ; $59
	const OWSPRITE_WOMAN               ; $5a
	const OWSPRITE_GRANNY              ; $5b
	const OWSPRITE_GR_STAFF            ; $5c
	const OWSPRITE_GR_LASS             ; $5d
	const OWSPRITE_GR_GAL              ; $5e
	const OWSPRITE_GR_WOMAN            ; $5f
	const OWSPRITE_GR_GRANNY           ; $60
	const OWSPRITE_CHIP_GIRL           ; $61
	const OWSPRITE_DEALER_GIRL         ; $62
	const OWSPRITE_CLERK               ; $63
	const OWSPRITE_GR_CLERK            ; $64
	const OWSPRITE_CAPTURED_AMY        ; $65
	const OWSPRITE_CAPTURED_SARA       ; $66
	const OWSPRITE_CAPTURED_AMANDA     ; $67
	const OWSPRITE_WARP_SPARKLES       ; $68
	const OWSPRITE_GR_BLIMP            ; $69
	const OWSPRITE_GR_BLIMP_BEAM       ; $6a
	const OWSPRITE_VOLCANO_SMOKE_TCG   ; $6b
	const OWSPRITE_CURSOR_TCG          ; $6c
	const OWSPRITE_VOLCANO_SMOKE_GR    ; $6d
	const OWSPRITE_GR_CASTLE_FLAG      ; $6e
	const OWSPRITE_CURSOR_GR           ; $6f
	const OWSPRITE_GR_CROSS            ; $70
	const OWSPRITE_CHEST_CLOSED        ; $71
	const OWSPRITE_CHEST_OPENED        ; $72
	const OWSPRITE_POD_DOORS           ; $73
	const OWSPRITE_STRONGHOLD_PLATFORM ; $74
	const OWSPRITE_RED_FORT_COIN       ; $75
	const OWSPRITE_BLUE_FORT_COIN      ; $76
	const OWSPRITE_WHITE_CASTLE_COIN   ; $77
	const OWSPRITE_PURPLE_CASTLE_COIN  ; $78

	const_def
	const OWFRAMEGROUP_00 ; $00
	const OWFRAMEGROUP_01 ; $01
	const OWFRAMEGROUP_02 ; $02
	const OWFRAMEGROUP_03 ; $03
	const OWFRAMEGROUP_04 ; $04
	const OWFRAMEGROUP_05 ; $05
	const OWFRAMEGROUP_06 ; $06
	const OWFRAMEGROUP_07 ; $07
	const OWFRAMEGROUP_08 ; $08
	const OWFRAMEGROUP_09 ; $09
	const OWFRAMEGROUP_0A ; $0a
	const OWFRAMEGROUP_0B ; $0b
	const OWFRAMEGROUP_0C ; $0c
	const OWFRAMEGROUP_0D ; $0d
	const OWFRAMEGROUP_0E ; $0e
	const OWFRAMEGROUP_0F ; $0f
	const OWFRAMEGROUP_10 ; $10
	const OWFRAMEGROUP_11 ; $11
	const OWFRAMEGROUP_12 ; $12
	const OWFRAMEGROUP_13 ; $13
	const OWFRAMEGROUP_14 ; $14
	const OWFRAMEGROUP_15 ; $15
	const OWFRAMEGROUP_16 ; $16
	const OWFRAMEGROUP_17 ; $17
	const OWFRAMEGROUP_18 ; $18
	const OWFRAMEGROUP_19 ; $19
	const OWFRAMEGROUP_1A ; $1a
	const OWFRAMEGROUP_1B ; $1b
	const OWFRAMEGROUP_1C ; $1c
	const OWFRAMEGROUP_1D ; $1d
	const OWFRAMEGROUP_1E ; $1e
	const OWFRAMEGROUP_1F ; $1f
	const OWFRAMEGROUP_20 ; $20
	const OWFRAMEGROUP_21 ; $21
	const OWFRAMEGROUP_22 ; $22
	const OWFRAMEGROUP_23 ; $23
	const OWFRAMEGROUP_24 ; $24
	const OWFRAMEGROUP_25 ; $25
	const OWFRAMEGROUP_26 ; $26
	const OWFRAMEGROUP_27 ; $27
	const OWFRAMEGROUP_28 ; $28
	const OWFRAMEGROUP_29 ; $29
	const OWFRAMEGROUP_2A ; $2a
	const OWFRAMEGROUP_2B ; $2b
	const OWFRAMEGROUP_2C ; $2c
	const OWFRAMEGROUP_2D ; $2d
	const OWFRAMEGROUP_2E ; $2e
	const OWFRAMEGROUP_2F ; $2f
	const OWFRAMEGROUP_30 ; $30
	const OWFRAMEGROUP_31 ; $31
	const OWFRAMEGROUP_32 ; $32
	const OWFRAMEGROUP_33 ; $33

DEF MAX_NUM_OW_OBJECTS EQU 10

RSRESET
DEF OWOBJSTRUCT_FLAGS         RB ; $0
DEF OWOBJSTRUCT_ID            RB ; $1
DEF OWOBJSTRUCT_ANIM_PTR      RW ; $2
DEF OWOBJSTRUCT_4             RB ; $4
DEF OWOBJSTRUCT_MOVEMENT_BANK RB ; $5
DEF OWOBJSTRUCT_MOVEMENT_PTR  RW ; $6
DEF OWOBJSTRUCT_LENGTH EQU _RS

DEF OW_OBJECTS_BUFFER_SIZE EQU MAX_NUM_OW_OBJECTS * OWOBJSTRUCT_LENGTH

; OWOBJSTRUCT_FLAGS bit flags
	const_def 5
	const OBJ_FLAG5_F  ; 5
	const OBJ_FLAG6_F  ; 6
	const ACTIVE_OBJ_F ; 7

DEF OBJ_FLAG5  EQU 1 << OBJ_FLAG5_F  ; $20
DEF OBJ_FLAG6  EQU 1 << OBJ_FLAG6_F  ; $40
DEF ACTIVE_OBJ EQU 1 << ACTIVE_OBJ_F ; $80
