version 0.61: lives, bug fixes
authorMischa Poslawsky <nemesis@shiar.org>
Tue, 26 May 1998 08:29:06 +0000 (10:29 +0200)
committerMischa Poslawsky <nemesis@shiar.org>
Wed, 18 Mar 2009 01:51:35 +0000 (02:51 +0100)
# 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

nemesis.z80

index 35f36c9b9ce7a5c340d44224fa2f91e4f923424a..00d0554d621d140c3435375e79c2951ae0e1e328 100644 (file)
@@ -8,7 +8,7 @@
        .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
@@ -664,6 +664,9 @@ game_over:
        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
@@ -707,6 +710,7 @@ Next_level:
 
        xor a
        ld  (timer),a           ;reset time
+       ld  (your_occ),a        ;reset your ship (not exploding)
 
 ;--------------------------- setup game ---------------------------------------
 
@@ -800,7 +804,7 @@ displayloop3:
        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
@@ -1066,7 +1070,7 @@ spr_icon02:
 
 ;---------------------------- 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
@@ -1119,6 +1123,7 @@ sprites:
        .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
@@ -1217,7 +1222,7 @@ logo_nemesis:
 ;----------------------------- 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
@@ -1296,5 +1301,13 @@ logo_nemesis:
 ;      # 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