diff --git a/monkey/draw_pointer.s b/monkey/draw_pointer.s index 9c94f1e2..a25b01b0 100644 --- a/monkey/draw_pointer.s +++ b/monkey/draw_pointer.s @@ -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) diff --git a/monkey/hello.bas b/monkey/hello.bas index f8c5bc59..d4b25fbf 100644 --- a/monkey/hello.bas +++ b/monkey/hello.bas @@ -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" diff --git a/monkey/monkey.dsk b/monkey/monkey.dsk new file mode 100644 index 00000000..9579afd6 Binary files /dev/null and b/monkey/monkey.dsk differ diff --git a/monkey/monkey_actions.s b/monkey/monkey_actions.s index bead547d..a561e7c5 100644 --- a/monkey/monkey_actions.s +++ b/monkey/monkey_actions.s @@ -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 +