It's a barrel of fun!
BARREL BATTLE By B.C. Wakelin
DO you ever feel like having a cup of tea but things keep getting
in your way? Well that's what our latest game is all about!
You have to work your way up the ladders and along the ledges
collecting teapots along the way. When and if you get to the top
you have to ring your friends to come for a cuppa.
It's great fun, but the better you get at it, the harder it
becomes.
All in all, it's pretty thirsty work!
Line No. Description
5 Data for tune.
6-8 Envelopes and graphics characters.
9-10 Set up main variables.
11-13 Set up screen.
14 Set up barrels.
15 Set up creature.
16 Remove cursor.
17 Check for jumping.
18-22 Check for input.
23-26 Check if illegal move or anything hit.
27-29 Check what creature is to walk over.
30 Check if creature is on floor or ladder.
31-32 Move creature.
33 Decrement bonus if necessary.
34-38 Move barrels.
40-43 Next sheet and play tune.
44-46 Creature's death, decrement life.
47-48 Grab a teapot and check if it was last one.
49-57 Jump routine.
58-59 End of jump, check if landed OK.
60-62 Print ladder PROC.
63-64 Fall routine.
65-66 Crash routine.
67-71 Level information for setting up screen.
72-74 Start position of barrels and initial direction.
75-83 More level information.
84-107 Instructions and menu.
Variable Description
TP% High score.
S% Your score.
A%(n) X position of barrel n.
B%(n) Y position of barrel n.
D%(n) Direction of barrel n's movement.
B%(n) True if barrel is dropping.
O%(n) The colour of the character under the barrel.
R%(n) The character the barrel is about to roll over.
T%(n) The colour of the character the barrel is about to roll
over.
Q%(n) The character's colour that the barrel is over.
F%(n) The last direction the barrel moved in before dropping.
BA% The number of barrels in use.
L% The sheet in play.
LIV% Number of lives.
E%(n) Barrel's vertical movement.
B% Bonus.
G% Number of teapots remaining.
O% Character the creature is over.
J% True if creature is jumping.
X% X position of creature.
Y% Y position of creature.
C% Character representing creature.
H% Horizontal move for creature.
V% Vertical move for creature.
R% Character creature is about to walk over.
PO% The POINT value of the position to move to by creature.
Q% Colour of character creature is on.
T% Colour of character creature is about to walk on.
I%,I,J%J General variables.
N% Note for tune.
D% Duration of note for tune.
M% Horizontal position while jumping.
N% Vertical position while jumping.
K% Part of jump in motion.
x% X position of ladder.
y% Y position of ladder.
Q£ Input from menu, etc.
W% First sheet.