Frame 1
_global.gFloors = new Array();
_global.gFloors.push("");
_global.gBaseObjs = new Array();
_global.gBaseObjs.push("");
_global.gBaseMapArray = new Array();
_global.gBaseMapArray.push("");
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000DD0000000000", "00000000WRWRWRWRDU0000000000000000WNF1F1F1F1F10000000000000000WNF1F1F1F1F1F1F1000000000000WNF1F1F1F1F1F1F1F1000000WTWTWTF1F10000F1F1F1F1F100WLF1F1F1F1F10000F0F1F1F1F100WLF1F1F1F1F100000000F1F1F100WLF1F1F1F00000000000F1F1F100WLF1F1F10000F000F1F1F1F1F100WLF1F1F1F1F1F1F1F1F0F1F100000000F1F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000", "WCWRWTWTWRWTWRDUWR0000000000WLF1F1F0F1F1F1F1F10000000000WNF100F0F0F100F1F1F1F1000000WNF1F1F1F1F1F1F1F1F1F1F10000WLF1F0F10000F1F100F1F0F1F100WNF1F1F100F1F1F1F1F1F1F1F100WNF100F1F1F1F0F100F100F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WNF1F1F1F0F100F1F0F1F0F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1000000F1F1F0F100F100F1F1F1000000000000F1F1F1F1F1F1F100000000000000F1F1F1F1F1F10000000000000000DD000000DD0000000000", "WCWRWRWRDU00WR00DU0000000000WLF1F1F1F100F0F1F10000000000WLF1F1F10000F1F1F1F1F1F00000WLF1F1F100F1F1F1F1F1F1F1DR00WLF1F1F100F1F1F1F1F1F1000000WLF1F1F100F1F1F1F1F1F1000000WLF1F1F1F000F1F1F10000000000WLF1F1F1F1F0000000000000000000F1F1F1F1F1F1F1F1F1F1F1DR000000F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F0F1F100000000000000F1F1F1F1F1F10000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000000000000000000000000000WDWSWSWSWSWSWSWSWS0000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F0F20000000000WMF0F0F0F0F0F0F0F20000000000WMF2F2F2F2F2F2F0F2DR00000000WMF2F2F2F2F2F2F0F20000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F200000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["000000000000000000000000000000000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLF1F1F1F0F0F1F1F1000000WCWRWUF0F1F1F1F1F1F1F1F10000WLF1F1F1F1F1F1F1F0F1F1F1F100DLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1F0F1F1F0F1F1F10000F1F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1F100F00000000000000000F1F1F1000000000000000000000000DD000000000000", "0000000000WRWRDUWR000000000000000000WNF1F1F1F10000000000000000WNF1F1F1F1F1F1F10000000000WNF1F1F1F1F1F1F0F1F100000000F1F1F1F1000000F1F1F0F1000000F1F1F10000000000F1F1F1000000F1F1F1F1F1F1F0F1F1F1F1000000F0F1F1F1F1F1F1F1F1F1F1000000F1F1F10000000000F1F1F1000000F1F1F1F1000000F1F1F1F100000000F1F1F1F1F1F0F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F10000000000000000000000DD000000000000", "0000000000WTWTDUWT00000000000000000000F1F1F1F1000000000000000000F1F1F1F1F1F10000000000000000F1F1F1F1F1F10000000000000000F0F1F1F1F10000000000000000000000F1F1F000F1F1F000000000000000F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1F1DR000000000000F1F1F000F1F1F00000000000F0F1F1F1F1000000000000000000F1F1F1F1F1F10000000000000000F1F1F1F1F1F1000000000000000000F1F1F1F100000000000000000000000000000000000000", "WCWRWRWRWR00WRWR000000000000WLF1F1F1F100F0F0F00000000000WLF10000F100F1F1F1F1F1000000DLF10000F100F1F1F0F1F1F10000WLF100F0F1F1F1F10000F1F10000WLF1F1F1F1F1F1F10000F1F1F100WLF1F1F1F100F0F1F1F1F1F1F100WLF100000000000000000000F1DRDLF1F1F1F10000F1F1F1F1F1F100WLF1F1F0F1F1F1F1F1F0F1F100000000F1F1F1F0F1F1F1F1F1F1000000000000F1F1F100F1F1F10000000000000000F1F1F1F1F1000000000000000000000000000000000000", "000000000000000000000000000000000000000000000000000000000000WDWSWSWSWSWSWSWSWS0000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F0F2F0F0F20000000000WMF2F2F2F0F2F2F2F20000000000DLF2F2F2F0F2F2F2F20000000000WMF2F2F2F0F2F2F2F20000000000WMF2F2F0F0F0F2F2F2DR00000000WMF2F2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000WRWTWTWTWTWR00000000000000WLF1F1F1F1F1F100000000000000WNF0F1F1F1F1F1F1000000000000WNF0F1F1F1F1F1F1F1F000000000WNF1F1F1F1F1F1F1F1F100WCWTWTWUF1F1F1F1F000F1F1F100WLF1F1F1F1F1F1000000F1F1F100DLF1F1F1F1F1F10000F0F1F1F100WLF1F1F1F1F1F00000F1F1F1F100000000000000000000F1F1F1F10000000000000000F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000F1F1F1F10000000000000000000000DD000000000000", "000000WDWRWRWRDUWR0000000000000000WMF1F1F1F1F10000000000000000WMF1F1F1F1F10000000000000000WMF0F1F1F1F1F100000000000000WMF0F1F1F1F0F100000000000000WMF0F1F1F1F1F100000000000000WMF0F0F1F1F1F000000000000000WMF1F1F1F1F1F100000000000000F1F1F1F1F0F1F100000000000000F1F1F1F1F1F1F000000000000000F1F0F1F1F1F0F10000000000000000F1F1F1F1F1000000000000000000F0F0F1F1F1000000000000000000000000DD000000000000", "000000000000WRDUWR0000000000000000000000F1F1F10000000000000000000000F0F1F10000000000000000000000F0F1F100000000000000000000WTF1F1F1F10000000000000000WTF1F1F1F1F100000000000000WTF1F1F1F1F1F1F1000000DLF1F1F1F1F1F0F1F1F1F1F1F1DRWLF1F1F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1F100000000000000000000F1F1F1000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000F1F1F1F100000000000000000000F1F1F1F100000000000000000000F1F1F1F100000000000000000000F1F1F1F10000000000F0F1F10000F1000000F0F1000000F1F1F1F100F1F100F1F1F1F100DLF1F1F1F1F1F1F1F1F1F1F1F1DR00F1F1F1F1F1F1F1F1F1F1F1F1000000F1F1F1F0F1F100F1F1F1F0000000F1F10000F1F10000F1F100000000000000F1F1F1F1000000000000000000000000F100000000000000000000000000DD000000000000", "000000000000000000000000000000000000000000000000000000000000WDWSWSWSWSDUWSWSWS0000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F2DR00000000WMF2F2F0F2F2F2F2F20000000000WMF2F2F2F2F2F0F2F20000000000WMF2F2F2F2F2F0F2F20000000000WMF2F2F0F0F0F2F2F20000000000DLF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F0F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000000000000000000000ZZ00000000F0F1F0F0F1F000000000000000F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F1F1F100000000F1F1F1F10000F1F1F1F100000000F0F1F1F0000000F1F1F100000000F0F1F1000000F0F1F1F100000000F1F1F1F10000F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F10000000000000000000000F1F1000000000000000000000000F1F100000000000000000000000000DD000000000000", "000000000000WRDUWR000000000000F1F1F1F000F1F1F1F10000000000F100F1F100F1F1F1F1F100000000F100F1F100F1F100F1F1F1000000F100F1F100F1F100F1F1F1000000F1F1F1F1F1F1F100F100F1F10000F0F0F0F1F1F0F100F100F0F10000F1F1F1F1F1F0F100F1F000F10000F100F1F100000000F1F1F1F10000F1F1F1F1F1F1F1F1F1F10000000000000000F1F1F1F00000000000000000F1F1F1F1F1F1F1F1000000000000DD0000F1F1F1F1000000000000000000000000DD0000000000", "000000DU00000000DU00000000000000F0F1F00000F1F1F10000000000F1F1F1F1F100F1F1F1F100000000F1F1F1F1F100F1F1F1F1F1000000F0F1F1F1F100F1F1F1F1F1F1000000F1F1F1F10000F1F0F1F1F10000F1F1F1F1F100000000F1F10000DLF1F1F1F1F100000000F100000000F1F1F1F1F10000F1F1F10000000000F1F1F1F000F1F0F1F1F1000000000000000000F1F1F1F1F1000000000000000000F1F1F1F10000000000000000000000F1F1000000000000000000000000000000000000", "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F1F1F1F0000000000000000000F0F1F1F1F1F000000000000000F0F1F1F1F1F1F100000000F1F1F1F1F1F1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1000000F1F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F1F0000000000000F0F1F1F1F1F100000000000000000000F1F1F1F00000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000000000000000000000000000WDWSWSWSWSWSWSWSWS0000000000WMF2F2F2F2F2F2F2F20000000000DLF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F0F2F20000000000WMF2F2F2F2F2F0F2F20000000000WMF2F0F0F0F0F0F2F20000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F20000000000WMF2F2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A10703DS1306B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0813", "S10603S20305B20805S11105M61206S10107B20407S21107B20608QB0909S10310S10810DE0712", "S10101S30201C40301C30302B20402S30502S20103M10403B10204B21004S20805S10406B20606M41106M30507S20208B10408B30808B11008S30909B20410S10710DE0413DE0813", "C10601S10701S10302B21102S20303S20603DS1203M50504S10904S20106B30406QC0606B30507S10708DS1208O30609S20610B10810M50611", "P10503C50903C61003P10304S30704O60505B40905B40306B40406B40506B40606B40706B40806B40906S30407S30807B40907P10408S30608M40708B40908S30509P10310P10410S10610B80810"], ["C50603C60703B30304S10605B30805M20407S11007DS1307B20608B30908S10609B21111DE0713", "S10602M30703B30903S20404B31104S20606B20806S21106B10207O40707S20209B20810M10910S11110M10611DE0713", "S10802S10503B20404M30504B30805M41005B21205S20706S11107DS1307B30808B21208B20409M30709M30810S10511S20611OB0811S10812", "S20301C50601C60701C50801S10602B30803S11003B30304M30205B30606M31006DS1307S10408B30309M30809B20909S20210B20510M30710S10911S10612", "P10503C10803S20404S20704S10904P10405B40605B40805B40905P10406B40606M30906B40607S10707M30408B40608P10908B40509B40609B40709S10610"], ["M50901B00402A20403S10603B21203S20505B20805S11205S10407B30907B30608O21108S10910DE0713", "QE0403S10503B00404B30804B00405S20805B00406B30506B30906S10807B30708S30509B30909B20410B30810B00412A30512DE0713", "B00602A20603S20803S20606S10207B20607M40907QD1107DS1307S30708M40409S10809M40510", "S20702S30802M50603S30703S10803B10105C11005S10206M20406M41106DS1307M20308S10608M41008B20509B31209S10710S20511S10811QF0712", "S20403P10503S20704B80904B40505M30905P10406S20606B40806M30507B40807B40508B40608B40708S21008P10909B00510A30610B40810"], ["C60401S30501C50601C50701S30801C60901OA0702S31002S30603S20404S20904B00205B20505A20206B20806S11106S10307S10508S10908M60710DE0713", "S30101S20201B20401S30402S20103M40304M40604M40905O11105B20106B20206B30306S20506B30606B11106M30307B30607S30707B11007S10108S31208M30610B30810S20911DE0312DE0813", "C60201C50401S10103M30903B20104M31104M50305S10505B20905S31205S10307QA1007B30509B30809S20710S11110S30811OD0911", "S10703B30903C40504B31004C30405S30705S11005S20506M20307O50707S30907M20408S30508S10708S11108S20909B21109B20410S20610M60710B30911", "C50703C60803C50903P10604P10605B40805M40506B40806B40407B40507B40607B40707B40807S30908B90409M40609P10709S30510S30810"]]);
_global.gBaseMapArray.push([4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000DD0000000000", "000000000000000000000000000000WCWRWRWRWRWRWRDUWRWR00000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F0F1F1F1F1F1F100000000WLF1F1F1F1F1F1F0F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F0F1F1F1F100000000WLF1F1F0F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F0F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWR0000000000000000WLF1F1F1F1F10000000000000000WLF1F0F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F00000000000000000WLF1F1F1F1F1DR00000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF0F0F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWRWR00000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F0F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLFYFYFYFYFYFYF1F1F100000000WLF1F1F1F1F0F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F0F1F1F1F100000000WLF1F1F1F0F1F1F1F1F100000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF1F1F0F1F1F1F0F0F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F0F1F1F1F100000000DLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F0F1F1F1F1DR000000WLF1F1F1F1F1F1F1F1F100000000WLF1F0F1F1F1F1F0F1F100000000WLF1F0F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWRWR00000000WLF1F1F1F1F1F1F1F0F000000000WLF1F1F1F1F1F1F1F1F100000000000000FXF1F1F100000000000000000000FXF0F1F000000000000000000000FXF1F1F100000000000000000000FXF1F1F100000000000000000000FXF1F0F100000000000000000000FXF1F1F100000000000000000000FXF1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000WCWRDUWR00000000000000000000WLF0F1F100000000000000000000WLF0F1F100000000000000WCWRWRWUF1F1F100000000000000WLF1F1F1F1F1F1F1F0F100000000DLF1F1F0F1F0F1F1F1F1DR000000WLF1F1F1F1F1F1F1F1F10000000000000000F1F1F10000000000000000000000F1F1F00000000000000000000000F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWRWRWR000000000000WLF1F1F1F1F1F1F1000000000000WLF1F1F1F1F1F1F1000000000000WLF1F1F1F1F0F1F1000000000000WLF1F1F1F0F1F1F1000000000000WLF1F1F0F1F1F1F1DR0000000000WLF1F1F1F1F1F1F1000000000000WLF1F1F1F1F1F1F100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF1F1F1F1F1F1F1F1F100000000DLF1F1F1F1F1F0F1F1F1DR000000WLF1F1F0F1F1F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF0F0F0F0F0F0F0F0F000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F0F0F000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWRWRWR000000000000WLF1F1F1F1F1F1F1000000000000WLF1F1F1F1F1F1F100000000WCWRWUFYFYF1FYFYFYFY00000000WLF1F1F1F1F1F1F0F1F100000000DLF1F1F1F1F1F1F1F1F1DR000000WLF1F1F1F1F1F1F1F1F100000000000000F1F1F1F0F1F1F100000000000000F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF1F0F1F1F1F1F0F1F100000000WLF1F1F1F1F1F1F0F1F000000000DLF1F1F1F1F1F1F0F1F1DR000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF1F1F1F0F1F1F0F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLFYFYFYF1F1F1F1F1F100000000WLF1F1F1F1F1FXF1F1F100000000DLF1F1F0F1F1FXF1F1F100000000WLF1F1F1F1F1FXF1F1F100000000000000F1F1F1FXF0F1F100000000000000F1F1F1FXF1F1F100000000000000F1F1F1FXF1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWR0000000000000000WLF0F1F1F1F10000000000000000WLF1F1F1F0F10000000000000000WLF1F1F1F1F10000000000000000WLF1F0F1F1F10000000000000000WLF1F0F1F1F1DR00000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F100000000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRWRWRDU0000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000DLF1F1F1F1F10000000000000000WLF1F0F0F0F00000000000000000WLF1F1F1F0F10000000000000000WLF1F1F1F1F10000000000000000WLF0F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F0F0F1F10000000000DLF1F1F1F1F1F1F0F10000000000WLF1F1F1F1F1F1F1F10000000000WLF1F0F1F1F1F1F1F10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000000000000000000000ZZ00WCWRWRWRWRWRWRWRWRWR00000000WLF1F1F0F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1FYFYFYFYFYFYFY00000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLFYFYFYFYFYFYFYF1F100000000WLF0F0F1F1F1F1F1F1F000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWR0000000000000000WLF1F1F1F1F1000000000000WCWRWUF1F1F1F1F1000000000000WLF0F1F1F1F1F1F0000000000000WLF1F1F1F1F1F1F1000000000000DLF1F1F1F1F0F1F1000000000000WLF1F1F1F1F1F1F1000000000000000000F0F1F1F1F1000000000000000000F1F1F1F0F1000000000000000000F1F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WCWRWRDUWRWR0000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F10000000000000000WLF1F1F1F1F1000000000000WCWRWUF0F0F0F1F1000000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F0F0F0F1F100000000WLF0F1F1F1F1F1F1F1F100000000WLF0F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWRWR00000000WLF1F1F0F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A50703DS1305B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0813", "S10203B50403MB0603S10504B50804OF0505S10306P10906P10407B70607B70408MA0708S10709B50909S10310DE0611", "B40503MA0604B40805P10606DS0906O30508S30709B00410A30510DE0611", "P10403S30404MB0704B50804BY0206BY0306BY0406BY0506BY0606BY0706B20607MA0907OG0308S30409B70609P10709S10909B70510"], ["C60402C50802C60902S10403B30604S20804B80606DS1106S20407B10308S10608B10808P10908B30309MC0509DE0611", "C50202C60302B10902B11002MA0603S10903BX0404BX0405B10505B30705BX0406QH0606BX0407BX0408B30608S20708BX0409P10509BX0410DE0611", "C30502C40503S10704P10505B30905B10406BA0606P10806DS1106S10307S20609B10709DE0611", "S10403B70804B70705B70606P10906DS1106MC0708"], ["S10305MB0506B50706DS1106B30407O50707S10907", "C60202C50302C60402C60502C50602C50702C60802C50902BA1002P10404S30904MC0406O40706P10508B40808B40908B41008P10309S30909DE0611", "P10802P10902S31003BY0404BY0504QI0604BY0704BY0804BY0904BY1004MA0505B60805DS1106S20507S30807B50708S10909B00510A30610", "P10204B30304S30704C40804MB0405S20705C30805B51005C40806DS1106S10307MB0507OE0707"], ["S10302B60502C10802BY0204BY0304BY0404MA0604P10904BX0705BA0406BX0706S21006S10507BX0707P10807BX0708B60808BX0709S20909BX0710DE0611", "C50402B90703B40505S20705B40506DS0906S30507P10708B00410A30510DE0811", "MC0603S10704S10705S10706B10507B10607B30707B10807S20508B30708BA0410DE0611", "B00203S10803A20204S10404B30605B30705B90806P10407S10607B10308O60808"], ["C10402S30602O10802S21003BY0404BY0504BY0604BY0704BY0804BY0904BY1004MB0305S20606BY0207BY0307BY0407BY0507BY0607BY0707BY0807C50208C60308BA1008MB0909S10310DE0611", "QG0602B70204P10404B70804P10305S10705S10506B80606B70408MA0708S10609B70709DE0611", "MA0704B40405B40505B40605MA0806S20407B40607B40707B40807B00208S31008A20209P10409S20810DE0611", "C10402C50902C51002P10903S30405O20805P10606S30508S30808B00310A30410"]]);
_global.gBaseMapArray.push([5, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000DD0000000000", "0000WCWRWRWRWRWRDUWR0000000000WCWUF1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1F1000000WLF0F0F1F0F0F0F0F0F0F00000WCWUF1F1F1F1F1F1F1F0F1F10000WLF1F1F1F0F1F1F1F1F0F1F1F100WLF1F1F1F0F1F1F1F1F0F1F1F10000WLF1F1F0F1F1F1F1F1F1F1000000WLF0F0F0F0F0F0F0F1F0F0000000WLF1F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F10000000000000000000000DD000000000000", "00000000WRWRWRDUWRWRWR00000000000000F1F1F1F1F1F1F10000000000000000F1F1F2F1F10000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F20000000000000000000000F1F1F1F1F10000000000000000F1F1F1F1F1F1F100000000000000000000DD000000000000", "0000000000WRWRDUWRWR000000000000000000F1F1F1F1F100000000000000000000F2F1F10000000000000000000000F2000000000000000000000000F2F200000000000000000000000000F20000000000F100000000000000F2F2F20000F1F1DR0000000000000000F2F2F2F2F1000000000000000000000000F1F1DR000000000000000000000000F100000000000000000000000000000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["0000000000000000000000000000000000000000000000000000000000WCWRWRWRWRWRWRWRWRWRWR0000WCWUF1F1F1F1F1F1F1F1F1F10000WLF1F1F1F1F1F2F1F1F1F1F1F1DRWLF1F1F1F100F200F1F1F1F1F100DLF1F1F10000F20000F1F1F1F100WLF1F1000000F200000000F1F100WLF1F1000000F2000000F1F1F1DRWLF1F1F1F100F20000F1F1F1F1000000F1F1F1F1F2F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000000000DD0000000000000000000000000000000000000000", "00000000WCWRWRDUWRWRWR0000000000WCWRWUF1F1F1F1F1F100000000WCWUF1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1DR0000WCWUF1F1F1F1F1F1F1F1F1000000WLF1F1F1F0F0F0F0F0F1F1000000WLF1F1F1F1F1F1F1F0F1F1000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F10000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000WCWRWRDUWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F0F1F1F1000000WLF1F1F1F1F1F1F0F1F1F1000000WLF1F1F1F1F1F1F0F1F1F100000000WLF1F1F1F1F1F0F1F1F100000000WLF1F1F1F1F1F0F1F1F1DR0000000000F1F1F1F1F1F1F1F10000000000000000F1F1F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000WCWRWRWRWRWRWRWRWR00000000WCWUF1F1F1F1F1F1F1F1000000WCWUF1F1F1F1F1F1F1F1F1F10000WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1F1F1F1F1F1F1F100DLF1F1F1F1F0F0F0F0F0F1F1F1DRWLF0F0F0F0F0F1F1F1F000000000DLF1F1F1F1F1F1F1F1F0F1F1F100WLF1F1F1F1F1F1F1F1F0F1F1F1000000F1F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000000000000000000000"], ["00000000000000000000000000000000000000000000000000000000WCWRWRWRWR000000000000000000WLF1F1F1F1000000000000000000DLF1F1F1F1000000000000000000WLF1F1F1F10000000000F1F1000000000000000000000000F1F1F100WLF1F1F1000000000000F1F1F1DRDLF1F1F2F2F2F2F2F2F2F2F1F100WLF1F1F1F1000000000000F1F1000000F1F1F1000000000000000000000000F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000", "WCWRWRWRDUWRWR00000000000000WLF1F1F1F1F1F100000000000000WLF1F1F1F1F1F1F1F10000000000DLF1F1F1F1F1F1F1F1F100000000WLF1F1F0F0F0F1F1F1F100000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F0F1F1F1000000WLF1F1F1F1F1F1F0F1F1F10000000000F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000WCWRWRWRWRWRDUWRWR00000000WCWUF1F1F1F1F0F1F1F1000000WCWUF1F1F1F1F1F0F1F1F1000000WLF1F1F1F1F1F1F0F1F1F1000000WLF1F1F0F1F1F1F0F1F1F1000000WLF1F1F0F1F1F1F1F1F1F0000000WLF1F1F0F1F1F1F1F1F100000000DLF1F1F0F1F1F1F1F1F100000000WLF1F1F0F1F1F1F1F10000000000WLF1F1F0F1F1F100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000WCWRWRWRWRWRWRWRWR00000000WCWUF1F1F1F1F1F1F1F1000000WCWUF1F1F1F1F1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1F100WLF0F0F0F0F0F0F0F0F0F0F0F000DLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF0F0F0F0F0F0F1F0F0F0F0F00000WLF1F1F1F1F1F1F1F1F1F1F10000WLF1F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000000000000000000000"], ["000000WCWRWRWRWRWRWR000000000000WCWUF1F1F1F1F1F10000000000WCWUF1F1F1F1F1F1F1F1000000WCWUF1F1000000000000F1F10000WLF1F10000F1F1F1F10000F1F100WLF1000000F1F1F1F1000000F100WLF1000000F1F1F1F1000000F1DRDLF1000000F1F2F1F1000000F100WLF100000000F20000000000F100WLF1F1000000F200000000F1F1000000F1F10000F2000000F1F10000000000F1F100F20000F1F100000000000000F1F1F2F1F1F1000000000000000000DD0000DD0000000000", "000000WCWRDU0000DUWR000000000000WCWUF1F10000F1F10000000000WCWUF1F1F10000F1F1F1000000WCWUF1F1F1F10000F1F1F1F10000WLF1F1F1F1F10000F1F1F1F1F100WLF1F1F1F1F10000F1F1F1F1F10000000000F200000000000000000000000000F2000000000000000000WLF1F1F1F1F10000F1F1F1F1F1DRWLF1F1F1F1F10000F1F1F1F1F1000000F1F1F1F10000F1F1F1F10000000000F1F1F10000F1F1F100000000000000F1F10000F1F1000000000000000000DD0000DD0000000000", "00000000000000000000000000000000WCWRWRDUWRWRDU00WR00000000WCWUF1F0F1F1F1F1F0F1000000WCWUF1F1F0F1F1F1F1F0F1F10000WLF1F1F1F0F1F1F0F1F0F1F1F100WLF1F1F1F0F1F1F1F1F0F1F1F100WLF1F1F1F0F1F1F1F1F0F1F1F100WLF1F1F1F0F1F1F1F1F0F1F1F1DRWLF0F1F1F0F1F1F1F1F0F1F1F100WLF0F1F1F0F1F1F1F1F0F1F1F1000000F1F1F0F1F1F1F1F0F1F10000000000F1F0F1F1F1F1F0F1000000000000DD000000DD0000000000000000000000000000000000000000", "WCWRWRDUWR00WRDUWRWR00000000WLF1F1F1F1F0F1F1F0F100000000WLF1F1F1F1F0F1F1F0F1F1000000WLF1F1F1F1F0F1F1F0F1F1F10000WLF1F1F1F1F1F1F1F0F1F1F1F1DRWLF0F0F0F0F0F0F0F0F0F0F0F000WLF1F1F1F1F1F1F1F1F1F1F1F100DLF1F1F1F1F1F1F1F1F1F1F1F100WLF0F0F0F1F0F0F0F0F1F0F0F000WLF1F1F1F1F1F1F1F1F1F1F1F1DR0000F1F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000000000000000000000"], ["0000WCWRWRWRWRWRWRWR000000ZZ00WCWUF1F1F0F1F1F1F100000000WCWUF1F1F1F1F1F1F1F100000000WLF1F1F1F1F2F1F1F1F1000000000000000000F20000000000000000WLF1F10000F20000000000000000DLF1F10000F200000000000000000000000000F20000000000000000WLF1F1F1F1F2000000F1F1F1F100WLF1F1F1F1F10000F1F1F1F1F1000000F1F1F1F10000F1F1F1F10000000000F1F1F10000F1F1F100000000000000F1F10000F1F1000000000000000000DD0000DD0000000000", "000000WCWRDU00WRDUWR000000000000WCWUF1F1F0F1F1F10000000000WCWUF1F1F1F0F1F1F1F1000000WCWUF1F1F1F1F0F1F1F1F1F10000WLF1F1F1F1F1F0F1F1F1F1F1F100WLF1F1F1F1F1F0F1F1F1F1F1F100WLF1F1F0F0F0F0F1F1F1F1F1F100WLF1F1F1F1F1F0F0F0F0F0F1F100DLF1F1F1F1F1F0F1F1F1F1F1F100WLF1F1F1F1F1F0F1F1F1F1F1F1000000F1F1F1F1F0F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000DD0000DD0000000000", "0000WCWRWRDUWRWRDUWR0000000000WCWUF1F1F1F1F1F1F100000000WCWUF1F1F1F1F1F1F1F1F100000000F1F1F1F1F1F2F1F1F1F1F10000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000DLF2F2F2F2F2F200000000000000000000000000F200000000000000000000000000F2000000000000000000F1F1F1F1F2F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000000000000000000000", "000000WCWRWRWRWRWRWR000000000000WCWUF1F1F1F1F1F10000000000WCWUF1F1F1F1F1F1F1F1000000WCWUF1F1F1F1F1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1F100WLF0F0F0F0F0F0F0F0F1F1F1F100WLF1F1F1F0F1F1F1F1F1F1F1F100WLF1F1F1F1F1F0F1F1F1F1F1F100WLF0F0F0F0F0F0F0F0F1F1F1F100DLF1F1F1F1F1F1F1F1F1F1F1F1000000F1F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A50703DS1306B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0813", "S10702B10204B10304B10504B10604B10704B10804B10904B11004B11104M70605B10905S10206B10406B10906P11106P10107P10207B10407S20707B10907B10408M70708B10209B10309B10409B10509B10609B10709B10809B11009B11109DE0713", "QK0704S10705S10706S10707S10708M70711DE0713", "S10802M80604S30806DS1306DS1308"], ["S11004DS1304M80605P10906DS1308S10310DE0712", "S10702S10603DS1103B10405B10505B10605B10705B10805M80905M70506B10806P10507S10308DE0310", "S10204S10604B10704S30605B10705P10406P10506B10706S20906B10707M90408B10708DS1108", "S20403S10703P10804DS1304M90605S21105B10506B10606B10706B10806B10906DS1306B10107B10207B10307B10407B10507B10907O60708B10908M80309B10909P11109S20510M80411S30711"], ["C50203C60303P10304S11105M80307M81007DS1307S10310DE0412", "S10803B10304B10404B10504P10606B10706M90107S10407B10707S20908DE0810", "B10702OI0403B10703B10704S10205B10305P10405B10705B10306M70506B11006B10307B10308S10508S20708B10309B10310", "S30903S30504B10105B10205B10305B10405B10505B10605B10705B10805B10905B11005B11105B11205S10606DS1307B10108B10208B10308B10408B10508B10608QJ0708B10808B10908B11008B11108B11208P10409P11009P10510P10710S10810O40511S10611P10812"], ["C50401C50501C60701C50801C60901S30504S30804S30605OH0705S10506S20806DS1306M70607DE0513DE0813", "C40104P10304P10404P10904S21004C30105C40108P10408S20908DS1308C30109P11009S20410S20810DE0513DE0813", "B10402B10902B10403B10903P10304B10404BA0704B10904S10205B10405S10605B10905O50206B10406P10706B10906P11106P10207B10407B10907DS1307B00108S10308B10408S10708B10908A20109B10409S10609B10909B10410B10910B10411B10911DE0312DE0712", "B10501B10801S30302B10502B10802P10303B10503B10803O20903M70504B10804DS1304B10105B10205B10305B10405B10505B10605B10705B10805B10905B11005B11105B11205M80906S10607B10108B10208B10308B10508B10608B10708B10808B11008B11108B11208M80409DS1309S30711"], ["C10501S20701S30302P10602O10802O30205M70308P10909P11009P10910DE0513DE0813", "B10601B10602B10603S20903B10604P10904M80205B10605S20805B10306B10406B10506B10606M81106B10607B10707B10807B10907B11007S10308B10608S30908P10409B10609B10610DE0513DE0813", "S10402S20802S10407M80607P10411P10711", "S30402S10802S10503B10105B10205B10305B10405B10505B10605B10705B10805P10106B10406M70806P10107P10207B10607M71007B10108B10208B10308B10408B10508B10608B10708B10808S10810"]]);
_global.gBaseMapArray.push([5, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F10000000000000000000000DD000000000000", "00000000000000DU00000000000000000000F1F1F1F1F10000000000000000F1F1F1F1F1F1F1000000000000F1F1F1F1FYFYFYFYFY00000000F1F1F1F1F1F1F1F1F1F1F1000000F1F1F1F1F1F1F0F1F1F1F1000000F1F1F1F1F1F1F0F1F1F1F1DR0000F1F1F1F1F1F1F1F0F1F1F1000000F1F1F1F1F1F1F0F1F1F1F100000000F1F1F1F1F0F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2DR0000000000WLF2F2F2F2F2F2F20000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRDUWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["000000000000000000000000000000000000F1F1F0F1F10000000000000000F1F1F1F1F1F1F1000000000000F1F1F0F1F1F1F1F1F100000000F1F1F1F0F1F1F0F1F1F1F1000000F1F1F1F1F1F1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1DR0000F1F1F1F1F1F1F1F0F1F1F1000000F1F1F1F0F1F1F1F1F1F1F100000000F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F10000000000000000000000DD000000000000000000000000000000000000000000", "000000000000DU0000000000000000000000F1F1F1F1F10000000000000000F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F1F1F100000000F1F1F1F1F1F1F0F1F1F1F1000000F1F1F1F1F1F1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1DR0000F1F1F1F1F1F0F1F1F1F1F100000000F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000DLF2F2F2F2F2F2F2DR0000000000WLF2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2DR0000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2DR0000000000WLF2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["0000000000000000000000000000000000000000000000000000000000000000F1FXF1F1F10000000000000000F1F1FXF1F1F1F1000000000000F1F0F1FXF1F1F1F1F100000000F1F1F1F1FXF1F1F1F1F1F10000DLF1F1F1F1F1F1F1F1F1F1F1DR0000F1F1F1F1FXF1F1F1F1F1F100000000F0F1F1FXF1F1F0F1F1000000000000F1F1FXF1F1F1F10000000000000000F1FXF1F1F10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000F1F1F1F1F10000000000000000F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F1F1F100000000F1F1F1F1F1F1F0F1F1F1F1000000F1F1F1F1F1F1F1F1F1F1F10000DLF1F1F1F0F1F1F1F1F1F1F1DR0000F1F1F1F1F1F1F0F1F1F1F100000000F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000DLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F200000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRDUWRWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000DLF2F2F2F2F2F2F2DR0000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F20000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWR000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000DLF2F2F2F2F2F2F2000000000000WLF2F2F2F2F2F2F2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["000000000000000000000000000000000000F1F1F1F1000000000000000000F1F1F1F0F1F100000000000000F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F1F1F100000000F1F1F0F1F1F1F1F1F1F1000000DLF1F1F1F1F1F1F1F1F1F1DR000000F1F1F1F1F1F1F0F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F1F10000000000000000000000F1F0F1F1F10000000000000000DLF1F1F1F1F1F10000000000000000F1F1F1F1F1F1F1000000000000000000F1F1F1F1F100000000000000000000F1F1F1000000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU0000000000000000000000F1F1F1F1000000000000000000F2F1F1F1F1F1000000000000WLF2F2F1F1F1F1F1F10000000000WLF2F2F1F1F1F1F0F1F100000000WLF2F2F1F1F1F1F1F1F100000000WLF2F2F1F0F1F1F1F1F1DR000000WLF2F2F1F0F1F1F0F1F100000000WLF2F2F1F1F0F1F1F100000000000000F2F1F1F1F1F1000000000000000000F1F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000DU000000000000000000000000F1F1F100000000000000000000F2F1F1F1F10000000000000000F2F2F1F1F1FX000000000000WLF2F2F2F1F1F1FX000000000000DLF2F2F2F1F1F1FX000000000000WLF2F2F2F1F1F1FX0000000000000000F2F2F1F1F1FX000000000000000000F2F1F1F1F100000000000000000000F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000F1F1F100000000000000000000F2F1F1F1F100000000000000WLF2F2F1F1F1F1F1000000000000WLF2F2F1F1F1F1F1000000000000WLF2F2F1F1F1F1F1DR0000000000WLF2F2F1F1F1F1F10000000000000000F2F1F1F1F100000000000000000000F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000000000000000000000ZZ00000000F1F1F1F1000000000000000000F1F1F1F1F1F100000000000000F1F1F1F1F1F1F1F10000000000F1F1F1F0F1F1F1F1F1F100000000F1F1F0F1F1F1F1F1F1F1000000DLF1F1F1F1F1F1F1F1F0F100000000F1F1F1F1F1F1F1F1F1F10000000000F1F1F1F0F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU0000000000000000000000F1F1F1F1000000000000000000F1F1F1F1F1F100000000000000F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F0F0F1F1F100000000F1F1F1F1F1F1F1F1F1F100000000F1F1F1F0F1F1F1F1F1F100000000F1F1F1F1F1F1F0F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000FYFYFYFY000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000FYFYFYFY000000000000000000F1F1F1F1F1F100000000000000F1F1F1F1F1F0F1F10000000000F1F1F1F1F1F1F1F1F1F100000000F1F1F1F1F1F1F1F1F1F1000000DLF1F1F1F1F1F0F1F1F1F100000000F1F1F1F1F0F1F1F1F1F10000000000F1F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000DU000000000000000000000000F1F1F10000000000000000000000F1F1F1000000000000000000FXF1F1F1F1F1FX00000000000000FXF1F1F1F1F1FX00000000000000FXF1F1F1F1F1FX00000000000000FXF1F1F1F1F1FX00000000000000FXF1F1F1F1F1FX000000000000000000F1F1F10000000000000000000000F1F1F1000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU0000000000000000000000F1F1F1F1000000000000000000F1F1F1F1F1F10000000000000000F1F0F1F1F1F1F1000000000000F1F1F1F1F1F1F1F1F10000000000F1F1F1F1F1F1F1F0F1000000DLF1F1F1F1F1F1F1F1F1F10000000000F1F1F0F1F1F1F1F1F1000000000000F1F1F1F1F1F1F100000000000000F1F1F1F1F1F1000000000000000000F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A50703DS1306B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0713", "BY0603BY0703BY0803BY0903BY1003MG0505B10705B10706MH0906DS1206B10807QW0308B10708B10609", "S10702B40203S10503B40304MG0505B40406B40307S10707DS0907O30208B40408DE0609", "S10404S20705S20306MI0308DE0709", "P10203S10503O20405S30706B00308A30408"], ["C10601B40403P10903B40404B20704S10705S11005S10206DS1206S10507B10807B20408S10608S10709MG0710DE0612", "C50401C60801S10602S10503B30704S20405S10705S20906DS1206S10307B30607MI0509DE0611", "B40202B40302B40402B40203B40303B90803B40204P10704MG0505S10406S10706S10607DS0907S10508", "S30603B80404B40705B40805OU0406QU0706DS0906S30207B40607B40608", "C50302C60402S20203B40703MG0604B40405P10705P10307DS0907MH0508"], ["BX0502BX0503P10703P10903B10304BX0504S11004BX0505MG0805QV0506DS1206BX0507S30907B10208BX0508B20808BX0509BX0510S10610", "S10702S10304S10504B20704S11105S10206B20406MH0606S10706S10906DS1206B10707S10408", "C10602B40703C40204P10704C30205MH0405S30805B40506P10606B40507B40608DE0509", "S30702S30802S20703S30803B40204B40304S30804S20405S10606DS0906S10507DE0609", "S10503B00204BA0704A20205O60707S20408"], ["B30602P10403S10904B40305S30605O40705S30506DS1106B20707S30408S10710", "BA0305OT0605MH0407S10607S20807DE0610", "MH0503S10304B10804S30206B10506S10706DS1106B10507B10807S30308B10608MG0808S30509DE0611", "B20502B20403B20304BX0804P10705BX0805P10506BX0806BX0807B20308S30708BX0808B20409B20510", "P10503P10304S30604O10505S30306P10506DS0906S30508"], ["S10501S10603MI0803B40404B20305OS0606B10906P10307S10707S10208B40508DE0611", "MG0402S30303B20604B20704B00105S20905A20106B10406S10307B40707S10508BY0410BY0510BY0610BY0710", "BY0401BY0501BY0601BY0701B30703MH0504S10604S10305O50805B30606B30507S10508S10709DE0611", "S20603BX0304BX0904BX0305MG0805BX0905BX0306S20506MG0706BX0906BX0307MG0507BX0907BX0308OR0408P10708BX0908S10609DE0611", "B20403S10803S10504S30305S20805B20905QX0106S30506S30307B30407S20707P10807S10508MI0610"]]);
_global.gBaseMapArray.push([5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000DD0000000000", "000000000000000000000000000000WCWRWRWRWRWRWRDUWR0000000000WLF7FFF6F5F7F4FFF90000000000WLF5F0F0F0F0F1F5F80000000000WLF8F4F4FFF9F7FFFF0000000000WLF9F7F4F6F5F8FFFFDR00000000WLF8FFF9F7F0F0F0F80000000000WLF9F5F0F5F5F8FFF40000000000WLFFFFFFF0F0F7F6F70000000000WLFFF6F5F7FFFFF9F50000000000WLF8F4FFF6F5F5F8FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "WCWRWRWRWRWRWRWRWRWRWR000000WLF0F4F9F5F7F6F8F9F8FF000000WLF0F7FFF6F5F7000000F8000000WLF5F5F80000F6000000F9000000WLF6F8000000F9F7FFFFFF000000WLF4000000000000FFFFFFDR0000WLF9000000F7FFF9F500FF000000WLFF000000F5F5000000F4000000WLFF0000F0F60000F6F7F4000000WLFFFFF6F5F70000F9F5F7000000WLF0F0F4F0F6F5F5F8FFF6000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWRWR00000000WLF7FFF6F5F7F4FFF9F800000000WLF5F8F4FFF6F1F5F8F900000000WLF8F4F4FFF9F0FFFFFF00000000WLF9F7F4F6F5F8FFFFFFDR000000WLF8FFF0F7FFF9F5F8FF00000000WLF9F5F5F5F5F8F0F4F400000000WLFFFFFFF6F5F7F6F7F400000000WLFFF6F5F7FFFFF9F5F700000000WLF8F4FFF6F5F5F0F0F6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "WCWRWRWRWRWRWRWRWRWR00000000WLF7F4F9F5F7F6F0F0F000000000WLF500FFF600F7F4FFF9F8000000WLF500F8F40000F1F5F8F9000000WLF600F4F4FFF9F7FFFFFF000000WLF4F9F700000000FFF0FF000000WLF9F8FFF9F7FFF9F5F8FF000000WLF8F9F5F5F5000000F4F4000000WL00FFFF00F6000000F7F4DR0000WLFFFFF6F5F7000000F5F70000000000F8F4FFF6F5F5F8FFF600000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["0000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF9F7FFF6F5F7F4FFF900000000WLF5F5F80000F6F1F5F8F9000000WLF600000000F90000FFFF000000WLF400F7F400F5F8FF00FF000000DLF900FFF90000000000FF000000WLFF00000000F5F8F000F4000000WLFF00FFFFF6F50000F7F4000000WLFFFFF6F0F7FFFFF9F5F70000000000F8F4FFF6F5F0F0F0F6000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "WCWRWRWRWRWRDUWRWRWR00000000WLF7F4F9F5F7F6F8F9F800000000WLF5000000000000FFF9F8000000WLF500000000000000F8F9000000WLF6F0F4F40000000000FFDR0000DLF4F9F7F4F6F5F8FFFFFF000000WLF9F80000F700000000FF000000WLF0F900F5F5F5F8FFF4F4000000WLF0FF0000F600000000F4000000WLF0FF00F5F7FFF0F0F0F70000000000F8F4FFF6F5F5F8FFF6000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "00WCWRWRWRWRDUWRWRWR00000000WCWUF4F9F5F7F6F8F9F800000000WLF5F7000000F70000F9F8000000WLF500000000F60000F8F9DR0000WLF600000000F9000000FF000000DLF4F9F7F400F500FFFFFF000000WLF90000F900FFF9F50000000000WLFF0000F5F5F5F8FF00F4000000WLFFFF000000F5000000F0000000WLFFFFF6F5F7FF00F9F5F70000000000000000F6F500F8FFF6000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000WCWRWRWRWRDUWRWRWR0000000000WLF7FFF6F5F7F4FFF90000000000WLF5F0F0FFF6F1F5F80000000000WLF8F4F4FFF9F7FFFFDR00000000DLF9F7F4F6F5F8FFFF0000000000WLF8FFF9F7FFF9F0F80000000000WLF9F5F5F5F5F8FFF40000000000WLF0FFFFF6F5F7F6F70000000000WLF0F6F5F7FFFFF9F500000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU000000000000000000000000F7F6F80000000000000000000000F5F7F40000000000000000000000FFF6F10000000000000000000000FFF9F7FFFFFF0000000000000000F0F0F0F0FFFFDR000000000000000000000000000000000000000000000000000000000000DLFFFFFFFFF6F5F7F6F7F4DR000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF7FFF6F5F7F4FFF9F800000000WLF5F8F4FFF6F1F5F8F900000000WLF0F4F4FFF9F7FFFFFF00000000WLF9F7F4F6F5F8F0F0F000000000WLF8FFF9F0FFF9F5F8FF00000000WLF9F0F5F5F0F8FFF4F400000000WLFFF0FFF6F5F7F6F7F400000000WLFFF0F5F7FFFFF9F5F700000000WLF8F0FFF6F5F5F8FFF600000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000", "WCWRWRWRWRWRWRDUWRWR00000000WLF7F4F9F5F7F6F8F9F8F0000000WLF50000000000000000F8000000WLF5F5F8F4FFF6F1F500F9000000DLF6000000000000FF00FF000000WLF4F9F7F4F6F500FF00FF000000WLF900000000FF00F500FF000000WLFFF9F5F500F500FF00F4000000WLF00000FF00F500F600F4000000WLFFFFF9F5F7FFF4F9F1F7000000000000000000F500000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU0000000000000000F7F4F9F5F7F60000000000000000F5F7000000F700000000000000DLF5000000F0F60000000000000000F6F8F4F4FFF9000000000000000000000000F600000000000000000000000000F7F9000000000000000000000000F500000000000000000000000000F6000000F7F4DR00000000000000F7000000F5F70000000000000000F6F5F5F8FFF600000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000", "0000000000WCWRDUWR00000000000000000000WLF6F8F90000000000WCWRWRWRWRWUF700FF0000000000WLF5F5F8F4FFF600F50000000000DLF600000000F900FF0000000000WLF400000000F500FF0000000000WLF9F8FFF9F7FF00F50000000000WLFF0000F5F5F500FF0000000000WLFF0000F0F6F000F60000000000WLFFFF0000000000F900000000000000F8F4FFF6F5F5F80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000F9F5F7F6F8F9F800000000000000FFF6F5F7F4FFF9F800000000000000000000F1F5F8F0000000000000000000F0F7FFFFF000000000DLF9F7F4F6F5F8FFFFFF00000000000000000000F9F5F8FF00000000000000000000F8FFF4F400000000DLFFFFFFF6F5F7F6F7F400000000000000000000FFF9F5F700000000000000000000F5F8FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["000000000000000000000000000000WCWRWRWRWRWRWRWRWRWR00000000WLF7FFF0F5F7F4FFF0F800000000WLF5F0F4FFF6F1F5F8F900000000WLF0F4F4FFF9F7FFFFFF00000000WLF9F7F4F0F0F0F0FFFF00000000WLF8FFF9F7FFF9F5F8FF00000000WLF9F5F0F5F5F8FFF4F400000000WLFFFFFFF0F5F7F6F7F400000000WLFFF6F0F7FFFFF9F5F700000000WLF8F4FFF0F5F5F8FFF6000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000WCWRWRWRDUWRWR000000000000WCWUFFF6F5F7F4FF000000000000WLF0F0F4FFF6F1F5F80000000000WLF8F4F40000F7FFFFDR00000000WLF9F700000000FFF00000000000WLF8FF00000000F5F00000000000WLF9F5F50000F8FFF00000000000WLFFF0FFF6F5F7F6F700000000000000F6F5F7FFFFF9000000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000DU00000000000000000000000000F8F9000000000000000000000000F0FF000000000000000000000000F1F5F80000000000000000000000F7FFFF0000000000000000000000F800000000000000000000000000F9F5000000000000000000000000F8FF0000000000DLF900FFFF0000F7F6F70000000000FFFFF6F5F7FFFFF900000000000000F80000F6F500F8FF000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000", "WCWRDUWRWR000000000000000000WLF7F4F9F5000000000000000000WLF5F0FFF6000000000000000000WLF5F5F8F4000000000000000000WLF6F8F4F400F9F7000000000000WLF40000F4F6F5F8FFFFFFDR0000WLF90000000000F9000000000000WLFF0000000000F8FFF0F0000000WLFFF0F0000000F7F6F7F4000000WLFFFFF6000000FFF9F5F70000000000F8F4FFF6F5F5F8FFF6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000WCWRWRWRWRWRWRWR000000000000WLFFF6F5F0F4FFF9000000000000WLF8F4FFF0F1F500000000000000WLF4F4FFF0F7FFFF000000000000WLF7F4F6F5F8FFFFDR0000000000WLFFF9F7FFF9F5F8000000000000WLF5F5F5F5000000000000000000WLFFFFF6F5F7F6F7000000000000WLF6F0F7F0FFF900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000000000000000000000ZZWCWRWRWRWRWRWRWRWRWR00000000WLF5F7FFF6F5F7F4FFF900000000WLF5F5F8F400F6F1F5F800000000WLF6F800F400F900FFFF00000000WLF0F700F400F500FFFF00000000WLF9F800F900FF00F5F000000000WLFFF90000000000F5F000000000WLFFFF0000000000F6F700000000WLFFFFF6000000FFF9F500000000WLFFF8F4FFF6F5F5F8FF0000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000", "00000000000000DU0000000000000000F4F9F00000F800000000000000F5F7FFF60000F4FFF90000000000F5F5F8F4000000F0F800000000DLF6F8F4F0000000F0FF000000000000000000000000FFFF0000000000F9F8F0F9F70000F0F80000000000FFF9F5F5F50000F0F40000000000FFFFFFFFF60000F0F70000000000FFFFF6F5F700FFF9F5000000000000F8F0F0F800F50000000000000000000000DD00DD00000000000000000000000000000000000000000000000000000000000000000000", "0000000000DU00DU0000000000000000000000F7F6F8000000000000000000000000F7000000000000000000000000F0F6F10000000000000000000000F0F9000000000000000000000000F0F5000000000000000000000000F0FF000000000000000000000000F0F500000000000000000000000000F5000000000000000000000000F7FFFF0000000000000000000000F6F5F500000000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000", "00000000000000DU00000000000000000000000000F8000000000000000000000000F7F4000000000000000000000000F600000000000000000000000000F9000000000000000000DLF7F400F50000000000000000000000F900FF00F0F8F000000000000000F500F500FFF4F4000000000000FFFF00F500F6F7F4000000000000F0F500FF0000F500000000000000F4FFF6F5F5F8FFF600000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000F0WRWRWRDUWR0000000000000000FFF6F5F7F4FF00000000000000000000FFF6F1F50000000000000000F4F4FFF9F7FF000000000000DLF9F7F4F6F5F8F000000000000000F8FFF9F7FFF9F50000000000000000F5F5F5F5F8FF00000000000000FFFFFFF0F5F7F6000000000000000000F5F7FFFFF900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A50703DS1306B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0813", "B20303B20403B20503B20603MK0405DS1005B30606B30706B30806B10407B10508B10608MJ0808S30309S30409", "B10101P10201S20601B10102MJ0402S20203MJ0804DS1105MK0507P10607B80408P10908P10809P10909B10110B10210S20310B10410DE0611", "S20902P10703C30204MJ0404B10704C30205S20605DS1105C40206B20406MJ0806MJ0507B30807P10308S20808O60509B00810A30910", "C50701C50801C60901S30302S20802P10103OO0703P11003MJ0604B10905S20406O10207MK0508DS1108P10210"], ["S20203MK0604B30305B30405P10805B30306B30406S20707BA0807B20409S10909S10310B10710B10810B10910DE0611", "S20301B30204S10404DS1104B30107S20907B30108MK0508B30109B10709B10809B10909DE0611", "S10301P10902DS1103S10405S20905MJ0607P10208B31008MJ0309S30909S30810S30910DE0611", "B10303B10403S30503S10304S10704DS1004P10505OP0606B30806S10307S10707B00208P10508S10808A20209DE0610", "S10702S10504B10505B10605B10705B10805DS1105DS1108"], ["C50802C60902C51002S30403S30503OQ0703P10803C20204MJ0405B30805B30905B31005B10506B20307B10607MJ0807B20308P10408B20309P10909B20310DE0711", "QS0501B11001S20403S31004S20607B10108MJ0809DE0611", "P10202BA0503MK0506DS1108S31010DE0711", "MJ0503S10805MJ0406P10607S10807B10408P10508B10608P10209S10310S10410S10510", "S30401S10903B31003BA0604B31004MK0705S11006P10907QT0408S20809B91010"], ["B20402C10902B20303O50703B20204MK0404P11004B10505B10605B10705B10805B30407MK0807C40208B30508C30209P10309B30409C30210B30510DE0611", "B10203B10303DS1004B30905S30206B30906B30907B20308S20808S30509DE0710", "B10702MK0703S20308P10908MJ0409S20810", "B30202S10203MK0403P10604DS1105B10907B11007B20208B20308MK0708P10908S11008O30209S20809", "B30602S30503B30603P10304B30604MK0705DS1005S30407O20808B10409BA0609"], ["O40203P10903B30105S20405P10805P10106S30606B10906B10907MJ0309MJ0809DE0711", "B30401P10202P10302S30402P10203P10303B10803S30204B30404B10804B20306B10806S30207S30407B10807MK0907P10308B10808S30209P10409B10310B10410DE0511DE0711", "B20503B20504B20505B20506MK0606B20507S10509S10709DE0711", "QP0604B20806P10906B21006P10807S30907P11007S20908B10309MJ0310DE0711", "C10302MJ0603MJ0504B10805S20406P10707B10508"]]);
_global.gBaseMapArray.push([5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]);
_global.gFloors.push([["WCWRWRWRWRWRWRWRWR0000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1F1F1000000WLF1F1F1F1F1F1F1F1F1F1F10000DXF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F1DRWLF1F1F1F1F1FAF1FAF1F1F1F100WLF1F1F1F1F1F1F1F1F1F1F1F100WLF1F1F1F1F1FAF1FAF1F1F1F1000000F1F1F1F1F1F1F1F1F1F1000000000000F1F1F1F1F1F1F10000000000000000F1F1F1F1F1000000000000000000000000DD0000000000", "000000WCWRWRWRWSDUWRWR000000000000WLF1F1F0F1F1F1F1000000000000WMF1F0F1F1F1F1F10000000000WCWUF1F1F1F1F1F1F1DR00000000WLF1F1F1F1F0F0F0F10000000000WLF1F1F1F1F1F1F1F00000000000WMF1F1F1F0F1F1F1F10000000000WLF1F1F1F1F1F1F1F100000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000WCDUWR0000000000000000000000WLF1F10000F2F200000000000000WLF1F100F2F2F2F2000000000000WMF1F100F2F2F2F2DR00000000WCWUF1F10000F2F2000000000000WLF1F1F1F1000000000000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1DR00000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000WRWRWRWRWRWRWRWRWR0000000000F3F3F3F3F3F3F3F3F30000000000F3F3F0F3F1F1F1F1F30000000000F3F3F3F3F1F1F0F1F30000000000F3F3F3F3F3F1F1F1F30000000000F3F3F3F3F3F3F1F3F30000000000F3F3F0F3F3F1F1F3F3000000000000F3F3F3F1F1F3F30000000000000000F3F3F1F3F30000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000DU000000000000000000000000F3F1F30000000000000000000000F3F1F30000000000000000000000F3F1F1F3F3F3000000000000000000F0F1F1F1F1DR000000000000000000F3F3F3F3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ZZ00000000000000000000000000"], ["000000000000000000000000000000000000WCWRWRWRWRWRWR00000000000000WLF0F1F1F0F0F00000000000WCWRWUF1F1F1F1F1F10000000000WLF0F0F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000DLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000WMF1F0F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F100000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000WCWRDUWRWSWR0000000000WCWRWSWUF1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000DLF1F1F1F0F1F1F0F10000000000WLF1F1F1F0F1F1F1F10000000000WLF0F1F1F1F1F1F1F10000000000WLF0F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F100000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000DUWRWSWR00000000000000000000F1F1F1F1000000000000000000F2F1F1F1F100000000DLF2F2F2F2F2F1F1F1F100000000000000000000F1F1F1F100000000000000000000F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000DLF1F1F1F1F1F1F1F1F1DR000000WLF1F1F1F1F1F1F1F1F100000000WLF1F1F1F1F1F1F1F1F100000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000WCDUWRWRWR000000000000WCWRWRWUF1F1F1F1000000000000WLF1F1F1F1F1F1F1000000000000WMF1F1F0F0F1F1F1000000000000WLF1F1F1F1F1F1F1000000000000WMF1F1F1F1F1F1F1DR0000000000WLF1F1F1F1F1F1F1000000000000WLF1F0F0F1F1F1F1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000000000WRWRWRWR00000000000000000000F3F3F3F3000000000000000000F3F3F3F0F3000000000000F3F3F3F0F3F3F3F30000000000DLF1F1F1F1F1F1F1F1DR0000000000F3F3F3F3F3F3F3F3000000000000000000F3F3F3F3F300000000000000000000F3F3F30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["00000000000000000000000000000000000000WCWRWRWRWSWR0000000000000000WLF0F0F1F1F10000000000000000WLF1F1F1F0F10000000000WCWRWRWUF1F1F1F1F10000000000WLF0F0F1F1F1F1F1F10000000000WLF0F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F1000000000000000000F1F1000000000000000000000000F1F100000000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000DU00000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000F2F2F2F2000000000000000000000000F200000000000000000000000000F2F2000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000WCDUWRWRWSWR0000000000000000WLF1F1F1F1F10000000000WCWRWSWUF1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000WLF1F1F1F1F1F1F0F1DR00000000WLF1F1F1F1F0F0F1F10000000000DLF1F1F1F1F1F1F1F10000000000WLF1F1F1F0F1F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000WCWRWRWSDUWSWR0000000000WCWRWUF1F1F1F1F1F10000000000WLF1F1F1F0F1F1F1F10000000000WMF1F0F0F1F1F1F1F10000000000WLF1F1F1F1F1F1F0F10000000000DLF1F1F0F1F0F0F1F10000000000WLF1F1F1F1F0F1F1F10000000000WLF1F1F1F1F1F1F1F10000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000WRWRWRWRWRDUWRWR000000000000F3F3F3F3F3F1F3F3000000000000F3F3F0F3F0F1F3F3000000000000F3F0F1F1F1F1F3F30000000000DLF1F1F1F3F3F1F3F3000000000000F3F3F3F3F3F1F1F1DR0000000000F3F3F3F3F3F3F3F300000000000000F3F3F3F3F3F3000000000000000000F3F3F3F300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["0000000000000000000000000000000000WCWRWRWRWRWSWR00000000000000WLF0F0F0F1F1F100000000000000WLF1F1F1F1F1F100000000000000WMF1F1F1F1F1F1000000000000000000F1F1F1F1F100000000000000000000F1F1F1F10000000000000000000000F1F1F1000000000000000000000000F100000000000000000000000000F200000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000DU00000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000000000000000F200000000000000F1F1F1F1F2F2F2F2000000000000F1F1F1F10000F200000000000000F1F1F1F10000F200000000000000F1F1F1F10000F200000000000000F1F1F1F10000F200000000000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000000000000000000000000000WCWRWSWRDUWR0000000000000000WLF1F1F1F1F10000000000WCWRWRWUF1F1F1F1F10000000000WLF1F0F0F0F0F1F1F10000000000DLF1F1F1F1F1F1F1F1DR00000000WLF1F1F1F1F1F0F0F10000000000WMF1F1F1F1F0F0F1F10000000000WLF1F1F1F1F1F1F1F10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00WCWRWRWRWRWRWRWRWRWR00000000WLF3F3F3F3F3F3F3F3F300000000WLF3F3F3F1F1F1F1F1F300000000WLF3F3F1F1F3F3F3F1F300000000WLF3F3F1F3F3F0F3F1F100000000WLF3F3F1F3F0F3F3F3F1DR000000WLF3F3F1F1F3F3F3F3F300000000WLF3F3F0F1F3F3F3F3F300000000WLF3F3F3F1F3F3F3F30000000000WLF3F3F3F1F3F3F300000000000000000000DD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000DU000000000000000000000000F3F1F3F3F30000000000000000F3F3F1F3F3F3F3000000000000F3F3F3F1F3F3F3F3F30000000000F3F3F1F1F3F3F0F3F30000000000F3F3F1F0F3F3F3F3F300000000DLF1F1F1F3F3F3F3F3F30000000000F3F3F3F3F3F3F3F3F3000000000000F3F3F3F3F3F3F30000000000000000F3F3F3F3F300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"], ["0000000000000000000000000000000000WLF3F3F3F3F30000000000000000WLF3F3F3F0F3F300000000000000WLF3F3F1F1F1F3F3000000000000WLF3F3F1F1F1F3F3000000000000WLF3F0F1F1F1F3F3000000000000WLF3F3F1F3F3F3F3000000000000WLF3F3F1F3F3F300000000000000WLF3F3F1F3F30000000000000000000000DD000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "000000000000DU00000000000000000000WLF3F0F1F0F30000000000000000WLF0F3F1F3F3F300000000000000WLF3F3F1F1F3F3F3000000000000WLF3F3F3F1F1F3F3000000000000WLF3F3F3F3F1F3F3000000000000WLF3F3F3F3F1F3F3000000000000WLF3F3F3F3F1F300000000000000WLF3F3F3F3F100000000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000DU00000000000000WLF3F3F3F3F3F100000000000000WLF3F3F3F3F3F1F3000000000000WLF3F3F3F3F1F1F3F30000000000WLF3F3F3F1F1F3F3F30000000000DLF1F1F1F1F3F3F3F30000000000WLF3F3F3F1F1F3F3F30000000000WLF3F3F3F3F1F1F3000000000000WLF3F3F3F3F3F100000000000000000000000000DD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0000000000000000DU000000000000000000F3F3F3F3F10000000000000000F3F3F3F3F3F1F3000000000000F3F3F3F3F3F3F1F3F30000000000F3F3F3F3F3F3F1F1F300000000DLF1F1F1F3F3F3F3F1F30000000000F3F3F1F1F1F3F1F1F30000000000F3F3F3F3F1F1F1F3F3000000000000F3F3F3F3F3F3F30000000000000000F3F3F3F3F300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"]]);
_global.gBaseObjs.push([["C30101C10401B00601B00701B00602B00702B00603A50703DS1306B00107B00207B00307B00108B00208A40308C20109B00512A30612DE0813", "B30601B30502S20403P10503DS1103ME0604B30704B30804B30904S20305B31005B30606S20806P10906P10807DE0408", "OJ0702S20802P10902P10803S20903DS1103P10405S30306ME0607ME0707S30907DS1107O50408S20808", "S10202B20402P10702P10603B20803O40304S10504OK0604P10904ME0805B20406MD0606DE0609", "S10503S10804S10904BA0605DS1105S20806"], ["B10502C50802C50902C61002S10503B10304B10404MF0705S10607S10907B80408DE0710", "S10502B30603S10803B30903B30604B00305S20705P11005A20306MF0507DE0708", "S10901QN0403P10903MD0904MD0805C60406C50506C60606DS1107S10408S10908S10509DE0710", "P10502P10902B10603B10703S10505P10605S10905DS1105B00507A30607MF0807", "P10802P10902P11002S20703B20903B20604MD0804DS1105S10606S10807"], ["B10602B10702S20703B80903OL0704P10904B10305B10405MD0805B10306O30506P10806S21006S20707DE0710", "QL0703MD0604B80706DE0610", "P10902S20603B00304S20604ME0804A20305B30905DS1105MD0506B30706B30806S20807P10408B30608P10908DE0810", "P10302P10502B30602B30403B30503S20703MD0604B30904B30505B30705B30805B30706P11006P10407S20907DE0808", "B20503B20703B20404S10904ME0505S10406DS1106S10607ME0707P10608"], ["B30402B30502B30602S20802S30503S10703P10903O20704MD0805QM0808DE0810", "S20305S30506P10307P10508S30209DE0810", "P10502S20602S20503ME0703B10304B10404B10504B10604ME0405DS1005B10706B10806S20307B10607B10707P10807S30907S30908", "S10201S20501C10801P10302S10303S20304B20704S10205MD0405B20605DS1105P10206BA0407S10707S10807DE0510", "S30802B20804B80505S11005S30606O60806S10508MF0709"], ["S30401S30402ME0502B20702S30603P10803O10704S20804B20505P10605S10705S20805DE0609", "B20501B20701B20402QO0602S10904MD0905S10606ME0706DE0809", "B30502B30403S10903B20905S10506S20806DE0809", "P10601S10503S10404S10704B20705S10408OM0608", ""]]);
_global.gBaseMapArray.push([5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]);
_global.gBaseObjsCollected = new Array();
_global.gBaseScoreObjsCollected = new Array();
_global.gBaseObjsUsed = new Array();
_global.gBaseTasksDone = new Array();
_global.gBasePrizeEntries = new Array();
_global.gExtraPrizes = 0;
_global.gBaseTxtWishList = new Array();
_global.gObjTotals = new Array();
_global.gSC = 0;
_global.gKeyLayout = 1;
_global.gLvl = 0;
_global.gFirstTime = true;
var i = 0;
while (i < 7) {
_global.gObjTotals.push(0);
i++;
}
_global.getX = function (tx, ty) {
return(tx - ty);
};
_global.getY = function (tx, ty) {
return((tx / 2) + (ty / 2));
};
_global.padNum = function (tn) {
if (tn < 10) {
return("0" + tn);
}
return(String(tn));
};
_global.addCommas = function (tSC) {
var _local1 = "";
var _local5 = String(tSC);
var _local3 = _local5.split("");
var _local4 = 0;
var _local2 = _local3.length;
while (_local2 > 0) {
_local1 = String(_local3.pop()) + _local1;
_local4++;
if ((_local4 == 3) && (_local3.length > 0)) {
_local1 = "," + _local1;
_local4 = 0;
}
_local2--;
}
return(_local1);
};
Array.prototype.getItemIndex = function (tItem) {
var _local3 = this.length;
var _local2 = 0;
while (_local2 < _local3) {
if (this[_local2] == tItem) {
return(_local2);
}
_local2++;
}
return(-1);
};
this.gameStatusReset = function () {
_global.gObjs = gBaseObjs.slice();
_global.gObjsCollected = gBaseObjsCollected.slice();
_global.gScoreObjsCollected = gBaseScoreObjsCollected.slice();
_global.gObjsUsed = gBaseObjsUsed.slice();
_global.gTasksDone = gBaseTasksDone.slice();
_global.gPrizeEntries = gBasePrizeEntries.slice();
_global.gTxtWishList = gBaseTxtWishList.slice();
_global.gExtraPrizes = 0;
_global.gMapArray = gBaseMapArray.slice();
_global.gSC = 0;
var _local3 = 0;
while (_local3 < 7) {
_global.gObjTotals[_local3] = 0;
_local3++;
}
this.gameStatusSave();
};
this.gameStatusGet = function () {
_global.gObjs = p3_so.data.tObjs;
_global.gObjsCollected = p3_so.data.tObjsCollected;
_global.gScoreObjsCollected = p3_so.data.tScoreObjsCollected;
_global.gObjsUsed = p3_so.data.tObjsUsed;
_global.gTasksDone = p3_so.data.tTasksDone;
_global.gPrizeEntries = p3_so.data.tPrizeEntries;
_global.gExtraPrizes = p3_so.data.tExtraPrizes;
_global.gTxtWishList = p3_so.data.tTxtWishList;
_global.gMapArray = p3_so.data.gMapArray;
_global.gSC = p3_so.data.gSC;
_global.gKeyLayout = p3_so.data.gKeyLayout;
_global.gObjTotals = p3_so.data.gObjTotals;
};
this.gameStatusSave = function () {
p3_so.data.tObjs = gObjs;
p3_so.data.tObjsCollected = gObjsCollected;
p3_so.data.tScoreObjsCollected = _global.gScoreObjsCollected;
p3_so.data.tObjsUsed = gObjsUsed;
p3_so.data.tTasksDone = _global.gTasksDone;
p3_so.data.tPrizeEntries = gPrizeEntries;
p3_so.data.tExtraPrizes = gExtraPrizes;
p3_so.data.tTxtWishList = gTxtWishList;
p3_so.data.gMapArray = _global.gMapArray;
p3_so.data.gSC = _global.gSC;
p3_so.data.gKeyLayout = _global.gKeyLayout;
p3_so.data.gObjTotals = _global.gObjTotals;
p3_so.flush();
};
this.sendToFriend = function (tItem) {
trace(("send item " + tItem) + " to friend...");
this.backpack_mc.gotoAndStop("items");
};
this.pingHighScore = function (tPing) {
if (tVar_lv == undefined) {
var tVar_lv = new LoadVars();
}
tVar_lv.o = false;
tVar_lv.n = this.username_txt.text;
tVar_lv.e = this.useremail_txt.text;
tVar_lv.i = 1;
tVar_lv.s = _global.gSC;
tVar_lv.p = gPrizeEntries.length + gExtraPrizes;
var _local3 = 1;
if (tVar_lv.e.indexOf("@") <= 0) {
_local3 = 0;
}
if (tVar_lv.e.indexOf(".") <= 0) {
_local3 = 0;
}
if (tVar_lv.e.indexOf("@") > tVar_lv.e.lastIndexOf(".")) {
_local3 = 0;
}
if (((tVar_lv.n == undefined) || (tVar_lv.n == "")) || (tVar_lv.n == "Please enter your name")) {
this.username_txt.text = "Please enter your name";
} else if (_local3 == 0) {
this.useremail_txt.text = "Please enter your email address";
} else {
tVar_lv.onData = function (src) {
if (src == undefined) {
return(undefined);
}
this.decode(src);
gotoAndPlay ("sent");
};
var _local5 = ((this.username_txt.text + this.useremail_txt.text) + _global.gScore) + "1";
var _local4 = calcMD5(_local5);
tVar_lv.m = _local4;
trace(_local4);
tVar_lv.sendAndLoad("highscores.asp", tVar_lv, "GET");
this.gotoAndPlay("sendLoop");
}
};
_global.ping = function (tPing) {
trace("pinging: " + tPing);
if (tVar_lv == undefined) {
var tVar_lv = new LoadVars();
}
tVar_lv.p = tPing;
tVar_lv.onData = function (src) {
trace(src);
};
tVar_lv.sendAndLoad("ping.asp", tVar_lv, "GET");
};
this.setKeyLayout = function (tKeys) {
trace(_global.gKeyLayout);
_global.gKeyLayout = tKeys;
trace(_global.gKeyLayout);
};
p3_so = SharedObject.getLocal("genie");
if (p3_so.data.tObjs == undefined) {
this.gameStatusReset();
} else {
this.gameStatusGet();
}
if (psv == undefined) {
_global.psv = "undef";
}
_global.getItem = function (tItem) {
switch (tItem) {
case "OA" :
return("a CARROT");
case "OB" :
return("a WATERING CAN");
case "OC" :
return("a WORM");
case "OD" :
return("some MOLE SPECS");
case "OE" :
return("a PAPER TOWEL");
case "OF" :
return("a BLOWTORCH");
case "OG" :
return("a BLENDER");
case "OH" :
return("a PHASER");
case "OI" :
return("a SPANNER");
case "OJ" :
return("an EYE OF NEWT");
case "OK" :
return("a LEG OF TOAD");
case "OL" :
return("a SWORD");
case "OM" :
return("a KEY");
case "ON" :
return("a FEATHER DUSTER");
case "OO" :
return("a SCREWDRIVER");
case "OP" :
return("a CAT");
case "OQ" :
return("a JOYSTICK");
case "OR" :
return("an AXE");
case "OS" :
return("a MONKEY NUT");
case "OT" :
return("a MESSAGE");
case "OU" :
return("a SPADE");
}
};
Frame 3
Frame 71
var tPC = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
this.loadingbar_mc.gotoAndStop(tPC);
if (tPC == 100) {
play();
} else {
gotoAndPlay ("loading");
}
Frame 105
playgame_mc.onRelease = function () {
gGo = "lounge";
this._parent.topstrip_mc.snd_mc.playsound("pClick");
this._parent.topstrip_mc.snd_mc.playmenu(0);
this._parent.topstrip_mc.snd_mc.playintro(1);
play();
};
viewscores_mc.onRelease = function () {
gGo = "highscore";
this._parent.topstrip_mc.snd_mc.playsound("pClick");
play();
};
options_mc.onRelease = function () {
gGo = "options";
this._parent.topstrip_mc.snd_mc.playsound("pClick");
play();
};
stop();
Instance of Symbol 750 MovieClip "HS_mc" in Frame 105
//component parameters
onClipEvent (construct) {
pPingLoc = "highscore.asp";
pChartLoc = "highscore";
pDoneFrame = "menu";
}
Frame 125
if (gGo == "highscore") {
HS_mc.displayHS();
}
gotoAndPlay(gGo);
Frame 126
chorelist_mc.level1_mc.onRelease = function () {
_global.gLvl = 1;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
chorelist_mc.level2_mc.onRelease = function () {
_global.gLvl = 2;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
chorelist_mc.level3_mc.onRelease = function () {
_global.gLvl = 3;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
chorelist_mc.level4_mc.onRelease = function () {
_global.gLvl = 4;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
chorelist_mc.level5_mc.onRelease = function () {
_global.gLvl = 5;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
chorelist_mc.level6_mc.onRelease = function () {
_global.gLvl = 6;
this._parent._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("instructions");
};
if (gFirstTime == true) {
dad_mc.play();
_global.gFirstTime = false;
} else {
chorelist_mc.play();
}
topstrip_mc.snd_mc.playsound("pDisappear");
stop();
Frame 131
ok_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("menu");
};
stop();
Frame 137
keychange_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("keychange");
};
reset_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("optreset1");
};
backtomenu_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("menu");
};
stop();
Frame 138
reset_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("optreset2");
};
backtooptions_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 139
reset_mc.onRelease = function () {
gameStatusReset();
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("optreset3");
};
backtooptions_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 140
phew_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 142
setkeys1_mc.onRelease = function () {
setKeyLayout(1);
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("keychange1");
};
setkeys2_mc.onRelease = function () {
setKeyLayout(2);
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("keychange2");
};
backtooptions_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 143
ok_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 144
ok_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
gotoAndPlay ("options");
};
stop();
Frame 146
ping("play");
topstrip_mc.snd_mc.setUpSounds();
chorelist_mc.play();
Frame 157
ok_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
play();
};
stop();
Frame 159
go_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
play();
};
stop();
Frame 162
function checkKeys() {
var _local1 = Key.getCode();
if (gPause) {
return(undefined);
}
switch (_local1) {
case 32 :
backpack_mc.showMe();
break;
case 77 :
map_mc.drawMap();
}
}
if (keyListener != undefined) {
Key.removeListener(keyListener);
keyListener = undefined;
}
var keyListener = new Object();
keyListener.onKeyDown = checkKeys;
Key.addListener(keyListener);
this.onEnterFrame = function () {
var _local1 = "";
if (gKeyLayout == 1) {
if (Key.isDown(37)) {
_local1 = "UL";
} else if (Key.isDown(39)) {
_local1 = "DR";
} else if (Key.isDown(38)) {
_local1 = "UR";
} else if (Key.isDown(40)) {
_local1 = "DL";
}
} else if (Key.isDown(37)) {
_local1 = "DL";
} else if (Key.isDown(39)) {
_local1 = "UR";
} else if (Key.isDown(38)) {
_local1 = "UL";
} else if (Key.isDown(40)) {
_local1 = "DR";
}
if (gPause) {
_local1 = "";
}
floor_mc.bod_mc.nudge(_local1);
};
backpackbutton_mc.onRelease = function () {
backpack_mc.showMe();
};
phone_mc.onRelease = function () {
phone_mc.popUp();
};
stop();
Frame 173
topstrip_mc.snd_mc.playmusic(0);
topstrip_mc.snd_mc.playmenu(1);
switch (psv) {
case "aol" :
var tWishWord = "COMPETITUS";
break;
case "smashhits" :
var tWishWord = "HITSINIUM";
break;
case "swapitshop" :
var tWishWord = "SWAPPIUS";
break;
default :
tWishWord = "";
}
if (gObjTotals[gLvl] == 6) {
this._parent._parent.topstrip_mc.snd_mc.playsound("pWish");
evaluate_txt.text = "Congratulations - You completed the task!\r\r";
} else {
this._parent._parent.topstrip_mc.snd_mc.playsound("pUse");
evaluate_txt.text = "You haven't completed the task yet,\rso you're still GROUNDED!\r\r";
}
continue_mc.onRelease = function () {
this._parent.topstrip_mc.snd_mc.playsound("pClick");
play();
};
stop();
Frame 179
HS_mc.submitHS(gSC);
stop();
Symbol 2 MovieClip [mc.bod] Frame 1
var pDirX = ((pDirY = 0));
var pLocX = ((pLocY = (pLocZ = (pLocZboost = 0))));
var pGridX = ((pGridY = 0));
var tLDir = "DR";
var pLocZ = 0;
var pImmunity = 0;
var pDoorPos = new Array();
var pEmote = false;
this.nudge = function (tDir) {
if (this.pImmunity > 0) {
this.pImmunity--;
if ((this.pImmunity % 2) == 1) {
this.char_mc._alpha = 30;
} else {
this.char_mc._alpha = 100;
}
if (this.pImmunity == 18) {
this.char_mc.gotoAndStop("appear_dr");
this.place(this.pDoorPos[0], this.pDoorPos[1]);
}
if (this.pImmunity == 0) {
_global.gPause = false;
}
}
tDirArray = [0, 0];
switch (tDir) {
case "UL" :
tDirArray = [-1, 0];
tLDir = tDir;
break;
case "DR" :
tDirArray = [1, 0];
tLDir = tDir;
break;
case "UR" :
tDirArray = [0, -1];
tLDir = tDir;
break;
case "DL" :
tDirArray = [0, 1];
tLDir = tDir;
}
pDirX = pDirX + tDirArray[0];
pDirY = pDirY + tDirArray[1];
if (pDirX > 4) {
pDirX = 4;
} else if (pDirX < -4) {
pDirX = -4;
}
if (pDirY > 4) {
pDirY = 4;
} else if (pDirY < -4) {
pDirY = -4;
}
if (tDirArray[0] == 0) {
if (pDirX > 0) {
pDirX--;
} else if (pDirX < 0) {
pDirX++;
}
}
if (tDirArray[1] == 0) {
if (pDirY > 0) {
pDirY--;
} else if (pDirY < 0) {
pDirY++;
}
}
pLocX = pLocX + pDirX;
pLocY = pLocY + pDirY;
pGridX = Math.round(pLocX / 32);
pGridY = Math.round(pLocY / 32);
var _local9 = this._parent[(("tile" + pGridX) + "-") + pGridY].stepTest("bod");
if (_local9 != 1) {
pLocX = pLocX - pDirX;
pLocY = pLocY - pDirY;
pDirX = (pDirY = 0);
}
if (this.pEmote == true) {
} else if (this.pImmunity > 0) {
} else if ((pDirX == 0) && (pDirY == 0)) {
this.char_mc.gotoAndStop("stand_" + tLDir);
} else {
this.char_mc.gotoAndStop("walk_" + tLDir);
}
var _local6 = this._parent.getLiveObjects();
this.pLocZboost = 0;
for (var _local7 in _local6) {
var _local3 = _local6[_local7];
var _local5 = _local3.stepTest(pGridX, pGridY);
switch (_local5) {
case "block" :
pLocX = pLocX - pDirX;
pLocY = pLocY - pDirY;
pDirX = (pDirY = 0);
break;
case "monster" :
if (gPause == false) {
var _local4 = _local3.distTest(pLocX, pLocY);
}
if ((_local4 == "monster") && (this.pImmunity == 0)) {
this._parent._parent.topstrip_mc.snd_mc.playsound("pUse");
this.tLDir = "DR";
this.char_mc.gotoAndStop("stand_" + tLDir);
this._parent._parent.topstrip_mc.addScore(-10);
this.pImmunity = 48;
_global.gPause = true;
}
break;
case "score" :
case "prize" :
case "object" :
_local3.remove();
}
}
pGridX = Math.round(pLocX / 32);
pGridY = Math.round(pLocY / 32);
this._x = getX(pLocX, pLocY);
this._y = getY(pLocX, pLocY);
pLocZ = (((10000 + (pGridY * 100)) + (pGridX * 4)) + 1) + pLocZboost;
this.swapDepths(pLocZ);
};
this.place = function (tx, ty) {
pGridX = tx;
pGridY = ty;
pLocX = pGridX * 32;
pLocY = pGridY * 32;
this.pDoorPos = [pGridX, pGridY];
};
this.emote = function (tMote) {
switch (tLDir) {
case "UR" :
tLDir = "DR";
break;
case "UL" :
tLDir = "DL";
}
trace((tMote + "_") + tLDir);
this.char_mc.gotoAndStop((tMote + "_") + tLDir);
this.pEmote = true;
};
this.setZboost = function (tY) {
var _local2 = tY - this.pGridY;
if (_local2 > 0) {
pLocZboost = 100 * _local2;
}
};
this.findDoor = function (tDir) {
switch (tDir) {
case "UL" :
tDirCheck = [-1, 0];
break;
case "DR" :
tDirCheck = [1, 0];
break;
case "UR" :
tDirCheck = [0, -1];
break;
case "DL" :
tDirCheck = [0, 1];
}
var _local3 = pGridX;
var _local2 = pGridY;
var _local4 = 1;
while (_local4 < 14) {
_local3 = _local3 - tDirCheck[0];
_local2 = _local2 - tDirCheck[1];
var _local5 = this._parent[(("tile" + _local3) + "-") + _local2].TTest();
if (_local5.slice(0, 1) == "D") {
this.place(_local3 + tDirCheck[0], _local2 + tDirCheck[1]);
this.pDoorPos = [_local3 + tDirCheck[0], _local2 + tDirCheck[1]];
}
_local4++;
}
};
this.place(2, 2);
this.char_mc.gotoAndStop("walk_dr");
this._xscale = 75;
this._yscale = 75;
trace(this);
stop();
Symbol 3 MovieClip [mc.tilemaster] Frame 1
this.pFirstLetter = pType.slice(0, 1);
if (this.pFirstLetter == "W") {
this.tile_mc.gotoAndStop(pF);
} else {
this.tile_mc.gotoAndStop(pF + Math.floor(Math.random() * 3));
}
this.stepTest = function (tTester) {
if (this.pFirstLetter == "W") {
return(0);
}
if (((pType == "F0") || (pType == "FX")) || (pType == "FY")) {
return(0);
}
if (tTester == "bod") {
switch (pType) {
case "DL" :
this._parent.moveRoom("UL");
break;
case "DR" :
this._parent.moveRoom("DR");
break;
case "DU" :
this._parent.moveRoom("UR");
break;
case "DD" :
this._parent.moveRoom("DL");
break;
case "DX" :
case "DY" :
this._parent.exitLevel();
break;
default :
return(1);
}
} else {
if (this.pFirstLetter == "D") {
return(0);
}
return(1);
}
};
stop();
Symbol 4 MovieClip [mc.objmaster] Frame 1
this.pFirstLetter = pType.slice(0, 1);
this.pPartSpec = pType.slice(1, 2);
this.pAnim = 2;
this.pDone = false;
this.onEnterFrame = function () {
if (!(this.pFirstLetter === "M")) {
} else {
this.pWorldX = this.pWorldX + this.pDirX;
this.pWorldY = this.pWorldY + this.pDirY;
var _local2 = pGridX;
var _local4 = pGridY;
this.pGridX = Math.round(pWorldX / 32);
this.pGridY = Math.round(pWorldY / 32);
var _local3 = this._parent[(("tile" + this.pGridX) + "-") + this.pGridY].stepTest("M");
if (_local3 != 1) {
this.pWorldX = this.pWorldX - this.pDirX;
this.pWorldY = this.pWorldY - this.pDirY;
if ((pGridX != _local2) && (pGridY != _local4)) {
this.pDirX = -this.pDirX;
this.pDirY = -this.pDirY;
} else if (pGridX == _local2) {
this.pDirY = -this.pDirY;
} else {
this.pDirX = -this.pDirX;
}
switch (this.pPartSpec) {
case "1" :
case "2" :
case "7" :
case "8" :
case "A" :
case "B" :
case "D" :
case "E" :
case "G" :
case "H" :
case "J" :
case "K" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pMonster1");
break;
case "3" :
case "4" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pMonster2");
break;
case "5" :
case "6" :
case "9" :
case "C" :
case "F" :
case "I" :
case "L" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pMonster3");
}
if (this.pAnim == 1) {
this.pAnim = 2;
} else {
this.pAnim = 1;
}
this.objgfx_mc.gotoAndStop(this.pAnim);
}
this._x = getX(pWorldX, pWorldY);
this._y = getY(pWorldX, pWorldY);
pLocZ = ((10000 + (pGridY * 100)) + (pGridX * 4)) + 2;
this.swapDepths(pLocZ);
}
};
this.stepTest = function (tGridX, tGridY) {
if ((this.objgfx_mc.hitTest(this._parent.bod_mc.char_mc) == 1) && (this.pFirstLetter == "A")) {
if (this._parent.bod_mc.pLocX > (this.pWorldX + 12)) {
this._parent.bod_mc.setZboost(this.pGridY);
}
}
if (this.pFirstLetter == "M") {
return("monster");
}
if ((this.pGridX == tGridX) && (this.pGridY == tGridY)) {
switch (this.pFirstLetter) {
case "A" :
case "B" :
case "C" :
return("block");
case "D" :
return("overlay");
case "M" :
return("monster");
case "O" :
if (Number(this.pPartSpec) < 9) {
this._parent._parent.topstrip_mc.snd_mc.playsound("pScore3");
_global.gObjTotals[gLvl]++;
this._parent._parent.topstrip_mc.addScore(10000);
if (gObjTotals[gLvl] == 6) {
this._parent.adil_mc.popup("end");
} else {
this._parent.adil_mc.popup("OO");
}
} else {
this._parent.adil_mc.addMessage(pType);
this._parent._parent.topstrip_mc.snd_mc.playsound("pScore1");
gObjsCollected.push(pType);
this._parent._parent.topstrip_mc.addScore(1000);
this._parent.adil_mc.pickupMessage(pType);
}
return("object");
case "P" :
gPrizeEntries.push(pType);
this._parent._parent.topstrip_mc.snd_mc.playsound("pScore2");
this._parent._parent.topstrip_mc.addScore(1000);
return("prize");
case "Q" :
return("block");
case "S" :
gScoreObjsCollected.push(pType);
switch (this.pPartSpec) {
case "1" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pFlower1");
this._parent._parent.topstrip_mc.addScore(100);
break;
case "2" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pFlower2");
this._parent._parent.topstrip_mc.addScore(200);
break;
case "3" :
this._parent._parent.topstrip_mc.snd_mc.playsound("pFlower3");
this._parent._parent.topstrip_mc.addScore(500);
}
return("score");
}
trace("DEFAULT OBJECT COLLECTED!");
gObjsCollected.push(pType);
this._parent._parent.topstrip_mc.addScore(100);
return("object");
}
};
this.distTest = function (tWorldX, tWorldY) {
var _local3 = Math.abs(this.pWorldX - tWorldX);
var _local2 = Math.abs(this.pWorldY - tWorldY);
var _local4 = Math.sqrt(Math.pow(_local3, 2) + Math.pow(_local2, 2));
if (_local4 < 20) {
if (!(this.pFirstLetter === "M")) {
} else {
return("monster");
}
}
};
this.remove = function () {
switch (pType) {
case "QA" :
this.removeForever();
break;
case "QB" :
_global.gTasksDone.push(pType);
this.upgrade();
break;
case "QC" :
this.removeForever();
break;
case "QD" :
this.removeForever();
break;
case "QE" :
_global.gTasksDone.push(pType);
this.upgrade();
break;
default :
this.removeForever();
}
};
this.upgrade = function () {
this.pDone = true;
this.objgfx_mc.gotoAndStop(2);
};
this.removeForever = function () {
gScoreObjsCollected.push(pType);
trace("removing " + this.pType);
this._parent.removeFromObjs(pGridX, pGridY);
this.removeMovieClip();
};
this.replaceWith = function (tObjID) {
this._parent.createNewObject(tObjID, pGridX, pGridY);
this.removeForever();
};
this.fix = function (tObj) {
trace("fixing " + tObj);
this._parent.adil_mc.appear(tObj, this);
this.tAdvise = 0;
};
this.attachMovie("mc." + pType, "objgfx_mc", this.getNextHighestDepth());
switch (this.pFirstLetter) {
case "A" :
if (this.pPartSpec == "1") {
this.objgfx_mc.gotoAndStop(pF + gObjTotals[gLvl]);
} else {
this.objgfx_mc.gotoAndStop(pF);
}
break;
case "B" :
case "C" :
case "D" :
case "O" :
this.objgfx_mc.gotoAndStop(pF);
break;
case "M" :
switch (this.pPartSpec) {
case "1" :
this.pDirX = -1;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "2" :
this.pDirX = 0;
this.pDirY = -1;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "3" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "4" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "5" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "6" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = 2;
this.pDirY = 2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "7" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "8" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "9" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "A" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "B" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "C" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "D" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "E" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "F" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "G" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "H" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "I" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
break;
case "J" :
this.pDirX = -2;
this.pDirY = 0;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "K" :
this.pDirX = 0;
this.pDirY = -2;
this.objgfx_mc.gotoAndStop(this.pAnim);
break;
case "L" :
this.pWorldX = this.pWorldX + 17;
this.pDirX = -2;
this.pDirY = -2;
this.objgfx_mc.ball_mc.gotoAndPlay(this.pGridY + 1);
}
break;
case "Q" :
trace("magic object detected!" + this.pType);
if (gTasksDone.getItemIndex(pType) > -1) {
this.upgrade();
} else {
this.tAdvise = 1;
switch (this.pType) {
case "QA" :
if (gObjsCollected.getItemIndex("OA") > -1) {
this.fix("OA");
}
break;
case "QB" :
if (gObjsCollected.getItemIndex("OB") > -1) {
this.fix("OB");
}
break;
case "QC" :
if (gTasksDone.getItemIndex("QB") > -1) {
this.replaceWith("OC");
}
break;
case "QD" :
if (gTasksDone.getItemIndex("QE") > -1) {
this.removeForever();
}
break;
case "QE" :
if (gObjsCollected.getItemIndex("OC") > -1) {
this.fix("OC");
}
break;
case "QF" :
if (gObjsCollected.getItemIndex("OD") > -1) {
this.fix("OD");
}
break;
case "QG" :
if (gObjsCollected.getItemIndex("OE") > -1) {
this.fix("OE");
}
break;
case "QH" :
if (gObjsCollected.getItemIndex("OF") > -1) {
this.fix("OF");
}
break;
case "QI" :
if (gObjsCollected.getItemIndex("OG") > -1) {
this.fix("OG");
}
break;
case "QJ" :
if (gObjsCollected.getItemIndex("OH") > -1) {
this.fix("OH");
}
break;
case "QK" :
if (gObjsCollected.getItemIndex("OI") > -1) {
this.fix("OI");
}
break;
case "QL" :
if (gObjsCollected.getItemIndex("OJ") > -1) {
this.fix("OJ");
}
break;
case "QM" :
if (gObjsCollected.getItemIndex("OM") > -1) {
this.fix("OM");
}
break;
case "QN" :
if (gObjsCollected.getItemIndex("OK") > -1) {
this.fix("OK");
}
break;
case "QO" :
if (gObjsCollected.getItemIndex("OL") > -1) {
this.fix("OL");
}
break;
case "QP" :
if (gObjsCollected.getItemIndex("OO") > -1) {
this.fix("OO");
}
break;
case "QR" :
if (gObjsCollected.getItemIndex("ON") > -1) {
this.fix("ON");
}
break;
case "QS" :
if (gObjsCollected.getItemIndex("OP") > -1) {
this.fix("OP");
}
break;
case "QT" :
if (gObjsCollected.getItemIndex("OQ") > -1) {
this.fix("OQ");
}
break;
case "QU" :
if (gObjsCollected.getItemIndex("OS") > -1) {
this.fix("OS");
}
break;
case "QV" :
if (gObjsCollected.getItemIndex("OR") > -1) {
this.fix("OR");
}
break;
case "QW" :
if (gObjsCollected.getItemIndex("OT") > -1) {
this.fix("OT");
}
break;
case "QX" :
if (gObjsCollected.getItemIndex("OU") <= -1) {
break;
}
this.fix("OU");
}
if (this.tAdvise == 1) {
trace("advising now...");
this._parent.adil_mc.advise(this.pType);
}
}
break;
case "S" :
this.objgfx_mc.gotoAndStop(pF);
}
stop();
Symbol 6 MovieClip Frame 1
this._parent.hitArea = this;
this._alpha = 0;
stop();
Symbol 9 MovieClip [mc.soundclip] Frame 1
function setVol(x) {
pAppear.setVolume(x * 100);
pDisappear.setVolume(x * 100);
pClick.setVolume(x * 100);
pPhonePop.setVolume(x * 100);
pPickup.setVolume(x * 100);
pScore1.setVolume(x * 100);
pScore2.setVolume(x * 100);
pScore3.setVolume(x * 100);
pUse.setVolume(x * 100);
pWish.setVolume(x * 100);
pFlower1.setVolume(x * 100);
pFlower2.setVolume(x * 100);
pFlower3.setVolume(x * 100);
pMonster1.setVolume(x * 100);
pMonster2.setVolume(x * 100);
pMonster3.setVolume(x * 100);
pMusicLoop.setVolume(x * 100);
pMenuMusic.setVolume(x * 100);
pIntroLoop.setVolume(x * 100);
pSting.setVolume(x * 100);
}
function playsound(snd) {
eval (snd).start();
}
function onRelease() {
if (pVol == 100) {
pVol = 0;
this.setVol(0);
gotoAndStop (3);
} else {
pVol = 100;
this.setVol(1);
gotoAndStop (2);
}
}
var pVol = 100;
var pAppear = new Sound(this);
pAppear.attachSound("s-adilappear.wav");
var pDisappear = new Sound(this);
pDisappear.attachSound("s-adildisappear.wav");
var pClick = new Sound(this);
pClick.attachSound("s-click.wav");
var pPhonePop = new Sound(this);
pPhonePop.attachSound("s-phonepopup.wav");
var pPickup = new Sound(this);
pPickup.attachSound("s-pickup.wav");
var pScore1 = new Sound(this);
pScore1.attachSound("s-score1.wav");
var pScore2 = new Sound(this);
pScore2.attachSound("s-score2.wav");
var pScore3 = new Sound(this);
pScore3.attachSound("s-score3.wav");
var pUse = new Sound(this);
pUse.attachSound("s-use.wav");
var pWish = new Sound(this);
pWish.attachSound("s-wish.wav");
var pFlower1 = new Sound(this);
pFlower1.attachSound("s-flower1.wav");
var pFlower2 = new Sound(this);
pFlower2.attachSound("s-flower2.wav");
var pFlower3 = new Sound(this);
pFlower3.attachSound("s-flower3.wav");
var pMonster1 = ((pMonster2 = (pMonster3 = undefined)));
var pMenuMusic = new Sound(this);
pMenuMusic.attachSound("musicloop2.wav");
var pIntroLoop = new Sound(this);
pIntroLoop.attachSound("musicloop1.wav");
var pSting = new Sound(this);
pSting.attachSound("s-sting.wav");
this.setUpSounds = function () {
if (pMonster1 != undefined) {
delete pMonster1;
}
if (pMonster2 != undefined) {
delete pMonster2;
}
if (pMonster3 != undefined) {
delete pMonster3;
}
if (pMusicLoop != undefined) {
delete pMusicLoop;
}
switch (gLvl) {
case 1 :
pMonster1 = new Sound(this);
pMonster1.attachSound("s-rustlingleaves.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("s-squeakywheel.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("s-tennisball.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("s-gardenambientloop.wav");
break;
case 2 :
pMonster1 = new Sound(this);
pMonster1.attachSound("s-eggwithlegs.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("s-eggwithlegs.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("s-tennisball.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("m-fridgeambience.wav");
break;
case 3 :
pMonster1 = new Sound(this);
pMonster1.attachSound("s-eggwithlegs.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("s-eggwithlegs.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("s-eggwithlegs.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("m-spaceambientloop.wav");
break;
case 4 :
pMonster1 = new Sound(this);
pMonster1.attachSound("s-crabclack.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("s-crabclack.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("s-coconut.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("m-desertislandambience.wav");
break;
case 5 :
pMonster1 = new Sound(this);
pMonster1.attachSound("shortcircuit.wav.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("shortcircuit.wav.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("shortcircuit.wav.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("m-computerambience.wav");
break;
case 6 :
pMonster1 = new Sound(this);
pMonster1.attachSound("s-pig.wav");
pMonster2 = new Sound(this);
pMonster2.attachSound("s-pig.wav");
pMonster3 = new Sound(this);
pMonster3.attachSound("s-coconut.wav");
pMusicLoop = new Sound(this);
pMusicLoop.attachSound("m-medievalambience.wav");
}
};
this.playmusic = function (tx) {
if (tx == 1) {
pMusicLoop.start(0, 999);
} else {
pMusicLoop.stop();
}
};
this.playmenu = function (tx) {
if (tx == 1) {
pMenuMusic.start(0, 999);
} else {
pMenuMusic.stop();
}
};
this.playintro = function (tx) {
if (tx == 1) {
this.playsound("pSting");
pIntroLoop.start(0, 999);
} else {
pIntroLoop.stop();
}
};
this.playmenu(1);
stop();
Symbol 39 MovieClip Frame 58
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 14
gotoAndPlay (1);
Symbol 75 MovieClip Frame 14
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
gotoAndPlay (1);
Symbol 83 MovieClip Frame 1
gotoAndPlay (1);
Symbol 86 MovieClip Frame 10
stop();
Symbol 88 MovieClip Frame 27
stop();
Symbol 89 MovieClip Frame 31
this._parent._parent.pEmote = false;
stop();
Symbol 90 MovieClip Frame 31
this._parent._parent.pEmote = false;
stop();
Symbol 108 MovieClip Frame 14
gotoAndPlay (1);
Symbol 115 MovieClip Frame 14
gotoAndPlay (1);
Symbol 116 MovieClip Frame 1
gotoAndPlay (1);
Symbol 118 MovieClip Frame 1
gotoAndPlay (1);
Symbol 120 MovieClip Frame 10
stop();
Symbol 121 MovieClip Frame 27
stop();
Symbol 122 MovieClip Frame 31
this._parent._parent.pEmote = false;
stop();
Symbol 123 MovieClip Frame 31
this._parent._parent.pEmote = false;
stop();
Symbol 127 MovieClip Frame 1
this.popup = function (tMsg) {
if (tMsg == undefined) {
this.gotoAndStop(2);
} else {
this.txt.text = tMsg;
this.gotoAndPlay("popup");
}
};
stop();
Symbol 127 MovieClip Frame 18
stop();
Symbol 149 MovieClip Frame 32
stop();
Symbol 150 MovieClip Frame 29
stop();
Symbol 151 MovieClip Frame 45
stop();
Symbol 152 MovieClip Frame 51
stop();
Symbol 154 MovieClip Frame 51
stop();
Symbol 155 MovieClip Frame 25
gotoAndPlay (1);
Symbol 156 MovieClip [mc.adil] Frame 1
this.pReadyToDisappear = false;
this.pObjToKill = undefined;
this.pWish = "";
this.place = function (tx, ty) {
pGridX = tx;
pGridY = ty;
pLocX = pGridX * 32;
pLocY = pGridY * 32;
this._x = getX(pLocX, pLocY);
this._y = getY(pLocX, pLocY);
};
this.appear = function (tMsg, tObj) {
_global.gPause = true;
this.pState = "hovering";
switch (tMsg) {
case "OA" :
this.sendMessage("Great! I'll feed that hungry rabbit the carrot from your backpack");
break;
case "OB" :
this.sendMessage("I'll use the water from the watering can to fill the birdbath!");
break;
case "OC" :
this.sendMessage("That washing line's still broken. I think that worm you found might come in handy!");
break;
case "OD" :
this.sendMessage("If you don't mind, I'll give away those mole spectacles you found!");
break;
case "OE" :
this.sendMessage("Great! I can mop up the puddle using that paper towel in your backpack!");
break;
case "OF" :
this.sendMessage("Now I can melt the ice with that blowtorch you picked up. Perfect!");
break;
case "OG" :
this.sendMessage("Time to make mushroom soup with that blender in your backpack!");
break;
case "OH" :
this.sendMessage("Using that phaser, I'll blast that boulder to bits!");
break;
case "OI" :
this.sendMessage("I think I can mend that robot using the spanner you found...");
break;
case "OJ" :
this.sendMessage("Add one Eye of Newt and a pinch of salt and... Voila!");
break;
case "OK" :
this.sendMessage("Just add a Leg of Toad and then serve with chips!");
break;
case "OL" :
this.sendMessage("The sword you found should fit that slot perfectly!");
break;
case "OM" :
this.sendMessage("That huge key you picked up will unlock that portcullis!");
break;
case "ON" :
this.sendMessage("Grab that feather duster and let's banish the spider's web!");
break;
case "OO" :
this.sendMessage("Great! I'll use the screwdriver to open that access panel!");
break;
case "OP" :
this.sendMessage("I think that cat will chase the mouse away, don't you?");
break;
case "OQ" :
this.sendMessage("Left a bit... right a bit.. and... FIRE!");
break;
case "OR" :
this.sendMessage("I always wanted to be a lumberjack. I'll chop down the stump using that axe.");
break;
case "OS" :
this.sendMessage("I'll throw the monkey that monkey nut you found.");
break;
case "OT" :
this.sendMessage("Let's put that message in a bottle and throw it out to sea!");
break;
case "OU" :
this.sendMessage("Great! I'll fill the hole using that spade in your backpack.");
}
this.pObjToKill = tObj;
this.gotoAndPlay("popup");
};
this.advise = function (tMsg) {
_global.gPause = true;
this.pState = "hovering";
this._parent.bod_mc.emote("lost");
switch (tMsg) {
case "QA" :
this.sendMessage("That rabbit looks hungry! Can you find something to feed him?");
break;
case "QB" :
this.sendMessage("That birdbath looks empty! I wonder what you could use to fill it up?");
break;
case "QC" :
this.sendMessage("I expect that worm would be useful if you could reach it.");
break;
case "QD" :
this.sendMessage("That pile of washing is in the way! You need to mend the washing line.");
break;
case "QE" :
this.sendMessage("That washing line's broken! You need something long and thin to fix it.");
break;
case "QF" :
this.sendMessage("I'm not sure that mole can see where he's going.");
break;
case "QG" :
this.sendMessage("Oops! Can you find something to mop up that puddle?");
break;
case "QH" :
this.sendMessage("I think you'll need to melt that ice cube to get past it!");
break;
case "QI" :
this.sendMessage("That mushroom's HUGE! Can you find something to chop it up?");
break;
case "QJ" :
this.sendMessage("Hmm... I think you'll need to find something to blow up that boulder!");
break;
case "QK" :
this.sendMessage("A broken robot? If you can mend it, maybe he'll move out of the way.");
break;
case "QL" :
this.sendMessage("That looks like a cauldron of Newt Soup to me!");
break;
case "QM" :
this.sendMessage("A locked portcullis? See if you can find a key!");
break;
case "QN" :
this.sendMessage("That smells like Leg of Toad casserole! mmMMMmmm!");
break;
case "QO" :
this.sendMessage("Maybe if you stick something into that stone you'll be able to move it.");
break;
case "QP" :
this.sendMessage("There's an access panel here. If only you had a screwdriver...");
break;
case "QR" :
this.sendMessage("Bleugh! A spider's web! I KNOW you won't be able to walk through it!");
break;
case "QS" :
this.sendMessage("There's a mouse here! I wonder if you can find something to chase it away?");
break;
case "QT" :
this.sendMessage("A Space Invader! You'll need something to move it.");
break;
case "QU" :
this.sendMessage("That monkey looks hungry to me...");
break;
case "QV" :
this.sendMessage("I think you could break up that tree stump if you had the right tool!");
break;
case "QW" :
this.sendMessage("Can you find something to stick in that bottle?");
break;
case "QX" :
this.sendMessage("Maybe you can find something to fill that hole!");
}
this.gotoAndPlay("popup");
};
this.popup = function (tMsg) {
this.sendMessage(tMsg);
this.gotoAndPlay("popup");
};
this.wish = function (tWord) {
this.pState = "hovering";
this.pWish = tWord;
this.gotoAndPlay("wish");
};
this.action = function () {
if (this.pObjToKill != undefined) {
this._parent._parent.topstrip_mc.snd_mc.playsound("pScore2");
this.pObjToKill.remove();
this._parent._parent.topstrip_mc.snd_mc.playsound("pUse");
this._parent.bod_mc.emote("found");
this.pObjToKill = undefined;
}
};
this.endSpeak = function () {
this.speechbubble_mc.popup();
this.pReadyToDisappear = true;
};
this.grantWish = function () {
var _local4;
var _local6 = 0;
var _local5 = 0;
var _local3 = 0;
trace("granting wish: " + this.pWish);
if (_global.gTxtWishList.getItemIndex(this.pWish) > -1) {
trace("wished?:" + _global.gTxtWishList.getItemIndex(this.pWish));
_local3 = 2;
} else {
switch (this.pWish) {
case "VEGETALIS" :
_local4 = "OA";
_local3 = 1;
break;
case "SPRINKLATUM" :
_local4 = "OB";
_local3 = 1;
break;
case "WIGGLIUS" :
_local4 = "OC";
_local3 = 1;
break;
case "MOLOCCULUS" :
_local4 = "OD";
_local3 = 1;
break;
case "ATISHYOO" :
_local4 = "OE";
_local3 = 1;
break;
case "SCORCHIO" :
_local4 = "OF";
_local3 = 1;
break;
case "WHIZZIT" :
_local4 = "OG";
_local3 = 1;
break;
case "BLASTIUS" :
_local4 = "OH";
_local3 = 1;
break;
case "TURNIFIXIT" :
_local4 = "OI";
_local3 = 1;
break;
case "NEWTYTUS" :
_local4 = "OJ";
_local3 = 1;
break;
case "TOADLEGIUM" :
_local4 = "OK";
_local3 = 1;
break;
case "EXCALIBUS" :
_local4 = "OL";
_local3 = 1;
break;
case "ENTRIFICO" :
_local4 = "OM";
_local3 = 1;
break;
case "MUSTIDUSTY" :
_local4 = "ON";
_local3 = 1;
break;
case "LEFTILOOSY" :
_local4 = "OO";
_local3 = 1;
break;
case "FEELINIO" :
_local4 = "OP";
_local3 = 1;
break;
case "ARCADIUM" :
_local4 = "OQ";
_local3 = 1;
break;
case "CHOPPUM" :
_local4 = "OR";
_local3 = 1;
break;
case "CRAZIAPUS" :
_local4 = "OS";
_local3 = 1;
break;
case "NOTARIUS" :
_local4 = "OT";
_local3 = 1;
break;
case "BIGGUSDIGGUS" :
_local4 = "OU";
_local3 = 1;
break;
case "CHAMPIGNIO" :
_local5 = 10;
_local3 = 1;
break;
case "TOPNOTCHIUS" :
_local5 = 10;
_local3 = 1;
break;
case "IWANTAPRIZIO" :
_local5 = 10;
_local3 = 1;
break;
case "AWARDICIO" :
_local5 = 20;
_local3 = 1;
break;
case "ACCOLADIUS" :
_local5 = 20;
_local3 = 1;
break;
case "ACUIRIUS" :
_local5 = 30;
_local3 = 1;
break;
case "TUTTIBOOTI" :
_local5 = 40;
_local3 = 1;
break;
case "REWARDOX" :
_local5 = 50;
_local3 = 1;
break;
case "COMPETITUS" :
_local5 = 50;
_local3 = 1;
break;
case "HITSINIUM" :
_local5 = 50;
_local3 = 1;
break;
case "SWAPPIUS" :
_local5 = 50;
_local3 = 1;
break;
case "GIMMEPOINTIO" :
_local6 = 5000;
_local3 = 1;
break;
case "IWANTOWINIUM" :
_local6 = 5000;
_local3 = 1;
break;
case "BIGGUSCORIUS" :
_local6 = 8000;
_local3 = 1;
break;
case "HISCORANUM" :
_local6 = 10000;
_local3 = 1;
break;
case "OUTSTANDIO" :
_local6 = 15000;
_local3 = 1;
break;
case "BONUSIUM" :
_local6 = 20000;
_local3 = 1;
break;
case "JACKPOTIO" :
_local6 = 30000;
_local3 = 1;
}
}
trace(("adding: " + _local4) + _local3);
if (_local3 == 1) {
_global.gTxtWishList.push(this.pWish);
}
if (_local4 != undefined) {
ping(_local4);
this._parent._parent.backpack_mc.addObj(_local4);
this._parent.removeFromAllObjs(_local4);
this.addMessage(_local4);
this._parent._parent.topstrip_mc.snd_mc.playsound("pWish");
} else if (_local6 > 0) {
ping(this.pWish);
this._parent._parent.topstrip_mc.addScore(_local6);
this.pointsMessage(_local6);
this._parent._parent.topstrip_mc.snd_mc.playsound("pWish");
} else if (_local5 > 0) {
ping(this.pWish);
this._parent._parent.backpack_mc.addPrizes(_local5);
this.prizesMessage(_local5);
this._parent._parent.topstrip_mc.snd_mc.playsound("pWish");
} else if (_local3 == 2) {
this.sendMessage("txtdone");
} else {
this.sendMessage("badwish");
}
this.pWish = "";
};
this.sendMessage = function (tMsg) {
switch (tMsg) {
case "end" :
this.speechbubble_mc.popup("That's it - you've completed the task! Get back to the lounge to finish.");
break;
case "OO" :
switch (gLvl) {
case 1 :
this.speechbubble_mc.popup("Great! That's another piece of the flower bed made!");
break;
case 2 :
this.speechbubble_mc.popup("Great! That's another slice of salami picked up!");
break;
case 3 :
this.speechbubble_mc.popup("Great! That's another book on space collected!");
break;
case 4 :
this.speechbubble_mc.popup("Great! That's another banana to add to the bunch!");
break;
case 5 :
this.speechbubble_mc.popup("Great! That's another piece of the software collected!");
break;
case 6 :
this.speechbubble_mc.popup("Great! That's another page of your essay found!");
}
break;
case "badwish" :
this.speechbubble_mc.popup("Sorry - I don't recognise that TXT WISH.");
break;
case "txtdone" :
this.speechbubble_mc.popup("Sorry - You've already wished for that!");
break;
default :
this.speechbubble_mc.popup(tMsg);
}
};
this.addMessage = function (tItem) {
this.speechbubble_mc.popup(("Great! \rI've just added " + getItem(tItem)) + " to your backpack!");
this.gotoAndPlay("popup");
};
this.pointsMessage = function (tPoints) {
this.speechbubble_mc.popup(("Great! \rI've just added " + tPoints) + " points to your score!");
this.gotoAndPlay("popup");
};
this.prizesMessage = function (tPrizes) {
this.speechbubble_mc.popup(("Great! \rI've just added " + tPrizes) + " prize entries to your total!");
this.gotoAndPlay("popup");
};
this.pickupMessage = function (tItem) {
this.speechbubble_mc.popup(("You've just picked up " + getItem(tItem)) + ". I'll drop it into your backpack.");
this.gotoAndPlay("popup");
};
this.disappear = function () {
_global.gPause = false;
this._parent._parent.topstrip_mc.snd_mc.playsound("pDisappear");
this.pState = "idle";
this.gotoAndStop(2);
};
this.launch = function () {
this.pState = "launching";
this.gotoAndPlay("launch");
};
this.place(2, 5);
this._xscale = 90;
this._yscale = 90;
if (gObjTotals[gLvl] > 0) {
this._parent._parent.topstrip_mc.snd_mc.playmusic(1);
this.disappear();
} else {
this.launch();
}
Symbol 156 MovieClip [mc.adil] Frame 3
this._parent._parent.topstrip_mc.snd_mc.playsound("pAppear");
Symbol 156 MovieClip [mc.adil] Frame 17
this.sendMessage("Ooops!");
Symbol 156 MovieClip [mc.adil] Frame 48
this.speechbubble_mc.popup();
Symbol 156 MovieClip [mc.adil] Frame 59
switch (gLvl) {
case 1 :
this.sendMessage("Hey Sophie, do you need some help making the bed?");
break;
case 2 :
this.sendMessage("Hey Emma, do you need some help preparing your lunch?");
break;
case 3 :
this.sendMessage("Hey Sophie, you've got to do some reading, right?");
break;
case 4 :
this.sendMessage("Making Banana Splits for dessert, Emma? Yummy!");
break;
case 5 :
this.sendMessage("Time to virus-check the computer, eh Sophie?");
break;
case 6 :
this.sendMessage("Struggling with your history homework, Emma?");
}
Symbol 156 MovieClip [mc.adil] Frame 61
var pDelay = 90;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 63
switch (gLvl) {
case 1 :
this.sendMessage("I think I can help you out with that... Hang on!");
break;
case 2 :
this.sendMessage("I'll get the stuff from the fridge... Just a minute!");
break;
case 3 :
this.sendMessage("I know Dad said 'no magic', but let me help you out!");
break;
case 4 :
this.sendMessage("I'm pretty good with vegetables! ...Or are they fruit?");
break;
case 5 :
this.sendMessage("I'm pretty good with computers! Let me help!");
break;
case 6 :
this.sendMessage("Maybe I can give you a little more time...");
}
Symbol 156 MovieClip [mc.adil] Frame 65
var pDelay = 70;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 96
this.speechbubble_mc.popup();
this._parent._parent.topstrip_mc.snd_mc.playsound("pWish");
Symbol 156 MovieClip [mc.adil] Frame 100
this._parent.moveRoom();
this._parent._parent.topstrip_mc.snd_mc.playmusic(1);
Symbol 156 MovieClip [mc.adil] Frame 115
switch (gLvl) {
case 1 :
this.sendMessage("Oh dear. I'm not sure that's right!");
break;
case 2 :
this.sendMessage("Oops! Wrong spell again!");
break;
case 3 :
this.sendMessage("Erm... Sophie...!");
break;
case 4 :
this.sendMessage("Oh no! That's not right!");
break;
case 5 :
this.sendMessage("Hmmm. Not what i was expecting...");
break;
case 6 :
this.sendMessage("Oh dear. That's not quite right!");
}
Symbol 156 MovieClip [mc.adil] Frame 117
var pDelay = 60;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 119
switch (gLvl) {
case 1 :
this.sendMessage("You can still make the bed but you'll have to collect packets of seeds...");
break;
case 2 :
this.sendMessage("We're now INSIDE the fridge! You'll have to collect your lunch from here...");
break;
case 3 :
this.sendMessage("I thought you had to read books IN space.");
break;
case 4 :
this.sendMessage("I've split up all the bananas on a desert island.");
break;
case 5 :
this.sendMessage("We appear to be INSIDE a computer!");
break;
case 6 :
this.sendMessage("I've taken us back in time and lost your essay!");
}
Symbol 156 MovieClip [mc.adil] Frame 121
var pDelay = 120;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 123
switch (gLvl) {
case 1 :
this.sendMessage("...to make a FLOWER BED.\r\rI'm off - Good luck!");
break;
case 2 :
this.sendMessage("I'll help out when I can.\r\rGood luck!");
break;
case 3 :
this.sendMessage("Watch out for Martians!\r\rGood luck!");
break;
case 4 :
this.sendMessage("You'd better go and find them.\r\rSorry!");
break;
case 5 :
this.sendMessage("But find all the CD's and you'll be OK!");
break;
case 6 :
this.sendMessage("The pages will be scattered around here... somewhere!");
}
Symbol 156 MovieClip [mc.adil] Frame 125
var pDelay = 75;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 128
this.speechbubble_mc.popup();
Symbol 156 MovieClip [mc.adil] Frame 130
this.endSpeak();
Symbol 156 MovieClip [mc.adil] Frame 145
if (!this.pReadyToDisappear) {
this.gotoAndPlay("hover");
}
Symbol 156 MovieClip [mc.adil] Frame 146
this._parent._parent.topstrip_mc.snd_mc.playsound("pDisappear");
Symbol 156 MovieClip [mc.adil] Frame 159
this.disappear();
Symbol 156 MovieClip [mc.adil] Frame 163
this._parent._parent.topstrip_mc.snd_mc.playsound("pAppear");
Symbol 156 MovieClip [mc.adil] Frame 169
var pDelay = 36;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 172
this.action();
Symbol 156 MovieClip [mc.adil] Frame 174
var pDelay = 48;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 177
this._parent._parent.topstrip_mc.snd_mc.playsound("pDisappear");
Symbol 156 MovieClip [mc.adil] Frame 188
this.speechbubble_mc.popup();
this.disappear();
Symbol 156 MovieClip [mc.adil] Frame 191
this._parent._parent.topstrip_mc.snd_mc.playsound("pAppear");
Symbol 156 MovieClip [mc.adil] Frame 193
var pDelay = 20;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 204
this.grantWish();
Symbol 156 MovieClip [mc.adil] Frame 206
var pDelay = 48;
this.onEnterFrame = function () {
pDelay--;
if (pDelay == 0) {
play();
delete this.onEnterFrame;
}
};
stop();
Symbol 156 MovieClip [mc.adil] Frame 209
this._parent._parent.topstrip_mc.snd_mc.playsound("pDisappear");
Symbol 156 MovieClip [mc.adil] Frame 220
this.speechbubble_mc.popup();
this.disappear();
Symbol 167 MovieClip [mc.DD] Frame 40
trace(this);
stop();
Symbol 174 MovieClip [mc.DE] Frame 40
trace(this);
stop();
Symbol 183 MovieClip [mc.DL] Frame 40
trace(this);
stop();
Symbol 184 MovieClip [mc.DR] Frame 40
trace(this);
stop();
Symbol 186 MovieClip [mc.DS] Frame 40
trace(this);
stop();
Symbol 189 MovieClip [mc.DT] Frame 40
trace(this);
stop();
Symbol 192 MovieClip [mc.DU] Frame 40
trace(this);
stop();
Symbol 202 MovieClip [mc.DX] Frame 35
trace(this);
stop();
Symbol 204 MovieClip [mc.DY] Frame 35
trace(this);
stop();
Symbol 220 MovieClip [mc.F0] Frame 40
trace(this);
stop();
Symbol 221 MovieClip [mc.F1] Frame 40
trace(this);
stop();
Symbol 233 MovieClip [mc.F2] Frame 40
trace(this);
stop();
Symbol 236 MovieClip [mc.F3] Frame 40
trace(this);
stop();
Symbol 239 MovieClip [mc.F4] Frame 40
trace(this);
stop();
Symbol 240 MovieClip [mc.F5] Frame 40
trace(this);
stop();
Symbol 242 MovieClip [mc.F6] Frame 40
trace(this);
stop();
Symbol 243 MovieClip [mc.F7] Frame 40
trace(this);
stop();
Symbol 245 MovieClip [mc.F8] Frame 40
trace(this);
stop();
Symbol 246 MovieClip [mc.F9] Frame 40
trace(this);
stop();
Symbol 247 MovieClip [mc.FF] Frame 40
trace(this);
stop();
Symbol 260 MovieClip [mc.FA] Frame 40
trace(this);
stop();
Symbol 262 MovieClip [mc.FX] Frame 40
trace(this);
stop();
Symbol 264 MovieClip [mc.FY] Frame 40
trace(this);
stop();
Symbol 339 MovieClip Frame 19
this._parent._parent._parent._parent.topstrip_mc.snd_mc.playsound("pTennisBall");
Symbol 419 MovieClip [mc.O1] Frame 40
trace(this);
stop();
Symbol 420 MovieClip [mc.O2] Frame 40
trace(this);
stop();
Symbol 421 MovieClip [mc.O3] Frame 40
trace(this);
stop();
Symbol 422 MovieClip [mc.O4] Frame 40
trace(this);
stop();
Symbol 423 MovieClip [mc.O5] Frame 40
trace(this);
stop();
Symbol 424 MovieClip [mc.O6] Frame 40
trace(this);
stop();
Symbol 451 MovieClip [mc.QB] Frame 1
stop();
Symbol 458 MovieClip [mc.QE] Frame 1
stop();
Symbol 706 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 51
stop();
Symbol 708 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 51
stop();
Symbol 724 MovieClip Frame 1
this.addScore = function (tSC) {
trace((("adding " + tSC) + " to ") + gSC);
_global.gSC = _global.gSC + tSC;
this.score_txt.text = addCommas(gSC);
this._parent.backpack_mc.update();
};
this.setMission = function (tx) {
switch (tx) {
case 1 :
mission_txt.text = "Mission 1: Tidy your bedroom";
break;
case 2 :
mission_txt.text = "Mission 2: Pack your lunch for school";
break;
case 3 :
mission_txt.text = "Mission 3: Do your science homework";
break;
case 4 :
mission_txt.text = "Mission 4: Make something for dessert";
break;
case 5 :
mission_txt.text = "Mission 5: Virus check your computer";
break;
case 6 :
mission_txt.text = "Mission 6: Do your history homework";
}
};
this.clearUp = function () {
mission_txt.text = "";
this.score_txt.text = "";
};
stop();
Symbol 729 MovieClip Frame 1
var pX = 0;
var pWidth = this.txt1_mc._width;
duplicateMovieClip (txt1_mc, "txt2_mc", this.getNextHighestDepth());
this.txt2_mc._x = pWidth;
this.onEnterFrame = function () {
pX = pX - 3;
this.txt1_mc._x = pX;
this.txt2_mc._x = (pX + pWidth) + 10;
if (pX < (-pWidth)) {
pX = pX + (pWidth + 10);
}
};
stop();
Symbol 738 MovieClip Frame 1
var pName = String(this._name.slice(0, -3));
switch (pName) {
case "playgame" :
txt.text = "Play Game";
break;
case "options" :
txt.text = "Options";
break;
case "viewscores" :
txt.text = "View Scores";
break;
case "level1" :
txt.text = "Tidy Bedroom";
break;
case "level2" :
txt.text = "Level 2";
break;
case "level3" :
txt.text = "Level 3";
break;
case "level4" :
txt.text = "Level 4";
break;
case "level5" :
txt.text = "Level 5";
break;
case "level6" :
txt.text = "Level 6";
break;
case "reset" :
txt.text = "Reset Game Data";
break;
case "ok" :
txt.text = "OK";
break;
case "phew" :
txt.text = "Phew!";
break;
case "keychange" :
txt.text = "Change Key Layout";
break;
case "setkeys1" :
txt.text = "Use This Key Layout";
break;
case "setkeys2" :
txt.text = "Use This Key Layout";
break;
case "backtomenu" :
txt.text = "Back to Main Screen";
break;
case "backtooptions" :
txt.text = "Back to Options";
break;
case "sendtofriend" :
txt.text = "Send Now";
break;
case "go" :
txt.text = "OK, I'm ready!";
break;
case "playfull" :
txt.text = "Play FULL version!";
break;
default :
txt.text = pName;
}
stop();
Symbol 750 MovieClip Frame 1
function bitOR(a, b) {
var _local1 = (a & 1) | (b & 1);
var _local2 = (a >>> 1) | (b >>> 1);
return((_local2 << 1) | _local1);
}
function bitXOR(a, b) {
var _local1 = (a & 1) ^ (b & 1);
var _local2 = (a >>> 1) ^ (b >>> 1);
return((_local2 << 1) | _local1);
}
function bitAND(a, b) {
var _local1 = (a & 1) & (b & 1);
var _local2 = (a >>> 1) & (b >>> 1);
return((_local2 << 1) | _local1);
}
function addme(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function rhex(num) {
str = "";
j = 0;
while (j <= 3) {
str = str + (hex_chr.charAt((num >> ((j * 8) + 4)) & 15) + hex_chr.charAt((num >> (j * 8)) & 15));
j++;
}
return(str);
}
function str2blks_MD5(str) {
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < (nblk * 16)) {
blks[i] = 0;
i++;
}
i = 0;
while (i < str.length) {
blks[i >> 2] = blks[i >> 2] | (str.charCodeAt(i) << ((((str.length * 8) + i) % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((((str.length * 8) + i) % 4) * 8));
var _local2 = str.length * 8;
blks[(nblk * 16) - 2] = _local2 & 255;
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 8) & 255) << 8);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 16) & 255) << 16);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((_local2 >>> 24) & 255) << 24);
return(blks);
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(addme(rol(addme(addme(a, q), addme(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, c), bitAND(~b, d)), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, d), bitAND(c, ~d)), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(bitXOR(c, bitOR(b, ~d)), a, b, x, s, t));
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
var _local1;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
_local1 = 0;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = addme(a, olda);
b = addme(b, oldb);
c = addme(c, oldc);
d = addme(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
}
var pScore = 0;
this.submitHS = function (tSC) {
this.pScore = tSC;
this.gotoAndPlay("enter");
this._parent.gotoAndPlay(pChartLoc);
};
this.displayHS = function () {
this.pingHighScore("get");
this._parent.gotoAndPlay(pChartLoc);
};
this.clearHS = function () {
this.gotoAndPlay("empty");
this._parent.gotoAndPlay(pDoneFrame);
};
this.pingHighScore = function (tFunc) {
if (tVarHS_lv != undefined) {
delete tVarHS_lv;
}
tVarHS_lv = new LoadVars();
tVarHS_lv.f = tFunc;
switch (tFunc) {
case "add" :
tVarHS_lv.i = "genie";
tVarHS_lv.s = gSC;
tVarHS_lv.n = usrname_txt.text;
tVarHS_lv.e = usremail_txt.text;
tVarHS_lv.p = gPrizeEntries.length + gExtraPrizes;
var _local2 = tVarHS_lv.n.toUpperCase();
if ((((((((((_local2 == "POO") || (_local2 == "PIS")) || (_local2 == "FOK")) || (_local2 == "FUC")) || (_local2 == "FUK")) || (_local2 == "FOC")) || (_local2 == "COC")) || (_local2 == "COK")) || (_local2 == "KOC")) || (_local2 == "KOK")) {
emailalert_txt.text = "Please enter your initials";
return(undefined);
}
if (tVarHS_lv.n.length < 1) {
emailalert_txt.text = "Please enter your initials";
return(undefined);
}
if (tVarHS_lv.e.length < 5) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
if (((tVarHS_lv.e.indexOf("@") == -1) || (tVarHS_lv.e.lastIndexOf(".") == -1)) || (tVarHS_lv.e.indexOf("@") > tVarHS_lv.e.lastIndexOf("."))) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
p3_so.data.usrname = tVarHS_lv.n;
p3_so.data.usremail = tVarHS_lv.e;
p3_so.flush();
var _local3 = ((tVarHS_lv.n + tVarHS_lv.e) + tVarHS_lv.s) + tVarHS_lv.i;
tVarHS_lv.m = calcMD5(_local3);
case "get" :
tVarHS_lv.onData = function (src) {
trace("src = " + src);
this.decode(src);
gotoAndPlay ("display");
};
for (t in tVarHS_lv) {
trace(tVarHS_lv[t]);
}
tVarHS_lv.sendAndLoad(pPingLoc, tVarHS_lv, "GET");
this.gotoAndPlay("pingwait");
}
};
var hex_chr = "0123456789abcdef";
stop();
Symbol 750 MovieClip Frame 3
stop();
Symbol 750 MovieClip Frame 8
usrname_txt.restrict = "a-z A-Z 0-9";
usremail_txt.restrict = "a-zA-Z0-9@.\\-";
usrname_txt.tabIndex = 1;
usremail_txt.tabIndex = 2;
submit_mc.tabIndex = 3;
skip_mc.tabIndex = 4;
submit_mc.onRelease = function () {
pingHighScore("add");
};
skip_mc.onRelease = function () {
pingHighScore("get");
};
this.onEnterFrame;
stop();
Symbol 750 MovieClip Frame 13
stop();
Symbol 750 MovieClip Frame 20
ok_mc.onRelease = function () {
this._parent.clearHS();
};
var tnames = tVarHS_lv.HSnames.split(",");
var tscores = tVarHS_lv.HSscores.split(",");
var tengland = tVarHS_lv.EPscores.split(",");
this.addCommas = function (tSC) {
var _local1 = "";
var _local5 = String(tSC);
var _local3 = _local5.split("");
var _local4 = 0;
var _local2 = _local3.length;
while (_local2 > 0) {
_local1 = String(_local3.pop()) + _local1;
_local4++;
if ((_local4 == 3) && (_local3.length > 1)) {
_local1 = "," + _local1;
_local4 = 0;
}
_local2--;
}
return(_local1);
};
i = 1;
while (i < 11) {
this["HSline" + i].HSpos.text = i;
this["HSline" + i].HSname.text = tnames[i - 1];
this["HSline" + i].HSscore.text = addCommas(tscores[i - 1]);
i++;
}
if (tengland[1] != undefined) {
this.HSlineX.HSpos.text = tengland[0];
this.HSlineX.HSname.text = tengland[1];
this.HSlineX.HSscore.text = addCommas(tengland[2]);
} else {
this.HSlineX.HSpos.text = "";
this.HSlineX.HSname.text = "";
this.HSlineX.HSscore.text = "";
}
stop();
Symbol 753 MovieClip Frame 1
gotoAndPlay (1);
Symbol 757 MovieClip Frame 1
this.popup = function (tMsg) {
if (tMsg == undefined) {
this.gotoAndStop(2);
} else {
this.txt.text = tMsg;
this.gotoAndPlay("popup");
}
};
stop();
Symbol 757 MovieClip Frame 18
stop();
Symbol 759 MovieClip Frame 1
this.popup = function (tMsg) {
if (tMsg == undefined) {
this.gotoAndStop(2);
} else {
this.txt.text = tMsg;
this.gotoAndPlay("popup");
}
};
stop();
Symbol 759 MovieClip Frame 18
stop();
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 14
this.SPgirls_mc.popup("Dad, can we go out?");
Symbol 766 MovieClip Frame 85
this.SPdad_mc.popup("No, You're both grounded. You haven't done your chores.");
Symbol 766 MovieClip Frame 93
this.SPgirls_mc.popup();
Symbol 766 MovieClip Frame 160
this.SPgirls_mc.popup("Awwww... DAD!");
Symbol 766 MovieClip Frame 171
this.SPdad_mc.popup();
Symbol 766 MovieClip Frame 210
this.SPdad_mc.popup("Complete all your chores then you can go out...");
Symbol 766 MovieClip Frame 218
this.SPgirls_mc.popup();
Symbol 766 MovieClip Frame 301
this.SPdad_mc.popup("...but NO MAGIC! OK?");
Symbol 766 MovieClip Frame 353
this.SPgirls_mc.popup("OK...");
Symbol 766 MovieClip Frame 385
this.SPdad_mc.popup();
this.SPgirls_mc.popup();
this._parent.chorelist_mc.play();
Symbol 766 MovieClip Frame 392
stop();
Symbol 782 MovieClip Frame 1
var pName = String(this._name.slice(0, -3));
switch (pName) {
case "level1" :
txt.text = "1) Tidy your bedroom";
break;
case "level2" :
txt.text = "2) Pack your lunch for school";
break;
case "level3" :
txt.text = "3) Do your science homework";
break;
case "level4" :
txt.text = "4) Make something for dessert";
break;
case "level5" :
txt.text = "5) Virus check your computer";
break;
case "level6" :
txt.text = "6) Do your history homework";
}
stop();
Symbol 784 MovieClip Frame 1
var pName = Number(this._name.slice(2, -3));
var PC = Math.round((gObjTotals[pName] / 6) * 100);
if (PC == undefined) {
PC = 0;
}
this.txt.text = String(PC + "%");
stop();
Symbol 787 MovieClip Frame 1
var pName = Number(this._name.slice(8, -3));
if (gObjTotals[pName] == 6) {
this.gotoAndStop(2);
} else {
stop();
}
Symbol 788 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 37
stop();
Symbol 788 MovieClip Frame 54
stop();
Symbol 790 MovieClip Frame 10
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 1
stop();
Symbol 821 MovieClip Frame 1
var pLiveFloorClips = new Array();
var pLiveObjClips = new Array();
this.pBod = "emma";
_global.gPause = true;
this.createFloor = function (tLvl, tRoomX, tRoomY) {
_global.gMapArray[gLvl][(2 + pCurrRoom[0]) + (pCurrRoom[1] * gMapArray[gLvl][0])] = 2;
var _local11 = 5 + (5 * tLvl);
var _local17 = gFloors[gLvl][tRoomX][tRoomY];
var _local18 = _local17.length / 2;
var _local10 = new Array();
var _local9 = 0;
while (_local9 < _local18) {
_local10.push(_local17.slice(_local9 * 2, (_local9 * 2) + 2));
_local9++;
}
var _local6 = 0;
while (_local6 < 14) {
var _local7 = 0;
while (_local7 < 14) {
var _local13 = (_local7 * 32) - (_local6 * 32);
var _local12 = ((_local7 / 2) * 32) + ((_local6 / 2) * 32);
var _local5 = (_local6 * 100) + (_local7 * 4);
tTile = _local10.shift();
if (tTile != 0) {
var _local3 = new Object();
_local3._x = _local13;
_local3._y = _local12;
_local3.pGridX = _local7;
_local3.pGridY = _local6;
_local3.pF = _local11;
_local3.pType = tTile;
_local3.pLocZ = _local5;
_local3.TTest = function () {
return(this.pType);
};
var _local14 = this.attachMovie("mc.tilemaster", [(("tile" + _local7) + "-") + _local6], _local5, _local3);
pLiveFloorClips.push(_local14);
this[(("tile" + _local7) + "-") + _local6].attachMovie("mc." + tTile, "tile_mc", this.getNextHighestDepth());
}
_local7++;
}
_local6++;
}
var _local16 = gObjs[gLvl][tRoomX][tRoomY];
_local18 = _local16.length / 6;
_local9 = 0;
while (_local9 < _local18) {
var _local8 = _local16.slice(_local9 * 6, (_local9 * 6) + 6);
var _local15 = _local8.slice(0, 2);
var _local7 = Number(_local8.slice(2, 4));
_local6 = Number(_local8.slice(4, 6));
var _local13 = (_local7 * 32) - (_local6 * 32);
var _local12 = ((_local7 / 2) * 32) + ((_local6 / 2) * 32);
var _local5 = 10000 + ((_local6 * 100) + (_local7 * 4));
var _local4 = new Object();
_local4._x = _local13;
_local4._y = _local12;
_local4.pGridX = _local7;
_local4.pGridY = _local6;
_local4.pWorldX = _local7 * 32;
_local4.pWorldY = _local6 * 32;
_local4.pType = _local15;
_local4.pStr = _local8;
_local4.pF = _local11;
_local4.pLocZ = _local5;
var _local14 = this.attachMovie("mc.objmaster", [(("obj" + padNum(_local7)) + "-") + padNum(_local6)], _local5, _local4);
pLiveObjClips.push(_local14);
_local9++;
}
};
this.createNewObject = function (tObjID, tX, tY) {
trace("creating new object---");
var _local2 = new Object();
_local2._x = (tX * 32) - (tY * 32);
_local2._y = ((tX / 2) * 32) + ((tY / 2) * 32);
_local2.pGridX = tX;
_local2.pGridY = tY;
_local2.pWorldX = tX * 32;
_local2.pWorldY = tY * 32;
_local2.pType = tObjID;
_local2.pStr = (tObjID + padNum(tX)) + padNum(tY);
_local2.pF = 1;
_local2.pLocZ = 10000 + ((tY * 100) + (tX * 4));
var _local5 = this.attachMovie("mc.objmaster", [(("obj" + padNum(tX)) + "-") + padNum(tY)], _local2.pLocZ, _local2);
pLiveObjClips.push(_local5);
};
this.clearFloor = function () {
for (var _local1 in pLiveFloorClips) {
pLiveFloorClips[_local1].removeMovieClip();
}
pLiveFloorClips.splice(0);
for (var _local1 in pLiveObjClips) {
pLiveObjClips[_local1].removeMovieClip();
}
pLiveObjClips.splice(0);
};
this.moveRoom = function (tDir) {
switch (tDir) {
case "UL" :
tDirArray = [-1, 0];
break;
case "DR" :
tDirArray = [1, 0];
break;
case "UR" :
tDirArray = [0, -1];
break;
case "DL" :
tDirArray = [0, 1];
break;
default :
tDirArray = [0, 0];
}
var _local2 = [pCurrRoom[0] + tDirArray[0], pCurrRoom[1] + tDirArray[1]];
if (gFloors[_local2[0]][_local2[1]] != "") {
pCurrRoom = _local2;
this.clearFloor();
this.createFloor(gLvl, pCurrRoom[0], pCurrRoom[1]);
this.bod_mc.findDoor(tDir);
} else {
trace(((_local2[0] + "-") + _local2[1]) + " - room not valid");
}
this._parent.gameStatusSave();
};
this.exitLevel = function () {
this.clearFloor();
this._parent.gotoAndPlay("evaluate");
};
this.getGridLoc = function () {
return(pCurrRoom.slice());
};
this.getLiveObjects = function () {
return(pLiveObjClips.slice());
};
this.getLiveFloorClips = function () {
return(pLiveFloorClips.slice());
};
this.removeFromObjs = function (tGridX, tGridY) {
var _local6 = "";
var _local5 = gObjs[gLvl][pCurrRoom[0]][pCurrRoom[1]];
var _local7 = _local5.length / 6;
var _local1 = 0;
while (_local1 < _local7) {
var _local2 = _local5.slice(_local1 * 6, (_local1 * 6) + 6);
var _local4 = Number(_local2.slice(2, 4));
var _local3 = Number(_local2.slice(4, 6));
if ((_local4 != tGridX) || (_local3 != tGridY)) {
_local6 = _local6 + _local2;
}
_local1++;
}
gObjs[gLvl][pCurrRoom[0]][pCurrRoom[1]] = _local6;
};
this.removeFromAllObjs = function (tObj) {
var _local8 = 1;
while (_local8 < 7) {
var _local4 = 0;
while (_local4 < 14) {
var _local2 = 0;
while (_local2 < 14) {
var _local6 = "";
var _local5 = gObjs[_local8][_local4][_local2];
var _local9 = _local5.length / 6;
var _local1 = 0;
while (_local1 < _local9) {
var _local3 = _local5.slice(_local1 * 6, (_local1 * 6) + 6);
var _local7 = _local3.slice(0, 2);
if (_local7 == tObj) {
} else {
_local6 = _local6 + _local3;
}
_local1++;
}
gObjs[_local8][_local4][_local2] = _local6;
_local2++;
}
_local4++;
}
_local8++;
}
};
this.swapBods = function () {
this.bod_mc.char_mc.removeMovieClip();
if (this.pBod == "emma") {
this.pBod = "sophie";
} else {
this.pBod = "emma";
}
this.bod_mc.attachMovie("mc.bod-" + this.pBod, "char_mc", 100);
};
switch (gLvl) {
case 1 :
var pCurrRoom = [0, 0];
break;
case 2 :
var pCurrRoom = [0, 0];
break;
case 3 :
var pCurrRoom = [0, 0];
break;
case 4 :
var pCurrRoom = [0, 0];
break;
case 5 :
var pCurrRoom = [0, 0];
break;
case 6 :
var pCurrRoom = [0, 0];
}
this._parent.topstrip_mc.addScore(0);
this._parent.topstrip_mc.setMission(gLvl);
if (gObjTotals[gLvl] > 0) {
this.createFloor(gLvl, pCurrRoom[0], pCurrRoom[1]);
} else {
this.createFloor(0, pCurrRoom[0], pCurrRoom[1]);
}
this.attachMovie("mc.bod", "bod_mc", 10000);
this.attachMovie("mc.adil", "adil_mc", 20000);
if ((gLvl % 2) == 1) {
this.pBod = "sophie";
this.bod_mc.attachMovie("mc.bod-" + this.pBod, "char_mc", 100);
this._parent.girlsheads_mc.setGirl("sophie");
} else {
this.pBod = "emma";
this.bod_mc.attachMovie("mc.bod-" + this.pBod, "char_mc", 100);
this._parent.girlsheads_mc.setGirl("emma");
}
this._parent.topstrip_mc.snd_mc.playintro(0);
this._parent.topstrip_mc.snd_mc.playsound("pSting");
stop();
Symbol 827 MovieClip Frame 70
trace(this);
stop();
Symbol 835 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 1
var pName = String(this._name.slice(0, -3));
switch (pName) {
case "cancel" :
txt.text = "Cancel";
break;
case "sendtofriend" :
txt.text = "Send Now";
break;
default :
txt.text = pName;
}
stop();
Symbol 857 MovieClip Frame 1
this.pY = 550;
this._y = pY;
this.pItemBase = 0;
this.pItemToSend = undefined;
this.update = function () {
trace("updating backpack");
var _local2 = 0;
while (_local2 < 15) {
this._alpha = 100;
var _local3 = gObjsCollected[this.pItemBase + _local2];
if (_local3 != undefined) {
this["item" + _local2].gotoAndStop(_local3);
} else {
this["item" + _local2].gotoAndStop(1);
}
_local2++;
}
this.prize_txt.text = String(gPrizeEntries.length + gExtraPrizes);
this.levelstatus_mc.gotoAndStop((gLvl * 10) + gObjTotals[gLvl]);
};
this.onEnterFrame = function () {
if (this._y == this.pY) {
return(undefined);
}
var _local2 = this.pY - this._y;
this._y = this._y + (_local2 / 3);
if (Math.abs(this._y - this.pY) < 2) {
this._y = this.pY;
}
};
this.closebackpack_mc.onRelease = function () {
this._parent.showMe();
this.gotoAndStop("items");
};
this.showMe = function (tYN) {
if (tYN == 1) {
this.pY = 256;
} else if (this.pY == 550) {
this.pY = 256;
} else {
this.pY = 550;
}
};
this.addObj = function (tObj) {
trace("addobj");
_global.gObjsCollected.push(tObj);
trace(_global.gObjsCollected.toString());
this.update();
this.showMe(1);
};
this.addPrizes = function (tPrizes) {
_global.gExtraPrizes = _global.gExtraPrizes + tPrizes;
this.update();
this.showMe(1);
};
this.scrollup = function () {
this.pItemBase = this.pItemBase - 5;
if (this.pItemBase < 0) {
this.pItemBase = 0;
}
this.update();
};
this.scrolldown = function () {
this.pItemBase = this.pItemBase + 5;
if (this.pItemBase > 10) {
this.pItemBase = 10;
}
this.update();
};
this.rollOverItem = function (ti) {
var _local2 = gObjsCollected[this.pItemBase + ti];
if (_local2 != undefined) {
desc_txt.text = getItem(_local2);
}
};
this.sendToFriend = function (ti) {
trace("sending object: " + ti);
this.pItemToSend = gObjsCollected[this.pItemBase + ti];
trace(this.pItemToSend);
if (this.pItemToSend != undefined) {
this.gotoAndPlay("sendtofriend");
}
};
this.sendNow = function () {
if (tVarHS_lv != undefined) {
delete tVarHS_lv;
}
tVarHS_lv = new LoadVars();
tVarHS_lv.o = this.pItemToSend;
tVarHS_lv.n = yname_txt.text;
tVarHS_lv.fn = fname_txt.text;
tVarHS_lv.fe = femail_txt.text;
if (tVarHS_lv.n.length < 1) {
emailalert_txt.text = "Please enter your name";
return(undefined);
}
if (tVarHS_lv.fe.length < 5) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
if (((tVarHS_lv.fe.indexOf("@") == -1) || (tVarHS_lv.fe.lastIndexOf(".") == -1)) || (tVarHS_lv.fe.indexOf("@") > tVarHS_lv.fe.lastIndexOf("."))) {
emailalert_txt.text = "Please enter your email address";
return(undefined);
}
tVarHS_lv.onData = function (src) {
trace("src = " + src);
};
for (t in tVarHS_lv) {
trace((t + ": ") + tVarHS_lv[t]);
}
tVarHS_lv.sendAndLoad("challenge.asp", tVarHS_lv, "GET");
this.gotoAndPlay("sent");
};
Symbol 857 MovieClip Frame 5
this.scrollup_mc.onPress = function () {
this._parent.scrollup();
};
this.scrolldown_mc.onPress = function () {
this._parent.scrolldown();
};
var i = 0;
while (i < 15) {
this["item" + i].onRollOver = function () {
this._parent.rollOverItem(Number(this._name.slice(4)));
};
this["item" + i].onRelease = function () {
this._parent.sendToFriend(Number(this._name.slice(4)));
};
i++;
}
this.backpackBG_mc.onRollOver = function () {
this._parent.desc_txt.text = "";
};
this.update();
stop();
Symbol 857 MovieClip Frame 10
sendtofriend_mc.onRelease = function () {
sendNow(this.pItemToSend);
this.pItemToSend = undefined;
};
cancel_mc.onRelease = function () {
_global.gPause = false;
this.pItemToSend = undefined;
this._parent.gotoAndStop("items");
};
_global.gPause = true;
trace("this item: " + getItem(this.pItemToSend));
desc_txt.text = "blah:" + getItem(this.pItemToSend);
this.item0.gotoAndStop(this.pItemToSend);
stop();
Symbol 857 MovieClip Frame 17
_global.gPause = false;
Symbol 857 MovieClip Frame 40
this.gotoAndPlay("items");
Symbol 858 MovieClip Frame 1
this.pMapVisible = 0;
this.drawMap = function () {
if (this.pMapVisible == 1) {
this.pMapVisible = 0;
this.clear();
} else {
this.pMapVisible = 1;
var _local6 = gMapArray[gLvl];
var _local5 = _local6[0];
var _local8 = _local6[1];
var _local2 = 20;
var _local7 = this._parent.floor_mc.getGridLoc();
var _local4 = 0;
while (_local4 < _local8) {
var _local3 = 0;
while (_local3 < _local5) {
if (_local6[(_local3 + (_local4 * _local5)) + 2] > 0) {
this.lineStyle(1, 16777215);
this.moveTo(getX(_local3 * _local2, _local4 * _local2), getY(_local3 * _local2, _local4 * _local2));
switch (_local6[(_local3 + (_local4 * _local5)) + 2]) {
case 1 :
this.beginFill(3355443);
break;
case 2 :
this.beginFill(13421772);
}
if ((_local7[0] == _local3) && (_local7[1] == _local4)) {
this.beginFill(16711680);
}
this.lineTo(getX((_local3 * _local2) + _local2, _local4 * _local2), getY((_local3 * _local2) + _local2, _local4 * _local2));
this.lineTo(getX((_local3 * _local2) + _local2, (_local4 * _local2) + _local2), getY((_local3 * _local2) + _local2, (_local4 * _local2) + _local2));
this.lineTo(getX(_local3 * _local2, (_local4 * _local2) + _local2), getY(_local3 * _local2, (_local4 * _local2) + _local2));
this.lineTo(getX(_local3 * _local2, _local4 * _local2), getY(_local3 * _local2, _local4 * _local2));
}
_local3++;
}
_local4++;
}
}
};
stop();
Symbol 860 MovieClip Frame 4
stop();
Symbol 860 MovieClip Frame 10
stop();
Symbol 860 MovieClip Frame 27
stop();
Symbol 863 MovieClip Frame 1
this.onRollOver = function () {
this.bubble_mc.gotoAndPlay("rollon");
};
this.onRollOut = function () {
this.bubble_mc.gotoAndPlay("rolloff");
};
if ((gLvl % 2) == 1) {
this.gotoAndStop("sophie");
} else {
this.gotoAndStop("emma");
}
stop();
Symbol 872 MovieClip Frame 1
if ((gLvl % 2) == 1) {
this.gotoAndPlay("e_to_s");
} else {
this.gotoAndPlay("s_to_e");
}
Symbol 872 MovieClip Frame 14
stop();
Symbol 872 MovieClip Frame 27
stop();
Symbol 877 MovieClip Frame 11
stop();
Symbol 881 MovieClip Frame 4
stop();
Symbol 881 MovieClip Frame 10
stop();
Symbol 881 MovieClip Frame 27
stop();
Symbol 892 MovieClip Frame 1
this.pState = "idle";
this.popUp = function () {
trace("popup");
if ((this.pState = "idle")) {
this._parent.topstrip_mc.snd_mc.playsound("pPhonePop");
this.pState = "popup";
this.gotoAndPlay("phone_up");
this.bubble_mc.gotoAndPlay("rolloff");
_global.gPause = true;
delete this.onRelease;
delete this.onRollOver;
delete this.onRollOut;
}
};
this.createRollovers = function () {
this.onRollOver = function () {
if (this.pState == "idle") {
this.bubble_mc.gotoAndPlay("rollon");
}
};
this.onRollOut = function () {
this.bubble_mc.gotoAndPlay("rolloff");
};
};
this.closeDown = function () {
if (this.pState == "active") {
this.pState = "idle";
trace("close phone");
this.createRollovers();
this.play();
}
};
this.sendCode = function () {
if (this.pState == "active") {
var _local2 = codeentry_txt.text.toUpperCase();
trace(_local2);
this._parent.floor_mc.adil_mc.wish(_local2);
this.closeDown();
}
};
this.createRollovers();
stop();
Symbol 892 MovieClip Frame 81
this.pState = "active";
Selection.setFocus("codeentry_txt");
send_mc.onRelease = function () {
trace("send");
this._parent.sendCode();
};
cancel_mc.onRelease = function () {
trace("cancel");
_global.gPause = false;
this._parent.closeDown();
};
stop();
Symbol 892 MovieClip Frame 101
this.onRelease = function () {
this.popUp();
};
stop();