; == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
;   **AUTOGENERATED WITH BEEHIVE** - the complete art tool for SEGA Mega Drive
; == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
;   http://www.bigevilcorporation.co.uk
; == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
;   Beehive and SEGA Genesis Framework (c) Matt Phillips 2015
; == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==


actor_winch:

actor_winch_VRAM_size_b		equ 0x540	; VRAM size to alloc (size of largest frame, bytes)
actor_winch_sheet_winch_width		equ 0x30	; Max width of largest frame in pixels
actor_winch_sheet_winch_height		equ 0x38	; Max height of largest frame in pixels


actor_winch_sheet_winch_frametable:
actor_winch_sheet_winch_frame_0_header:
	dc.w 0x002A	; Frame size (tiles)
	dc.w actor_winch_sheet_winch_frame_0_size_subsprites	; Frame size (subsprites)
	dc.l actor_winch_sheet_winch_frame_0
	dc.l actor_winch_sheet_winch_frame_0_subsprite_dimensions_bits
	dc.l actor_winch_sheet_winch_frame_0_subsprite_pos_offsets

actor_winch_sheet_winch_frame_1_header:
	dc.w 0x002A	; Frame size (tiles)
	dc.w actor_winch_sheet_winch_frame_1_size_subsprites	; Frame size (subsprites)
	dc.l actor_winch_sheet_winch_frame_1
	dc.l actor_winch_sheet_winch_frame_1_subsprite_dimensions_bits
	dc.l actor_winch_sheet_winch_frame_1_subsprite_pos_offsets

actor_winch_sheet_winch_frame_0_size_b		equ 0x0540	; Size in bytes
actor_winch_sheet_winch_frame_0_size_t		equ 0x002A	; Size in tiles
actor_winch_sheet_winch_frame_0_size_subsprites		equ 0x0004	; Size in subsprites

; Subsprite offsets from 0,0 (in pixels) - unflipped (ww) and flipped X (ww)
actor_winch_sheet_winch_frame_0_subsprite_pos_offsets:
	dc.l 0x00000000, 0x00100000
	dc.l 0x00000020, 0x00100020
	dc.l 0x00200000, 0x00000000
	dc.l 0x00200020, 0x00000020
	Even

; Subsprite dimension bits (for sprite descs)
actor_winch_sheet_winch_frame_0_subsprite_dimensions_bits:
	dc.b 0xF
	dc.b 0xE
	dc.b 0x7
	dc.b 0x6
	Even

actor_winch_sheet_winch_frame_1_size_b		equ 0x0540	; Size in bytes
actor_winch_sheet_winch_frame_1_size_t		equ 0x002A	; Size in tiles
actor_winch_sheet_winch_frame_1_size_subsprites		equ 0x0004	; Size in subsprites

; Subsprite offsets from 0,0 (in pixels) - unflipped (ww) and flipped X (ww)
actor_winch_sheet_winch_frame_1_subsprite_pos_offsets:
	dc.l 0x00000000, 0x00100000
	dc.l 0x00000020, 0x00100020
	dc.l 0x00200000, 0x00000000
	dc.l 0x00200020, 0x00000020
	Even

; Subsprite dimension bits (for sprite descs)
actor_winch_sheet_winch_frame_1_subsprite_dimensions_bits:
	dc.b 0xF
	dc.b 0xE
	dc.b 0x7
	dc.b 0x6
	Even


spritesheets_winch:

spritesheet_winch_winch:

