home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 January
/
Chip_2003-01_cd1.bin
/
oddech
/
bechpack
/
bechpack.exe
/
scripts
/
DefineSprite_600
/
frame_5
/
DoAction.as
Wrap
Text File
|
2002-10-29
|
574b
|
30 lines
if(Number(key) == 4)
{
_X = _X - 15;
}
else if(Number(key) == 6)
{
_X = Number(_X) + 15;
}
else if(Number(key) == 2)
{
_Y = Number(_Y) + 15;
}
else
{
_Y = _Y - 15;
}
if(_X == getProperty("/" add eval("/:count"), _X) and _Y == getProperty("/" add eval("/:count"), _Y))
{
tellTarget("/" add eval("/:count"))
{
gotoAndPlay(5);
}
set("/:point",Number(eval("/:point")) + Number(eval("/:level")));
call("/:Add");
}
if(Number(_X) < 60 or 330 < Number(_X) or Number(_Y) < 15 or 465 < Number(_Y))
{
call("/:Clear");
}