diff --git a/actors.s b/actors.s index a5aa7d3..950f446 100644 --- a/actors.s +++ b/actors.s @@ -308,7 +308,8 @@ init_player_common clc adc current_actor tay - lda player_start_col,y + ;lda player_start_col,y + lda #16 sta actor_col,x lda #MAZE_BOT_ROW sta actor_row,x diff --git a/logic.s b/logic.s index 5809961..fa7e776 100644 --- a/logic.s +++ b/logic.s @@ -1,6 +1,6 @@ EXPLODING_TIME = 10 DEAD_TIME = 10 -REGENERATING_TIME = 60 +REGENERATING_TIME = 120 END_GAME_TIME = 100 TITLE_SCREEN_TIME = 100 @@ -78,6 +78,7 @@ evaluate_status nop beq ?game_over jsr next_life + sta KBDSTROBE lda #PLAYER_REGENERATING sta actor_status,x lda #REGENERATING_TIME @@ -86,6 +87,8 @@ evaluate_status nop ?regenerating cmp #PLAYER_REGENERATING bne ?end + lda actor_input_dir,x + bne ?alive dec actor_frame_counter,x beq ?alive @@ -99,6 +102,8 @@ evaluate_status nop ?alive lda #1 sta actor_active,x + lda #PLAYER_ALIVE + sta actor_status,x ?end rts