actor_winch_sheet_winch_frame_0:
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000008
	dc.l	0x0000000C
	dc.l	0x0000008C
	dc.l	0x000000CC
	dc.l	0x000000CC
	dc.l	0x000008CC

	dc.l	0x00044111
	dc.l	0x00044244
	dc.l	0x00022112
	dc.l	0x00022244
	dc.l	0x00044111
	dc.l	0x00044242
	dc.l	0x00022222
	dc.l	0x00022111

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x0000008C
	dc.l	0x000008CC
	dc.l	0x0000CCC4
	dc.l	0x0008CC48
	dc.l	0x008C4888
	dc.l	0x08CC8884

	dc.l	0x0CC48884
	dc.l	0x8CC88888
	dc.l	0xCC488888
	dc.l	0xC4884888
	dc.l	0xC4844488
	dc.l	0x48844488
	dc.l	0x48884888
	dc.l	0x88888888

	dc.l	0x22244222
	dc.l	0x44448888
	dc.l	0x24244444
	dc.l	0x48448888
	dc.l	0x22244242
	dc.l	0x42448888
	dc.l	0x22224222
	dc.l	0x11111111

	dc.l	0x00001111
	dc.l	0x00001112
	dc.l	0x00002124
	dc.l	0x00002124
	dc.l	0x00002128
	dc.l	0x00002124
	dc.l	0x00002128
	dc.l	0x00002128

	dc.l	0x00088128
	dc.l	0x8CCCC128
	dc.l	0xCCCCC128
	dc.l	0xC4488128
	dc.l	0x48888128
	dc.l	0x88888128
	dc.l	0x44888128
	dc.l	0x44488128

	dc.l	0x44488128
	dc.l	0x44888128
	dc.l	0x88888128
	dc.l	0x88888128
	dc.l	0x88888128
	dc.l	0x88888124
	dc.l	0x88888124
	dc.l	0x88888111

	dc.l	0x222228C8
	dc.l	0x88888CFC
	dc.l	0x444448CF
	dc.l	0x88888888
	dc.l	0x4222248F
	dc.l	0x888888CC
	dc.l	0x22222CFC
	dc.l	0x111118C8

	dc.l	0x22111000
	dc.l	0x42111000
	dc.l	0x44211000
	dc.l	0x44221000
	dc.l	0x44221000
	dc.l	0x44241000
	dc.l	0x44241000
	dc.l	0x44241000

	dc.l	0x48241800
	dc.l	0x48241CCC
	dc.l	0x48241CCC
	dc.l	0x48241844
	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48241884
	dc.l	0x48241844

	dc.l	0x48241844
	dc.l	0x48241884
	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48221888
	dc.l	0x44221888
	dc.l	0x44221888
	dc.l	0x22111888

	dc.l	0x8C8C8222
	dc.l	0x88CFC888
	dc.l	0x8FCC8444
	dc.l	0xFCF88888
	dc.l	0xCFC82222
	dc.l	0xFCFC8888
	dc.l	0x88CFC222
	dc.l	0x8C8C8111

	dc.l	0x000008CC
	dc.l	0x000000CC
	dc.l	0x000000CC
	dc.l	0x0000008C
	dc.l	0x0000000C
	dc.l	0x00000008
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x88888888
	dc.l	0x48884888
	dc.l	0x48844488
	dc.l	0xC4844488
	dc.l	0xC4884888
	dc.l	0xCC488888
	dc.l	0x8CC88888
	dc.l	0x0CC48884

	dc.l	0x08CC8884
	dc.l	0x008C4888
	dc.l	0x0008CC48
	dc.l	0x0000CCC4
	dc.l	0x000008CC
	dc.l	0x0000008C
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x88888111
	dc.l	0x88888112
	dc.l	0x88888124
	dc.l	0x88888124
	dc.l	0x88888128
	dc.l	0x88888124
	dc.l	0x44888128
	dc.l	0x44488128

	dc.l	0x44488128
	dc.l	0x44888128
	dc.l	0x88888128
	dc.l	0x48888128
	dc.l	0xC4488128
	dc.l	0xCCCCC128
	dc.l	0x8CCCC128
	dc.l	0x00088128

	dc.l	0x00002128
	dc.l	0x00002128
	dc.l	0x00001128
	dc.l	0x00001128
	dc.l	0x00001128
	dc.l	0x00001124
	dc.l	0x00001124
	dc.l	0x00001111

	dc.l	0x22111888
	dc.l	0x42111888
	dc.l	0x44211888
	dc.l	0x44221888
	dc.l	0x44221888
	dc.l	0x44241888
	dc.l	0x44241884
	dc.l	0x44241844

	dc.l	0x48241844
	dc.l	0x48241884
	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48241844
	dc.l	0x48241CCC
	dc.l	0x48241CCC
	dc.l	0x48241800

	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48221000
	dc.l	0x44221000
	dc.l	0x44221000
	dc.l	0x22111000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x80000000
	dc.l	0xCC800000
	dc.l	0xCCC80000
	dc.l	0x44CCC800
	dc.l	0x884CCC80
	dc.l	0x48884CC8
	dc.l	0x448884CC

	dc.l	0x4488884C
	dc.l	0x4888888C
	dc.l	0x88888884
	dc.l	0x88884488
	dc.l	0x88844448
	dc.l	0x88844448
	dc.l	0x88884488
	dc.l	0x88888888

	dc.l	0x22222442
	dc.l	0x88888844
	dc.l	0x44444442
	dc.l	0x88888844
	dc.l	0x24242442
	dc.l	0x88888844
	dc.l	0x22222422
	dc.l	0x11111111

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x80000000

	dc.l	0xC0000000
	dc.l	0xC8000000
	dc.l	0xCC800000
	dc.l	0x4CC00000
	dc.l	0x4CC80000
	dc.l	0x84CC0000
	dc.l	0x84CC0000
	dc.l	0x88CC8000

	dc.l	0x22111000
	dc.l	0x44442000
	dc.l	0x42211000
	dc.l	0x84442000
	dc.l	0x22111000
	dc.l	0x24242000
	dc.l	0x22222000
	dc.l	0x11111000

	dc.l	0x88888888
	dc.l	0x88884488
	dc.l	0x88844448
	dc.l	0x88844448
	dc.l	0x88884488
	dc.l	0x88888884
	dc.l	0x4888888C
	dc.l	0x4488884C

	dc.l	0x448884CC
	dc.l	0x48884CC8
	dc.l	0x884CCC80
	dc.l	0x44CCC800
	dc.l	0xCCC80000
	dc.l	0xCC800000
	dc.l	0x80000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x88CC8000
	dc.l	0x84CC0000
	dc.l	0x84CC0000
	dc.l	0x4CC80000
	dc.l	0x4CC00000
	dc.l	0xCC800000
	dc.l	0xC8000000
	dc.l	0xC0000000

	dc.l	0x80000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000


