mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-20 17:29:28 +00:00
peasant: get actions working at all locations
This commit is contained in:
parent
7cd8f62268
commit
e0d0fcda2b
|
@ -37,11 +37,6 @@ inside:
|
||||||
|
|
||||||
jsr decompress_lzsa2_fast
|
jsr decompress_lzsa2_fast
|
||||||
|
|
||||||
|
|
||||||
; update map location
|
|
||||||
|
|
||||||
; jsr update_map_location
|
|
||||||
|
|
||||||
; update score
|
; update score
|
||||||
|
|
||||||
jsr update_score
|
jsr update_score
|
||||||
|
@ -59,6 +54,12 @@ new_location:
|
||||||
|
|
||||||
;==========================
|
;==========================
|
||||||
; load updated verb table
|
; load updated verb table
|
||||||
|
;==========================
|
||||||
|
|
||||||
|
; setup default verb table
|
||||||
|
|
||||||
|
jsr setup_default_verb_table
|
||||||
|
|
||||||
|
|
||||||
; we are INSIDE so locations 24...26 map to 0...2
|
; we are INSIDE so locations 24...26 map to 0...2
|
||||||
|
|
||||||
|
@ -67,12 +68,13 @@ new_location:
|
||||||
sbc #LOCATION_BASE
|
sbc #LOCATION_BASE
|
||||||
tax
|
tax
|
||||||
|
|
||||||
|
.if 0
|
||||||
lda verb_tables_low,X
|
lda verb_tables_low,X
|
||||||
sta INL
|
sta INL
|
||||||
lda verb_tables_hi,X
|
lda verb_tables_hi,X
|
||||||
sta INH
|
sta INH
|
||||||
jsr load_custom_verb_table
|
jsr load_custom_verb_table
|
||||||
|
.endif
|
||||||
|
|
||||||
;=====================
|
;=====================
|
||||||
; load bg
|
; load bg
|
||||||
|
|
|
@ -37,9 +37,6 @@ peasantry1:
|
||||||
|
|
||||||
jsr decompress_lzsa2_fast
|
jsr decompress_lzsa2_fast
|
||||||
|
|
||||||
; update map location
|
|
||||||
|
|
||||||
; jsr update_map_location
|
|
||||||
|
|
||||||
; update score
|
; update score
|
||||||
|
|
||||||
|
@ -57,6 +54,11 @@ new_location:
|
||||||
|
|
||||||
;==========================
|
;==========================
|
||||||
; load updated verb table
|
; load updated verb table
|
||||||
|
;==========================
|
||||||
|
|
||||||
|
; setup default verb table
|
||||||
|
|
||||||
|
jsr setup_default_verb_table
|
||||||
|
|
||||||
; we are PEASANT1 so locations 0...4 map to 0...4
|
; we are PEASANT1 so locations 0...4 map to 0...4
|
||||||
|
|
||||||
|
|
|
@ -38,10 +38,6 @@ peasantry3:
|
||||||
jsr decompress_lzsa2_fast
|
jsr decompress_lzsa2_fast
|
||||||
|
|
||||||
|
|
||||||
; update map location
|
|
||||||
|
|
||||||
; jsr update_map_location
|
|
||||||
|
|
||||||
; update score
|
; update score
|
||||||
|
|
||||||
jsr update_score
|
jsr update_score
|
||||||
|
@ -59,6 +55,12 @@ new_location:
|
||||||
|
|
||||||
;==========================
|
;==========================
|
||||||
; load updated verb table
|
; load updated verb table
|
||||||
|
;==========================
|
||||||
|
|
||||||
|
; setup default verb table
|
||||||
|
|
||||||
|
jsr setup_default_verb_table
|
||||||
|
|
||||||
|
|
||||||
; we are PEASANT3 so locations 10...14 map to 0...4
|
; we are PEASANT3 so locations 10...14 map to 0...4
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,12 @@ new_location:
|
||||||
|
|
||||||
;==========================
|
;==========================
|
||||||
; load updated verb table
|
; load updated verb table
|
||||||
|
;==========================
|
||||||
|
|
||||||
|
; setup default verb table
|
||||||
|
|
||||||
|
jsr setup_default_verb_table
|
||||||
|
|
||||||
|
|
||||||
; we are PEASANT4 so locations 15...19 map to 0...4
|
; we are PEASANT4 so locations 15...19 map to 0...4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user