Mail has been fixed; you should now be able to confirm your e-mail address, watch pages, and the like.
Please report any issues on Discord.

HeroQuest (ZX Spectrum)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Hero Quest

Developer: Games Workshop
Publisher: Gremlin Graphics
Platform: ZX Spectrum
Released in EU: 1991

SourceIcon.png This game has uncompiled source code.

Source Code Fragment

In the .tap dump of the 128K version, a fragment of code can be seen at 2240:

	cp	skeleton
	jr	z,$undead
	cp	zombie
	jr	z,$undead
	cp	mummy
	jr	z,$undead
	ld	a,3
	ld	(play_attack),a
$undead	ld	a,4
	ld	(play_attack),a

$found	dec	b
	ld	c,b
	ld	b,0
	ld	hl,weapon_stat
	add	hl,bc
	ld	c,a
	ld	a,(h

        and	00000011b
	ret	z
	add	hl,bc
	ld	c,(hl)

dice	ld	c,3
	ld	a,r
	ld	b,a
	rr	b
$loop	dec	c
	jr	nz,$over
	ld	c,6
$over	djnz	$loop
	dec	c

	ld	hl,s_barbarian	;sprite_1		;clear sprite area
	ld	de,s_barbarian+1	;prite_1+1
	ld	bc,n