diff --git a/eg/game.60p b/eg/game.60p index 442f972..4f2dcd0 100644 --- a/eg/game.60p +++ b/eg/game.60p @@ -29,6 +29,12 @@ reserve word compare_target reserve byte[16] actor_pos_hi reserve byte[16] actor_pos_lo +reserve vector dispatch_state + +reserve byte[18] press_fire_msg: "PRESS FIRE TO PLAY" + +reserve byte save_x // TODO: SHOULD BE BLOCK LOCAL! + routine calculate_new_position outputs (new_position) { clc lda position - lda actor_pos_lo, y - sta position - sta actor_pos_hi, y - lda position + lda actor_pos_lo, x + sta position + sta actor_pos_hi, x + lda