-;-----------------------------
-;---------- data -------------
-;-----------------------------
-
-wtPicture:
-.db %00011110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
-.db %00111110,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
-.db %01110000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000
-.db %01100000,%01111100,%00000001,%11111111,%00000000,%11110000,%01111001,%11100000
-.db %11100000,%11111110,%00000011,%11111111,%10000011,%11111000,%11111111,%11110000
-.db %11000001,%11000111,%00000111,%00000001,%11000111,%10011001,%11001111,%00111000
-.db %11000001,%10000011,%00000110,%00000000,%11100110,%00000001,%10011111,%10011000
-.db %11000001,%10000011,%00000110,%11000000,%01101110,%00000011,%10111001,%11011100
-.db %11000001,%11000111,%00000110,%11000000,%01101100,%00000011,%00110000,%11001100
-.db %11000000,%11000110,%00000110,%11000000,%01101100,%00000011,%00110000,%11001100
-.db %11100000,%11101110,%00001110,%11000000,%01101100,%00000011,%00111001,%11001100
-.db %01100000,%01111100,%00001100,%11000000,%01101100,%00000011,%00011111,%10001100
-.db %01110000,%00111000,%00011100,%11100000,%11101110,%00000011,%00001111,%00001100
-.db %00111000,%11111110,%00111000,%01110001,%11000110,%00000011,%10000000,%00011100
-.db %00011111,%11101111,%11110000,%00111111,%10000111,%00000001,%10000000,%00011000
-.db %00001111,%10000011,%11100000,%00011111,%00000011,%00000001,%10000000,%00011000
-
-txtMenu: .db "by Shiar",0
- .db "Level 00",0 ;4th menu item
- .db "Limit 00 ",0 ;3rd
- .db "Worms 0",0 ;2nd
-txtGame: .db "Singleplayer",0 ;0 (1st)
-txtGame2: .db "Peaworm ",0 ;1 (next 1st)
- .db "Tron ",0 ;2
- .db "Deathmatch",0 ;3
- .db "Foodmatch ",0 ;4
- .db "LinkMatch",0 ;5
- .db "Race ",0 ;6
- .db "CTF ",0 ;7
-; .db "Domination",0 ;8
-txtLevsel: .db $CF," Select levels: ",5,0
-txtName: .db "Enter name player ",0
-txtWaiting: .db "Waiting...",0
-txtReceive: .db "Receiving..." ;,0
-
-TrigPrecalc:
-.db 0, 3, 6, 9, 12, 15, 18, 21
-.db 24, 27, 30, 33, 36, 39, 42, 45
-.db 48, 51, 54, 57, 59, 62, 65, 67
-.db 70, 73, 75, 78, 80, 82, 85, 87
-.db 89, 91, 94, 96, 98,100,102,103
-.db 105,107,108,110,112,113,114,116
-.db 117,118,119,120,121,122,123,123
-.db 124,125,125,126,126,126,126,126
-.db 127
-
-txtLevel: .db "Level ",0
-txtWorms: .db "Worms: 0",0 ;follows txtLevel
-txtDied: .db "Died ",0
-txtScore: .db "Score",0 ;follows txtDied
-txtLeft: .db " left",0 ;follows txtScore
-txthiscore:.db "HiScore:",0
-txtReady: .db "Prepare!",0
-txtposReady = 7
-txtGO: .db "----- GAME OVER -----",0
-
-_datalink = %00000001 ;linkplay
-_datalivel = %00000010 ;lives=0 limit
-_datafoodl = %00000100 ;left=0 limit
-_datanextl = %00001000 ;next level if left=0
-_datasingl = %00001000 ;singleplayer=1
- ;1=hiscore+keep_length
-_datafood = %00010000 ;food present
-_datadie = %01000000 ;worm dies on impact
-_datascore = %10000000 ;score>=100 limit
-_datamultpeas = %00100000
-_datasp = %01011110
-
-datalevels: .dw LevelDef, LevelDefM
- .dw LevelDefT,LevelDefM
- .dw LevelDefM,LevelDefM
- .dw LevelDefM,LevelDefM
-nrlevels: .db 1,2,2,2,2,2,2,1 ;=defaults
-
-savestart:
-
-gamesingle = 0
-datasingle: .db %01011110,3 ;3 lives (<must b unique)
-gamepeas = 1
-datapeas: .db %01011010,1 ;1 "
-gametron = 2
-datatron: .db %01000010,1
-gamedeathm = 3
-datadeathm: .db %01000010,3
-gamefoodm = 4
-datafoodm: .db %11010000,10 ;10 score limit (=100)
-gamelinkm = 5
-datalinkm: .db %01000011,3
-gamerace = 6
-datarace: .db %10000000,10
-gamectf = 7
-datactf: .db %11100000,9
-;gamedomin = 8
-;datadomin: .db %01100000,3 ;==(8 modes)
-
-worm1set: .dw worm1p,worm1p
- .db %11110111,%00,%01111110,%10,%100 ;< >
-worm1name: .db "worm #01",0
-worm2set: .dw worm2p,worm2p
- .db %11111011,%11,%00111111,%10000,%1000 ;f1 f2
-worm2name: .db "worm #02",0
-worm3set: .dw worm3p,worm3p
- .db %11111011,0,%01011111,%10,%100 ;sto ,
-worm3name: .db "worm #03",0
-worm4set: .dw worm4p,worm4p
- .db %11111011,0,%01111101,%10,%1 ;enter +
-worm4name: .db "worm #04",0
+LevelDefR: ;race
+ .db "Round and Round",0
+ .db 8,4,18,12,5
+ .db %1110000,%10001000,%10001000,%10001000,%1110000,0
+ .db $40,23,2,$C0,23,125, $40,35,2,$C0,35,125
+ .db 128,57
+ .db 63,27
+ .db 4,63,27,10,0,0
+
+LevelDefC: ;ctf
+ .db "Default CTF",0
+ .db 8,4,18,12,5
+ .db %1110000,%10001000,%10001000,%10001000,%1110000,0
+ .db $40,23,2,$C0,23,125, $40,35,2,$C0,35,125
+ .db 128,57
+ .db 27,8,27,116
+ .db 0
+
+#endif
+
+;_______________________________________________________________________________
+; ______ _______ _______ _______
+; | \ |_____| | |_____|
+; |_____/ | | | | |
+;_______________________________________________________________________________
+
+;--- graphics ------------------------------------------------------------------
+
+wtPicture: ;title
+; %00000000,%00000000,%00000000,%00000000,%00000000,%00000000,
+.db %00011110, %00000001,%11000000,%00000000,%00000000,%00000001,%10000000,%00000000,%00001111,%10000000
+.db %00111110, %00000001,%11100000,%00000000,%00000011,%11000010,%01000011,%10011100,%00110000,%01100000
+.db %01110000, %00000000,%01110000,%00111000,%00001100,%00110001,%00110100,%01100011,%01000000,%00010000
+.db %01100000,%01111100,%00000001,%11111111,%00000000,%11110000,%01111001,%11100000,%00110000,%01111100,%00010001,%11001001,%00001000,%00100000,%10000010,%00010000
+.db %11100000,%11111110,%00000011,%11111111,%10000011,%11111000,%11111111,%11110000,%00110000,%11101100,%00010001,%11000100,%10000001,%00000100,%10001110,%00001000
+.db %11000001,%11000111,%00000111,%00000001,%11000111,%10011001,%11001111,%00111000,%00110000,%11000110,%00001100,%00000010,%01100010,%10011100,%00010001,%00001000
+.db %11000001,%10000011,%00000110,%00000000,%11100110,%00000001,%10011111,%10011000,%00111001,%11000110,%00000011,%11000010,%00011100,%01100010,%00100001,%01101000
+.db %11000001,%10000011,%00000110,%11000000,%01101110,%00000011,%10111001,%11011100,%00111001,%11000110,%01111000,%00100001,%00000000,%00000001,%11000001,%01101000
+.db %11000001,%11000111,%00000110,%11000000,%01101100,%00000011,%00110000,%11001100,%00011111,%10000110,%10000101,%11100001,%00000000,%00000000,%00000001,%00010000
+.db %11000000,%11000110,%00000110,%11000000,%01101100,%00000011,%00110000,%11001100,%00001111,%00001110,%10010110,%00010001,%00000000,%00000000,%00000000,%11100000
+.db %11100000,%11101110,%00001110,%11000000,%01101100,%00000011,%00111001,%11001100,%00000000,%00001100,%01100100,%00001001,%00111111,%11111111,%11000000,%00000000
+.db %01100000,%01111100,%00001100,%11000000,%01101100,%00000011,%00011111,%10001110,%00000000,%00001100,%01000000,%10000001,%01000000,%00000000,%00000000,%00000000
+.db %01110000,%00111000,%00011100,%11100000,%11101110,%00000011,%00001111,%00000110,%00000000,%00011100,%01000000,%11000001,%01100101,%01001001,%10000011,%01100011
+.db %00111000,%11111110,%00111000,%01110001,%11000110,%00000011,%10000000,%00000111,%10000000,%00111000,%01000001,%00100001,%00110101,%00010101,%01000101,%01010100
+.db %00011111,%11101111,%11110000,%00111111,%10000111,%00000001,%10000000,%00000011,%11111111,%11110000,%00111110,%00011110,%00010111,%01011101,%10010101,%01100101
+.db %00001111,%10000011,%11100000,%00011111,%00000011,%00000001,%10000000,%00000000,%11111111,%11100000,%00000000,%00000000,%11100101,%01010101,%01000110,%01010011
+
+#ifdef coolzgfx
+wtWormy: ;g/o
+.db %00000110,%00111000,%00000000,%00111100,%00001111,%10001110,%00111100,%01111000,%00001100,%11011000,%11100011,%10000000,%00000000,%11111100,%00111000,%00000000
+.db %00011001,%01000110,%11100000,%11000010,%00011100,%11011111,%01111110,%11111000,%00011110,%11011101,%11110111,%11000000,%00111111,%00000011,%01000110,%11100000
+.db %00100000,%10000011,%00010001,%00110010,%00011000,%00010011,%01101010,%11000000,%00111011,%01001101,%10000110,%01000000,%11000000,%00000000,%10000001,%00010000
+.db %00100000,%00000000,%00001110,%00110010,%00011001,%10011011,%01101010,%11100000,%00110011,%01101101,%11000111,%10000001,%00011100,%00000000,%00000000,%00001100
+.db %01001100,%00011000,%00000000,%00000100,%00011000,%11011111,%01100010,%11001100,%00110011,%01101101,%10000111,%11000001,%00011100,%00111000,%00011000,%10000010
+.db %01010010,%00100100,%01100000,%00011000,%00011111,%11011011,%11101110,%11111100,%00011111,%01111000,%11110110,%11100000,%11000000,%11000110,%00101001,%10000010
+.db %01100001,%11000011,%10011111,%11100000,%00001111,%10001001,%11001100,%01111000,%00001110,%00110000,%01100110,%01100000,%00111111,%00000001,%11000110,%01111100
+;.db %00000000,%00000001,%10000000,%00000000,%00001111,%10000000
+#else
+txtGO: .db 5,5,5,5,5," GAME OVER ",$CF,$CF,$CF,$CF,$CF,0
+#endif
+
+;--- menus ---------------------------------------------------------------------
+
+txtMenu: .db "Mode",0 ;1st menu item
+ .db "Level",0 ;2nd
+ .db "Link",0 ;...
+ .db "Worms",0
+ .db "worm #",0
+posMenu: .db 5
+ .dw $2418,$231E,$2824,$1F2A,$1730
+txtteamed: .db " vs 2",0 ;4th tail
+txtMenuR: .db "controls",0 ;6th
+
+txtoMenu: .db "Back",0 ;1st menu item
+ .db "Lives",0 ;2nd
+ .db "Limit",0 ;...
+ .db "Speed",0
+ .db "Rotation",0
+ .db "Growth",0
+posoMenu: .db 6
+ .dw $2618,$251E,$2524,$222A,$1A30,$1C36
+
+txtpMenu: .db "Resume",0 ;1st menu item
+ .db "Turn Off",0 ;2nd
+ .db "Contrast",$CF,5,0 ;...
+ .db "Exit",0
+pospMenu: .db 4
+ .dw $3418,$331E,$2F24,$3A2A
+
+;--- text ----------------------------------------------------------------------
+
+txtGame: .db "Singleplayer",0
+txtGame1: .db "Peaworm",0
+txtGame2: .db "Tron",0
+txtGame3: .db "Deathmatch",0
+txtGame4: .db "Foodmatch",0
+txtGame5: .db "Multifoodmatch",0
+txtGame6: .db "Timematch",0
+txtGame7: .db "Race",0
+txtGame8: .db "CTF";,0
+posGame: .db 0
+ .db txtGame1-txtGame
+ .db txtGame2-txtGame
+ .db txtGame3-txtGame
+ .db txtGame4-txtGame
+ .db txtGame5-txtGame
+ .db txtGame6-txtGame
+ .db txtGame7-txtGame
+ .db txtGame8-txtGame
+
+txtNone: .db "None",0
+txtDef: .db "Default",0
+txtYes: .db "Yes",0
+txtNo: .db "No",0
+txtKleft: .db ":left",0
+txtKright: .db "right",0
+posLevsel = $0320
+txtLevsel: .db $CF," SELECT LEVELS ",5,0
+txtWaitn: .db "Waiting";"...",0
+txtReceiv: .db "...",0