Frame 1
gr_game = "5A7DCF72";
loader = {};
Frame 2
loader.loadedbytes = getBytesLoaded();
loader.totalbytes = getBytesTotal();
loader.loadedkbytes = Math.ceil(loadedbytes / 1000);
loader.totalkbytes = Math.ceil(totalbytes / 1000);
if (loader.loadedbytes == loader.totalbytes) {
gotoAndPlay (4);
}
frame = int(loader.loadedbytes / (loader.totalbytes / 100));
loadBar.bar._width = frame;
Frame 3
gotoAndPlay (2);
Frame 4
function defineLayouts() {
ly11 = [[[0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 2], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [8, 0], [8, 0]], [[8, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 3], [0, 3]], [[0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0]]];
ly12 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly13 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly14 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly15 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 4], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
layout1 = [ly11, ly12, ly13, ly14, ly15];
ly21 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly22 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly23 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly24 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly25 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
layout2 = [ly21, ly22, ly23, ly24, ly25];
ly31 = [[[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0]]];
ly32 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly33 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly34 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 1], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
ly35 = [[[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]];
layout3 = [ly31, ly32, ly33, ly34, ly35];
layouts = [0, layout1, layout2, layout3];
}
function createTileList() {
delete tiles;
tiles = {};
tiles.types = new Array("ball", "bamboo", "char", "season", "wind", "flower", "dragon");
tiles.ball = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles.bamboo = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles.char = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles.season = new Array(1, 1, 1, 1, 1);
tiles.wind = new Array(1, 4, 4, 4, 4);
tiles.flower = new Array(1, 1, 1, 1, 1);
tiles.dragon = new Array(1, 4, 4, 4);
tiles.count = 0;
delete tiles2;
tiles2 = {};
tiles2.types = new Array("ball", "bamboo", "char", "season", "wind", "flower", "dragon");
tiles2.ball = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles2.bamboo = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles2.char = new Array(1, 4, 4, 4, 4, 4, 4, 4, 4, 4);
tiles2.season = new Array(1, 1, 1, 1, 1);
tiles2.wind = new Array(1, 4, 4, 4, 4);
tiles2.flower = new Array(1, 1, 1, 1, 1);
tiles2.dragon = new Array(1, 4, 4, 4);
}
function copyTiles() {
var _local3 = 0;
var _local2 = 0;
while (_local2 < tiles.types.length) {
var _local1 = 0;
while (_local1 < tiles[tiles.types[_local2]].length) {
if (_local1 > 0) {
_local3 = _local3 + tiles2[tiles2.types[_local2]][_local1];
}
tiles[tiles.types[_local2]][_local1] = tiles2[tiles2.types[_local2]][_local1];
_local1++;
}
if (_local3 == 0) {
tiles2[tiles.types[_local2]][0] = 0;
tiles[tiles.types[_local2]][0] = 0;
}
_local3 = 0;
_local2++;
}
}
function createTileList2() {
delete tiles;
tiles = {};
tiles.types = new Array("ball", "bamboo", "char", "season", "wind", "flower", "dragon");
tiles.ball = new Array(1, 0, 0, 2, 0, 0, 2, 0, 0, 0);
tiles.bamboo = new Array(1, 0, 0, 0, 2, 0, 0, 0, 2, 0);
tiles.char = new Array(1, 2, 0, 0, 0, 2, 0, 0, 0, 0);
tiles.season = new Array(1, 1, 1, 1, 1);
tiles.wind = new Array(1, 0, 2, 0, 0);
tiles.flower = new Array(0, 0, 0, 0, 0);
tiles.dragon = new Array(1, 2, 0, 2);
tiles.count = 61;
}
function createBoard() {
var _local1 = _root;
board.removeMovieClip();
_local1.createEmptyMovieClip("board", 5);
_local1.board._x = 23;
_local1.board._y = 30;
var layout = layouts[game.layout];
var levels = layout.length;
var bottomLayer = 0;
var topLayer = (levels - 1);
var count = 0;
shrinker = 87;
cellWidth = 41 * (shrinker / 100);
cellHeight = 50 * (shrinker / 100);
var he = (7 * (shrinker / 100));
var wi = (6 * (shrinker / 100));
if (!rRT) {
var z = 0;
while (z < levels) {
_local1["b" + z] = layout[z];
z++;
}
} else {
var xx = 0;
while (xx < 5) {
var yy = 0;
while (yy < 8) {
var zz = 0;
while (zz < 15) {
if (_local1["b" + xx][yy][zz][0] == 6) {
_local1["b" + xx][yy][zz][1] = 0;
}
if (_local1["b" + xx][yy][zz][0] != 8) {
_local1["b" + xx][yy][zz][0] = 0;
}
zz++;
}
yy++;
}
xx++;
}
}
var laye1 = {ra:"90", rb:"30", ga:"90", gb:"0", ba:"90", bb:"0", aa:"100", ab:"0"};
var laye0 = {ra:"85", rb:"0", ga:"85", gb:"0", ba:"85", bb:"0", aa:"100", ab:"0"};
var laye2 = {ra:"90", rb:"0", ga:"90", gb:"30", ba:"90", bb:"0", aa:"100", ab:"0"};
var laye3 = {ra:"90", rb:"0", ga:"90", gb:"0", ba:"90", bb:"30", aa:"100", ab:"0"};
var laye4 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
var arr = [laye0, laye1, laye2, laye3, laye4];
while (count == 0) {
var temp = chooseTile();
if (temp == 0) {
return;
}
var availPos1 = findSpots(bottomLayer);
var _local2 = findSpots(topLayer);
if (availPos1 == 0) {
bottomLayer++;
var availPos1 = findSpots(bottomLayer);
}
if (_local2 == 0) {
while (_local2 == 0) {
topLayer--;
_local2 = findSpots(topLayer);
}
}
var name1 = ["b" + bottomLayer];
var name2 = ["b" + topLayer];
var spot1 = random(availPos1.length);
var _local3 = random(_local2.length);
if (bottomLayer == topLayer) {
while (_local3 == spot1) {
_local3 = random(_local2.length);
}
}
var name = [(("t" + availPos1[spot1].y) + availPos1[spot1].x) + bottomLayer];
var name0 = [(("t" + _local2[_local3].y) + _local2[_local3].x) + topLayer];
depth = ((120 * bottomLayer) + ((11 * availPos1[spot1].y) + (10 * availPos1[spot1].x))) + 2000;
depth0 = ((120 * topLayer) + ((11 * _local2[_local3].y) + (10 * _local2[_local3].x))) + 2000;
if (temp[0] == "ball") {
board.attachMovie("ballT", name, depth);
board.attachMovie("ballT", name0, depth0);
} else if (temp[0] == "bamboo") {
board.attachMovie("bambooT", name, depth);
board.attachMovie("bambooT", name0, depth0);
} else if (temp[0] == "char") {
board.attachMovie("charT", name, depth);
board.attachMovie("charT", name0, depth0);
} else if (temp[0] == "season") {
board.attachMovie("seasonT", name, depth);
board.attachMovie("seasonT", name0, depth0);
} else if (temp[0] == "dragon") {
board.attachMovie("dragonT", name, depth);
board.attachMovie("dragonT", name0, depth0);
} else if (temp[0] == "flower") {
board.attachMovie("flowerT", name, depth);
board.attachMovie("flowerT", name0, depth0);
} else if (temp[0] == "wind") {
board.attachMovie("windT", name, depth);
board.attachMovie("windT", name0, depth0);
}
_local1.board[name].gotoAndStop(temp[1]);
_local1.board[name0].gotoAndStop(temp[2]);
_local1.board[name]._xscale = (_local1.board[name0]._xscale = shrinker);
_local1.board[name]._yscale = (_local1.board[name0]._yscale = shrinker);
_local1.board[name].name = name;
_local1.board[name].typeT = (_local1.board[name0].typeT = temp[0]);
_local1.board[name].kind = temp[1];
_local1.board[name].clicked = (_local1.board[name0].clicked = false);
_local1.board[name].ref = name1;
_local1.board[name].ref1 = ["r" + bottomLayer];
_local1.board[name].y = availPos1[spot1].y;
_local1.board[name].x = availPos1[spot1].x;
_local1.board[name].tt = _local1[name1][availPos1[spot1].y][availPos1[spot1].x][1];
_local1.board[name].lay = bottomLayer;
_local1.board[name0].name = name0;
_local1.board[name0].kind = temp[2];
_local1.board[name0].ref = name2;
_local1.board[name0].ref1 = ["r" + topLayer];
_local1.board[name0].y = _local2[_local3].y;
_local1.board[name0].x = _local2[_local3].x;
_local1.board[name0].tt = _local1[name2][_local2[_local3].y][_local2[_local3].x][1];
_local1.board[name0].lay = topLayer;
if (_local1[name1][availPos1[spot1].y][availPos1[spot1].x][1] == 1) {
_local1.board[name]._x = cellWidth * availPos1[spot1].x;
_local1.board[name]._y = cellHeight * availPos1[spot1].y;
if (bottomLayer != 0) {
_local1.board[name]._x = _local1.board[name]._x - (wi * bottomLayer);
_local1.board[name]._y = _local1.board[name]._y - (he * bottomLayer);
}
_local1[name1][availPos1[spot1].y][availPos1[spot1].x][0] = 9;
}
if (_local1[name1][availPos1[spot1].y][availPos1[spot1].x][1] == 2) {
_local1.board[name]._x = cellWidth * availPos1[spot1].x;
_local1.board[name]._y = (cellHeight * availPos1[spot1].y) + (cellHeight / 2);
if (bottomLayer != 0) {
_local1.board[name]._x = _local1.board[name]._x - (wi * bottomLayer);
_local1.board[name]._y = _local1.board[name]._y - (he * bottomLayer);
}
_local1[name1][availPos1[spot1].y][availPos1[spot1].x][0] = 9;
}
if (_local1[name1][availPos1[spot1].y][availPos1[spot1].x][1] == 3) {
_local1.board[name]._x = cellWidth * availPos1[spot1].x;
_local1.board[name]._y = (cellHeight * availPos1[spot1].y) - (cellHeight / 2);
if (bottomLayer != 0) {
_local1.board[name]._x = _local1.board[name]._x - (wi * bottomLayer);
_local1.board[name]._y = _local1.board[name]._y - (he * bottomLayer);
}
_local1[name1][availPos1[spot1].y][availPos1[spot1].x][0] = 9;
}
if (_local1[name2][_local2[_local3].y][_local2[_local3].x][1] == 1) {
_local1.board[name0]._x = cellWidth * _local2[_local3].x;
_local1.board[name0]._y = cellHeight * _local2[_local3].y;
if (bottomLayer != topLayer) {
_local1.board[name0]._x = _local1.board[name0]._x - (wi * topLayer);
_local1.board[name0]._y = _local1.board[name0]._y - (he * topLayer);
}
_local1[name2][_local2[_local3].y][_local2[_local3].x][0] = 9;
}
if (_local1[name2][_local2[_local3].y][_local2[_local3].x][1] == 2) {
_local1.board[name0]._x = cellWidth * _local2[_local3].x;
_local1.board[name0]._y = (cellHeight * _local2[_local3].y) + (cellHeight / 2);
if (bottomLayer != topLayer) {
_local1.board[name0]._x = _local1.board[name0]._x - (wi * topLayer);
_local1.board[name0]._y = _local1.board[name0]._y - (he * topLayer);
}
_local1[name2][_local2[_local3].y][_local2[_local3].x][0] = 9;
}
if (_local1[name2][_local2[_local3].y][_local2[_local3].x][1] == 3) {
_local1.board[name0]._x = cellWidth * _local2[_local3].x;
_local1.board[name0]._y = (cellHeight * _local2[_local3].y) - (cellHeight / 2);
_local1[name2][_local2[_local3].y][_local2[_local3].x][0] = 9;
}
if (_local1[name2][_local2[_local3].y][_local2[_local3].x][1] == 4) {
_local1.board[name0]._x = (cellWidth * _local2[_local3].x) + (cellWidth / 2);
_local1.board[name0]._y = (cellHeight * _local2[_local3].y) + (cellHeight / 2);
if (bottomLayer != topLayer) {
_local1.board[name0]._x = _local1.board[name0]._x - (wi * topLayer);
_local1.board[name0]._y = _local1.board[name0]._y - (he * topLayer);
}
_local1[name2][_local2[_local3].y][_local2[_local3].x][0] = 9;
}
}
}
function findSpots(layer) {
var _local3 = 0;
var spots = [];
var name = ["b" + layer];
var _local2 = 0;
while (_local2 < _root[name].length) {
var _local1 = 0;
while (_local1 < _root[name][0].length) {
if ((_root[name][_local2][_local1][1] > 0) && (_root[name][_local2][_local1][0] != 9)) {
spots[_local3] = {};
spots[_local3].x = _local1;
spots[_local3].y = _local2;
_local3++;
}
_local1++;
}
_local2++;
}
if (_local3 == 0) {
return(0);
}
return(spots);
}
function chooseTile() {
var cat = [];
var _local2 = 0;
if (tiles.ball[0] == 1) {
cat[_local2] = 0;
_local2++;
}
if (tiles.bamboo[0] == 1) {
cat[_local2] = 1;
_local2++;
}
if (tiles.char[0] == 1) {
cat[_local2] = 2;
_local2++;
}
if (tiles.season[0] == 1) {
cat[_local2] = 3;
_local2++;
}
if (tiles.wind[0] == 1) {
cat[_local2] = 4;
_local2++;
}
if (tiles.flower[0] == 1) {
cat[_local2] = 5;
_local2++;
}
if (tiles.dragon[0] == 1) {
cat[_local2] = 6;
_local2++;
}
if (_local2 == 0) {
return(0);
}
var typ = 0;
var tileData = [];
typ = random(cat.length);
n = tiles.types[cat[typ]];
switch (n) {
case "season" :
_local2 = 1;
var _local3 = [];
var _local1 = 1;
while (_local1 < tiles.season.length) {
if (tiles.season[_local1] > 0) {
_local3[_local2] = _local1;
_local2++;
}
_local1++;
}
_local2 = random(_local3.length);
if (_local2 == 0) {
_local2++;
}
tiles.season[_local3[_local2]] = tiles.season[_local3[_local2]] - 1;
var num2 = (_local2 + 1);
if (num2 == 0) {
num2++;
}
if (num2 > (_local3.length - 1)) {
num2 = 1;
}
tiles.season[_local3[num2]] = tiles.season[_local3[num2]] - 1;
if (_local3.length == 3) {
tiles.season[0] = 0;
}
tileData[0] = "season";
tileData[1] = _local3[_local2];
tileData[2] = _local3[num2];
season++;
break;
case "flower" :
_local2 = 1;
_local3 = [];
_local1 = 1;
while (_local1 < tiles.flower.length) {
if (tiles.flower[_local1] > 0) {
_local3[_local2] = _local1;
_local2++;
}
_local1++;
}
_local2 = random(_local3.length);
if (_local2 == 0) {
_local2++;
}
tiles.flower[_local3[_local2]] = tiles.flower[_local3[_local2]] - 1;
var num2 = (_local2 + 1);
if (num2 == 0) {
num2++;
}
if (num2 > (_local3.length - 1)) {
num2 = 1;
}
tiles.flower[_local3[num2]] = tiles.flower[_local3[num2]] - 1;
if (_local3.length == 3) {
tiles.flower[0] = 0;
}
tileData[0] = "flower";
tileData[1] = _local3[_local2];
tileData[2] = _local3[num2];
flower++;
break;
default :
_local2 = 1;
_local3 = [];
_local1 = 1;
while (_local1 < tiles[n].length) {
if (tiles[n][_local1] > 0) {
_local3[_local2] = _local1;
_local2++;
}
_local1++;
}
_local2 = random(_local3.length);
if (_local2 == 0) {
_local2++;
}
tiles[n][_local3[_local2]] = tiles[n][_local3[_local2]] - 2;
if (tiles[n][_local3[_local2]] <= 0) {
if (_local3.length == 2) {
tiles[n][0] = 0;
}
}
tileData[0] = n;
tileData[1] = _local3[_local2];
tileData[2] = _local3[_local2];
}
return(tileData);
}
function checkMatch() {
var _local1 = _root;
var _local3 = game.selections[1].name;
var _local2 = game.selections[2].name;
var ref1 = _local1.board[_local3].ref;
var x1 = _local1.board[_local3].x;
var y1 = _local1.board[_local3].y;
var ref2 = _local1.board[_local2].ref;
var x2 = _local1.board[_local2].x;
var y2 = _local1.board[_local2].y;
if (game.selections[1].typeT == game.selections[2].typeT) {
if ((game.selections[1].typeT == "flower") || (game.selections[1].typeT == "season")) {
if ((_local1.board[_local3].tt == 2) || (_local1.board[_local3].tt == 3)) {
if (_local1[ref1][y1 - 1][x1][0] == 8) {
_local1[ref1][y1 - 1][x1][0] = 0;
}
if (_local1[ref1][y1 + 1][x1][0] == 8) {
_local1[ref1][y1 + 1][x1][0] = 0;
}
}
if ((_local1.board[_local2].tt == 2) || (_local1.board[_local2].tt == 3)) {
if (_local1[ref2][y2 - 1][x2][0] == 8) {
_local1[ref2][y2 - 1][x2][0] = 0;
}
if (_local1[ref2][y2 + 1][x2][0] == 8) {
_local1[ref2][y2 + 1][x2][0] = 0;
}
}
if (game.selections[1].typeT == "season") {
sea.start();
} else {
wind.start();
}
_local1[ref1][y1][x1][0] = 6;
_local1[ref2][y2][x2][0] = 6;
tiles2[game.selections[1].typeT][game.selections[1].kind] = tiles2[game.selections[1].typeT][game.selections[1].kind] - 1;
tiles2[game.selections[2].typeT][game.selections[2].kind] = tiles2[game.selections[2].typeT][game.selections[2].kind] - 1;
_local1.board.attachMovie("fireWork", "f1", 9017);
_local1.board.attachMovie("fireWork", "f2", 9018);
_local1.board.f1._x = x1 * cellWidth;
_local1.board.f1._y = y1 * cellHeight;
_local1.board.f2._x = x2 * cellWidth;
_local1.board.f2._y = y2 * cellHeight;
if (hint.fHint) {
if ((_local1.board[hint.t1.name].name == _local1.board[_local3].name) || (_local1.board[hint.t1.name].name == _local1.board[_local2].name)) {
hint.fHint = false;
}
if ((_local1.board[hint.t2.name].name == _local1.board[_local3].name) || (_local1.board[hint.t2.name].name == _local1.board[_local2].name)) {
hint.fHint = false;
}
}
_local1.board[_local3].removeMovieClip();
_local1.board[_local2].removeMovieClip();
game.selections[0] = 1;
updateScore();
} else if (game.selections[1].kind == game.selections[2].kind) {
if ((_local1.board[_local3].tt == 2) || (_local1.board[_local3].tt == 3)) {
if (_local1[ref1][y1 - 1][x1][0] == 8) {
_local1[ref1][y1 - 1][x1][0] = 0;
}
if (_local1[ref1][y1 + 1][x1][0] == 8) {
_local1[ref1][y1 + 1][x1][0] = 0;
}
}
if ((_local1.board[_local2].tt == 2) || (_local1.board[_local2].tt == 3)) {
if (_local1[ref2][y2 - 1][x2][0] == 8) {
_local1[ref2][y2 - 1][x2][0] = 0;
}
if (_local1[ref2][y2 + 1][x2][0] == 8) {
_local1[ref2][y2 + 1][x2][0] = 0;
}
}
match.start();
tiles2[game.selections[1].typeT][game.selections[1].kind] = tiles2[game.selections[1].typeT][game.selections[1].kind] - 2;
_local1[ref1][y1][x1][0] = 6;
_local1[ref2][y2][x2][0] = 6;
_local1.board.attachMovie("fireWork", "f1", 9017);
_local1.board.attachMovie("fireWork", "f2", 9018);
_local1.board.f1._x = x1 * cellWidth;
_local1.board.f1._y = y1 * cellHeight;
_local1.board.f2._x = x2 * cellWidth;
_local1.board.f2._y = y2 * cellHeight;
if (hint.fHint) {
if ((_local1.board[hint.t1.name].name == _local1.board[_local3].name) || (_local1.board[hint.t1.name].name == _local1.board[_local2].name)) {
hint.fHint = false;
}
if ((_local1.board[hint.t2.name].name == _local1.board[_local3].name) || (_local1.board[hint.t2.name].name == _local1.board[_local2].name)) {
hint.fHint = false;
}
}
_local1.board[_local3].removeMovieClip();
_local1.board[_local2].removeMovieClip();
game.selections[0] = 1;
updateScore();
}
}
var myColor = new Color(_local1.board[_local3]);
var myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
myColor = new Color(_local1.board[_local2]);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
_local1.board[_local3].clicked = false;
_local1.board[_local2].clicked = false;
game.selections[0] = 1;
}
function startTimer() {
timer.minute = 20;
timer.second = 0;
timer.timeInt = setInterval(updateTime, 1000);
timer.bonus = 60;
}
function updateTime() {
timer.second--;
if (timer.second < 0) {
if (timer.minute == 0) {
gotoAndPlay (12);
}
timer.minute--;
timer.second = 59;
}
timer.bonus--;
if (timer.bonus < 0) {
timer.bonus = 0;
}
if (timer.second < 10) {
statBar.time.text = (timer.minute + ":0") + timer.second;
} else {
statBar.time.text = (timer.minute + ":") + timer.second;
}
}
function updateScore() {
game.score = game.score + (50 + timer.bonus);
timer.bonus = 60;
statBar.score.text = game.score;
tiles.count++;
if (tiles.count == 72) {
gotoAndPlay (11);
}
}
function changeBack(num) {
_root.back.removeMovieClip();
_root.createEmptyMovieClip("back", 4);
back._x = 0;
back._y = 0;
if (num > 12) {
switch (num) {
case 13 :
back.beginFill(16751001);
break;
case 14 :
back.beginFill(3381555);
break;
case 15 :
back.beginFill(6724044);
break;
case 16 :
back.beginFill(10066329);
break;
case 17 :
back.beginFill(16777215);
}
with (_root.back) {
moveTo(0, 0);
lineTo(550, 0);
lineTo(550, 400);
lineTo(0, 400);
lineTo(0, 0);
endFill();
}
} else {
var tDepth = 10;
var tTi = ("tile" + num);
back.attachMovie(tTi, "t11", tDepth);
tDepth++;
var w = back.t11._width;
var h = back.t11._height;
back.t11.removeMovieClip();
var xMax = Math.ceil(550 / w);
var yMax = Math.ceil(400 / h);
var y = 1;
while (y <= yMax) {
var x = 1;
while (x <= xMax) {
back.attachMovie(tTi, ("t" + y) + x, tDepth);
_root.back[("t" + y) + x]._x = w * x;
_root.back[("t" + y) + x]._y = h * y;
tDepth++;
x++;
}
y++;
}
}
}
function findHint() {
var _local1 = _root;
if (hint.fAT) {
hint.m = [];
var cnt = 0;
var num = 0;
var xx = hint.t1.sLayer;
while (xx > -1) {
var cA = ["b" + xx];
var _local3 = 0;
while (_local3 < 8) {
var _local2 = 0;
while (_local2 < 15) {
var cV = _local1[cA][_local3][_local2][0];
if ((cV == 0) || (cV == 6)) {
cnt++;
}
if ((cV != 0) && (cV != 6)) {
if (((_local1[cA][_local3][_local2 - 1][0] != 9) && (_local1[cA][_local3][_local2 - 1][0] != 8)) || ((_local1[cA][_local3][_local2 + 1][0] != 9) && (_local1[cA][_local3][_local2 + 1][0] != 8))) {
var n1 = ["b" + (xx + 1)];
if (((xx == 4) || (_local1[n1][_local3][_local2][0] == 0)) || (_local1[n1][_local3][_local2][0] == 6)) {
if ((game.layout == 1) && (_local1[cA] == _local1.b3)) {
if (_local1.b4[3][6][0] != 9) {
var name = [(("t" + _local3) + _local2) + xx];
hint.m[num] = {};
hint.m[num].name = name;
hint.m[num].typeT = _local1.board[name].typeT;
hint.m[num].kind = _local1.board[name].kind;
num++;
}
} else {
var name = [(("t" + _local3) + _local2) + xx];
hint.m[num] = {};
hint.m[num].name = name;
hint.m[num].typeT = _local1.board[name].typeT;
hint.m[num].kind = _local1.board[name].kind;
num++;
}
}
}
}
_local2++;
}
_local3++;
}
if (cnt == 120) {
hint.t1.sLayer--;
}
cnt = 0;
xx--;
}
hint.fAT = false;
hint.jma = true;
} else {
var ii = 0;
while (ii < hint.m.length) {
if (_local1.board[hint.m[ii].name]._name != undefined) {
var jj = 0;
while (jj < hint.m.length) {
if (hint.m[jj].name != hint.m[ii].name) {
if (_local1.board[hint.m[jj].name]._name != undefined) {
if (hint.m[jj].typeT == hint.m[ii].typeT) {
if ((hint.m[jj].typeT != "flower") && (hint.m[jj].typeT != "season")) {
if (hint.m[jj].kind == hint.m[ii].kind) {
hint.fHint = true;
hint.t1.name = hint.m[jj].name;
hint.t1.index = jj;
hint.t2.name = hint.m[ii].name;
hint.t2.index = ii;
hint.jma = false;
return;
}
} else if (hint.m[jj].typeT == hint.m[ii].typeT) {
hint.fHint = true;
hint.t1.name = hint.m[jj].name;
hint.t1.index = jj;
hint.t2.name = hint.m[ii].name;
hint.t2.index = ii;
hint.jma = false;
} else {
jj++;
continue;
ii++;
// unexpected jump
if (!hint.fHint) {
if (hint.jma) {
hint.fHint = true;
timer.newInt = setInterval(placeNM, 6500);
} else {
hint.fAT = true;
}
}
}
}
}
}
jj++;
}
}
ii++;
}
if (!hint.fHint) {
if (hint.jma) {
hint.fHint = true;
timer.newInt = setInterval(placeNM, 6500);
} else {
hint.fAT = true;
}
}
}
}
function placeNM() {
var _local1 = _root;
clearInterval(timer.newInt);
if (_local1.mm._x == undefined) {
_local1.click.start();
_local1.attachMovie("noMatch", "confirm2", 10095);
_local1.confirm2._x = 275;
_local1.confirm2._y = 200;
}
}
function tileFunc() {
}
game = {};
game.score = 0;
game.layout = random(3);
game.layout++;
game.selections = [];
game.selections[0] = 1;
game.selections[1] = {};
game.selections[2] = {};
game.js = true;
game.paused = false;
hint = {};
hint.fHint = false;
hint.fAT = true;
hint.t1 = {};
hint.t1.sLayer = 4;
hint.t2 = {};
hint.m = [];
timer = {};
tileFunc.prototype = new MovieClip();
tileFunc.prototype.onRollOver = function () {
if (!game.paused) {
var _local1 = new Color(this);
myColorTransform = new Object();
var myColorTransform = {ra:"50", rb:"244", ga:"40", gb:"112", ba:"12", bb:"90", aa:"100", ab:"0"};
_local1.setTransform(myColorTransform);
}
};
tileFunc.prototype.onReleaseOutside = function () {
if (!this.clicked) {
var _local1 = new Color(this);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local1.setTransform(myColorTransform);
}
};
tileFunc.prototype.onRollOut = function () {
if (!this.clicked) {
var _local1 = new Color(this);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local1.setTransform(myColorTransform);
}
};
tileFunc.prototype.onRelease = function () {
var _local1 = this;
var _local2 = _root;
if (!game.paused) {
if (game.layout == 1) {
if (_local2[_local1.ref] == _local2.b3) {
if (_local2.b4[3][6][0] == 9) {
return;
}
}
} else {
var _local3 = _local2.game.selections[0];
if (_local2.game.selections[_local3 - 1].name != _local1.name) {
if ((_local2[_local1.ref][_local1.y][_local1.x - 1][0] != 9) || (_local2[_local1.ref][_local1.y][_local1.x + 1][0] != 9)) {
if ((_local2[_local1.ref][_local1.y][_local1.x - 1][0] != 8) || (_local2[_local1.ref][_local1.y][_local1.x + 1][0] != 9)) {
if ((_local2[_local1.ref][_local1.y][_local1.x - 1][0] != 9) || (_local2[_local1.ref][_local1.y][_local1.x + 1][0] != 8)) {
var j = (_local1.lay + 1);
if (((_local2["b" + j][_local1.y][_local1.x][0] == 0) || (_local1.lay == 4)) || (_local2["b" + j][_local1.y][_local1.x][0] == 6)) {
click.start();
_local2.game.selections[_local3].name = _local1.name;
_local2.game.selections[_local3].typeT = _local1.typeT;
_local2.game.selections[_local3].kind = _local1.kind;
_local2.game.selections[0]++;
_local1.clicked = true;
if (_local2.game.selections[0] == 3) {
_local2.checkMatch();
}
}
}
}
}
} else {
_local2.game.selections[_local3 - 1].name = "";
_local2.game.selections[0]--;
var myColor = new Color(_local1);
var myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
_local1.clicked = false;
}
}
}
};
Object.registerClass("ballT", tileFunc);
Object.registerClass("bambooT", tileFunc);
Object.registerClass("charT", tileFunc);
Object.registerClass("dragonT", tileFunc);
Object.registerClass("seasonT", tileFunc);
Object.registerClass("windT", tileFunc);
Object.registerClass("flowerT", tileFunc);
click = new Sound();
click.attachSound("click");
match = new Sound();
match.attachSound("match");
sea = new Sound();
sea.attachSound("sea");
wind = new Sound();
wind.attachSound("wind");
keyListener = new Object();
keyListener.onKeyUp = function () {
var _local1 = _root;
if (Key.getCode() == 80) {
if (game.paused) {
timer.timeInt = setInterval(updateTime, 1000);
_local1.paused.removeMovieClip();
game.paused = false;
} else {
clearInterval(timer.timeInt);
_local1.attachMovie("paused", "paused", 10000);
_local1.paused._x = 275;
_local1.paused._y = 200;
game.paused = true;
}
}
};
rRT = false;
defineLayouts();
Frame 5
start.onRollOver = function () {
this.bar.gotoAndStop(2);
};
start.onRollOut = function () {
this.bar.gotoAndStop(1);
};
start.onRelease = function () {
click.start();
gotoAndPlay (8);
};
ins.onRollOver = function () {
this.bar.gotoAndStop(2);
};
ins.onRollOut = function () {
this.bar.gotoAndStop(1);
};
ins.onRelease = function () {
click.start();
gotoAndStop (6);
};
preview.onRollOver = function () {
this.bar.gotoAndStop(2);
};
preview.onRollOut = function () {
this.bar.gotoAndStop(1);
};
preview.onRelease = function () {
click.start();
gotoAndPlay (7);
};
_root.onEnterFrame = function () {
};
stop();
Frame 6
back.onRelease = function () {
_root.click.start();
gotoAndPlay (5);
};
stop();
Frame 7
mm.onRelease = function () {
gotoAndPlay (4);
};
dl.onRelease = function () {
delete game;
delete rRT;
delete keyListener;
delete timer;
delete match;
delete sea;
delete click;
delete wind;
delete hint;
delete defineLayouts;
delete createTileList;
delete copyTiles;
delete createTileList2;
delete createBoard;
delete findSpots;
delete chooseTile;
delete checkMatch;
delete startTimer;
delete updateTime;
delete updateScore;
delete changeBack;
delete findHint;
delete placeNM;
delete tileFunc;
delete changeFrames;
delete loader;
delete frame;
delete ly11;
delete ly12;
delete ly13;
delete ly14;
delete ly15;
delete ly21;
delete ly22;
delete ly23;
delete ly24;
delete ly25;
delete ly31;
delete ly32;
delete ly33;
delete ly34;
delete ly35;
delete layout1;
delete layout2;
delete layout3;
delete layouts;
delete backG;
delete tiles;
delete tiles2;
delete shrinker;
delete cellWidth;
delete cellHeight;
delete b0;
delete b1;
delete b2;
delete b3;
delete b4;
delete n;
delete depth;
delete depth0;
delete season;
delete flower;
delete onEnterFrame;
delete myColorTransform;
getURL ("http://www.flowgo.com/page.cfm?lk=40657", "_self", "POST");
};
stop();
Frame 8
endG.removeMovieClip();
Frame 9
function changeFrames() {
gotoAndPlay (8);
}
endG.swapDepths(25000);
endG.onRelease = function () {
clearInterval(timer.timeInt);
statBar.removeMovieClip();
back.removeMovieClip();
board.removeMovieClip();
confirm2.removeMovieClip();
bm.removeMovieClip();
confirm.removeMovieClip();
gotoAndPlay (12);
this.removeMovieClip();
};
hint.m = [];
Key.addListener(keyListener);
var backg = random(17);
backg++;
changeBack(backg);
if (!rRT) {
createTileList();
}
copyTiles();
createBoard();
if (game.js) {
startTimer();
game.js = false;
} else {
timer.timeInt = setInterval(updateTime, 1000);
}
_root.attachMovie("statBar", "statBar", 9001);
statBar._x = 211.4;
statBar._y = 381;
statBar.score.text = game.score;
if (timer.second < 10) {
statBar.time.text = (timer.minute + ":0") + timer.second;
} else {
statBar.time.text = (timer.minute + ":") + timer.second;
}
_root.hint.fHint = false;
_root.hint.fAT = true;
_root.onEnterFrame = function () {
};
stop();
Frame 11
function go() {
clearInterval(timer.timeInt);
gotoAndPlay (8);
}
endG.removeMovieClip();
qwan.gotoAndPlay("talking");
rRT = false;
clearInterval(timer.timeInt);
timer.timeInt = setInterval(go, 1000);
statBar.removeMovieClip();
back.removeMovieClip();
board.removeMovieClip();
defineLayouts();
game.layout++;
hint.fHint = false;
hint.fAT = true;
if (game.layout > 3) {
game.layout = 1;
}
game.score = game.score + 5000;
_root.onEnterFrame = function () {
};
stop();
Frame 12
clearInterval(timer.timeInt);
statBar.removeMovieClip();
back.removeMovieClip();
board.removeMovieClip();
confirm2.removeMovieClip();
endG.removeMovieClip();
bm.removeMovieClip();
confirm.removeMovieClip();
score.text = game.score;
score = game.score;
gcode = _level0.gcode;
gr_game = "5A7DCF72";
gameID = "5A7DCF72";
submit.onRelease = function () {
delete game;
delete rRT;
delete keyListener;
delete timer;
delete match;
delete sea;
delete click;
delete wind;
delete hint;
delete defineLayouts;
delete createTileList;
delete copyTiles;
delete createTileList2;
delete createBoard;
delete findSpots;
delete chooseTile;
delete checkMatch;
delete startTimer;
delete updateTime;
delete updateScore;
delete changeBack;
delete findHint;
delete placeNM;
delete tileFunc;
delete changeFrames;
delete loader;
delete frame;
delete ly11;
delete ly12;
delete ly13;
delete ly14;
delete ly15;
delete ly21;
delete ly22;
delete ly23;
delete ly24;
delete ly25;
delete ly31;
delete ly32;
delete ly33;
delete ly34;
delete ly35;
delete layout1;
delete layout2;
delete layout3;
delete layouts;
delete backG;
delete tiles;
delete tiles2;
delete shrinker;
delete cellWidth;
delete cellHeight;
delete b0;
delete b1;
delete b2;
delete b3;
delete b4;
delete n;
delete depth;
delete depth0;
delete season;
delete flower;
delete onEnterFrame;
delete myColorTransform;
if (score == 0) {
score = 5;
}
getURL ("game.cfm", "_self", "POST");
};
mm.onRelease = function () {
gotoAndPlay (4);
};
dl.onRelease = function () {
delete game;
delete rRT;
delete keyListener;
delete timer;
delete match;
delete sea;
delete click;
delete wind;
delete hint;
delete defineLayouts;
delete createTileList;
delete copyTiles;
delete createTileList2;
delete createBoard;
delete findSpots;
delete chooseTile;
delete checkMatch;
delete startTimer;
delete updateTime;
delete updateScore;
delete changeBack;
delete findHint;
delete placeNM;
delete tileFunc;
delete changeFrames;
delete loader;
delete frame;
delete ly11;
delete ly12;
delete ly13;
delete ly14;
delete ly15;
delete ly21;
delete ly22;
delete ly23;
delete ly24;
delete ly25;
delete ly31;
delete ly32;
delete ly33;
delete ly34;
delete ly35;
delete layout1;
delete layout2;
delete layout3;
delete layouts;
delete backG;
delete tiles;
delete tiles2;
delete shrinker;
delete cellWidth;
delete cellHeight;
delete b0;
delete b1;
delete b2;
delete b3;
delete b4;
delete n;
delete depth;
delete depth0;
delete season;
delete flower;
delete onEnterFrame;
delete myColorTransform;
getURL ("http://www.flowgo.com/page.cfm?lk=40657", "_self", "POST");
};
_root.onEnterFrame = function () {
};
stop();
Symbol 16 MovieClip [seasonT] Frame 1
stop();
Symbol 16 MovieClip [seasonT] Frame 2
stop();
Symbol 16 MovieClip [seasonT] Frame 3
stop();
Symbol 16 MovieClip [seasonT] Frame 4
stop();
Symbol 25 MovieClip [windT] Frame 1
stop();
Symbol 25 MovieClip [windT] Frame 2
stop();
Symbol 25 MovieClip [windT] Frame 3
stop();
Symbol 25 MovieClip [windT] Frame 4
stop();
Symbol 34 MovieClip [flowerT] Frame 1
stop();
Symbol 34 MovieClip [flowerT] Frame 2
stop();
Symbol 34 MovieClip [flowerT] Frame 3
stop();
Symbol 34 MovieClip [flowerT] Frame 4
stop();
Symbol 41 MovieClip [dragonT] Frame 1
stop();
Symbol 41 MovieClip [dragonT] Frame 2
stop();
Symbol 41 MovieClip [dragonT] Frame 3
stop();
Symbol 60 MovieClip [charT] Frame 1
stop();
Symbol 60 MovieClip [charT] Frame 2
stop();
Symbol 60 MovieClip [charT] Frame 3
stop();
Symbol 60 MovieClip [charT] Frame 4
stop();
Symbol 60 MovieClip [charT] Frame 5
stop();
Symbol 60 MovieClip [charT] Frame 6
stop();
Symbol 60 MovieClip [charT] Frame 7
stop();
Symbol 60 MovieClip [charT] Frame 8
stop();
Symbol 60 MovieClip [charT] Frame 9
stop();
Symbol 79 MovieClip [bambooT] Frame 1
stop();
Symbol 79 MovieClip [bambooT] Frame 2
stop();
Symbol 79 MovieClip [bambooT] Frame 3
stop();
Symbol 79 MovieClip [bambooT] Frame 4
stop();
Symbol 79 MovieClip [bambooT] Frame 5
stop();
Symbol 79 MovieClip [bambooT] Frame 6
stop();
Symbol 79 MovieClip [bambooT] Frame 7
stop();
Symbol 79 MovieClip [bambooT] Frame 8
stop();
Symbol 79 MovieClip [bambooT] Frame 9
stop();
Symbol 98 MovieClip [ballT] Frame 1
stop();
Symbol 98 MovieClip [ballT] Frame 2
stop();
Symbol 98 MovieClip [ballT] Frame 3
stop();
Symbol 98 MovieClip [ballT] Frame 4
stop();
Symbol 98 MovieClip [ballT] Frame 5
stop();
Symbol 98 MovieClip [ballT] Frame 6
stop();
Symbol 98 MovieClip [ballT] Frame 7
stop();
Symbol 98 MovieClip [ballT] Frame 8
stop();
Symbol 98 MovieClip [ballT] Frame 9
stop();
Symbol 116 MovieClip [noMatch] Frame 1
sRT.onRelease = function () {
var _local2 = _root;
_local2.hint.fHint = false;
_local2.hint.fAT = true;
_local2.click.start();
_local2.rRT = true;
_local2.game.score = _local2.game.score - 500;
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm2.removeMovieClip();
};
sSL.onRelease = function () {
var _local2 = _root;
_local2.hint.fHint = false;
_local2.hint.fAT = true;
_local2.click.start();
_local2.rRT = false;
_local2.defineLayouts();
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm2.removeMovieClip();
};
sDL.onRelease = function () {
var _local2 = _root;
_local2.hint.fHint = false;
_local2.hint.fAT = true;
_local2.click.start();
_local2.rRT = false;
_local2.defineLayouts();
_local2.game.layout++;
if (_local2.game.layout == 4) {
_local2.game.layout = 1;
}
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm2.removeMovieClip();
};
Symbol 121 MovieClip [confirm] Frame 1
sRT.onRelease = function () {
var _local2 = _root;
_local2.game.selections[0] = 1;
_local2.click.start();
_local2.rRT = true;
_local2.game.score = _local2.game.score - 200;
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm.removeMovieClip();
};
sSL.onRelease = function () {
var _local2 = _root;
_local2.game.selections[0] = 1;
_local2.click.start();
_local2.rRT = false;
_local2.defineLayouts();
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm.removeMovieClip();
};
sDL.onRelease = function () {
var _local2 = _root;
_local2.game.selections[0] = 1;
_local2.click.start();
_local2.rRT = false;
_local2.defineLayouts();
_local2.game.layout++;
if (_local2.game.layout == 4) {
_local2.game.layout = 1;
}
clearInterval(_local2.timer.timeInt);
_local2.board.removeMovieClip();
var _local1 = 0;
while (_local1 < _local2.levels) {
_local2["b" + _local1] = [];
_local1++;
}
_local2.back.removeMovieClip();
_local2.changeFrames();
_local2.statBar.removeMovieClip();
_local2.confirm.removeMovieClip();
};
no.onRelease = function () {
_root.click.start();
_root.confirm.removeMovieClip();
};
Symbol 189 MovieClip [backMenu] Frame 1
t1.onRelease = function () {
_root.click.start();
_root.changeBack(1);
};
t2.onRelease = function () {
_root.click.start();
_root.changeBack(2);
};
t3.onRelease = function () {
_root.click.start();
_root.changeBack(3);
};
t4.onRelease = function () {
_root.click.start();
_root.changeBack(4);
};
t5.onRelease = function () {
_root.click.start();
_root.changeBack(5);
};
t6.onRelease = function () {
_root.click.start();
_root.changeBack(6);
};
t7.onRelease = function () {
_root.click.start();
_root.changeBack(7);
};
t8.onRelease = function () {
_root.click.start();
_root.changeBack(8);
};
t9.onRelease = function () {
_root.click.start();
_root.changeBack(9);
};
t10.onRelease = function () {
_root.click.start();
_root.changeBack(10);
};
t11.onRelease = function () {
_root.click.start();
_root.changeBack(11);
};
t12.onRelease = function () {
_root.click.start();
_root.changeBack(12);
};
t13.onRelease = function () {
_root.click.start();
_root.changeBack(13);
};
t14.onRelease = function () {
_root.click.start();
_root.changeBack(14);
};
t15.onRelease = function () {
_root.click.start();
_root.changeBack(15);
};
t16.onRelease = function () {
_root.click.start();
_root.changeBack(16);
};
t17.onRelease = function () {
_root.click.start();
_root.changeBack(17);
};
done.onRelease = function () {
_root.click.start();
_root.bM.removeMovieClip();
};
Symbol 200 MovieClip [statBar] Frame 1
cb.onRelease = function () {
var _local1 = _root;
_local1.click.start();
_local1.attachMovie("backMenu", "bM", 9010);
_local1.bM._x = 275;
_local1.bm._y = 200;
};
reshuffle.onRelease = function () {
var _local1 = _root;
_local1.click.start();
_local1.attachMovie("confirm", "confirm", 9019);
_local1.confirm._x = 275;
_local1.confirm._y = 200;
};
Symbol 231 MovieClip [firework] Frame 16
this.removeMovieClip();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 291 MovieClip Frame 104
gotoAndPlay ("still");
Symbol 291 MovieClip Frame 176
gotoAndPlay ("talking");
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
buynow.onRollOver = function () {
this.bar.gotoAndStop(2);
};
buynow.onRollOut = function () {
this.bar.gotoAndStop(1);
};
TS_timeLeft = _root.SGRAMinutesLeft();
if (_root.version != 1) {
if (_root.TS_mode == "under60") {
} else if (_root.TS_mode == "over60") {
gotoAndStop ("five");
}
}
Symbol 300 MovieClip Frame 7
TS_fiveLeft = _root.TS_showFiveTimer();
TS_fivePlayed = _root.TS_fivePlayed;
Symbol 333 MovieClip Frame 104
gotoAndPlay ("still");