.dw $0001
.dw Title
.dw spr_ship
-Title: .db "Nemesis v0.6.820 by Shiar",0
+Title: .db "Nemesis v0.6.825 by Shiar",0
Start: jr init
just_fired = $c0f9 ;byte
ld hl,txt_gameover
call _puts ;display "GAME OVER"
+ ld hl,lives
+ dec (hl) ;decrease lives
+
ld b,$20
wait2: halt \ halt
djnz wait2 ;delay
xor a
ld (timer),a ;reset time
+ ld (your_occ),a ;reset your ship (not exploding)
;--------------------------- setup game ---------------------------------------
call _vputs ;display on screen
ld hl,$fc00+(16*57) ;56 rows down = eight rows from bottom
- ld b,15 ;draw 16x (screen width)
+ ld b,16 ;draw 16x (screen width)
drawline:
ld a,%11111111 ;horizontal line mask
ld (hl),a ;draw one piece of the divider-line
;---------------------------- texts -------------------------------------------
-txt_about: .db "v0.6.820 ","by Shiar "
+txt_about: .db "v0.6.825 ","by Shiar "
.db "(ICQ#43840958)",0
txt_1player: .db "1 PLAYER",0
txt_2players: .db "2 PLAYERS",0
.db spr_enemy02-spr_enemy01
.db spr_enemy03-spr_enemy01
.db spr_enemy04-spr_enemy01
+ .db spr_enemy05-spr_enemy01
spr_enemy01:
.db 6,6 ;enemy type one
;----------------------------- NEMESIS'86 by Shiar ----------------------------
;Game · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · NEMESIS
-;Version · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 0.6.820
+;Version · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 0.6.825
;Latest modification · · · · · · · · · · · · · · · · · · · · · · · · 20.IIX.99
;Calc · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · TI-86 only
;Size · · · · · · · · · · · · · · · · · · · · · · · · · · · 2077 bytes on calc
; # game vars reset at start and game over
; + NEMESIS LOGO displayed at startup!! (also, program grew 350bytes ):
; + version/credits string displayed below logo: v0.6.820 by shiar (ICQ#)
+;
+; 0.6.825 -- 25.IIX.99 -- size 2160 (2085 on calc)
+;
+; # pointer to fifth ship corrected (ships in level 5 weren't displayed)
+; # calc doesn't crash anymore when game is continued after game over!!
+; + lives are decreased when ship is destroyed
+; # last eight pixels of divider line are shown correctly now
+
; + added - removed * changed # bug fixed