mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-26 15:29:55 +00:00
ootw: c4: blast stopped by doors now
This commit is contained in:
parent
f71d5fee48
commit
35348cdc98
|
@ -135,8 +135,8 @@ Level/Checkpoint #3:
|
||||||
+ Actual game shakes the camera when you hit the ground after falling
|
+ Actual game shakes the camera when you hit the ground after falling
|
||||||
|
|
||||||
Level/Checkpoint #4:
|
Level/Checkpoint #4:
|
||||||
+ Implement doors
|
|
||||||
+ Implement guard (shooting, taunting)
|
+ Implement guard (shooting, taunting)
|
||||||
|
+ Disable keyboard while in the recharger
|
||||||
|
|
||||||
Level/Checkpoint #5:
|
Level/Checkpoint #5:
|
||||||
+ Falling as enter level
|
+ Falling as enter level
|
||||||
|
|
12
ootw/blast.s
12
ootw/blast.s
|
@ -50,6 +50,7 @@ fire_blast:
|
||||||
; set x
|
; set x
|
||||||
|
|
||||||
blast_left:
|
blast_left:
|
||||||
|
jsr calc_gun_left_collision
|
||||||
|
|
||||||
ldx PHYSICIST_X
|
ldx PHYSICIST_X
|
||||||
dex
|
dex
|
||||||
|
@ -63,6 +64,7 @@ blast_left:
|
||||||
jmp done_fire_blast
|
jmp done_fire_blast
|
||||||
|
|
||||||
blast_right:
|
blast_right:
|
||||||
|
jsr calc_gun_right_collision
|
||||||
|
|
||||||
lda PHYSICIST_X
|
lda PHYSICIST_X
|
||||||
clc
|
clc
|
||||||
|
@ -169,12 +171,14 @@ still_starting_blast_left:
|
||||||
blast_edge_detect_left:
|
blast_edge_detect_left:
|
||||||
|
|
||||||
lda blast0_end
|
lda blast0_end
|
||||||
|
cmp LEFT_SHOOT_LIMIT
|
||||||
bmi disable_blast
|
bmi disable_blast
|
||||||
|
|
||||||
lda blast0_start
|
lda blast0_start
|
||||||
|
cmp LEFT_SHOOT_LIMIT
|
||||||
bpl no_move_blast
|
bpl no_move_blast
|
||||||
|
|
||||||
lda #0
|
lda LEFT_SHOOT_LIMIT
|
||||||
sta blast0_start
|
sta blast0_start
|
||||||
|
|
||||||
jmp no_move_blast
|
jmp no_move_blast
|
||||||
|
@ -206,14 +210,14 @@ blast_edge_detect_right:
|
||||||
|
|
||||||
; detect if totally off screen
|
; detect if totally off screen
|
||||||
lda blast0_start
|
lda blast0_start
|
||||||
cmp #40
|
cmp RIGHT_SHOOT_LIMIT
|
||||||
bcs disable_blast
|
bcs disable_blast
|
||||||
|
|
||||||
lda blast0_end
|
lda blast0_end
|
||||||
cmp #40
|
cmp RIGHT_SHOOT_LIMIT
|
||||||
bcc no_move_blast
|
bcc no_move_blast
|
||||||
|
|
||||||
lda #39
|
lda RIGHT_SHOOT_LIMIT
|
||||||
sta blast0_end
|
sta blast0_end
|
||||||
|
|
||||||
no_move_blast:
|
no_move_blast:
|
||||||
|
|
|
@ -94,11 +94,13 @@ end_message:
|
||||||
.include "physicist.s"
|
.include "physicist.s"
|
||||||
.include "alien.s"
|
.include "alien.s"
|
||||||
|
|
||||||
.include "gun.s"
|
|
||||||
.include "blast.s"
|
;.include "gun.s"
|
||||||
.include "shield.s"
|
;.include "blast.s"
|
||||||
|
;.include "shield.s"
|
||||||
|
|
||||||
;.include "door.s"
|
;.include "door.s"
|
||||||
|
;.include "collision.s"
|
||||||
|
|
||||||
; room backgrounds
|
; room backgrounds
|
||||||
.include "ootw_graphics/l5cave/ootw_c5_cave.inc"
|
.include "ootw_graphics/l5cave/ootw_c5_cave.inc"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user