mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-15 20:30:11 +00:00
lemm: exit flames on l5 are green
This commit is contained in:
parent
46e6467da7
commit
4e7496c6e4
@ -159,6 +159,7 @@ lemm.inc: generate_common LEMM
|
|||||||
./generate_common -a 0x6000 -s draw_door lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s draw_door lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s draw_door_5 lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s draw_door_5 lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s draw_flames lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s draw_flames lemm.lst >> lemm.inc
|
||||||
|
./generate_common -a 0x6000 -s draw_flames_green lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s handle_keypress lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s handle_keypress lemm.lst >> lemm.inc
|
||||||
# ./generate_common -a 0x6000 -s disable_music lemm.lst >> lemm.inc
|
# ./generate_common -a 0x6000 -s disable_music lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s outro_level lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s outro_level lemm.lst >> lemm.inc
|
||||||
@ -169,6 +170,10 @@ lemm.inc: generate_common LEMM
|
|||||||
./generate_common -a 0x6000 -s r_flame_y_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s r_flame_y_smc lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s l_flame_x_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s l_flame_x_smc lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s l_flame_y_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s l_flame_y_smc lemm.lst >> lemm.inc
|
||||||
|
./generate_common -a 0x6000 -s r_flame_g_x_smc lemm.lst >> lemm.inc
|
||||||
|
./generate_common -a 0x6000 -s r_flame_g_y_smc lemm.lst >> lemm.inc
|
||||||
|
./generate_common -a 0x6000 -s l_flame_g_x_smc lemm.lst >> lemm.inc
|
||||||
|
./generate_common -a 0x6000 -s l_flame_g_y_smc lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s exit_x1_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s exit_x1_smc lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s exit_x2_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s exit_x2_smc lemm.lst >> lemm.inc
|
||||||
./generate_common -a 0x6000 -s exit_y1_smc lemm.lst >> lemm.inc
|
./generate_common -a 0x6000 -s exit_y1_smc lemm.lst >> lemm.inc
|
||||||
|
@ -57,3 +57,67 @@ rflame_l:
|
|||||||
|
|
||||||
rflame_h:
|
rflame_h:
|
||||||
.byte >rflame1_sprite,>rflame2_sprite,>rflame3_sprite,>rflame4_sprite
|
.byte >rflame1_sprite,>rflame2_sprite,>rflame3_sprite,>rflame4_sprite
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;=======================
|
||||||
|
; draw exit flames (green)
|
||||||
|
;=======================
|
||||||
|
|
||||||
|
draw_flames_green:
|
||||||
|
|
||||||
|
; draw left_flame
|
||||||
|
lda FRAMEL
|
||||||
|
and #$3
|
||||||
|
tay
|
||||||
|
|
||||||
|
lda lflame_g_l,Y
|
||||||
|
sta INL
|
||||||
|
lda lflame_g_h,Y
|
||||||
|
sta INH
|
||||||
|
|
||||||
|
l_flame_g_x_smc:
|
||||||
|
ldx #31 ; 217
|
||||||
|
stx XPOS
|
||||||
|
l_flame_g_y_smc:
|
||||||
|
lda #108
|
||||||
|
sta YPOS
|
||||||
|
|
||||||
|
jsr hgr_draw_sprite
|
||||||
|
|
||||||
|
|
||||||
|
; draw right_flame
|
||||||
|
lda FRAMEL
|
||||||
|
and #$3
|
||||||
|
tay
|
||||||
|
|
||||||
|
lda rflame_g_l,Y
|
||||||
|
sta INL
|
||||||
|
lda rflame_g_h,Y
|
||||||
|
sta INH
|
||||||
|
|
||||||
|
r_flame_g_x_smc:
|
||||||
|
ldx #35 ; 245
|
||||||
|
stx XPOS
|
||||||
|
r_flame_g_y_smc:
|
||||||
|
lda #108
|
||||||
|
sta YPOS
|
||||||
|
|
||||||
|
jmp hgr_draw_sprite
|
||||||
|
|
||||||
|
; rts
|
||||||
|
|
||||||
|
|
||||||
|
lflame_g_l:
|
||||||
|
.byte <lflameg1_sprite,<lflameg2_sprite,<lflameg3_sprite,<lflameg4_sprite
|
||||||
|
|
||||||
|
lflame_g_h:
|
||||||
|
.byte >lflameg1_sprite,>lflameg2_sprite,>lflameg3_sprite,>lflameg4_sprite
|
||||||
|
|
||||||
|
rflame_g_l:
|
||||||
|
.byte <rflameg1_sprite,<rflameg2_sprite,<rflameg3_sprite,<rflameg4_sprite
|
||||||
|
|
||||||
|
rflame_g_h:
|
||||||
|
.byte >rflameg1_sprite,>rflameg2_sprite,>rflameg3_sprite,>rflameg4_sprite
|
||||||
|
|
||||||
|
@ -144,6 +144,15 @@ sprites.inc: sprites.png
|
|||||||
$(HGR_SPRITE) -s -l rflame3_sprite sprites.png 21 43 27 48 >> sprites.inc
|
$(HGR_SPRITE) -s -l rflame3_sprite sprites.png 21 43 27 48 >> sprites.inc
|
||||||
$(HGR_SPRITE) -s -l rflame4_sprite sprites.png 21 50 27 55 >> sprites.inc
|
$(HGR_SPRITE) -s -l rflame4_sprite sprites.png 21 50 27 55 >> sprites.inc
|
||||||
#
|
#
|
||||||
|
$(HGR_SPRITE) -s -l lflameg1_sprite sprites.png 35 29 41 35 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l lflameg2_sprite sprites.png 35 36 41 41 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l lflameg3_sprite sprites.png 35 43 41 48 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l lflameg4_sprite sprites.png 35 50 41 55 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l rflameg1_sprite sprites.png 49 29 55 35 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l rflameg2_sprite sprites.png 49 36 55 41 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l rflameg3_sprite sprites.png 49 43 55 48 >> sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l rflameg4_sprite sprites.png 49 50 55 55 >> sprites.inc
|
||||||
|
#
|
||||||
$(HGR_SPRITE) -s -l door1_sprite sprites.png 7 57 55 69 >> sprites.inc
|
$(HGR_SPRITE) -s -l door1_sprite sprites.png 7 57 55 69 >> sprites.inc
|
||||||
$(HGR_SPRITE) -s -l door2_sprite sprites.png 7 76 55 91 >> sprites.inc
|
$(HGR_SPRITE) -s -l door2_sprite sprites.png 7 76 55 91 >> sprites.inc
|
||||||
$(HGR_SPRITE) -s -l door3_sprite sprites.png 7 98 55 114 >> sprites.inc
|
$(HGR_SPRITE) -s -l door3_sprite sprites.png 7 98 55 114 >> sprites.inc
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@ -372,10 +372,6 @@ level_continue:
|
|||||||
; .include "gr_fast_clear.s"
|
; .include "gr_fast_clear.s"
|
||||||
; .include "text_print.s"
|
; .include "text_print.s"
|
||||||
; .include "simple_sounds.s"
|
; .include "simple_sounds.s"
|
||||||
|
|
||||||
|
|
||||||
; pt3 player
|
|
||||||
|
|
||||||
;;.include "pt3_lib_mockingboard.inc"
|
;;.include "pt3_lib_mockingboard.inc"
|
||||||
;.include "pt3_lib_detect_model.s"
|
;.include "pt3_lib_detect_model.s"
|
||||||
;.include "pt3_lib_mockingboard_detect.s"
|
;.include "pt3_lib_mockingboard_detect.s"
|
||||||
|
@ -38,13 +38,13 @@ do_level5:
|
|||||||
; flame locations
|
; flame locations
|
||||||
|
|
||||||
lda #35
|
lda #35
|
||||||
sta l_flame_x_smc+1
|
sta l_flame_g_x_smc+1
|
||||||
lda #72
|
lda #72
|
||||||
sta l_flame_y_smc+1
|
sta l_flame_g_y_smc+1
|
||||||
sta r_flame_y_smc+1
|
sta r_flame_g_y_smc+1
|
||||||
|
|
||||||
lda #39
|
lda #39
|
||||||
sta r_flame_x_smc+1
|
sta r_flame_g_x_smc+1
|
||||||
|
|
||||||
; door exit location
|
; door exit location
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ l5_door_is_open:
|
|||||||
; animate flames
|
; animate flames
|
||||||
;=====================
|
;=====================
|
||||||
|
|
||||||
jsr draw_flames
|
jsr draw_flames_green
|
||||||
|
|
||||||
jsr update_timer
|
jsr update_timer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user