I need help on a key hack on a game called rainbow blitz.I changed this:
Code:
loadMovieNum("manhattanp.swf", 0);
//loadMovieNum("http://www.arcadeprehacks.com/unhacked_swf/manhattanp-loader.swf", 0);
/////////// START KEY LISTENER CODE BLOCK //////////////////
// Set the keys you want to listen for here.
// Get key codes here http://people.uncw.edu/tompkinsj/112...t/keyCodes.htm
keylistener = new Object();
keylistener.onKeyDown = function() {
if (Key.getCode() == 49)
{
_level0.Mc_Interface.T_Value1.value = 9999999999; // All code here between {} will excecute when key is pressed.
}
}
Key.addListener(keylistener);
/////////// END KEY LISTENER CODE BLOCK //////////////////
Into this:
Code:
loadMovieNum("rainbowb.swf", 0);
//loadMovieNum("http://www.arcadeprehacks.com/unhacked_swf/rainbowb-loader.swf", 0);
/////////// START KEY LISTENER CODE BLOCK //////////////////
// Set the keys you want to listen for here.
// Get key codes here http://people.uncw.edu/tompkinsj/112...t/keyCodes.htm
keylistener = new Object();
keylistener.onKeyDown = function() {
if (Key.getCode() == 49)
{
_level0.health = 9999999999; // All code here between {} will excecute when key is pressed.
}
}
Key.addListener(keylistener);
/////////// END KEY LISTENER CODE BLOCK //////////////////
Then when I play the game with the hack,and press 1,I get a screen full of green.What am I doing wrong?