2021-08-09 05:21:58 +00:00
|
|
|
; A Peasant's Quest????
|
|
|
|
|
|
|
|
; by Vince `deater` Weaver vince@deater.net
|
|
|
|
|
|
|
|
; with apologies to everyone
|
|
|
|
|
|
|
|
.include "hardware.inc"
|
2021-08-12 01:45:31 +00:00
|
|
|
.include "zp.inc"
|
2021-08-09 05:21:58 +00:00
|
|
|
|
2021-08-10 05:09:35 +00:00
|
|
|
|
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
|
2021-08-12 01:45:31 +00:00
|
|
|
peasant_quest:
|
2021-08-09 05:21:58 +00:00
|
|
|
|
2021-08-12 02:07:33 +00:00
|
|
|
jsr hgr_make_tables
|
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
jsr HGR2 ; Hi-res graphics, no text at bottom
|
|
|
|
; Y=0, A=0 after this called
|
|
|
|
|
|
|
|
|
2021-08-13 01:01:05 +00:00
|
|
|
;*******************************
|
|
|
|
; restart music, only drum loop
|
|
|
|
;******************************
|
|
|
|
|
|
|
|
; hack! modify the PT3 file to ignore the latter half
|
|
|
|
|
|
|
|
PT3_LOC=$E00+$E00
|
|
|
|
pt3_init_song=$e00+$A56
|
|
|
|
pt3_clear_ay_both=$e00+$CDF
|
|
|
|
|
|
|
|
lda #$ff ; end after 4 patterns
|
|
|
|
sta PT3_LOC+$C9+$4
|
|
|
|
|
|
|
|
lda #$0 ; set LOOP to 0
|
|
|
|
sta PT3_LOC+$66
|
|
|
|
|
|
|
|
jsr pt3_init_song
|
|
|
|
|
|
|
|
cli
|
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
;************************
|
|
|
|
; Cottage
|
|
|
|
;************************
|
|
|
|
|
2021-08-12 19:41:39 +00:00
|
|
|
jsr cottage
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
;************************
|
|
|
|
; Lake West
|
|
|
|
;************************
|
|
|
|
|
2021-08-12 19:41:39 +00:00
|
|
|
jsr lake_west
|
2021-08-10 18:05:41 +00:00
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
;************************
|
|
|
|
; Lake East
|
|
|
|
;************************
|
|
|
|
|
2021-08-12 19:41:39 +00:00
|
|
|
jsr lake_east
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
;************************
|
|
|
|
; River
|
|
|
|
;************************
|
|
|
|
|
2021-08-12 19:41:39 +00:00
|
|
|
jsr river
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
;************************
|
|
|
|
; Knight
|
|
|
|
;************************
|
|
|
|
|
2021-08-11 03:43:30 +00:00
|
|
|
jsr knight
|
2021-08-09 05:21:58 +00:00
|
|
|
|
2021-08-11 23:29:47 +00:00
|
|
|
;************************
|
|
|
|
; Ending
|
|
|
|
;************************
|
|
|
|
|
2021-08-12 02:16:15 +00:00
|
|
|
lda #LOAD_ENDING
|
|
|
|
sta WHICH_LOAD
|
2021-08-11 23:29:47 +00:00
|
|
|
|
2021-08-12 02:16:15 +00:00
|
|
|
rts
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
.include "decompress_fast_v2.s"
|
|
|
|
.include "wait_keypress.s"
|
|
|
|
|
2021-08-10 18:05:41 +00:00
|
|
|
.include "cottage.s"
|
2021-08-10 19:30:02 +00:00
|
|
|
.include "lake_w.s"
|
|
|
|
.include "lake_e.s"
|
2021-08-10 20:03:31 +00:00
|
|
|
.include "river.s"
|
2021-08-11 03:43:30 +00:00
|
|
|
.include "knight.s"
|
2021-08-10 18:05:41 +00:00
|
|
|
|
2021-08-14 17:48:02 +00:00
|
|
|
.include "draw_peasant.s"
|
|
|
|
|
2021-08-10 05:09:35 +00:00
|
|
|
.include "hgr_font.s"
|
2021-08-12 02:07:33 +00:00
|
|
|
.include "draw_box.s"
|
|
|
|
.include "hgr_rectangle.s"
|
2021-08-12 15:48:12 +00:00
|
|
|
.include "hgr_7x30_sprite.s"
|
2021-08-12 18:07:19 +00:00
|
|
|
.include "hgr_1x5_sprite.s"
|
2021-08-12 18:45:25 +00:00
|
|
|
.include "hgr_save_restore.s"
|
2021-08-12 19:23:05 +00:00
|
|
|
.include "hgr_input.s"
|
2021-08-13 00:36:32 +00:00
|
|
|
.include "hgr_tables.s"
|
|
|
|
|
2021-08-12 19:41:39 +00:00
|
|
|
.include "wait_a_bit.s"
|
2021-08-10 05:09:35 +00:00
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
.include "graphics/graphics.inc"
|