mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-23 20:29:15 +00:00
peasant: forgot the "climb fence" action in peasant2
This commit is contained in:
parent
bf7c9b3b9c
commit
2bb9694582
@ -40,6 +40,7 @@ peasant2 18302
|
||||
17941 -- after most of text hooked up (more code was moved to qload)
|
||||
17929 -- after redoing so background is always in PAGE1
|
||||
18132 -- add in river animation code
|
||||
18181 -- forgot the "climb fence" message
|
||||
|
||||
partial save, can we fit in 4k?
|
||||
102 lines ; inventory was 115?
|
||||
|
@ -112,5 +112,5 @@ done_draw_peasant:
|
||||
rts
|
||||
|
||||
|
||||
;.include "sprites/peasant_sprites.inc"
|
||||
.include "sprites/peasant_robe_sprites.inc"
|
||||
.include "sprites/peasant_sprites.inc"
|
||||
;.include "sprites/peasant_robe_sprites.inc"
|
||||
|
@ -25,6 +25,8 @@ hay_bale_verb_table:
|
||||
.word hay_bale_steal-1
|
||||
.byte VERB_TAKE
|
||||
.word hay_bale_take-1
|
||||
.byte VERB_CLIMB
|
||||
.word hay_bale_climb-1
|
||||
.byte 0
|
||||
|
||||
|
||||
@ -48,6 +50,9 @@ hay_get_hay:
|
||||
ldy #>hay_get_hay_message
|
||||
jmp finish_parse_message
|
||||
|
||||
|
||||
|
||||
|
||||
;=================
|
||||
; look
|
||||
;=================
|
||||
@ -107,6 +112,23 @@ hay_look_at_fence:
|
||||
jmp finish_parse_message
|
||||
|
||||
|
||||
;================
|
||||
; climb
|
||||
;================
|
||||
hay_bale_climb:
|
||||
lda CURRENT_NOUN
|
||||
|
||||
cmp #NOUN_FENCE
|
||||
beq hay_climb_fence
|
||||
|
||||
jmp parse_common_unknown
|
||||
|
||||
hay_climb_fence:
|
||||
ldx #<hay_climb_fence_message
|
||||
ldy #>hay_climb_fence_message
|
||||
jmp finish_parse_message
|
||||
|
||||
|
||||
;===================
|
||||
; enter hay
|
||||
;===================
|
||||
@ -117,6 +139,8 @@ hay_bale_hide:
|
||||
|
||||
lda CURRENT_NOUN
|
||||
|
||||
cmp #NOUN_FENCE
|
||||
beq hay_climb_fence
|
||||
cmp #NOUN_HAY
|
||||
beq enter_hay
|
||||
|
||||
|
@ -64,7 +64,6 @@ gary_sprites.inc: gary_sprites.png
|
||||
$(HGR_SPRITE) -s -l gary_fly2_sprite gary_sprites.png 91 98 104 117 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_tail1_sprite gary_sprites.png 119 98 132 117 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_tail2_sprite gary_sprites.png 147 98 160 117 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_foot1_sprite gary_sprites.png 91 118 118 128 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_foot0_sprite gary_sprites.png 63 118 76 128 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_foot1_sprite gary_sprites.png 91 118 104 128 >> gary_sprites.inc
|
||||
$(HGR_SPRITE) -s -l gary_foot2_sprite gary_sprites.png 119 118 132 128 >> gary_sprites.inc
|
||||
|
@ -80,6 +80,11 @@ hay_get_hay_message:
|
||||
.byte "Dungeonman? You don't need",13
|
||||
.byte "any hay.",0
|
||||
|
||||
; + climb/jump fence
|
||||
hay_climb_fence_message:
|
||||
.byte "No, you have business to",13
|
||||
.byte "attend to here in",13
|
||||
.byte "Peasantry.",0
|
||||
|
||||
;=============
|
||||
; Mud Puddle
|
||||
|
Loading…
x
Reference in New Issue
Block a user