mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-24 18:30:00 +00:00
ootw: can now turn off power by shooting wire
This commit is contained in:
parent
603ea33edf
commit
82603dbf19
27
ootw/TODO
27
ootw/TODO
@ -4,16 +4,24 @@ TODO Before release:
|
||||
|
||||
l2/l4 -- have aliens shoot
|
||||
|
||||
L2 -- disable door/powerline by shooting wall
|
||||
|
||||
l2 -- move doors to final behavior (break room one needs to
|
||||
be locked)
|
||||
|
||||
l2 -- re-activate opening cutscene
|
||||
l2 -- initial shield up in alien hallway
|
||||
|
||||
KNOWN BUGS:
|
||||
===========
|
||||
+ shooting through shield is broken (it's worse when facing right)
|
||||
need a +2 in the collision code somewhere probably
|
||||
+ ootw: pool monster grabs you a edge of pool (glitch)
|
||||
+ intro: there's still a bit of a pause when the elevator door finishes opening
|
||||
+ running: Missing one running frame (?)
|
||||
+ L2 vent -- we fall behind the vent
|
||||
No easy way to fix that unless we split if off from
|
||||
the friend drawing code, or change the Z order of the friend
|
||||
|
||||
|
||||
l2 -- shield up in alien hallway
|
||||
|
||||
shooting through shield is broken
|
||||
|
||||
MISSING SPRITES:
|
||||
================
|
||||
@ -127,15 +135,6 @@ BEHAVIOR DIFFERENCES:
|
||||
+ Level/Checkpoint #5
|
||||
* Allow falling into first pit
|
||||
|
||||
KNOWN BUGS:
|
||||
===========
|
||||
|
||||
+ ootw: pool monster grabs you a edge of pool (glitch)
|
||||
+ intro: there's still a bit of a pause when the elevator door finishes opening
|
||||
+ running: Missing one running frame (?)
|
||||
+ L2 vent -- we fall behind the vent
|
||||
No easy way to fix that unless we split if off from
|
||||
the friend drawing code, or change the Z order of the friend
|
||||
|
||||
FUTURE WORK:
|
||||
============
|
||||
|
@ -67,7 +67,6 @@ alien_laser_left:
|
||||
sbc #2
|
||||
sta laser1_end
|
||||
|
||||
; txa
|
||||
sec
|
||||
sbc #10
|
||||
sta laser1_start
|
||||
|
@ -3,7 +3,7 @@ TARGET_DOOR = $10
|
||||
TARGET_SHIELD = $20
|
||||
TARGET_FRIEND = $30
|
||||
TARGET_ALIEN = $40
|
||||
|
||||
TARGET_PHYSICIST= $80
|
||||
|
||||
;=============================
|
||||
;=============================
|
||||
|
20
ootw/laser.s
20
ootw/laser.s
@ -324,18 +324,24 @@ laser_hit_alien:
|
||||
|
||||
laser_hit_friend:
|
||||
|
||||
lda #F_DISINTEGRATING
|
||||
sta friend_state
|
||||
lda #F_DISINTEGRATING
|
||||
sta friend_state
|
||||
|
||||
lda #FAI_DISINTEGRATING
|
||||
sta friend_ai_state
|
||||
|
||||
lda #0
|
||||
sta friend_gait
|
||||
|
||||
jmp done_hit_something
|
||||
|
||||
laser_hit_physicist:
|
||||
|
||||
lda #P_DISINTEGRATING
|
||||
sta PHYSICIST_STATE
|
||||
|
||||
lda #0
|
||||
sta friend_gait
|
||||
|
||||
|
||||
|
||||
; jmp done_hit_something
|
||||
sta GAIT
|
||||
|
||||
done_hit_something:
|
||||
jmp done_move_laser
|
||||
|
@ -607,6 +607,33 @@ no_draw_alien:
|
||||
|
||||
jsr handle_gun
|
||||
|
||||
;========================
|
||||
; hack to turn off power!
|
||||
|
||||
lda WHICH_ROOM
|
||||
cmp #6
|
||||
bne no_turn_off_power
|
||||
|
||||
lda JAIL_POWER_ON
|
||||
beq no_turn_off_power
|
||||
|
||||
lda laser0_out
|
||||
beq no_turn_off_power
|
||||
|
||||
lda laser0_start
|
||||
cmp #20
|
||||
bcs no_turn_off_power
|
||||
|
||||
turn_off_power:
|
||||
lda #0
|
||||
sta JAIL_POWER_ON
|
||||
lda #DOOR_STATUS_LOCKED
|
||||
sta c2_r4_door0_status
|
||||
sta c2_r4_door1_status
|
||||
sta c2_r4_door2_status
|
||||
|
||||
no_turn_off_power:
|
||||
|
||||
;================
|
||||
; handle doors
|
||||
;================
|
||||
|
Loading…
x
Reference in New Issue
Block a user