actor_winch_sheet_winch_frame_1:
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000008
	dc.l	0x0000000C
	dc.l	0x0000008C
	dc.l	0x000000CC
	dc.l	0x000000CC
	dc.l	0x000008CC

	dc.l	0x00044111
	dc.l	0x00044244
	dc.l	0x00022112
	dc.l	0x00022244
	dc.l	0x00044111
	dc.l	0x00044242
	dc.l	0x00022222
	dc.l	0x00022111

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x0000008C
	dc.l	0x000008CC
	dc.l	0x0000CCC4
	dc.l	0x0008CC48
	dc.l	0x008C4888
	dc.l	0x08CC8888

	dc.l	0x0CC48844
	dc.l	0x8CC88444
	dc.l	0xCC488444
	dc.l	0xC4888844
	dc.l	0xC4888888
	dc.l	0x48888888
	dc.l	0x48448888
	dc.l	0x84444888

	dc.l	0x22244222
	dc.l	0x44448888
	dc.l	0x24244444
	dc.l	0x48448888
	dc.l	0x22244242
	dc.l	0x42448888
	dc.l	0x22224222
	dc.l	0x11111111

	dc.l	0x00001111
	dc.l	0x00001112
	dc.l	0x00002124
	dc.l	0x00002124
	dc.l	0x00002128
	dc.l	0x00002124
	dc.l	0x00002128
	dc.l	0x00002128

	dc.l	0x00088128
	dc.l	0x8CCCC128
	dc.l	0xCCCCC128
	dc.l	0xC4448128
	dc.l	0x48884128
	dc.l	0x88844128
	dc.l	0x88844128
	dc.l	0x88884128

	dc.l	0x88888128
	dc.l	0x48888128
	dc.l	0x48888128
	dc.l	0x88888128
	dc.l	0x88888128
	dc.l	0x88888124
	dc.l	0x88888124
	dc.l	0x88888111

	dc.l	0x222228C8
	dc.l	0x88888CFC
	dc.l	0x444448CF
	dc.l	0x88888888
	dc.l	0x4222248F
	dc.l	0x888888CC
	dc.l	0x22222CFC
	dc.l	0x111118C8

	dc.l	0x22111000
	dc.l	0x42111000
	dc.l	0x44211000
	dc.l	0x44221000
	dc.l	0x44221000
	dc.l	0x44241000
	dc.l	0x44241000
	dc.l	0x44241000

	dc.l	0x48241800
	dc.l	0x48241CCC
	dc.l	0x48241CCC
	dc.l	0x48241844
	dc.l	0x48241488
	dc.l	0x48241448
	dc.l	0x48241448
	dc.l	0x48241488

	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48241888
	dc.l	0x48221888
	dc.l	0x44221888
	dc.l	0x44221888
	dc.l	0x22111888

	dc.l	0x8C8C8222
	dc.l	0x88CFC888
	dc.l	0x8FCC8444
	dc.l	0xFCF88888
	dc.l	0xCFC82222
	dc.l	0xFCFC8888
	dc.l	0x88CFC222
	dc.l	0x8C8C8111

	dc.l	0x000008CC
	dc.l	0x000000CC
	dc.l	0x000000CC
	dc.l	0x0000008C
	dc.l	0x0000000C
	dc.l	0x00000008
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x84444888
	dc.l	0x48448888
	dc.l	0x48888888
	dc.l	0xC4888888
	dc.l	0xC4888844
	dc.l	0xCC488444
	dc.l	0x8CC88444
	dc.l	0x0CC48844

	dc.l	0x08CC8888
	dc.l	0x008C4888
	dc.l	0x0008CC48
	dc.l	0x0000CCC4
	dc.l	0x000008CC
	dc.l	0x0000008C
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x88888111
	dc.l	0x88888112
	dc.l	0x88888124
	dc.l	0x88888124
	dc.l	0x88888128
	dc.l	0x48888124
	dc.l	0x48888128
	dc.l	0x88888128

	dc.l	0x88884128
	dc.l	0x88844128
	dc.l	0x88844128
	dc.l	0x48884128
	dc.l	0xC4448128
	dc.l	0xCCCCC128
	dc.l	0x8CCCC128
	dc.l	0x00088128

	dc.l	0x00002128
	dc.l	0x00002128
	dc.l	0x00001128
	dc.l	0x00001128
	dc.l	0x00001128
	dc.l	0x00001124
	dc.l	0x00001124
	dc.l	0x00001111

	dc.l	0x22111888
	dc.l	0x42111888
	dc.l	0x44211888
	dc.l	0x44221888
	dc.l	0x44221888
	dc.l	0x44241888
	dc.l	0x44241888
	dc.l	0x44241888

	dc.l	0x48241488
	dc.l	0x48241448
	dc.l	0x48241448
	dc.l	0x48241488
	dc.l	0x48241844
	dc.l	0x48241CCC
	dc.l	0x48241CCC
	dc.l	0x48241800

	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48241000
	dc.l	0x48221000
	dc.l	0x44221000
	dc.l	0x44221000
	dc.l	0x22111000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x80000000
	dc.l	0xCC800000
	dc.l	0xCCC80000
	dc.l	0x44CCC800
	dc.l	0x884CCC80
	dc.l	0x88884CC8
	dc.l	0x888884CC

	dc.l	0x8844884C
	dc.l	0x8444488C
	dc.l	0x84444884
	dc.l	0x88448888
	dc.l	0x88888888
	dc.l	0x88888888
	dc.l	0x88888844
	dc.l	0x88888444

	dc.l	0x22222442
	dc.l	0x88888844
	dc.l	0x44444442
	dc.l	0x88888844
	dc.l	0x24242442
	dc.l	0x88888844
	dc.l	0x22222422
	dc.l	0x11111111

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x80000000

	dc.l	0xC0000000
	dc.l	0xC8000000
	dc.l	0xCC800000
	dc.l	0x4CC00000
	dc.l	0x4CC80000
	dc.l	0x84CC0000
	dc.l	0x84CC0000
	dc.l	0x48CC8000

	dc.l	0x22111000
	dc.l	0x44442000
	dc.l	0x42211000
	dc.l	0x84442000
	dc.l	0x22111000
	dc.l	0x24242000
	dc.l	0x22222000
	dc.l	0x11111000

	dc.l	0x88888444
	dc.l	0x88888844
	dc.l	0x88888888
	dc.l	0x88888888
	dc.l	0x88448888
	dc.l	0x84444884
	dc.l	0x8444488C
	dc.l	0x8844884C

	dc.l	0x888884CC
	dc.l	0x88884CC8
	dc.l	0x884CCC80
	dc.l	0x44CCC800
	dc.l	0xCCC80000
	dc.l	0xCC800000
	dc.l	0x80000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x48CC8000
	dc.l	0x84CC0000
	dc.l	0x84CC0000
	dc.l	0x4CC80000
	dc.l	0x4CC00000
	dc.l	0xCC800000
	dc.l	0xC8000000
	dc.l	0xC0000000

	dc.l	0x80000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000

	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000
	dc.l	0x00000000




