junglejourney

changeset 166:c33b1bdd2607 pre-release2

Reduced the width of the game title. Moved some initialisation routines into the loader.
author David Boddie <david@boddie.org.uk>
date Mon Sep 19 00:27:17 2011 +0200
parents b8837b3d2e11
children 6891db0d1a93
files TODO.txt build.py images/complete-screen.xpm images/overlay.xpm images/title-screen.xpm loader.oph mapcode.oph tools/makesprites.py
diffstat 8 files changed, 414 insertions(+), 259 deletions(-) [+]
line diff
     1.1 --- a/TODO.txt	Sun Sep 18 20:12:33 2011 +0200
     1.2 +++ b/TODO.txt	Mon Sep 19 00:27:17 2011 +0200
     1.3 @@ -1,5 +1,6 @@
     1.4  To Do
     1.5  
     1.6 +Ensure that each scenery explosion finishes before the next starts.
     1.7  Add last two enemy sprite sets.
     1.8  Nice to have: analogue joystick support.
     1.9  Nice to have: make one of the enemies have different movement.
     2.1 --- a/build.py	Sun Sep 18 20:12:33 2011 +0200
     2.2 +++ b/build.py	Mon Sep 19 00:27:17 2011 +0200
     2.3 @@ -50,7 +50,7 @@
     2.4      # 0EE0 enemy x locations in the current room
     2.5      # 0EF0 enemy x locations in the current room
     2.6      # 0F00 completion screen
     2.7 -    # 1680 title screen
     2.8 +    # 1800 title screen
     2.9      # 1E00 CODE
    2.10      #
    2.11      # 3F00 CHARS (character sprites)
    2.12 @@ -147,7 +147,7 @@
    2.13      
    2.14      system("ophis loader.oph JUNGLE")
    2.15      code = open("JUNGLE").read()
    2.16 -    code_start = 0x5200
    2.17 +    code_start = 0x5180
    2.18      files.append(("JUNGLE", code_start, code_start, code))
    2.19      
    2.20      data = makesprites.read_sprites([makesprites.title])
    2.21 @@ -155,7 +155,7 @@
    2.22      overlay = makesprites.read_sprite(makesprites.overlay)
    2.23      combined = makesprites.combine(completed, overlay)
    2.24      data += combined
    2.25 -    files.append(("TITLE", 0x5A80, 0x5A80, data))
    2.26 +    files.append(("TITLE", 0x5AA0, 0x5AA0, data))
    2.27  
    2.28      data = makesprites.read_sprites(makesprites.tiles)
    2.29      files.append(("SPRITES", 0x5400, 0x5400, data))
     3.1 --- a/images/complete-screen.xpm	Sun Sep 18 20:12:33 2011 +0200
     3.2 +++ b/images/complete-screen.xpm	Mon Sep 19 00:27:17 2011 +0200
     3.3 @@ -1,56 +1,80 @@
     3.4  /* XPM */
     3.5  static char * complete_screen_xpm[] = {
     3.6 -"160 48 5 1",
     3.7 +"128 72 5 1",
     3.8  " 	c None",
     3.9 -".	c #000000",
    3.10 -"+	c #008000",
    3.11 +".	c #008000",
    3.12 +"+	c #000000",
    3.13  "@	c #0000FF",
    3.14  "#	c #FFFF00",
    3.15 -"....+.......++++++++++++++++.@@@.+.@.++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++.....+++++++++++++..",
    3.16 -"..+.+........+.++++++++++++..@@..+.@.+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++...++++++++.+++++..",
    3.17 -".+.+..+..+...+++.+++++++++++..@.++...+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++.+++++.++.+++++...",
    3.18 -".+......+.....+.+++++++++++++...+++.++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++++++.....++",
    3.19 -"+....+..+......+++.+++++++++++....+.+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++++.+++....+..",
    3.20 -"...++.+++..+......+++++++++++..@..+++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++.++......",
    3.21 -"..+...+..++..+....+++.++++++++...++..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++.+++.++++...+",
    3.22 -".+....+.........+..+.++++++++++.++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++.++++..+++++++",
    3.23 -".+.....++++........++++++++++++++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++.++...+++++.",
    3.24 -".+.........++......+++++++++++++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++....+++...",
    3.25 -"..+...........++++++.++++++++++++......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++.+.++..+.......",
    3.26 -"..+..++.++...++....++.+.+++++++++++++++..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++..+........",
    3.27 -"..+...+.+....+......++++++++++++++++..+++..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++.+...+........",
    3.28 -"..+...++....+.+......++.+++++++++...@@..+++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++++...+.....++.",
    3.29 -"..+....++++++.++......++++++++++.@@@@@@@..+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++.++....+..++..+",
    3.30 -".+...++..+....+......+++++++++++.@@@@@@@@.++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++++.....++.....",
    3.31 -"+...+.....+........+++.++++++++..@@@@@@@@..+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++.+.....+......",
    3.32 -".+........+.......+++++++.+++++.@@@@@@@@@@.+.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++.........++",
    3.33 -".+...............++.....+++++++.@@@@@@@@@@.++..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++..++++++++",
    3.34 -"..+.............+........++++++.@@@@@@@@@..++++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++.++.++.+++++.",
    3.35 -"..+...+...+...+++.........+++++.@@@@@@@@@.++..++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++++++........",
    3.36 -"..+...++.+...++..+........+.+++..@@@@@@@..++...+.@@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@@@@#@@@#@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++.+...+.....",
    3.37 -".+.....++++.++...+........++++++.@@@@@@@.++.@@@.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@#@@@@@#@@#@@@@@@@@#@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++.++...+.....",
    3.38 -".+........++.....++.......++.++++.@@@@@@.+.@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@@@#@@#@@@#@@@#@#@@#@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.++++++++++....+....",
    3.39 -".+.......++..++...+...+++++++++++.@@@@@@..@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@#@@@#@#@####@@#@#@@@##@@@@@@#@@#@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++.++.....+..+",
    3.40 -"..+.+....+.++++......+++++.++++++.@@@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@#@@@@#@#@@##@#@##@##@##@@@@#@#@@@@#@@@@#@@@@@@@#@@@@#@@@@@@@@@@@@@@@@@@.++++++.+++.....+.+.",
    3.41 -"...+....++.+++++....++....+.+++++.@@@@@@@@@@@@@@@@@@@#@@@@@@@#@@@@#@@@@#@@@@@##@@#@####@###@#@#@@@@#@#@@@#@@@@#@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@.+++++++.+.....++..",
    3.42 -"...+...+++..++++....+.....+++++++.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@##@##@##@#@##@##@#@#@#@@@@##@@@@#@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@.+++++++++.....+...",
    3.43 -"..+++..+++..++++....+......++.+++.@@@@@@@@@@@@@@@@#@@@@#@@@#@@@@#@@#@@##@@@#@@#@###@######@####@@@@@@#@@##@#@@#@@@@@@#@@@@@#@@@@@@@@@@@@@@@@@.++++++++.....+....",
    3.44 -".+...+.+++..++++....+......++++++.@@@@@@@@@@@@@@@@@@@@@@@#@@@@@#@@@@#@@@@@#@#@@##@##########@####@@#@@@#@@#@@@@#@@@#@@@@#@@@@@@@@@@@@@@@@@@@@.++++++++.....+....",
    3.45 -".+...+.+++..++++...++......+.++++.@@@@@@@@@@@@@@@#@@@@@@@@@@#@@@@#@#@@@@#@@@#@##@#############@#@#@@@@@@#@@##@@@@#@@@@#@@@@@@@@#@@@@@@@@@@@@@.++++++++....+.....",
    3.46 -"+....+.++...++++.++++......++++++.@@@@@@@@@@@@@@@@@@@..#@@@@@@#@@@@@@@#@@#@#@##@#############@###@#@#@#@@@#@@@.....@@@@@@@#@@#@@@@@@@@@@@@@@@@.+++++++....+.....",
    3.47 -"....+..+.....++.++..++......+++++.@@@@@@@@@@@@@@@@...++..............+++++++++++..########..+++++++++++++..@@.+++++....@@@@@@@.....@@@@@@@@@@@.+++++.++...+.....",
    3.48 -"..++.........+++.....+......++++++.@@@............++++.+++++++++++++++.++.++++++++++++..++++++..++++.+..+++..++.+.+++++.@@@...+++++.....@@@@....++++++++...+....",
    3.49 -"............++++++...+......+.++++.....+++.++++++++...+..++++++..+..+++++++.+++++.++.++++++..+++++++.++++++++.+++++++.++...++++.+.++++++....++..++++++++....+...",
    3.50 -"......+.....++++++...+.....+++++++...+++..++.++++.+++++.++..+.+++++..++++++.+..++++++.++++++++.++.+++++++#.+.+++++..++.++++..+++++..+..+++++++..++++++.+.....+..",
    3.51 -"..+........+++++++...+.....++++++++.+...+++.+++++.+++.++.++++++++++++++++++++++++++++++.+++++++++++++..++..+++++++++++..+++.++++++++++++++...++.++++++.++.....+.",
    3.52 -"..+...+....++++++.........+++.+++++...++.+++.++.+++.++++++++++++++++.+++++++++++++++++++..++++++++++++++++++......++++.++.+++++.++++++.++++++++.+++++++++.....+.",
    3.53 -"..++..+.....+++++.........+.+++++++..+++.++++++.++++++++++++#+.++.+++++++++.++++.+.+++++++..+++.++.+++++++++++++++++++++++++#+++..++.+.++++.+++.++++++++++...+..",
    3.54 -"...+..++....+++++.........++++++++++.++++++++++++.++...+.++..++++++++++.+++++++.++++++..+++..++++..+.+..++++++.++++++++++++++.++.+++.+++++..+.+.+++++++.++...+..",
    3.55 -"...+...+...+++++..........++.+++++++..+++..++++.+++..++++.+..+++++++#++++++++++++++.++++++...++++.++++++++...++..+++++++++.+++++++++.+++++.+++..++++++++++..+...",
    3.56 -"..++...+...++++++.........+.++++++++...++..+.+#+.+++++.+.+.+++.++++.++++++++++++++++..++++.++..+++..+++++++++++++.++.++++++++.+.++++.+++.+.++...++++++++.+...+..",
    3.57 -"..++...+...+++++++.......+++.++++++++..+.++..+++++..........+.++.++++.++++.+....+.++++++.++.++..++++++++++++#++.++++++.++..+..+..++++++++++++..+++++++++++...+..",
    3.58 -"...+...+...+++++++.......++++++++++++..++.+.+++...++.++..+++.....+.+++.+.+..+++....++.....++...+...++++.++....+..++++++++.+++++++++++++++++++..+++++++.+++...+..",
    3.59 -"...++.++...+++++++.......++.+++++++++...+.+.++++.....+..++..++.++.......+...++.....++..++.+..........+++.+++++++.++++.++.+++.+.+++.+.++.+++.+.+++++++++++....+..",
    3.60 -"....+.+....+++++++.......+.++.+++++++...+.+++.+...+.++..++.++++.++...++.+....+.+++++.++++++++..+.+++......+..++++.....+.++..+++....+++++..++..+++++++++.+...+...",
    3.61 -"....+.....++++++++.......+++++++++++++..+++..++..+++++++++++.+++++++++++.....+..+++.+++..++..........+....+.++++..+++..+.++...+++++.++...+++..++++++++.++...+...",
    3.62 -"..........++++++++......++++.+++++++++..++...+...+..+++.......+.+...+........+++.........................+++..+......+++++++++++++++..........++++++++++........"};
    3.63 +"......+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......+@@@+.......",
    3.64 +"......+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......++@@@+......",
    3.65 +".....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+......++.+@@+......",
    3.66 +".....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.....+@+@@+.......",
    3.67 +"....+@@+++@@@@@+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+......+@@++.......",
    3.68 +"....+@@@+.+@@++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.....+@+.++......",
    3.69 +"....+@@@@+.++.+@@@++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+......+@+@+......",
    3.70 +".....+@@@+.+.+@@@+..++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.....+@@@@+.....",
    3.71 +".....+@@@+...+@@+..+@@+++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+@++@@@+....",
    3.72 +"......+@@@+..+@+..+@@@+..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+@+.+@@@+...",
    3.73 +".......+@@+.+@@+.+@@@@+...+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+@+@@@@+...",
    3.74 +"......+@@@+.+@+..+@@@@@++.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.....+@@@@+....",
    3.75 +"......+@@@+.+@+..+@@@@@@@+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+@@@+.....",
    3.76 +".....++@@++.+@+.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+@+......",
    3.77 +"......++@+..+++.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+....+.....+.",
    3.78 +".......+++...+..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+............",
    3.79 +"........++++.+.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+..........+",
    3.80 +".......++@++...+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+..........",
    3.81 +"........+++..++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......+..",
    3.82 +".........+..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+......+...",
    3.83 +"...........+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.........+.",
    3.84 +"..........+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+...........",
    3.85 +"...........++++++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......+.+..",
    3.86 +".+...............++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+...........+",
    3.87 +"..............++...++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+........+.++",
    3.88 +".+.........+++@@++...+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+..........++",
    3.89 +"..........+@@@@@@@++.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......+..++",
    3.90 +"..........+@@@@@@@@+..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+..........++",
    3.91 +"+........++@@@@@@@@++.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+........+.++",
    3.92 +"...+.....+@@@@@@@@@@+.+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+...........+",
    3.93 +"++.......+@@@@@@@@@@+..++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+...........",
    3.94 +"+++......+@@@@@@@@@++....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+........+..",
    3.95 +"++++.....+@@@@@@@@@+..++..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+...........",
    3.96 +"++++.+...++@@@@@@@++..+++.+@@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@@@@#@@@#@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.........+",
    3.97 +"++++......+@@@@@@@+..+@@@+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@#@@@@@#@@#@@@@@@@@#@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+........+.",
    3.98 +"++++..+....+@@@@@@+.+@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@@@#@@#@@@#@@@#@#@@#@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+.........",
    3.99 +"++++.......+@@@@@@++@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@#@@@#@#@####@@#@#@@@##@@@@@@#@@#@@@@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@+.......+.",
   3.100 +"+++.+......+@@@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@@#@@@@#@#@@##@#@##@##@##@@@@#@#@@@@#@@@@#@@@@@@@#@@@@#@@@@@@@@@@@@@@@@@@+......+..",
   3.101 +"++++.+.....+@@@@@@@@@@@@@@@@@@@#@@@@@@@#@@@@#@@@@#@@@@@##@@#@####@###@#@#@@@@#@#@@@#@@@@#@@@@@@@@#@@@@@@@@@@@@@@@@@@@@@+.......+",
   3.102 +"++++.......+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@@#@@##@##@##@#@##@##@#@#@#@@@@##@@@@#@@@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@+........",
   3.103 +"+++++..+...+@@@@@@@@@@@@@@@@#@@@@#@@@#@@@@#@@#@@##@@@#@@#@###@######@####@@@@@@#@@##@#@@#@@@@@@#@@@@@#@@@@@@@@@@@@@@@@@+........",
   3.104 +"+++++......+@@@@@@@@@@@@@@@@@@@@@@@#@@@@@#@@@@#@@@@@#@#@@##@##########@####@@#@@@#@@#@@@@#@@@#@@@@#@@@@@@@@@@@@@@@@@@@@+........",
   3.105 +"+++++.+....+@@@@@@@@@@@@@@@#@@@@@@@@@@#@@@@#@#@@@@#@@@#@##@#############@#@#@@@@@@#@@##@@@@#@@@@#@@@@@@@@#@@@@@@@@@@@@@+........",
   3.106 +"+++++......+@@@@@@@@@@@@@@@@@@@++#@@@@@@#@@@@@@@#@@#@#@##@#############@###@#@#@#@@@#@@@+++++@@@@@@@#@@#@@@@@@@@@@@@@@@@+.......",
   3.107 +"++++++.....+@@@@@@@@@@@@@@@@+++..++++++++++++++...........++########++.............++@@+.....++++@@@@@@@+++++@@@@@@@@@@@+.....+.",
   3.108 +"++++++......+@@@++++++++++++....+...............+..+............++......++....+.++...++..+.+.....+@@@+++.....+++++@@@@++++......",
   3.109 +"++++++.+....+++++...+........+++.++......++.++.......+.....+..+......++.......+........+.......+..+++....+.+......++++..++......",
   3.110 +"+++++.......+++...++..+....+.....+..++.+.....++......+.++......+........+..+.......#+.+.....++..+....++.....++.++.......++......",
   3.111 +"+++++........+.+++...+.....+...+..+..............................+.............++..++...........++...+..............+++..+......",
   3.112 +"++++...+.....+++..+...+..+...+................+...................++..................++++++....+..+.....+......+........+......",
   3.113 +"++++.+.......++...+......+..............+..+.........+....+.+.......++...+..+.............................++..+.+....+...+......",
   3.114 +"++++..........+............+..+++.+..++..........+.......+......++...++....++.+.++......+..............+..+...+.....++.+.+......",
   3.115 +"++++..+.......++...++....+...++....+.#+......................+......+++....+........+++..++.........+.........+.....+...++......",
   3.116 +"++++.+........+++..++.+.#.+.....+.+.+...+....+................++....+..++...++.............+..+........+.+....+...+.+..+++......",
   3.117 +"+++...+........++.+..++.....++++++++++.+..+....+....+.++++.+......+..+..++............#..+......+..++.++.++............++.......",
   3.118 +"+++............++..+.+...+++..+..++...+++++.+...+.+.++...++++..+++++..+++.+++....+..++++.++........+#..................++.......",
   3.119 +"+++..+.........+++.+.+....+++++.++..++..+..+++++++.+++..+++++..++..+.++++++++++...+.......+....+..+...+.+...+.+..+...+.+........",
   3.120 +"+++.+..+.......+++.+...+.+++.+.++++.+....+..+#+..+.++++.+.....+........++.+...++++++.++.....++++.+..++...++++.....++..++........",
   3.121 +"+++.+++.........++...+...++...+.++....+...........+++...++...+...++..++++++++++.++++.+.........++.+..+++.....+..+.....++........",
   3.122 +"++.++.+.........++..++..+++.+..+..+++++....+++.++++.......+++++..+.+.+++++.+++++..+....+..+..++.................++.+..++........",
   3.123 +"++++++++...+....++.++..++..+..++++...+...+.+..+....+..+.+..+++....++.+++++++++++++.++...+.+..++...+.++......+.+......+++.....+..",
   3.124 +"++.++.+.........++.++..++....+++++.+...+.++...+..+++..++...++.+...++.++.+++.+++++++.+..+..+.+.+.+..........+..++.....+++.......+",
   3.125 +"++..+.+..+......++..+..++...+.....++..............+.+.++...+.++..++..++++++++++++++....+..........+.+..+...+.........++.........",
   3.126 +"+.++.+++.+......+++.+..++.............++.++.+...+................+..+++.++++++++++++...................+...........+.++.....+...",
   3.127 +"..+.+++..+.....+.++.+++..+++.+.......+++.+.+.+..+.........+......+.+++++++..+++++.+++........+............+.......++.++.......+.",
   3.128 +".+.+.+...+.......+++.++.++++.+........++.+.+.+.++..+.+.+.....++..+.++++++++.++..+.++++.+...........+......+.+..+.++..++...+.++.+",
   3.129 +"...++............+++..+.+++..+.+.+....................+......+.+...+++.++.++++++++++++..+...++..............+....+..++...+..++..",
   3.130 +".....++...........+++.++.+.........++++.+.+..+..............++...+++++.++++++.++..+.+++..+.++.++..++....++.......+..++.....+++..",
   3.131 +"..+.+.++++........+++.++....+.+.......+.....++.+............+.+.++++++++++...+++++++++++......+....+.............+..++.....++..+",
   3.132 +"++..+.............+++..+....+.....++......+..+....++..+..++..++.++++..+++++++++...+++++++........++...........+....++...+.......",
   3.133 +"+.+.++.+++.....+...+++.++.+..............+++...+..++.+...++.++..+++.++++..++++++++++++++++....++.++...+...++.+.....++.........+.",
   3.134 +"..++.+..++.........+++....++++++.+++++.+++++++++......+.++++++.++++++++++..++++++++++++++++.......+....+++....+++..++........+.."};
     4.1 --- a/images/overlay.xpm	Sun Sep 18 20:12:33 2011 +0200
     4.2 +++ b/images/overlay.xpm	Mon Sep 19 00:27:17 2011 +0200
     4.3 @@ -1,54 +1,78 @@
     4.4  /* XPM */
     4.5  static char * overlay_xpm[] = {
     4.6 -"160 48 3 1",
     4.7 +"128 72 3 1",
     4.8  " 	c None",
     4.9  ".	c #000000",
    4.10  "+	c #FFFFFF",
    4.11 -"................................................................................................................................................................",
    4.12 -"................................................................................................................................................................",
    4.13 -"................................................................................................................................................................",
    4.14 -"................................................................................................................................................................",
    4.15 -"................................................................................................................................................................",
    4.16 -"................................................................................................................................................................",
    4.17 -"................................................................................................................................................................",
    4.18 -"................................................................................................................................................................",
    4.19 -"................................................................................................................................................................",
    4.20 -"................................................................................................................................................................",
    4.21 -"................................................................................................................................................................",
    4.22 -"................................................................................................................................................................",
    4.23 -"................................................................................................................................................................",
    4.24 -"................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++................................................",
    4.25 -"...............................................++..............................................................++...............................................",
    4.26 -"..............................................++................................................................++..............................................",
    4.27 -"..............................................+...++++++++.....+++++++++..+++++++++++..++++++++.......+++++++....+..............................................",
    4.28 -"..............................................+...+++++++++....+++++++++..+++++++++++..+++++++++.....+++++++++...+..............................................",
    4.29 -"..............................................+...+++....+++...+++............+++......+++....+++...++++...++++..+..............................................",
    4.30 -"..............................................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................................",
    4.31 -"..............................................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................................",
    4.32 -"..............................................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................................",
    4.33 -"..............................................+...+++....+++...++++++++.......+++......+++....+++...+++.....+++..+..............................................",
    4.34 -"..............................................+...+++++++++....++++++++.......+++......+++++++++....+++.....+++..+..............................................",
    4.35 -"..............................................+...++++++++.....++++++++.......+++......++++++++.....+++.....+++..+..............................................",
    4.36 -"..............................................+...+++++++......+++............+++......+++++++......+++.....+++..+..............................................",
    4.37 -"..............................................+...+++.++++.....+++............+++......+++.++++.....+++.....+++..+..............................................",
    4.38 -"..............................................+...+++..++++....+++............+++......+++..++++....+++.....+++..+..............................................",
    4.39 -"..............................................+...+++...++++...+++............+++......+++...++++...++++...++++..+..............................................",
    4.40 -"..............................................+...+++....++++..+++++++++......+++......+++....++++...+++++++++...+..............................................",
    4.41 -"..............................................+...+++.....+++..+++++++++......+++......+++.....+++....+++++++....+..............................................",
    4.42 -"..............................................++................................................................++..............................................",
    4.43 -"...............................................++..............................................................++...............................................",
    4.44 -"................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++................................................",
    4.45 -"................................................................................................................................................................",
    4.46 -"................................................................................................................................................................",
    4.47 -"...............................................+++++....+++++...++++++..++++++..++....++....+++....++++++...++++++..............................................",
    4.48 -"..............................................+++++++..+++++++..++++++..++++++..++....++...+++++...+++++++..++++++..............................................",
    4.49 -"..............................................++...++..++...++..++........++....++....++..+++.+++..++..+++..++..................................................",
    4.50 -"..............................................++.......++...++..++........++....++....++..++...++..++...++..++..................................................",
    4.51 -"..............................................++.......++...++..++........++....++....++..++...++..++...++..++..................................................",
    4.52 -"..............................................++++++...++...++..+++++.....++....++....++..++...++..++..+++..+++++...............................................",
    4.53 -"...............................................++++++..++...++..+++++.....++....++.++.++..+++++++..++++++...+++++...............................................",
    4.54 -"........................................+++........++..++...++..++........++....++.++.++..+++++++..++++.....++......++...+..+.+.................................",
    4.55 -".......................................++..+.......++..++...++..++........++....++++++++..++...++..+++++....++........+.+.+.+.+.................................",
    4.56 -".......................................+..++..++...++..++...++..++........++....++++++++..++...++..++.+++...++.......+..+.+.+.+.................................",
    4.57 -".......................................++..+..+++++++..+++++++..++........++....+++..+++..++...++..++..+++..++++++..+...+.+.+.+.................................",
    4.58 -"........................................+++....+++++....+++++...++........++....+++..+++..++...++..++...++..++++++..+++..+..+.+................................."};
    4.59 +"................................................................................................................................",
    4.60 +"................................................................................................................................",
    4.61 +"................................................................................................................................",
    4.62 +"................................................................................................................................",
    4.63 +"................................................................................................................................",
    4.64 +"................................................................................................................................",
    4.65 +"................................................................................................................................",
    4.66 +"................................................................................................................................",
    4.67 +"................................................................................................................................",
    4.68 +"................................................................................................................................",
    4.69 +"................................................................................................................................",
    4.70 +"................................................................................................................................",
    4.71 +"................................................................................................................................",
    4.72 +"................................................................................................................................",
    4.73 +"................................................................................................................................",
    4.74 +"................................................................................................................................",
    4.75 +"................................................................................................................................",
    4.76 +"................................................................................................................................",
    4.77 +"................................................................................................................................",
    4.78 +"................................................................................................................................",
    4.79 +"................................................................................................................................",
    4.80 +"................................................................................................................................",
    4.81 +"................................................................................................................................",
    4.82 +"................................................................................................................................",
    4.83 +"................................................................................................................................",
    4.84 +"................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++................................",
    4.85 +"...............................++..............................................................++...............................",
    4.86 +"..............................++................................................................++..............................",
    4.87 +"..............................+...++++++++.....+++++++++..+++++++++++..++++++++.......+++++++....+..............................",
    4.88 +"..............................+...+++++++++....+++++++++..+++++++++++..+++++++++.....+++++++++...+..............................",
    4.89 +"..............................+...+++....+++...+++............+++......+++....+++...++++...++++..+..............................",
    4.90 +"..............................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................",
    4.91 +"..............................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................",
    4.92 +"..............................+...+++.....++...+++............+++......+++.....++...+++.....+++..+..............................",
    4.93 +"..............................+...+++....+++...++++++++.......+++......+++....+++...+++.....+++..+..............................",
    4.94 +"..............................+...+++++++++....++++++++.......+++......+++++++++....+++.....+++..+..............................",
    4.95 +"..............................+...++++++++.....++++++++.......+++......++++++++.....+++.....+++..+..............................",
    4.96 +"..............................+...+++++++......+++............+++......+++++++......+++.....+++..+..............................",
    4.97 +"..............................+...+++.++++.....+++............+++......+++.++++.....+++.....+++..+..............................",
    4.98 +"..............................+...+++..++++....+++............+++......+++..++++....+++.....+++..+..............................",
    4.99 +"..............................+...+++...++++...+++............+++......+++...++++...++++...++++..+..............................",
   4.100 +"..............................+...+++....++++..+++++++++......+++......+++....++++...+++++++++...+..............................",
   4.101 +"..............................+...+++.....+++..+++++++++......+++......+++.....+++....+++++++....+..............................",
   4.102 +"..............................++................................................................++..............................",
   4.103 +"...............................++..............................................................++...............................",
   4.104 +"................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++................................",
   4.105 +"................................................................................................................................",
   4.106 +"................................................................................................................................",
   4.107 +"...............................+++++....+++++...++++++..++++++..++....++....+++....++++++...++++++..............................",
   4.108 +"..............................+++++++..+++++++..++++++..++++++..++....++...+++++...+++++++..++++++..............................",
   4.109 +"..............................++...++..++...++..++........++....++....++..+++.+++..++..+++..++..................................",
   4.110 +"..............................++.......++...++..++........++....++....++..++...++..++...++..++..................................",
   4.111 +"..............................++.......++...++..++........++....++....++..++...++..++...++..++..................................",
   4.112 +"..............................++++++...++...++..+++++.....++....++....++..++...++..++..+++..+++++...............................",
   4.113 +"...............................++++++..++...++..+++++.....++....++.++.++..+++++++..++++++...+++++...............................",
   4.114 +"........................+++........++..++...++..++........++....++.++.++..+++++++..++++.....++......++...+..+.+.................",
   4.115 +".......................++..+.......++..++...++..++........++....++++++++..++...++..+++++....++........+.+.+.+.+.................",
   4.116 +".......................+..++..++...++..++...++..++........++....++++++++..++...++..++.+++...++.......+..+.+.+.+.................",
   4.117 +".......................++..+..+++++++..+++++++..++........++....+++..+++..++...++..++..+++..++++++..+...+.+.+.+.................",
   4.118 +"........................+++....+++++....+++++...++........++....+++..+++..++...++..++...++..++++++..+++..+..+.+.................",
   4.119 +"................................................................................................................................",
   4.120 +"................................................................................................................................",
   4.121 +"................................................................................................................................",
   4.122 +"................................................................................................................................",
   4.123 +"................................................................................................................................",
   4.124 +"................................................................................................................................",
   4.125 +"................................................................................................................................",
   4.126 +"................................................................................................................................",
   4.127 +"................................................................................................................................",
   4.128 +"................................................................................................................................",
   4.129 +"................................................................................................................................",
   4.130 +"................................................................................................................................"};
     5.1 --- a/images/title-screen.xpm	Sun Sep 18 20:12:33 2011 +0200
     5.2 +++ b/images/title-screen.xpm	Mon Sep 19 00:27:17 2011 +0200
     5.3 @@ -1,55 +1,55 @@
     5.4  /* XPM */
     5.5  static char * title_screen_xpm[] = {
     5.6 -"160 48 4 1",
     5.7 +"128 48 4 1",
     5.8  " 	c None",
     5.9  ".	c #000000",
    5.10  "+	c #008000",
    5.11  "@	c #FFFF00",
    5.12 -"...+.+.+..................+..@..@@.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.@@..@....................+.+...+...",
    5.13 -"..+@.+..+................+..@..@.@@@.@+@@@@+@@@@+@@@+@@@+@@@@+@@@@+@@@@@@+@@@+@@@@+@@@@@@+@@@+@@@@+@@@@@@+@@@@+@@@+@@@@+@@@@@@.@......................+..+.+....",
    5.14 -"....+....++..............+...@...+.+@@@@+@@@@+@@@@+@@@+@@@+@@@@+@@@@+@+@@@@+@@@+@@@@+@+@@@@+@@@+@@@@+@+@@@@+@@@@+@@@+@@@@+@.@++...+..................+..+@+.+...",
    5.15 -"...+.....+................+....@+.@.@.@@@@+@+@@+@+@+@+@+@+@@+@+@@+@+@+@@+@+@+@+@@+@+@+@@+@+@+@+@@+@+@+@@+@+@@+@+@+@+@@+@+@.++..+...+.....+..........+.++.+......",
    5.16 -"...+.+.++.................+.++.....++@@.@+@+@++@+@+@+@+@+@++@+@++@+@+@++@+@+@+@++@+@+@++@+@+@+@++@+@+@++@+@++@+@+@+@++@+@+++.+.....+.....+...........+....+.+...",
    5.17 -"....++.+.................++++++..@....+@+++++.++++@+++@+++.++++@++++.+@++++@+++.++++@+.++++@+++.++++.+@++++.++++@+++.++++..........+....+...............+.++....",
    5.18 -"......+++++.............+..+++++...+.+.+++.++++.+++.+++.++++.++++.++++++.+++.++++.++++++.+++.++++.++++++.++++.+++.++++.+++........++....+............+++++......",
    5.19 -".....+..+..+...........+...+++++++....++...................+++...........+.++.....+.+.+......+.+.....+.+++.++.....................++...+............+..+..+.....",
    5.20 -"..+.++.....+..........+.....+++++++..+.++.++++++++++...+++.+.++.+++..+++..++.+.++..+.+..++++..+.+.++..++.++.+.++++++++..+..+.....+++...+............+.....++.+..",
    5.21 -"..+++.....+...........+.....+++++++....+..+++++++++++..+++..++..+++..++++.+.++.+++.++..++++++..++.+++..+++++..+++++++....+...+..++.+....+............+...+.+++..",
    5.22 -"...+.+..+++..........++.......++++++..+.+..+++++@++++..+++..+.+.+++..++++..++..+++....++++++++....+++.+.++.+..++......+.++......+.+.+....+...........+++..+.+...",
    5.23 -"....++...+..........+.+.........++++...+++....+++......+++.+.+..+++..+++++..+..+++.+.++++...+++...+++..++.+.+.++.+.+++.....+....+++..+...+............+...++....",
    5.24 -"....+.+...+.........+.+.++.......++++...++.+..+++.+.+..+++..++..+++..++++++....+++...+++..+..++.+.+++..+++++..++..+.+.+.+...+...++...+...+...........+...++.....",
    5.25 -"....+..++..........+...+++++......+++..++.+...+++..+.+.+++..+.+.+++..+++.++..+.+++..++++...+......@++.+.+.+.+.++.....+.+.+......+.....+.+..............+++..+...",
    5.26 -".....+.+.+........+....++++++......++..+.+++..+++..++..+++.+.+..+++..+@+.+++...+++..+++..+...+.+..+++..+.+++..++++++.+......+.........+.+.............+.+....+..",
    5.27 -"...+.+....+.......+....++++++.......+..+++.+..+++.+.+..+++..+@+.+@+..+++..+++..+++..+++.+.+.......+++..++..+..+@+++...+.+.............++.............+.....++...",
    5.28 -"..+.+.....+........+....++++++........+.+++...+++..++..+++.+.+..+++..+++...++..+++..+++..+..++++..+++...+.+.+.++....++...+.+..........+.++...........+...++.....",
    5.29 -"..+................+...................++.++..+++..+.+.+++..+...+++..+++.+.+++.+++..++++..+.++++..+++.++.+++..++.+.+..++.............+....+............++....+..",
    5.30 -"..++..............+++................++.......+@+..++..++++..+.++++..+++....++++@+...+++......++..+++...+.+.+.++.++.+.+.+.+........++......+................++..",
    5.31 -"...+++..++........+++.....@...........++.++...+++.+.++..+@+....+++...+++..+..+++++.+.++++....+++..+++..+.+.+..++..++.+.+...+......+.+......+..........++..+++...",
    5.32 -"....++.+@++.......++....@@@@@........+.+..++.++++..++.+.++++..++++.+.+++...+.+++++....++@++.+++...+++.........++.........+.......+++.......++........++@+.++....",
    5.33 -".....++@.+.........+.....@@@.........++++.++++++....++...++++++++....+++..+...+@++..+..+++++++..+.+@++++++++..+++++++++....+...............+.+........+.@++.....",
    5.34 -"..+..++.+...............@@@@@........++.+...+++....++.++...++++....+.+++.+@++..+++.+....+++++..+..+++++++++...++++++@+....................+..++........+.++.+...",
    5.35 -"..+....+.................@+@..........++..+.....+.+..+.+.+......+.+.......+..+.......+.........++...........+.............+...............+...++........+..+++..",
    5.36 -"...++.....................++........+.......................+..........+...............+.....++.++.................+.++.+....+...........+....+++........@@.+...",
    5.37 -".....++...+................+.......+...++++++++++..+...++++...+.+++.+....+++.+++++++.....+++...++..++..++++++++..+..++.+..+.+............+....+.+....+...+@.....",
    5.38 -"..+....+...+...............+.........+.+++++++++++...++++++++...+++...+..+++.+++++++++...++++.++.+.+++.+++++++..++.+.++..++..............+.....++...+...+....+..",
    5.39 -".+@+..++...+...............++...........++++++++++..++++..++++..+++..+.+.+++.+++...++++..++++...+..+++.++.......++..+.+..++...............+.....+...+...++..+@+.",
    5.40 -"..++.+....+.................+....+.+..+....+++......+++....+++..+++..++..+++.+++.+...++..+++++..+..+++.++.+..++.+++..+..++..+.............+..........+..+.+.++..",
    5.41 -"....++...+..................+.++++..+..+.+.+++.+.+.++++.+..++++.+++.+.+..+++.+++...+.++..++++++....+++.++..+.+...+++...+++...............+............+...++....",
    5.42 -"......+.+++.........++.+....++..+++...+.++.+++.....+++...+..+++.+++..+.+.+++.+++.+...++..+@+.++..+.++@.++......+..+++.+++..+...........++............+++.+......",
    5.43 -"...+...+++...........++++...+...+...+..++..++@..+..@++..+...+++.+++..+@+.+++.+++...++++..+++.+++...+++.++++++..+...+++++...+.+........+.++............+++...+...",
    5.44 -"....+..+..............+..+.++...........++.+++.++..+++.+.++.+@+.+++.+.+..+++.@++++++@+...+++..+@+..+++.@++@+..+..+..++@..++.........@@@+.+..............+..+....",
    5.45 -".....++...................++.......+..+.+..+++...+.++@..++..+++.++@..+...@++.+++@+++...+.++@...++..+@+.++......+.+..@++.+.++...+...@.@.@+................++..+..",
    5.46 -"...+++....+.......+.......+.........+..++..+@+.++..+++..+...++@.+++...+..+++.+++...++....+++.+.+++.+++.++.+..+.++.+.+++..++.+.+.....@.@@.............+....+..+..",
    5.47 -"..+...+..@...........+....+.......+......+.+++..+..@+++..+.@+++.@+++....+++@.@++.+.+@+.+.@++....+@+++@.+@..++.+.+...+@+.++...........@.@....+.........@.....++..",
    5.48 -"......+.@+@......++.......+...........+@...@++...+..++@....++@...++@....@++..++@....++...++@..+..+@+++.++..+..+..+..+++..+++.+........@......+.......@@@..+++...",
    5.49 -".....+..+@+........+..+..++.........+..++.+++@.+.+..@+++..+@++.+.@+++..+++@..+++..+..@+..+++.+...+++@+.@+.........+.++@...+.......+......+...........+@+..+.....",
    5.50 -".+.......+........+.+..+.+........+....+@++@+...+.+..@+@+@++@.....+@++@+@+...+@+.+...++@.+@+...+..@+++.++@+@++@+....@++.+.....+....+..................+..+....+.",
    5.51 -"..++..++++..........+..+....+........+...+@+..+..++....+@+@...+.+...+@+@...+..+@...+..@+.@+@.++.+..@+@.+@+@++@+..+..+@...+.+.......+..................++++..++..",
    5.52 -"...++++.+...........+..+..+..+......+..+........+...+.......+..+.++.......++.....++............+.+...............+.....+....+......++.....+.+..........+.+++++..",
    5.53 -".....+..........+...+...+.+..+..........+....+....+....+..+..++..+..+.+..+..+.+..+..+..+.+..+..+...+.+..+..++..+..+.+.+..++.........+...+....+............++....",
    5.54 -"...++............+...+..+.+...+.....................................................................................................+..+......+.......++...++...",
    5.55 -"..++.++..........+.+.+..+..+..+....++................+.............................................................................++...+..+..+.......+..++.++..",
    5.56 -".......+..........+..+...+.+..+...+.++.......+......+.......+....+.........+.....+.........+..++.....+.......+.+....+...+..........++...+.+...+.........+.......",
    5.57 -"...+..++++........+..+.+.+.+..+..+.++.+....++.+...+.+...+..+.+..+.+++......++...+.....+..+....+.++....+......++.+..+....+....+.....+....+.+..+........++++..+...",
    5.58 -"..+.++..+.........+....+.+.+.+....+++.+...+..+.+...+..+..+..+...++.+.++...++.+..+...++.+.....+.++.+..+...++...++.+..+.+..+..+.++..++...+..+..+.........+....++..",
    5.59 -".....+............+....+...+.+...+.+++.+.+.++..++..+..+..+..+..+..+.++.+.+.++.+.+..+......+..++..+.+..+.++.+.+..++..+.+..+.+.++++..++..+.+...+.............+.+.."};
    5.60 +".........+..@..@@.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.@@..@...............",
    5.61 +"........+..@..@.@@@.@+@@@@+@@@@+@@@+@@@+@@@@+@@@@+@@@@@@+@@@+@@@@+@@@@@@+@@@+@@@@+@@@@@@+@@@@+@@@+@@@@+@@@@@@.@.................",
    5.62 +"........+...@...+.+@@@@+@@@@+@@@@+@@@+@@@+@@@@+@@@@+@+@@@@+@@@+@@@@+@+@@@@+@@@+@@@@+@+@@@@+@@@@+@@@+@@@@+@.@++...+..............",
    5.63 +".........+....@+.@.@.@@@@+@+@@+@+@+@+@+@+@@+@+@@+@+@+@@+@+@+@+@@+@+@+@@+@+@+@+@@+@+@+@@+@+@@+@+@+@+@@+@+@.++..+...+.....+.......",
    5.64 +".........+.++.....++@@.@+@+@++@+@+@+@+@+@++@+@++@+@+@++@+@+@+@++@+@+@++@+@+@+@++@+@+@++@+@++@+@+@+@++@+@+++.+.....+.....+.......",
    5.65 +"........++++++..@....+@+++++.++++@+++@+++.++++@++++.+@++++@+++.++++@+.++++@+++.++++.+@++++.++++@+++.++++..........+....+........",
    5.66 +".......+..+++++...+.+.+++.++++.+++.+++.++++.++++.++++++.+++.++++.++++++.+++.++++.++++++.++++.+++.++++.+++........++....+........",
    5.67 +"......+...+++++++....++...................+++...........+.++.....+.+.+......+.+.....+.+++.++.....................++...+.........",
    5.68 +".....+.....+++++++..+.++.++++++++++...+++.+.++.+++..+++..++.+.++..+.+..++++..+.+.++..++.++.+.++++++++..+..+.....+++...+.........",
    5.69 +".....+.....+++++++....+..+++++++++++..+++..++..+++..++++.+.++.+++.++..++++++..++.+++..+++++..+++++++....+...+..++.+....+........",
    5.70 +"....++.......++++++..+.+..+++++@++++..+++..+.+.+++..++++..++..+++....++++++++....+++.+.++.+..++......+.++......+.+.+....+.......",
    5.71 +"...+.+.........++++...+++....+++......+++.+.+..+++..+++++..+..+++.+.++++...+++...+++..++.+.+.++.+.+++.....+....+++..+...+.......",
    5.72 +"...+.+.++.......++++...++.+..+++.+.+..+++..++..+++..++++++....+++...+++..+..++.+.+++..+++++..++..+.+.+.+...+...++...+...+.......",
    5.73 +"..+...+++++......+++..++.+...+++..+.+.+++..+.+.+++..+++.++..+.+++..++++...+......@++.+.+.+.+.++.....+.+.+......+.....+.+........",
    5.74 +".+....++++++......++..+.+++..+++..++..+++.+.+..+++..+@+.+++...+++..+++..+...+.+..+++..+.+++..++++++.+......+.........+.+........",
    5.75 +".+....++++++.......+..+++.+..+++.+.+..+++..+@+.+@+..+++..+++..+++..+++.+.+.......+++..++..+..+@+++...+.+.............++.........",
    5.76 +"..+....++++++........+.+++...+++..++..+++.+.+..+++..+++...++..+++..+++..+..++++..+++...+.+.+.++....++...+.+..........+.++.......",
    5.77 +"..+...................++.++..+++..+.+.+++..+...+++..+++.+.+++.+++..++++..+.++++..+++.++.+++..++.+.+..++.............+....+......",
    5.78 +".+++................++.......+@+..++..++++..+.++++..+++....++++@+...+++......++..+++...+.+.+.++.++.+.+.+.+........++......+.....",
    5.79 +".+++.....@...........++.++...+++.+.++..+@+....+++...+++..+..+++++.+.++++....+++..+++..+.+.+..++..++.+.+...+......+.+......+.....",
    5.80 +".++....@@@@@........+.+..++.++++..++.+.++++..++++.+.+++...+.+++++....++@++.+++...+++.........++.........+.......+++.......++....",
    5.81 +"..+.....@@@.........++++.++++++....++...++++++++....+++..+...+@++..+..+++++++..+.+@++++++++..+++++++++....+...............+.+...",
    5.82 +".......@@@@@........++.+...+++....++.++...++++....+.+++.+@++..+++.+....+++++..+..+++++++++...++++++@+....................+..++..",
    5.83 +"........@+@..........++..+.....+.+..+.+.+......+.+.......+..+.......+.........++...........+.............+...............+...++.",
    5.84 +".........++........+.......................+..........+...............+.....++.++.................+.++.+....+...........+....+++",
    5.85 +"..........+.......+...++++++++++..+...++++...+.+++.+....+++.+++++++.....+++...++..++..++++++++..+..++.+..+.+............+....+.+",
    5.86 +"..........+.........+.+++++++++++...++++++++...+++...+..+++.+++++++++...++++.++.+.+++.+++++++..++.+.++..++..............+.....++",
    5.87 +"..........++...........++++++++++..++++..++++..+++..+.+.+++.+++...++++..++++...+..+++.++.......++..+.+..++...............+.....+",
    5.88 +"...........+....+.+..+....+++......+++....+++..+++..++..+++.+++.+...++..+++++..+..+++.++.+..++.+++..+..++..+.............+......",
    5.89 +"...........+.++++..+..+.+.+++.+.+.++++.+..++++.+++.+.+..+++.+++...+.++..++++++....+++.++..+.+...+++...+++...............+.......",
    5.90 +"...++.+....++..+++...+.++.+++.....+++...+..+++.+++..+.+.+++.+++.+...++..+@+.++..+.++@.++......+..+++.+++..+...........++........",
    5.91 +"....++++...+...+...+..++..++@..+..@++..+...+++.+++..+@+.+++.+++...++++..+++.+++...+++.++++++..+...+++++...+.+........+.++.......",
    5.92 +".....+..+.++...........++.+++.++..+++.+.++.+@+.+++.+.+..+++.@++++++@+...+++..+@+..+++.@++@+..+..+..++@..++.........@@@+.+.......",
    5.93 +".........++.......+..+.+..+++...+.++@..++..+++.++@..+...@++.+++@+++...+.++@...++..+@+.++......+.+..@++.+.++...+...@.@.@+........",
    5.94 +".+.......+.........+..++..+@+.++..+++..+...++@.+++...+..+++.+++...++....+++.+.+++.+++.++.+..+.++.+.+++..++.+.+.....@.@@.........",
    5.95 +"....+....+.......+......+.+++..+..@+++..+.@+++.@+++....+++@.@++.+.+@+.+.@++....+@+++@.+@..++.+.+...+@+.++...........@.@....+....",
    5.96 +"++.......+...........+@...@++...+..++@....++@...++@....@++..++@....++...++@..+..+@+++.++..+..+..+..+++..+++.+........@......+...",
    5.97 +"..+..+..++.........+..++.+++@.+.+..@+++..+@++.+.@+++..+++@..+++..+..@+..+++.+...+++@+.@+.........+.++@...+.......+......+.......",
    5.98 +".+.+..+.+........+....+@++@+...+.+..@+@+@++@.....+@++@+@+...+@+.+...++@.+@+...+..@+++.++@+@++@+....@++.+.....+....+.............",
    5.99 +"...+..+....+........+...+@+..+..++....+@+@...+.+...+@+@...+..+@...+..@+.@+@.++.+..@+@.+@+@++@+..+..+@...+.+.......+.............",
   5.100 +"...+..+..+..+......+..+........+...+.......+..+.++.......++.....++............+.+...............+.....+....+......++.....+.+....",
   5.101 +"...+...+.+..+..........+....+....+....+..+..++..+..+.+..+..+.+..+..+..+.+..+..+...+.+..+..++..+..+.+.+..++.........+...+....+...",
   5.102 +"+...+..+.+...+.....................................................................................................+..+......+..",
   5.103 +"+.+.+..+..+..+....++................+.............................................................................++...+..+..+..",
   5.104 +".+..+...+.+..+...+.++.......+......+.......+....+.........+.....+.........+..++.....+.......+.+....+...+..........++...+.+...+..",
   5.105 +".+..+.+.+.+..+..+.++.+....++.+...+.+...+..+.+..+.+++......++...+.....+..+....+.++....+......++.+..+....+....+.....+....+.+..+...",
   5.106 +".+....+.+.+.+....+++.+...+..+.+...+..+..+..+...++.+.++...++.+..+...++.+.....+.++.+..+...++...++.+..+.+..+..+.++..++...+..+..+...",
   5.107 +".+....+...+.+...+.+++.+.+.++..++..+..+..+..+..+..+.++.+.+.++.+.+..+......+..++..+.+..+.++.+.+..++..+.+..+.+.++++..++..+.+...+..."};
     6.1 --- a/loader.oph	Sun Sep 18 20:12:33 2011 +0200
     6.2 +++ b/loader.oph	Mon Sep 19 00:27:17 2011 +0200
     6.3 @@ -1,4 +1,4 @@
     6.4 -.org $5200
     6.5 +.org $5180
     6.6  
     6.7  init:
     6.8      lda #22         ; MODE 5
     6.9 @@ -51,6 +51,8 @@
    6.10      ldy #>title_block
    6.11      jsr $ffdd
    6.12  
    6.13 +    jsr copy_title_up
    6.14 +
    6.15      lda #255
    6.16      ldx #<sprites_block
    6.17      ldy #>sprites_block
    6.18 @@ -66,6 +68,9 @@
    6.19      ldy #>code_block
    6.20      jsr $ffdd
    6.21  
    6.22 +    jsr copy_title_down
    6.23 +    jsr move_completed_screen_down
    6.24 +
    6.25      jmp $1e00
    6.26  
    6.27  sprites_file_name: .byte "SPRITES", 13
    6.28 @@ -86,18 +91,18 @@
    6.29                 .byte $80, $51, 0, 0
    6.30  
    6.31  title_block: .byte <title_file_name, >title_file_name
    6.32 -               .byte $80, $5a, 0, 0
    6.33 -               .byte $80, $5a, 0, 0
    6.34 -               .byte $80, $16, 0, 0
    6.35 -               .byte $00, $71, 0, 0
    6.36 +               .byte $00, $30, 0, 0
    6.37 +               .byte $00, $30, 0, 0
    6.38 +               .byte $00, $15, 0, 0
    6.39 +               .byte $00, $45, 0, 0
    6.40  
    6.41  code_block: .byte <code_file_name, >code_file_name
    6.42                 .byte $00, $1e, 0, 0
    6.43                 .byte $00, $1e, 0, 0
    6.44 -               .byte $2b, $20, 0, 0
    6.45 -               .byte $2b, $3e, 0, 0
    6.46 +               .byte $d1, $1f, 0, 0
    6.47 +               .byte $d1, $3d, 0, 0
    6.48  
    6.49 -init_load_window_vdu_bytes: .byte 28,0,29,19,24
    6.50 +init_load_window_vdu_bytes: .byte 28,0,30,19,27
    6.51  
    6.52  set_hidden_palette:
    6.53  
    6.54 @@ -150,3 +155,172 @@
    6.55  damage_envelope:    .byte 2,4,8,0,248,2,0,2,126,0,0,130,126,126
    6.56  item_envelope:      .byte 3,2,8,4,2,10,10,10,126,0,0,130,126,126
    6.57  key_envelope:       .byte 4,2,4,40,0,8,1,3,126,0,0,130,126,126
    6.58 +
    6.59 +copy_title_up:
    6.60 +
    6.61 +    lda #$00
    6.62 +    sta $70
    6.63 +    lda #$30
    6.64 +    sta $71
    6.65 +
    6.66 +    lda #$a0
    6.67 +    sta $72
    6.68 +    lda #$5a
    6.69 +    sta $73
    6.70 +
    6.71 +    ldx #$17
    6.72 +
    6.73 +    copy_title_up_loop1:
    6.74 +
    6.75 +        ldy #0
    6.76 +        copy_title_up_loop2:
    6.77 +
    6.78 +            lda ($70),y
    6.79 +            sta ($72),y
    6.80 +            iny
    6.81 +            cpy #0
    6.82 +            bne copy_title_up_loop2
    6.83 +
    6.84 +        clc
    6.85 +        lda $72
    6.86 +        adc #$40
    6.87 +        sta $72
    6.88 +        lda $73
    6.89 +        adc #$01
    6.90 +        sta $73
    6.91 +        clc
    6.92 +
    6.93 +        lda $71
    6.94 +        adc #$01
    6.95 +        sta $71
    6.96 +
    6.97 +        dex
    6.98 +        bpl copy_title_up_loop1
    6.99 +
   6.100 +    clc
   6.101 +    rts
   6.102 +
   6.103 +copy_title_down:
   6.104 +
   6.105 +    lda #$a0
   6.106 +    sta $70
   6.107 +    lda #$5a
   6.108 +    sta $71
   6.109 +
   6.110 +    lda #$00
   6.111 +    sta $72
   6.112 +    lda #$18
   6.113 +    sta $73
   6.114 +
   6.115 +    ldx #$05
   6.116 +
   6.117 +    copy_title_down_loop1:
   6.118 +
   6.119 +        ldy #0
   6.120 +        copy_title_down_loop2:
   6.121 +
   6.122 +            lda ($70),y
   6.123 +            sta ($72),y
   6.124 +            iny
   6.125 +            cpy #0
   6.126 +            bne copy_title_down_loop2
   6.127 +
   6.128 +        clc
   6.129 +        lda $70
   6.130 +        adc #$40
   6.131 +        sta $70
   6.132 +        lda $71
   6.133 +        adc #$01
   6.134 +        sta $71
   6.135 +        clc
   6.136 +
   6.137 +        lda $73
   6.138 +        adc #$01
   6.139 +        sta $73
   6.140 +
   6.141 +        dex
   6.142 +        bpl copy_title_down_loop1
   6.143 +
   6.144 +    clc
   6.145 +    rts
   6.146 +
   6.147 +move_completed_screen_down:
   6.148 +
   6.149 +    lda #$20
   6.150 +    sta $70
   6.151 +    lda #$62
   6.152 +    sta $71
   6.153 +
   6.154 +    lda #$00
   6.155 +    sta $72
   6.156 +    lda #$0f
   6.157 +    sta $73
   6.158 +
   6.159 +    ldx #128
   6.160 +
   6.161 +    move_completed_screen_loop:
   6.162 +
   6.163 +        ldy #1
   6.164 +        lda ($70),y
   6.165 +        and #$0f
   6.166 +        asl
   6.167 +        asl
   6.168 +        asl
   6.169 +        asl
   6.170 +        sta $80
   6.171 +        dey
   6.172 +        lda ($70),y
   6.173 +        and #$0f
   6.174 +        ora $80
   6.175 +        sta ($72),y
   6.176 +
   6.177 +        lda #0
   6.178 +        sta ($70),y
   6.179 +        iny
   6.180 +        sta ($70),y
   6.181 +
   6.182 +        clc
   6.183 +        lda $70
   6.184 +        adc #2
   6.185 +        sta $70
   6.186 +        lda $71
   6.187 +        adc #0
   6.188 +        sta $71
   6.189 +        clc
   6.190 +        
   6.191 +        lda $72
   6.192 +        adc #1
   6.193 +        sta $72
   6.194 +        lda $73
   6.195 +        adc #0
   6.196 +        sta $73
   6.197 +        clc
   6.198 +
   6.199 +        dex
   6.200 +        cpx #0
   6.201 +        bne move_completed_screen_next
   6.202 +
   6.203 +        ldx #128
   6.204 +
   6.205 +        clc
   6.206 +        lda $70
   6.207 +        adc #$40
   6.208 +        sta $70
   6.209 +        lda $71
   6.210 +        adc #$00
   6.211 +        sta $71
   6.212 +        clc
   6.213 +
   6.214 +        move_completed_screen_next:
   6.215 +        clc
   6.216 +
   6.217 +        lda $72
   6.218 +        cmp #$00
   6.219 +        bne move_completed_screen_loop
   6.220 +
   6.221 +        lda $73
   6.222 +        cmp #$18
   6.223 +        bne move_completed_screen_loop
   6.224 +
   6.225 +    clc
   6.226 +    rts
     7.1 --- a/mapcode.oph	Sun Sep 18 20:12:33 2011 +0200
     7.2 +++ b/mapcode.oph	Mon Sep 19 00:27:17 2011 +0200
     7.3 @@ -4199,137 +4199,69 @@
     7.4  
     7.5      rts
     7.6  
     7.7 -copy_title_down:
     7.8 -
     7.9 -    lda #$80
    7.10 +copy_title_up:
    7.11 +
    7.12 +    lda #$00
    7.13      sta $70
    7.14 -    lda #$61
    7.15 +    lda #$18
    7.16      sta $71
    7.17  
    7.18 -    lda #$80
    7.19 +    lda #$a0
    7.20      sta $72
    7.21 -    lda #$1d
    7.22 +    lda #$5a
    7.23      sta $73
    7.24  
    7.25 -    ; Run on into the following routine.
    7.26 +    ldx #5
    7.27 +    ; Run on into the next routine.
    7.28  
    7.29  copy_title:
    7.30  
    7.31 -    ldx #7
    7.32 -    ldy #127
    7.33 -
    7.34      copy_title_loop1:
    7.35  
    7.36 +        ldy #0
    7.37          copy_title_loop2:
    7.38  
    7.39              lda ($70),y
    7.40              sta ($72),y
    7.41 -            dey
    7.42 -            cpy #255
    7.43 +            iny
    7.44 +            cpy #0
    7.45              bne copy_title_loop2
    7.46  
    7.47 -        dec $71
    7.48 -        dec $73
    7.49 +        clc
    7.50 +        lda $72
    7.51 +        adc #$40
    7.52 +        sta $72
    7.53 +        lda $73
    7.54 +        adc #$01
    7.55 +        sta $73
    7.56 +        clc
    7.57 +
    7.58 +        lda $71
    7.59 +        adc #$01
    7.60 +        sta $71
    7.61 +        clc
    7.62 +
    7.63          dex
    7.64          bpl copy_title_loop1
    7.65  
    7.66      rts
    7.67  
    7.68 -copy_title_up:
    7.69 -
    7.70 -    lda #$80
    7.71 -    sta $70
    7.72 -    lda #$1d
    7.73 -    sta $71
    7.74 -
    7.75 -    lda #$80
    7.76 -    sta $72
    7.77 -    lda #$61
    7.78 -    sta $73
    7.79 -
    7.80 -    jmp copy_title  ; optimise away the rts
    7.81 -
    7.82 -move_completed_screen_down:
    7.83 +copy_completed_screen_up:
    7.84  
    7.85      lda #$00
    7.86      sta $70
    7.87 -    lda #$62
    7.88 +    lda #$0f
    7.89      sta $71
    7.90  
    7.91 -    lda #$00
    7.92 +    lda #$60
    7.93      sta $72
    7.94 -    lda #$0f
    7.95 +    lda #$5e
    7.96      sta $73
    7.97  
    7.98 -    move_completed_screen_loop:
    7.99 -
   7.100 -        ldy #1
   7.101 -        lda ($70),y
   7.102 -        and #$0f
   7.103 -        asl
   7.104 -        asl
   7.105 -        asl
   7.106 -        asl
   7.107 -        sta $80
   7.108 -        dey
   7.109 -        lda ($70),y
   7.110 -        and #$0f
   7.111 -        ora $80
   7.112 -        sta ($72),y
   7.113 -
   7.114 -        lda #0
   7.115 -        sta ($70),y
   7.116 -        iny
   7.117 -        sta ($70),y
   7.118 -
   7.119 -        clc
   7.120 -        lda $70
   7.121 -        adc #2
   7.122 -        sta $70
   7.123 -        lda $71
   7.124 -        adc #0
   7.125 -        sta $71
   7.126 -        clc
   7.127 -        
   7.128 -        lda $72
   7.129 -        adc #1
   7.130 -        sta $72
   7.131 -        lda $73
   7.132 -        adc #0
   7.133 -        sta $73
   7.134 -        clc
   7.135 -
   7.136 -        lda $72
   7.137 -        cmp #$80
   7.138 -        bne move_completed_screen_loop
   7.139 -
   7.140 -        lda $73
   7.141 -        cmp #$16
   7.142 -        bne move_completed_screen_loop
   7.143 -
   7.144 -    rts
   7.145 -
   7.146 -copy_completed_screen_up:
   7.147 -
   7.148 -    lda #$00
   7.149 -    sta $70
   7.150 -    lda #$16
   7.151 -    sta $71
   7.152 -
   7.153 -    lda #$00
   7.154 -    sta $72
   7.155 -    lda #$69
   7.156 -    sta $73
   7.157 -
   7.158 +    ldx #8
   7.159      jmp copy_title  ; optimise away the rts
   7.160  
   7.161  init:
   7.162 -    ; Copy the title screen to a lower address in memory.
   7.163 -    jsr copy_title_down
   7.164 -
   7.165 -    ; Move the completed screen down in memory, decoding it.
   7.166 -    jsr move_completed_screen_down
   7.167 -
   7.168      jsr cls     ; clear the text window
   7.169  
   7.170      lda #26     ; unset the text window
     8.1 --- a/tools/makesprites.py	Sun Sep 18 20:12:33 2011 +0200
     8.2 +++ b/tools/makesprites.py	Mon Sep 19 00:27:17 2011 +0200
     8.3 @@ -159,7 +159,7 @@
     8.4  
     8.5  title = read_xpm("images/title-screen.xpm")
     8.6  
     8.7 -completed = read_xpm("images/complete-screen.xpm", [(".", "0"), ("@", "1"), ("+", "2"), ("#", "3")])
     8.8 +completed = read_xpm("images/complete-screen.xpm", [("+", "0"), ("@", "1"), (".", "2"), ("#", "3")])
     8.9  overlay = read_xpm("images/overlay.xpm", [(".", "0"), ("+", "2")])
    8.10  
    8.11  def read_sprite(lines):