We just released a Feb. 5 '89 prototype of DuckTales for the NES!
If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!
If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!
HeroQuest (ZX Spectrum)
Jump to navigation
Jump to search
Games > Games by content > Games with uncompiled source code
Games > Games by developer > Games developed by Games Workshop
Games > Games by platform > ZX Spectrum games
Games > Games by publisher > Games published by Atari, SA > Games published by Infogrames > Games published by Gremlin Interactive > Games published by Gremlin Graphics
Games > Games by release date > Games released in 1991
| Hero Quest |
|---|
|
Developer:
Games Workshop
|
Source Code Fragment
In the .tap dump of the 128K version, a fragment of code can be seen at 2240:
_graf)
cp skeleton
jr z,$undead
cp zombie
jr z,$undead
cp mummy
jr z,$undead
ld a,3
ld (play_attack),a
ret
$undead ld a,4
ld (play_attack),a
ret
$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
b,0
add hl,bc
ld c,(hl)
ret
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
ret
clear_sprite
ld hl,s_barbarian ;sprite_1 ;clear sprite area
ld de,s_barbarian+1 ;prite_1+1
ld bc,n
Games > Games by content > Games with uncompiled source code
Games > Games by developer > Games developed by Games Workshop
Games > Games by platform > ZX Spectrum games
Games > Games by publisher > Games published by Atari, SA > Games published by Infogrames > Games published by Gremlin Interactive > Games published by Gremlin Graphics
Games > Games by release date > Games released in 1991
