mirror of
https://github.com/Pecusx/Young-lumberjack.git
synced 2026-05-21 06:39:43 +02:00
New Game Over screen
This commit is contained in:
+52
-12
@@ -1,12 +1,52 @@
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$2C,$2D,$20,$21,$38,$39,$28,$29,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$3C,$3D,$4A,$4B,$28,$29,$42,$43,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$3E,$3F,$28,$29,$24,$25,$48,$49,$54,$55,$31,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$3E,$3F,$30,$42,$43,$4E,$4F,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$26,$27,$20,$21,$38,$39,$31,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$36,$37,$28,$29,$4E,$4F,$31,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$46,$47,$28,$29,$26,$27,$28,$29,$24,$25,$31,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$81,$02,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$00,$00,$00
|
||||
dta $00,$81,$02,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$81,$02,$00
|
||||
dta $0B,$0C,$0C,$0D,$0B,$0C,$0C,$2D
|
||||
dta $1A,$2D,$00,$0D,$1A,$0C,$0C,$0D
|
||||
dta $00,$81,$02,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$00,$00,$81,$02,$00
|
||||
dta $05,$06,$0E,$0F,$24,$06,$11,$20
|
||||
dta $18,$20,$1B,$1D,$18,$06,$15,$22
|
||||
dta $21,$81,$02,$00,$00,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$04,$83,$04,$30
|
||||
dta $08,$09,$10,$0A,$19,$12,$13,$14
|
||||
dta $19,$12,$1C,$14,$19,$09,$16,$17
|
||||
dta $23,$83,$04,$30,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$00,$00,$00,$00
|
||||
dta $05,$06,$1E,$07,$18,$1D,$25,$1D
|
||||
dta $18,$06,$15,$22,$18,$06,$11,$2B
|
||||
dta $2C,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$00,$00,$00,$00
|
||||
dta $08,$09,$1F,$0A,$08,$09,$26,$27
|
||||
dta $19,$09,$16,$17,$19,$14,$28,$2A
|
||||
dta $2C,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$00,$00,$00,$00
|
||||
dta $B3,$31,$31,$00,$B3,$31,$31,$00
|
||||
dta $32,$31,$31,$31,$32,$31,$B3,$31
|
||||
dta $00,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D
|
||||
dta $0E,$0F,$1C,$1D,$0C,$0D,$31,$00
|
||||
dta $3E,$3F,$28,$29,$24,$25,$48,$49
|
||||
dta $54,$55,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D
|
||||
dta $0E,$0F,$16,$17,$0C,$0D,$31,$00
|
||||
dta $3E,$3F,$30,$42,$43,$4E,$4F,$31
|
||||
dta $00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D
|
||||
dta $0E,$0F,$10,$11,$0C,$0D,$31,$00
|
||||
dta $20,$21,$26,$27,$20,$21,$38,$39
|
||||
dta $31,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D
|
||||
dta $0C,$0D,$1E,$1F,$0C,$0D,$31,$00
|
||||
dta $20,$21,$36,$37,$28,$29,$4E,$4F
|
||||
dta $31,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D
|
||||
dta $0C,$0D,$18,$19,$0C,$0D,$31,$00
|
||||
dta $46,$47,$26,$27,$24,$25,$31,$00
|
||||
dta $00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$0C,$0C,$0C,$0C
|
||||
dta $0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C
|
||||
dta $0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C
|
||||
dta $0C,$0C,$0C,$0C,$2F,$00,$00,$00
|
||||
File diff suppressed because one or more lines are too long
+22
-50
@@ -103,17 +103,17 @@ font_titles
|
||||
ins 'art/title_fonts.fnt' ;
|
||||
font_logo
|
||||
ins 'art/title_logo.fnt' ;
|
||||
font_over
|
||||
ins 'art/game_over.fnt' ;
|
||||
;---------------------------------------------------
|
||||
dl_over
|
||||
.by $10,$70
|
||||
.by $45
|
||||
.wo over_screen ; title screen (menu?)
|
||||
.by $85 ; DLI1 - second clouds
|
||||
.by $05
|
||||
.by $85 ; DLI2 - last clouds
|
||||
:5 .by $05
|
||||
.by $85 ; DLI1 - font change
|
||||
:4 .by $05
|
||||
.by $85 ; DLI - horizon
|
||||
:3 .by $05
|
||||
.by $85 ; DLI - font change
|
||||
.by $05
|
||||
.by $41
|
||||
.wo dl_over
|
||||
;---------------------------------------------------
|
||||
@@ -257,7 +257,7 @@ difficulty_normal_text
|
||||
difficulty_easy_text = difficulty_normal_text + 40
|
||||
.align $400
|
||||
over_screen
|
||||
icl 'art/over_screen.asm' ; 12 lines, mode 5 narrow
|
||||
icl 'art/over_screen.asm' ; 13 lines, mode 5 narrow
|
||||
credits_texts
|
||||
icl 'art/credits.asm' ; 10 lines, mode 5
|
||||
number_of_credits = 5
|
||||
@@ -342,8 +342,8 @@ gameover_VBI
|
||||
sta HPOSP0,x
|
||||
dex
|
||||
bpl @-
|
||||
; fly clouds
|
||||
jsr FlyClouds
|
||||
; no clouds
|
||||
;jsr FlyClouds
|
||||
;
|
||||
;jmp common_VBI
|
||||
|
||||
@@ -920,47 +920,18 @@ DLI_L2
|
||||
; Clouds, color changes
|
||||
;--------------------------------------------------
|
||||
pha
|
||||
; set cloud 2 horizontal position
|
||||
lda clouds2Hpos
|
||||
clc
|
||||
sta HPOSM2
|
||||
adc #4
|
||||
sta HPOSP2
|
||||
adc #8
|
||||
sta HPOSP3
|
||||
adc #8
|
||||
sta HPOSM3
|
||||
; character set change
|
||||
sta WSYNC
|
||||
mva #>font_titles CHBASE
|
||||
mwa #GameOverDLI1.DLI2 VDSLST
|
||||
pla
|
||||
rti
|
||||
DLI2
|
||||
pha
|
||||
; character set change
|
||||
sta WSYNC
|
||||
mva #>font_over CHBASE
|
||||
; set cloud 3 horizontal position
|
||||
lda clouds3Hpos
|
||||
clc
|
||||
sta HPOSM2
|
||||
adc #4
|
||||
sta HPOSP2
|
||||
adc #8
|
||||
sta HPOSP3
|
||||
adc #8
|
||||
sta HPOSM3
|
||||
mwa #GameOverDLI1.DLI3 VDSLST
|
||||
pla
|
||||
rti
|
||||
DLI3
|
||||
pha
|
||||
; under horizon
|
||||
; PMG colors, horizontal coordinates and sizes
|
||||
txa
|
||||
pha
|
||||
lda #0 ; hide PMG
|
||||
ldx #$15
|
||||
@ sta HPOSP0,x
|
||||
dex
|
||||
bpl @-
|
||||
pla
|
||||
tax
|
||||
inc SyncByte
|
||||
pla
|
||||
rti
|
||||
@@ -1097,6 +1068,7 @@ gameOver
|
||||
jsr MakeDarkScreen
|
||||
jsr MenuAnimationsReset
|
||||
jsr HidePM
|
||||
jsr PrepareCloudsPM
|
||||
jsr PrepareTitlePM
|
||||
jsr CreditsClear
|
||||
mva #0 StateFlag
|
||||
@@ -1176,10 +1148,10 @@ EndOfStartScreen
|
||||
.proc GameOverScreen
|
||||
;--------------------------------------------------
|
||||
jsr MakeDarkScreen
|
||||
jsr PrepareTitlePM.clearP0_1
|
||||
jsr ClearPM
|
||||
jsr HidePM
|
||||
mva #3 StateFlag
|
||||
mva #>font_titles CHBAS
|
||||
mva #>font_over CHBAS
|
||||
mwa #dl_over dlptrs
|
||||
mva GameColors+c_sky COLBAKS
|
||||
mva GameColors+c_font4 COLOR0
|
||||
@@ -1466,10 +1438,10 @@ no_branch_l
|
||||
mva #1 LumberjackDir ; right side
|
||||
mva #0 Difficulty ; level normal
|
||||
|
||||
jsr PrepareLevelPM
|
||||
jsr PrepareBirdsPM
|
||||
jsr PrepareCloudsPM
|
||||
jsr SetPMr1
|
||||
;jsr PrepareLevelPM
|
||||
;jsr PrepareBirdsPM
|
||||
;jsr PrepareCloudsPM
|
||||
;jsr SetPMr1
|
||||
mwa #gamescreen_r_ph1p1 animation_addr
|
||||
lda #@dmactl(narrow|dma|missiles|players|lineX2) ; narrow screen width, DL on, P/M on (2lines)
|
||||
sta dmactls
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user