monkey: update to v0.2

This commit is contained in:
Vince Weaver 2020-09-19 12:22:14 -04:00
parent f9b696d331
commit 3c4f5d5b26
4 changed files with 20 additions and 13 deletions

View File

@ -4,6 +4,8 @@
; actual game it sorta pulses colors
draw_pointer:
lda CURSOR_VISIBLE
beq no_draw_pointer
; point sprite to right location (X,Y)

View File

@ -1,5 +1,5 @@
5 HOME
10 PRINT "LOADING MONKEY V0.01"
10 PRINT "LOADING MONKEY V0.02"
20 PRINT:PRINT
40 PRINT "CONTROLS: "
42 PRINT " MOVE CURSOR : ARROWS OR WASD"

BIN
monkey/monkey.dsk Normal file

Binary file not shown.

View File

@ -92,8 +92,7 @@ lookout_action:
lda lookout_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
lookout_nothing:
lda #VERB_WALK
@ -176,8 +175,7 @@ door_common:
lda door_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
door_nothing:
lda #VERB_WALK
@ -229,8 +227,7 @@ poster_action:
lda poster_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
poster_nothing:
lda #VERB_WALK
@ -270,8 +267,7 @@ archway_action:
lda archway_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
archway_nothing:
lda #VERB_WALK
@ -304,8 +300,8 @@ clock_action:
lda clock_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
clock_nothing:
lda #VERB_WALK
sta CURRENT_VERB
@ -339,8 +335,8 @@ citizen_action:
lda citizen_actions+1,Y
sta MESSAGE_H
lda #1
sta DISPLAY_MESSAGE
jmp do_display_message
citizen_nothing:
lda #VERB_WALK
sta CURRENT_VERB
@ -381,3 +377,12 @@ map_nothing:
do_display_message:
lda #1
sta DISPLAY_MESSAGE
lda #0
sta CURSOR_VISIBLE
lda #VERB_WALK
sta CURRENT_VERB
rts