;;======================================================================================*
;;											*
;;              Project		:	NATIVE SPIRIT					*
;;		FILENAME	:	Gameover.s					*
;;              Function	:	Scoreboard & Finale				*
;;											*
;;		         COPYRIGHT 1996,1997 Duranik Software				*
;;		UNATHORIZED REPRODUCTION, ADAPTATION, DISTRIBUTION,			*
;;		PERFORMANCE OR DISPLAY OF THIS COMPUTER PROGRAM OR			*
;;		THE ASSOCIATED AUDIOVISUAL WORK IS STRICTLY PROHIBITED.			*
;;               	            ALL RIGHTS RESERVED.				*
;;											*
;;		REV.	DATE		AUTHOR		REVISION HISTORY		*
;;		~~~~~	~~~~~~~~~~~~	~~~~~~~~~~~~	~~~~~~~~~~~~~~~~~~~~~		*
;;		000	06-07-97	DURANIK		Gameover.s 1st Release		*
;;		002	12-28-07	Zentanyx	Gameover.s 2nd Revision		*
;;		003	04-11-09	Zentanyx	GAmeover.s 3rd Revision		*
;;											*
;;	Modification and Anomaly Report							*
;;	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~						*
;;	* English comments replaced German for scrbdjkd
;;	* added test for 'Paused' graphic and removed 'nebel' font illumination		*
;;											*
;;		   NATIVE SPIRIT Adaptation Produced by Jason Keith Data		*
;;	   This revision has been released under an Educational Community License	*
;;				Copyright Š 2007 Zentanyx				*
;;											*
;;======================================================================================*

; Nebel Farben setzen
;	dc.l	1			; X-Pos fr Farbpalettenwechsel
;	dc.l	0			; wegen Phrase alignment
;	dc.w	COLOR			; Farbpalette aktivieren
;	dc.w	0			; frei
;	dc.l	nebel+(320*92)		; Adresse Farbpalette
	
; Maske
;	dc.l	1			; X-Pos wo Gegner erscheint
;	dc.w	(obj_enemy1-obj_enemy)	; Vorder/Hintergrund Offset
;	dc.w	TOTAL_ENEMY1		; frei wegen PHRASE alignment
;	dc.w	0			; X-Pos
;	dc.w	0*2+42			; Y-Pos
;	dc.l	maske			; Startadr. Spritedaten
;	dc.w	256			; Hhe
;	dc.w	320/4			; Breite
;	dc.w	320/4			; Offset
;	dc.b	4			; Flags 4=transparent
;	dc.b	0			; Firstpix
;	dc.b	6			; Object Typ 
;	dc.b	4			; 65535 Farben
;	dc.b	1			; Pitch
;	dc.b	0			; Index
;	dc.w 	0			; Reminder
;	dc.b	0			; y-Scale
;	dc.b	0			; x-Scale
;	dc.l	0			; Adresse akt. Skalierangaben
;	dc.l	0			; Startadr. Skalierangaben
;	dc.l	0			; Startadresse Schudaten
;	dc.l	0			; Schucounter
;	dc.l	0			; Adr. akt. Spriteliste
;	dc.l	0			; Startadresse Spriteliste
;	dc.l	0			; Start Flugbahn
;	dc.l	0			; Sample
;	dc.w	DESTROY			; ntige Feuerkraft um Gegner zu vernichten
;	dc.w	0			; Extra
;	dc.l	0			; Startadresse Daten Folgesprites
;	dc.w	5			; Geschwindigkeit 30 Bilder pro Sekunde
;	dc.w	5			; Geschwindigkeit fr Neustart
;	dc.l	320			; Breite in Pixeln

; scrbd unpacked
	dc.l	1			; Y-Position where data is unpacked (2400*0.388)
	dc.l	scrbdjkd		; Destination address packed data
	dc.w	PACKED			; Packed Data
	dc.w	0			; Freely
	dc.l	scrbdjkd_ice		; Start address packed data

