home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / animal_1.swf / scripts / DefineSprite_66 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-05-29  |  1013 b   |  23 lines

  1. function koko()
  2. {
  3.    cc1 = ((zy * 3 + 0) * 4 + zx) * 3 + 1 + 13 + zy * 6 + 2;
  4.    cc2 = ((zy * 3 + 0) * 4 + zx) * 3 + 2 + 13 + zy * 6 + 2;
  5.    cc3 = ((zy * 3 + 0) * 4 + zx) * 3 + 3 + 13 + zy * 6 + 2;
  6.    cc4 = ((zy * 3 + 1) * 4 + zx) * 3 + 1 + 13 + zy * 6 + 4;
  7.    cc5 = ((zy * 3 + 1) * 4 + zx) * 3 + 2 + 13 + zy * 6 + 4;
  8.    cc6 = ((zy * 3 + 1) * 4 + zx) * 3 + 3 + 13 + zy * 6 + 4;
  9.    cc7 = ((zy * 3 + 2) * 4 + zx) * 3 + 1 + 13 + zy * 6 + 6;
  10.    cc8 = ((zy * 3 + 2) * 4 + zx) * 3 + 2 + 13 + zy * 6 + 6;
  11.    cc9 = ((zy * 3 + 2) * 4 + zx) * 3 + 3 + 13 + zy * 6 + 6;
  12.    _root.hiary[cc1] = _root.mdata.substr(1,1);
  13.    _root.hiary[cc2] = _root.mdata.substr(2,1);
  14.    _root.hiary[cc3] = _root.mdata.substr(3,1);
  15.    _root.hiary[cc4] = _root.mdata.substr(4,1);
  16.    _root.hiary[cc5] = _root.mdata.substr(5,1);
  17.    _root.hiary[cc6] = _root.mdata.substr(6,1);
  18.    _root.hiary[cc7] = _root.mdata.substr(7,1);
  19.    _root.hiary[cc8] = _root.mdata.substr(8,1);
  20.    _root.hiary[cc9] = _root.mdata.substr(9,1);
  21. }
  22. stop();
  23.