peasant: get actions working at all locations

This commit is contained in:
Vince Weaver 2021-10-27 16:13:26 -04:00
parent 7cd8f62268
commit e0d0fcda2b
4 changed files with 25 additions and 13 deletions

View File

@ -37,11 +37,6 @@ inside:
jsr decompress_lzsa2_fast
; update map location
; jsr update_map_location
; update score
jsr update_score
@ -59,6 +54,12 @@ new_location:
;==========================
; load updated verb table
;==========================
; setup default verb table
jsr setup_default_verb_table
; we are INSIDE so locations 24...26 map to 0...2
@ -67,12 +68,13 @@ new_location:
sbc #LOCATION_BASE
tax
.if 0
lda verb_tables_low,X
sta INL
lda verb_tables_hi,X
sta INH
jsr load_custom_verb_table
.endif
;=====================
; load bg

View File

@ -37,9 +37,6 @@ peasantry1:
jsr decompress_lzsa2_fast
; update map location
; jsr update_map_location
; update score
@ -57,6 +54,11 @@ new_location:
;==========================
; load updated verb table
;==========================
; setup default verb table
jsr setup_default_verb_table
; we are PEASANT1 so locations 0...4 map to 0...4

View File

@ -38,10 +38,6 @@ peasantry3:
jsr decompress_lzsa2_fast
; update map location
; jsr update_map_location
; update score
jsr update_score
@ -59,6 +55,12 @@ new_location:
;==========================
; load updated verb table
;==========================
; setup default verb table
jsr setup_default_verb_table
; we are PEASANT3 so locations 10...14 map to 0...4

View File

@ -58,6 +58,12 @@ new_location:
;==========================
; load updated verb table
;==========================
; setup default verb table
jsr setup_default_verb_table
; we are PEASANT4 so locations 15...19 map to 0...4