Version 0.6 of the ACK mega-patch has been released and can be downloaded from:
http://dl.dropbox.com/u/27495615/ack_mega_0_6.zip
Changes for this release:
Code: Select all
o Fixed bug relating to messages displayed when a player
attacks (but fails to damage) a creature.
o Added the ability to the PEEK/POKE debugging command
(Ctrl+P) to get/set the values of the extended variable
set (A2-Z2).
o Added 256 word-size 'scratch variables' (which are not
saved/restored with the game) which can be set with an
extended DRAW command and viewed/modified with a
peek/poke command in debug mode (Ctrl+S).
o Added 256 word-size 'option settings' (which are not
saved/restored with the game) which can be set with an
extended DRAW command and viewed/modified with a
peek/poke command in debug mode (Ctrl+O).
A couple of these changes need additional explanation.
The scratch variables are 256 new variables that are meant for general-purpose use by macros. They can be read or written using extended DRAW commands, and they can also be examined/altered using the debug command Ctrl+S.
They can hold values the same size as the 'word-size' ACK variables (H-Z, H2-Z2).
The main difference between these variables and the standard ACK variables is that the scratch variables are not saved or restored along with the rest of the game. They are intended for temporary storage only.
I am planning to add a mechanism to allow these variables to be saved/restored to a data file (to allow them to hold permanent game data) in a future update.
The option variables are similar, but are not meant for general-purpose game use; instead, they are meant to hold settings that change the behavior of the ACK engine (similar to the way that the various flags in the Z variable have been used up to this point). Again, these are not stored permanently and are all cleared to zero when a new game is started or when a game restore takes place.