mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-20 17:29:28 +00:00
monkey: update to v0.2
This commit is contained in:
parent
f9b696d331
commit
3c4f5d5b26
|
@ -4,6 +4,8 @@
|
||||||
; actual game it sorta pulses colors
|
; actual game it sorta pulses colors
|
||||||
|
|
||||||
draw_pointer:
|
draw_pointer:
|
||||||
|
lda CURSOR_VISIBLE
|
||||||
|
beq no_draw_pointer
|
||||||
|
|
||||||
; point sprite to right location (X,Y)
|
; point sprite to right location (X,Y)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
5 HOME
|
5 HOME
|
||||||
10 PRINT "LOADING MONKEY V0.01"
|
10 PRINT "LOADING MONKEY V0.02"
|
||||||
20 PRINT:PRINT
|
20 PRINT:PRINT
|
||||||
40 PRINT "CONTROLS: "
|
40 PRINT "CONTROLS: "
|
||||||
42 PRINT " MOVE CURSOR : ARROWS OR WASD"
|
42 PRINT " MOVE CURSOR : ARROWS OR WASD"
|
||||||
|
|
BIN
monkey/monkey.dsk
Normal file
BIN
monkey/monkey.dsk
Normal file
Binary file not shown.
|
@ -92,8 +92,7 @@ lookout_action:
|
||||||
lda lookout_actions+1,Y
|
lda lookout_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
|
|
||||||
lookout_nothing:
|
lookout_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
|
@ -176,8 +175,7 @@ door_common:
|
||||||
lda door_actions+1,Y
|
lda door_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
|
|
||||||
door_nothing:
|
door_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
|
@ -229,8 +227,7 @@ poster_action:
|
||||||
lda poster_actions+1,Y
|
lda poster_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
|
|
||||||
poster_nothing:
|
poster_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
|
@ -270,8 +267,7 @@ archway_action:
|
||||||
lda archway_actions+1,Y
|
lda archway_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
|
|
||||||
archway_nothing:
|
archway_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
|
@ -304,8 +300,8 @@ clock_action:
|
||||||
lda clock_actions+1,Y
|
lda clock_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
clock_nothing:
|
clock_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
sta CURRENT_VERB
|
sta CURRENT_VERB
|
||||||
|
@ -339,8 +335,8 @@ citizen_action:
|
||||||
lda citizen_actions+1,Y
|
lda citizen_actions+1,Y
|
||||||
sta MESSAGE_H
|
sta MESSAGE_H
|
||||||
|
|
||||||
lda #1
|
jmp do_display_message
|
||||||
sta DISPLAY_MESSAGE
|
|
||||||
citizen_nothing:
|
citizen_nothing:
|
||||||
lda #VERB_WALK
|
lda #VERB_WALK
|
||||||
sta CURRENT_VERB
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user