; Game over / scoreboard
	dc.l	1			; X-Position where image appears
	dc.w	0			; Layer offset
	dc.w	TOTAL_ENEMY		; PHRASE alignment for total object positions
	dc.w	96			; X-Position 
	dc.w	56*2+42			; Y-Position
	dc.l	scrbdjkd		; Start address of Sprite data
	dc.w	52			; Height 
	dc.w	120/4			; Width 
	dc.w	120/4			; Offset 
	dc.b	4			; Transition Flags
	dc.b	0			; Firstpix (Bit count to skip at beginning of object data)
	dc.b	6			; Object Type (0=Bmp obj 1=Scaled obj 2=GPU obj 3=Branch obj 4=Stop obj) 
	dc.b	4			; Object Depth is 16 bit (5=24bit 4=16bit 3=8bit CLUT 2=4bit CLUT 1=2bit CLUT 0=1bit CLUT 
	dc.b	1			; Object Pitch (0 = repeat phrase 1 = continuous data 2 = fetch every second phrase 3 = fetch every third phrase)
	dc.b	0			; Index in CLUT for Objects with CLUT
	dc.w 	0			; Scale Remainder
	dc.b	0			; x - Horizontal Scale Value (30=normal Size)
	dc.b	0			; y - Verticle Scale Value (30=normal Size)
	dc.l	0			; Active Object State (1 active 0 not display)
	dc.l	0			; Starting addr. Scaling data
	dc.l	0			; Start address Scaling (Schu) data
	dc.l	0			; Scaling (schu) counter
	dc.l	scrbdjkd_anim		; Address active acme list
	dc.l	scrbdjkd_anim		; Start address acme list
	dc.l	0			; Start flight path
	dc.l	0			; Sample
	dc.w	DESTROY			; forces firepower around opponents to destroy
	dc.w	0			; Extra
	dc.l	0			; Start address data consequence of sprites
	dc.w	5			; Speed of 30 pictures per second
	dc.w	5			; Speed for restart
	dc.l	120			; Width in pixels

; Paused unpacked
	dc.l	1			; X-Pos wo Daten entpackt werden
	dc.l	pausejkd		; Zieladresse gepackte Daten
	dc.w	PACKED			; gepackte Daten
	dc.w	0			; frei
	dc.l	pausejkd_ice		; Startadresse gepackte Daten

; Paused Graphic (test)
	dc.l	1			; X-Pos wo Gegner erscheint
	dc.w	0			; Vorder/Hintergrund Offset
	dc.w	TOTAL_ENEMY		; frei wegen PHRASE alignment
	dc.w	96			; X-Pos
	dc.w	104*2+42		; Y-Pos
	dc.l	pausejkd		; Startadr. Spritedaten (was gameover JKD)
	dc.w	44			; height
	dc.w	112/4			; Breite
	dc.w	112/4			; Offset
	dc.b	4			; Flags 4=transparent
	dc.b	0			; Firstpix
	dc.b	6			; Object Typ 
	dc.b	4			; 65535 Farben
	dc.b	1			; Pitch
	dc.b	0			; Index
	dc.w 	0			; Reminder
	dc.b	0			; y-Scale
	dc.b	0			; x-Scale
	dc.l	0			; Adresse akt. Skalierangaben
	dc.l	0			; Startadr. Skalierangaben
	dc.l	0			; Startadresse Schudaten
	dc.l	0			; Schucounter
	dc.l	0			; Adr. akt. Spriteliste
	dc.l	0			; Startadresse Spriteliste
	dc.l	0			; Start Flugbahn
	dc.l	0			; Sample
	dc.w	DESTROY			; ntige Feuerkraft um Gegner zu vernichten
	dc.w	0			; Extra
	dc.l	0			; Startadresse Daten Folgesprites
	dc.w	5			; Geschwindigkeit 30 Bilder pro Sekunde
	dc.w	5			; Geschwindigkeit fr Neustart
	dc.l	112			; Breite in Pixeln


; btnjkd entpacken
	dc.l	1			; X-Pos wo Daten entpackt werden
	dc.l	btnjkd			; Zieladresse gepackte Daten
	dc.w	PACKED			; gepackte Daten
	dc.w	0			; frei
	dc.l	btnjkd_ice		; Startadresse gepackte Daten

; Press Button To... / fire buttons relaunch mission
	dc.l	1			; X-Pos wo Gegner erscheint
	dc.w	0			; Vorder/Hintergrund Offset
	dc.w	TOTAL_ENEMY		; frei wegen PHRASE alignment
	dc.w	90			; X-Pos
	dc.w	150*2+42		; Y-Pos
	dc.l	btnjkd			; Startadr. Spritedaten (was button JKD)
	dc.w	9			; Hhe
	dc.w	128/4			; Breite
	dc.w	128/4			; Offset
	dc.b	4			; Flags 4=transparent
	dc.b	0			; Firstpix
	dc.b	6			; Object Typ 
	dc.b	4			; 65535 Farben
	dc.b	1			; Pitch
	dc.b	0			; Index
	dc.w 	0			; Reminder
	dc.b	0			; y-Scale
	dc.b	0			; x-Scale
	dc.l	0			; Adresse akt. Skalierangaben
	dc.l	0			; Startadr. Skalierangaben
	dc.l	0			; Startadresse Schudaten
	dc.l	0			; Schucounter
	dc.l	0			; Adr. akt. Spriteliste
	dc.l	0			; Startadresse Spriteliste
	dc.l	0			; Start Flugbahn
	dc.l	0			; Sample
	dc.w	DESTROY			; ntige Feuerkraft um Gegner zu vernichten
	dc.w	0			; Extra
	dc.l	0			; Startadresse Daten Folgesprites
	dc.w	5			; Geschwindigkeit 30 Bilder pro Sekunde
	dc.w	5			; Geschwindigkeit fr Neustart
	dc.l	128			; Breite in Pixeln

;-------------------------------------------------------------------------
; Ende Daten
;-------------------------------------------------------------------------
	dc.l	0			; Letztes Object in der Liste
