STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228095
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/19759662?noj=FRM19759662-5DC" width="1" height="1"></div>

Play TF2 Crate Sim, a free online game on Kongregate.swf

This is the info page for
Flash #191641

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
frame 1 { bytes_loaded = Math.round(this.getBytesLoaded()); bytes_total = Math.round(this.getBytesTotal()); bstring = Math.round(bytes_loaded / 1000) + ' kb out of ' + Math.round(bytes_total / 1000) + ' kb'; getPercent = bytes_loaded / bytes_total; loadbar.gotoAndStop(Math.floor(getPercent * 100)); if (bytes_loaded == bytes_total) { this.gotoAndPlay(3); } } movieClip 33 { frame 1 { stop(); } } frame 2 { this.gotoAndPlay(1); } frame 4 { stop(); var myMenu_cm = new ContextMenu(); myMenu_cm.builtInItems.play = false; myMenu_cm.builtInItems.zoom = false; myMenu_cm.builtInItems.quality = true; myMenu_cm.builtInItems.print = false; myMenu_cm.builtInItems.save = false; myMenu_cm.builtInItems.loop = false; myMenu_cm.builtInItems.rewind = false; myMenu_cm.builtInItems.forward_back = false; _root.menu = myMenu_cm; allowed = _url.indexOf('kongregate.com') != -1 or _url.indexOf('/Users/Tom/') != -1; if (allowed) { gotoAndPlay(5); } } button 41 { on (press) { getURL('kongregate.com/games/stripedypaper/tf2-crate-sim', '_blank'); } } frame 5 { var mouserollover = new Sound(); mouserollover.attachSound('buttonrollover.wav'); var mouseclick = new Sound(); mouseclick.attachSound('buttonclick.wav'); var mouseclickrelease = new Sound(); mouseclickrelease.attachSound('buttonclickrelease.wav'); var bgmusic = new Sound(); bgmusic.attachSound('bgmusic'); var swap = new Sound(); swap.attachSound('trade_changedfix.mp3'); var achievement = new Sound(); achievement.attachSound('achearned'); var happybirthday = new Sound(); happybirthday.attachSound('happy_birthday.wav'); var hint = new Sound(); hint.attachSound('hint.wav'); bgmusic.onSoundComplete = function () { bgmusic.start(); }; stop(); mouseclick.setVolume(30); mouseclickrelease.setVolume(30); uncrate.onPress = function () { mouseclick.start(0, 0); }; uncrate.onRelease = function () { mouseclickrelease.start(0, 0); play(); }; } movieClip 43 { } movieClip 45 { } movieClip 48 { } movieClip 49 { } movieClip 52 { } movieClip 54 { } movieClip 57 { } movieClip 60 { } button 77 { on (press) { getURL('http://flashcratesim.webs.com/apps/blog/', '_blank'); } } button 82 { on (press) { getURL('http://steamcommunity.com/id/stripedy', '_blank'); } } button 86 { on (press) { getURL('http://flashcratesim.webs.com/whatsthisgameabout.htm', '_blank'); } } frame 6 { } movieClip 92 { } frame 178 { var aitems = Array('', 'Batter\'s Helmet', 'Soldier\'s Stash', 'Pyro\'s Beanie', 'Demoman\'s Fro', 'Football Helmet', 'Mining Light', 'Prussian Picklehaube', 'Trophy Belt', 'Fancy Fedora', 'Ye Olde Baker Boy', 'Bonk Helm', 'Tyrant\'s Helm', 'Stainless Steel Pot', 'Brigade Helm', 'Respectless Rubber Glove', 'Glengarry Bonnet', 'Scotsman\'s Stove Pipe', 'Officer\'s Ushanka', 'Tough Guy\'s Toque', 'Texas Ten Gallon', 'Engineer\'s Cap', 'Vintage Tyrolean', 'Otolaryngologist\'s Mirror', 'Professional\'s Panama', 'Master\'s Yellow Belt', 'Backbiter\'s Billycock', 'Modest Pile of Hat', 'Noble Amassment of Hats', 'Towering Pillar of Hats', 'Troublemaker\'s Tosslecap', 'Killer\'s Kabuto', 'Triboniophorus Tyrannus', 'Hustler\'s Hallmark', 'Hound Dog', 'Hotrod', 'Shooter\'s Sola Topi', 'Magistrate\'s Mullet', 'Whoopee Cap', 'Sergeant\'s Drill Hat', 'Vintage Merryweather', 'Tippler\'s Tricorne', 'Heavy Duty Rag', 'Safe\'n\'Sound', 'Ze Goggles', 'Gentleman\'s Gatsby', 'Bloke\'s Bucket Hat', 'Frenchman\'s Beret', 'Bombing Run', 'Chieftain\'s Challenge', 'Dr\'s Dapper Topper', 'Stout Shako', 'Old Guadalajara', 'Napper\'s Respite', 'Handyman\'s Handle', 'Sober Stuntman', 'Carouser\'s Capotain', 'Hard Counter', 'Pugilist\'s Protector', 'Milkman', 'Ol\' Snaggletooth', 'Grenadier\'s Softcap', 'Attendant', 'Familiar Fez', 'Rimmed Raincatcher', 'Rather Festive Tree', 'Flipped Trilby', 'Defiant Spartan', 'Exquisite Rack', 'Madame Dixie', 'Pyromancer\'s Mask', 'Prancer\'s Pride', 'Prince Tavish\'s Crown', 'Magnificent Mongolian', 'Coupe D\'isaster', 'German Gonzila', 'Industrial Festiviser', 'Buckaroos Hat', 'Larrikin Robin', 'Détective Noir', 'Blighted Beak', 'Le Party Phantom', 'Scotch Bonnet', 'Big Chief', 'Berliner\'s Bucket Helm', 'Honcho\'s Headgear', 'Reggaelator', 'Big Country', 'Professor\'s Peculiarity', 'Medic\'s Mountain Cap', 'Grimm Hatte', 'Private Eye', 'Charmer\'s Chapeau', 'Hetman\'s Headpiece', 'Janissary Ketche', 'Brain Bucket', 'Dead Cone', 'Team Captain', 'Furious Fukaamigasa', 'Hottie\'s Hoodie', 'Connoisseur\'s Cap', 'Large Luchadore', 'Western Wear', 'Ol\' Geezer', 'Doctor\'s Sack', 'Crocleather Slouch', 'Conjurer\'s Cowl', 'Capo\'s Capper', 'Cosa Nostra Cap', 'Desert Marauder', 'Sultan\'s Ceremonial', 'Bonk Boy', 'Jumper\'s Jeepcap', 'Armored Authority', 'Stately Steel Toe', 'Tam O\' Shanter', 'Copper\'s Hard Top', 'Lord Cockswain\'s Pith Helmet', 'Dragonborn Helmet', 'Anger', 'Company Man', 'Nanobalaclava', 'El Jefe', 'Backwards Ballcap', 'Birdcage', 'Buccaneer\'s Bicorne', 'Counterfeit Billycock', 'Flamboyant Flamenco', 'Gym Rat', 'Hat with no Name', 'Hermes', 'Hotdogger', 'L\'Inspecteur', 'Little Buddy', 'One-Man Army', 'Outdoorsman', 'Pencil Pusher', 'Salty Dog', 'Surgeon\'s Stahlhelm', 'Swagman\'s Swatter', 'Tavish DeGroot Experience', 'Virtual Reality Headset', 'Your Worse Nightmare', 'Head Warmer', 'Big Elfin Deal', 'Brown Bomber', 'Brainiac Hairpiece', 'Bubble Pipe', 'Fed-fightin\' Fedora', 'Gentleman\'s Ushanka', 'Hazmat Headcase', 'Helmet Without A Home', 'Liquidator\'s Lid', 'Master Mind', 'Wraith Wrap', 'Executioner', 'Crone\'s Dome', 'Front Runner', 'Lucky Shot', 'Conquistador', 'Waxy Wayfinder', 'Coffin Kit', 'Bonk Leadwear', 'Ye Oiled Baker Boy', 'Bot Dogger', 'Greased Lightning', 'War Pig', 'Infernal Impaler', 'Soldier\'s Slope Scopers', 'Tyrantium Helmet', 'Full Metal Drill Hat', 'Steel Shako', 'Cloud Crasher', 'Valley Forge', 'Caribbean Conqueror', 'Whirly Warrior', 'Rebel Rouser', 'Federal Casemaker', 'Respectless Robo Glove', 'Plumber\'s Pipe', 'Firewall Helmet', 'Metal Slug', 'Pyro\'s Boron Beanie', 'Electric Escorter', 'Bolted Birdcage', 'Pampered Pyro', 'Burning Bandana', 'Hive Minder', 'Bone Dome', 'Cotton Head', 'Voodoo JuJu (Slight Return)', 'Bolted Bicorne', 'Broadband Bonnet', 'FR-0', 'Cyborg Stunt Helmet', 'Pure Tin Capotain', 'Strontium Stove Pipe', 'Black Watch', 'Tartan Spartan', 'Stormin\' Norman', 'Glasgow Great Helm', 'Pirate Bandana', 'Bunsen Brave', 'Tungsten Toque', 'Gridiron Guardian', 'Tsarboosh', 'Bear Necessities', 'Katyusha', 'Barnstormer', 'Plug-In Prospector', 'Timeless Topper', 'Data Mining Light', 'Texas Tin-Gallon', 'Pardner\'s Pompadour', 'Platinum Pickelhaube', 'Halogen Head Lamp', 'Titanium Tyrolean', 'Virus Doctor', 'Powdered Practitioner', 'Das Hazmattenhatten', 'Das Ubersternmann', 'Das Naggenvatcher', 'Das Maddendoktor', 'Das Gutenkutteharen', 'Baron Von Havenaplane', 'Fruit Shoot', 'Cold Killer', 'Soldered Sensei', 'Letch\'s LED', 'Shooter\'s Tin Topi', 'Well-Rounded Rifleman', 'Wet Works', 'Brim-Full Of Bullets', 'Slick Cut', 'Base Metal Billycock', 'Bootleg Base Metal Billycock', 'Pom-Pommed Provocateur', 'Harmburg', 'Belgian Detective', 'L\'homme Burglerre', 'Tough Stuff Muffs', 'Modest Metal Pile of Scrap', 'Noble Nickel Amassment of Hats', 'Towering Titanium Pillar of Hats', 'Galvanized Gibus', 'Brotherhood of Arms', 'Horrific Headsplitter', 'Antlers', 'Virtual Viewfinder', 'Hong Kong Cone', 'Baseball Bill\'s Sports Shine', 'Texas Slim\'s Dome Shine', 'Ritzy Rick\'s Hair Fixative', 'Gentle Manne\'s Service Medal', 'Camera Beard', 'Cheater\'s Lament', 'Ghastly Gibus', 'Mildly Disturbing Halloween Mask', 'Bill\'s Hat', 'Physician\'s Procedure Mask', 'Max\'s Severed Head', 'Mercenary', 'Soldier of Fortune', 'Grizzled Veteran', 'Primeval Warrior', 'Earbuds', 'Alien Swarm Parasite', 'Lumbricus Lid', 'Mann Co. Cap', 'Wiki Cap', 'Bronze Dueling Badge', 'Silver Dueling Badge', 'Gold Dueling Badge', 'Platinum Dueling Badge', 'Polycount Pin', 'Ellis\' Cap', 'Saxton Hale Mask', 'Ghastlier Gibus', 'Horseless Headless Horsemann\'s Head', 'Voodoo Juju', 'Spine Chilling Skull', 'Horrific Headsplitter', 'Cadaver\'s Cranium', 'Dealer\'s Visor', 'Dangeresque, Too?', 'License to Maim', 'Companion Cube Pin', 'Bounty Hat', 'Treasure Hat', 'Hat of Undeniable Wealth and Respect', 'Foster\'s Facade', 'Stockbroker\'s Scarf', 'World Traveller\'s Hat', 'Athletic Supporter', 'Superfan', 'Essential Accessories', 'Hero\'s Hachimaki', 'Humanitarian\'s Hachimaki', 'Benefactor\'s Kanmuri', 'Magnanimous Monarch', 'Aperture Labs Hard Hat', 'Resurrection Associate Pin', 'Sight for Sore Eyes', 'Teddy Roosebelt', 'Googly Gazer', 'Spacechem Pin', 'Frontline Field Recorder', 'Villain\'s Veil', 'Hero\'s Tail', 'Sign of the Wolf\'s School', 'Planeswalker Goggles', 'Planeswalker Helm', 'Lo-Fi Longwave', 'Spiral Sallet', 'Proof of Purchase', 'Professor Speks', 'Pocket Medic', 'Made Man', 'Fancy Dress Uniform', 'Summer Shades', 'Big Steel Jaw of Summer Fun', 'Security Shades', 'Prairie Heel Biters', 'Rogue\'s Col Roule', 'Summer Hat', 'Lucky No. 42', 'Flip-Flops', 'Lord Cockswain\'s Novelty Mutton Chops and Pipe', 'Dr. Grordbort\'s Crest', 'Mask of the Shaman', 'Stahlhelm', 'Pilotka', 'Pip-Boy', 'Wingstick', 'Purity Fist', 'Deus Specs', 'Party Hat', 'A Whiff of the old Brimstone', 'Builder\'s Blueprints', 'Clan Pride', 'Couvre Corner', 'Cremator\'s Conscience', 'Flair!', 'Manniversary Paper Hat', 'Photo Badge', 'Specter\'s Spectacles', 'Stereoscopic Shades', 'Surgeon\'s Stethoscope', 'Crocodile Smile', 'Infernal Impaler', 'All-Father', 'Bootie Time', 'Jingle Belt', 'Kringle Collection', 'Ornament Armament', 'Outback Intellectual', 'Sandvich Safe', 'Stocking Stuffer', 'Soviet Gentleman', 'Hat Of Cards', 'War Pig', 'Zipperface', 'Voodoo Juju (Slight Return)', 'Grand Duchess Tiara', 'Apparatchik\'s Apparel', 'Bird-man Of Aberdeen', 'Business Casual', 'Captain\'s Cocktails', 'Dillinger\'s Duffel', 'Idea Tube', 'Balloonicorn', 'Infernal Orchestrina', 'Koala Compact', 'Pocket Purrer', 'Medi-mask', 'Track Terrorizer', 'Bearded Bombardier', 'Pyrotechnic Tote', 'Robro 3000', 'Sir Hootsalot', 'Rump-o\'-lantern', 'Scarecrow', 'Bonedolier', 'Plutonidome', 'Spooky Shoes', 'Spooky Sleeves', 'Boo Balloon', 'Unknown Monkeynaut', 'Grand Duchess Tutu', 'Grand Duchess Fairy Wings', 'Dead Little Buddy', 'Exorcizor', 'Winter Wonderland Wrap', 'Cut Throat Concierge', 'Der Wintermantel', 'Cool Breeze', 'Doc\'s Holiday', 'Digit Divulger', 'Heavy\'s Hockey Hair', 'Mutton Mann', '', 'Scattergun', 'Bat', 'Pistol', 'Rocket Launcher', 'Shovel', 'Shotgun', 'Flame Thrower', 'Fire Axe', 'Grenade Launcher', 'Stickybomb Launcher', 'Bottle', 'Minigun', 'Fists', 'Wrench', 'Construction PDA', 'Destruction PDA', 'Syringe Gun', 'Medi Gun', 'Bonesaw', 'Sniper Rifle', 'Submachine Gun', 'Kukri', 'Revolver', 'Sapper', 'Knife', 'Disguise Kit', 'Invis Watch', 'Blutsauger', 'Kritzkrieg', 'Ubersaw', 'Backburner', 'Flare Gun', 'Axtinguisher', 'Natascha', 'Sandvich', 'Killing Gloves of Boxing', 'Force-a-nature', 'Bonk! Atomic Punch', 'Sandman', 'Huntsman', 'Razorback', 'Jarate', 'Ambassador', 'Dead Ringer', 'Cloak and Dagger', 'Pain Train', 'Homewrecker', 'Dalokohs Bar', 'Scottish Resistance', 'Chargin\' Targe', 'Eyelander', 'Direct Hit', 'Buff Banner', 'Gunboats', 'Equalizer', 'Lugermorph', 'Big Kill', 'Crit-a-cola', 'Scotsman\'s Skullcutter', 'Tribalman\'s Shiv', 'Golden Wrench', 'Frontier Justice', 'Wrangler', 'Gunslinger', 'Southern Hospitality', 'Rocket Jumper', 'Gloves of Running Urgently', 'Vita Saw', 'Shortstop', 'Mad Milk', 'Holy Mackerel', 'Sydney Sleeper', 'Darwin\'s Danger Shield', 'Bushwacka', 'Black Box', 'Battalion\'s Backup', 'Degreaser', 'Powerjack', 'L\'etranger', 'Your Eternal Reward', 'Sticky Jumper', 'headtaker', 'Iron Curtain', 'Enthusiast\'s Timepiece', 'Candy Cane', 'Boston Basher', 'Back Scratcher', 'Claidheamhmor', 'Fists of Steel', 'Jag', 'Sun-on-a-stick', 'Sharpened Volcano Fragment', 'Fan O\'war', 'Concheror', 'Half-Zatoichi', 'Conniver\'s Kunai', 'Three Rune Blade', 'Maul', 'Saxxy', 'Detonator', 'Tomislav', 'Family Business', 'Eviction Notice', 'Enforcer', 'Big Earner', 'Bazaar Bargain', 'Shahanshah', 'Splendid Screen', 'Ali Baba\'s Wee Booties', 'Persian Persuader', 'Soda Popper', 'Winger', 'Atomizer', 'Liberty Launcher', 'Reserve Shooter', 'Market Gardener', 'Mantreads', 'Disciplinary Action', 'Quick-Fix', 'Solemn Vow', 'Overdose', 'Postal Pummeler', 'Nessie\'s Nine Iron', 'Righteous Bison', 'Cow Mangler 5000', 'Original', 'Machina', 'Diamondback', 'Widowmaker', 'Short Circuit', 'Loch\'n\'load', 'Ullapool Caber', 'Brass Beast', 'Buffalo Steak Sandvich', 'Warrior\'s Spirit', 'Crusader\'s Crossbow', 'Amputator', 'Bootlegger', 'Scottish Handshake', 'Festive Bat', 'Festive Flamethrower', 'Festive Knife', 'Festive Medi Gun', 'Festive Minigun', 'Festive Rocket Launcher', 'Festive Scattergun', 'Festive Sniper Rifle', 'Festive Sticky Launcher', 'Festive Wrench', 'Holiday Punch', 'Spy-cicle', 'Wrap Assassin', 'Lollichop', 'Rainblower', 'Bat Outta Hell', 'Festive Holy Mackerel', 'Festive Axtinguisher', 'Festive Buff Banner', 'Festive Sandvich', 'Festive Ubersaw', 'Festive Frontier Justice', 'Festive Huntsman', 'Festive Ambassador', 'Festive Grenade Launcher', 'Flying Guillotine', 'Baby Face\'s Blaster', 'Beggar\'s Bazooka', 'Neon Annihilator', 'Huo-Long Heater', 'Loose Cannon', 'Hitman\'s Heatmaker', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Scottish Handshake', 'Name Tag', 'Description Tag', 'Dueling Minigame', 'Gift Wrap', 'Taunt: The Schadenfreude', 'Mann Co. Supply Crate Key', 'Decal Tool', 'Taunt: High Five!', 'Strange Part: Gib Kills', 'Strange Part: Airborne Enemies Killed', 'Strange Part: Heavies Killed', 'Strange Part: Buildings Destroyed', 'Strange Part: Projectiles Reflected', 'Strange Part: Headshot Kills', 'Strange Part: Allies Extinguished', 'Strange Part: Posthumous Kills', 'Strange Part: Critical Kills', 'Strange Part: Demomen Killed', 'Strange Part: Revenge Kills', 'Strange Part: Soldiers Killed', 'Strange Part: Domination Kills', 'Strange Part: Kills While Explosive Jumping', 'Strange Part: Scouts Killed', 'Strange Part: Sappers Destroyed', 'Strange Part: Cloaked Spies Killed', 'Strange Part: Engineers Killed', 'Strange Part: Robots Destroyed', 'Strange Part: Low-health Kills', 'Strange Bacon Grease', 'Strange Part: Snipers Killed', 'Strange Part: Kills While Übercharged', 'Strange Part: Underwater Kills', 'Strange Part: Pyros Killed', 'Strange Part: Defender Kills', 'Strange Part: Medics Killed', 'Strange Part: Tanks Destroyed', 'Strange Part: Long-Distance Kills', 'Strange Part: Medics Killed That Have Full ÜberCharge', 'Strange Part: Giant Robots Destroyed', 'Strange Part: Kills with a Taunt Attack', 'Strange Part: Kills During Victory Time', 'Strange Part: Robot Spies Destroyed', 'Mann Co. Painting Set', 'Pomson 6000 Strangifier', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'Taunt: High Five!', 'The Color of a Gentlemann\'s Business Pants', 'A Distinctive Lack of Hue', 'Muskelmannbraun', 'Radigan Conagher Brown', 'Peculiarly Drab Tincture', 'Australium Gold', 'Indubitably Green', 'Zepheniah\'s Greed', 'Aged Moustache Grey', 'The Bitter Taste of Defeat and Lime', 'Drably Olive', 'Mann Co. Orange', 'Pink as Hell', 'Color No. 216-190-216', 'A Deep Commitment to Purple', 'Ye Olde Rustic Color', 'Dark Salmon Injustice', 'A Color Similar to Slate', 'Noble Hatter\'s Violet', 'An Extraordinary Abundance of Tinge', 'Team Spirit', 'An Air of Debonair', 'Balaclavas are Forever', 'Cream Spirit', 'Waterlogged Lab Coat', 'Operator\'s Overalls', 'The Value of Teamwork', 'After Eight', 'A Mann\'s Mint', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Bolt Boy', 'Bonk Leadwear', 'Bot Dogger', 'Ye Oiled Baker Boy', 'Full Metal Drill Hat', 'Soldier\'s Sparkplug', 'Steel Shako', 'Tyrantium Helmet', 'Bolted Birdcage', 'Electric Escorter', 'Filamental', 'Firewall Helmet', 'Googol Glass Eyes', 'Metal Slug', 'Plumber\'s Pipe', 'Pyro\'s Boron Beanie', 'Respectless Robo-Glove', 'Rusty Reaper', 'Scrap Sack', 'Bolted Bicorne', 'Bolted Bombardier', 'Broadband Bonnet', 'Cyborg Stunt Helmet', 'FR-0', 'HDMI Patch', 'Pure Tin Capotain', 'Scrumpy Strongbox', 'Strontium Stove Pipe', 'Bunsen Brave', 'Gridiron Guardian', 'Titanium Towel', 'Tungsten Toque', 'Data Mining Light', 'Dual-Core Devil Doll', 'Plug-In Prospector', 'Teddy Robobelt', 'Texas Tin-Gallon', 'Timeless Topper', 'Byte\'d Beak', 'Halogen Head Lamp', 'Mecha-Medes', 'Platinum Pickelhaube', 'Practitioner\'s Processing Mask', 'Steam Pipe', 'Titanium Tyrolean', 'Virus Doctor', 'Letch\'s LED', 'Shooter\'s Tin Topi', 'Soldered Sensei', 'Base Metal Billycock', 'Bootleg Base Metal Billycock', 'Megapixel Beard', 'Galvanized Gibus', 'Modest Metal Pile of Scrap', 'Noble Nickel Amassment of Hats', 'Towering Titanium Pillar of Hats', 'Battery Canteens', 'Pallet of Crates', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Merc\'s Muffler', 'Surgeon\'s Side Satchel', 'Fast Learner', 'Breakneck Baggies', 'Pocket Pyro', 'Dark Age Defender', 'Tyurtlenek', 'Mair Mask', 'Blood Banker', 'Heavy-Weight Champ', 'Dry Gulch Gulp', 'Borscht Belt', 'Shogun\'s Shoulder Guard', 'Das Feelinbeterbager', 'Gaelic Golf Bag', 'Rogue\'s Brogues', 'Hornblower', 'Delinquent\'s Down Vest', 'El Muchacho', 'Bolshevik Biker', 'Cobber Chameleon', 'Graybanns', 'After Dark', 'Das Metalmeatencasen', 'Gaelic Garb', 'Half-Pipe Hurdler', 'Birdman of Australiacatraz', 'Macho Mann', 'Red Army Robin', 'Whiskey Bib', 'Cool Cat Cardigan', 'Colonial Clogs', 'Falconer', 'Flared Frontiersman', 'Compatriot', 'Das Fantzipantzen', 'Bigg Mann on Campus', 'Lieutenant Bites', 'Brawling Buccaneer', 'Founding Father', 'Caffeine Cooler', 'Gabe Glasses', 'Trash Toter', 'Soot Suit', 'Viking Braider', 'Flapjack', 'Gold Digger', 'Pop-eyes', 'Weight Room Warmer', 'Special Eyes', 'Chronomancer', 'Li\'l Snaggletooth', 'Escapist', 'Ward', 'Beep Boy', 'Cuban Bristle Crisis', 'A Brush with Death', 'Trickster\'s Turnout Gear', 'Hurt Locher', 'Air Raider', 'Medical Mystery', 'Frenchman\'s Formals', 'Backpack Broiler'); } frame 178 { do { for (;;) { stop(); NUMCRATES = 73; unusuals = 249; ueffects = 29; hueffects = 9; rueffects = 10; var effects = new Array('', 'Green Confetti', 'Purple Confetti', 'Haunted Ghosts', 'Green Energy', 'Purple Energy', 'Circling TF Logo', 'Massed Flies', 'Burning Flames', 'Scorching Flames', 'Searing Plasma', 'Vivid Plasma', 'Sunbeams', 'Circling Peace Sign', 'Circling Heart', 'Stormy Storm', 'Blizzardy Storm', 'Nuts and Bolts', 'Orbiting Planets', 'Orbiting Fire', 'Bubbles', 'Smoking', 'Steaming', 'Aces High', 'Cloud 9', 'Dead Presidents', 'Disco Beat Down', 'Kill-a-Watt', 'Miami Nights', 'Terror-Watt', 'Cloudy Moon', 'Eerie Orbiting Fire', 'Flaming Lantern', 'Cauldron Bubbles', 'Knifestorm', 'Misty Skull', 'Harvest Moon', 'It\'s a Secret to Everybody', 'Stormy 13th Hour', 'Anti-Freeze', 'Roboactive', 'Time Warp', 'Green Black Hole', 'Memory Leak', 'Overclocked', 'Power Surge', 'Electrostatic', 'Sulphurous', 'Phosphorous'); unusualmode = false; halloweenmode = false; currentbg = 50; nounusual = true; canbeunusual = true; cseries = 1; itemquality = 'unique'; var ulog = new Array(); ulogstr = new String(); isBetween = function (ref, min, max) { if (ref >= min && ref <= max) { return true; } }; switchitem = function (num) { itemid = num; }; uncrate = function () { mouseclickrelease.start(0, 0); if (holdtimer <= 0) { box.play(); counter = 0; swap.start(); roll(random(100) + 1); statreset(); bubbleSort(statarray, statnamearray); statroutine(); if (odd) { odd = false; } else { odd = true; } ++itemnum; } }; formatcurrency = function (n) { n = String(Math.round(n * 100) / 100); if (n.indexOf('.') == -1) { n += '.0'; } rightside = n.split('.'); zerosneeded = 2 - rightside[1].length; i = 1; while (i <= zerosneeded) { n += '0'; ++i; } n = '$' + n; return n; }; } } while (function (num) { num2 = num; ++keynum; moneyspent = keynum * 2.49; if (isBetween(num, 100, 100) != true) break; if (cseries == '6') { barg = random(16) + 65; } else { barg = random(unusuals) + 1; } switchitem(barg); hname = aitems[barg]; trace(num + ' ' + barg); if (cseries == '58') { currentbg = random(rueffects) + 39; } else { if (!halloweenmode) { currentbg = random(ueffects) + 1; } else { currentbg = random(hueffects) + 23; } } etext = 'Effect: ' + effects[currentbg]; itemquality = 'unusual'; ++unum; happybirthday.start(); holdtimer = 60; if (currecord1 > record1) { record1 = currecord1; } if (nounusual) { record1 = currecord1; record2 = record1; } else { if (currecord2 < record2) { record2 = currecord2; } } ulog.push(effects[currentbg] + ' ' + aitems[itemid] + ' - ' + formatcurrency(currecord1 * 2.49)); ulogstr += unum + '. ' + effects[currentbg] + ' ' + aitems[itemid] + ' - ' + formatcurrency(currecord1 * 2.49) + '\n'; srecord6 = formatcurrency(moneyspent / unum); srecord1 = formatcurrency(record1 * 2.49); srecord2 = formatcurrency(record2 * 2.49); currecord3 = 0; currecord1 = 1; currecord2 = 1; nounusual = false; ++currecord1; ++currecord2; ++currecord3; etext = ' '; currentbg = 50; itemquality = 'unique'; lasthat = false; if (unum > 0) { srecord6 = formatcurrency(moneyspent / unum); } if (cseries == '?') { cseries = random(NUMCRATES) + 1; while (cseries == 50) { cseries = random(NUMCRATES) + 1; } randomcrate = true; } if (cseries == 1) { if (isBetween(num, 1, 11) == true) { switchitem(468); ++wepnum; } if (isBetween(num, 12, 22) == true) { switchitem(464); ++wepnum; } if (isBetween(num, 23, 33) == true) { switchitem(455); ++wepnum; } if (isBetween(num, 34, 44) == true) { switchitem(449); ++wepnum; } if (isBetween(num, 45, 55) == true) { switchitem(52); ++hatnum; lasthat = true; } if (isBetween(num, 56, 66) == true) { switchitem(53); ++hatnum; lasthat = true; } if (isBetween(num, 67, 77) == true) { switchitem(701); ++toolnum; } if (isBetween(num, 78, 88) == true) { switchitem(802); ++paintnum; } if (isBetween(num, 89, 99) == true) { switchitem(820); ++paintnum; } } if (cseries == 2) { if (isBetween(num, 1, 14) == true) { switchitem(475); ++wepnum; } if (isBetween(num, 15, 28) == true) { switchitem(469); ++wepnum; } if (isBetween(num, 29, 42) == true) { switchitem(479); ++wepnum; } if (isBetween(num, 43, 47) == true) { switchitem(55); ++hatnum; lasthat = true; } if (isBetween(num, 48, 52) == true) { switchitem(58); ++hatnum; lasthat = true; } if (isBetween(num, 53, 57) == true) { switchitem(49); ++hatnum; lasthat = true; } if (isBetween(num, 58, 71) == true) { switchitem(703); ++toolnum; } if (isBetween(num, 72, 85) == true) { switchitem(815); ++paintnum; } if (isBetween(num, 86, 99) == true) { switchitem(806); ++paintnum; } } if (cseries == 3) { if (isBetween(num, 1, 17) == true) { switchitem(474); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(458); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(447); ++wepnum; } if (isBetween(num, 52, 56) == true) { switchitem(30); ++hatnum; lasthat = true; } if (isBetween(num, 57, 61) == true) { switchitem(48); ++hatnum; lasthat = true; } if (isBetween(num, 62, 66) == true) { switchitem(51); ++hatnum; lasthat = true; } if (isBetween(num, 67, 83) == true) { switchitem(702); ++toolnum; } if (isBetween(num, 83, 99) == true) { switchitem(820); ++paintnum; } } if (cseries == 4) { if (isBetween(num, 1, 17) == true) { switchitem(476); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(446); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(480); ++wepnum; } if (isBetween(num, 52, 56) == true) { switchitem(38); ++hatnum; lasthat = true; } if (isBetween(num, 57, 61) == true) { switchitem(48); ++hatnum; lasthat = true; } if (isBetween(num, 62, 66) == true) { switchitem(54); ++hatnum; lasthat = true; } if (isBetween(num, 67, 83) == true) { switchitem(703); ++toolnum; } if (isBetween(num, 83, 99) == true) { switchitem(802); ++paintnum; } } if (cseries == 5) { if (isBetween(num, 1, 17) == true) { switchitem(478); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(454); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(465); ++wepnum; } if (isBetween(num, 52, 56) == true) { switchitem(46); ++hatnum; lasthat = true; } if (isBetween(num, 57, 61) == true) { switchitem(43); ++hatnum; lasthat = true; } if (isBetween(num, 62, 66) == true) { switchitem(44); ++hatnum; lasthat = true; } if (isBetween(num, 67, 83) == true) { switchitem(701); ++toolnum; } if (isBetween(num, 83, 99) == true) { switchitem(814); ++paintnum; } } if (cseries == 6) { if (isBetween(num, 1, 13) == true) { switchitem(485); ++wepnum; } if (isBetween(num, 14, 26) == true) { switchitem(487); ++wepnum; } if (isBetween(num, 29, 41) == true) { switchitem(488); ++wepnum; } if (isBetween(num, 42, 54) == true) { switchitem(489); ++wepnum; } if (isBetween(num, 56, 68) == true) { switchitem(490); ++wepnum; } if (isBetween(num, 69, 99) == true) { switchitem(random(16) + 65); ++hatnum; lasthat = true; } } if (cseries == 7) { if (isBetween(num, 1, 17) == true) { switchitem(450); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(452); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(474); ++wepnum; } if (isBetween(num, 52, 55) == true) { switchitem(4); ++hatnum; lasthat = true; } if (isBetween(num, 56, 59) == true) { switchitem(50); ++hatnum; lasthat = true; } if (isBetween(num, 60, 63) == true) { switchitem(64); ++hatnum; lasthat = true; } if (isBetween(num, 64, 67) == true) { switchitem(59); ++hatnum; lasthat = true; } if (isBetween(num, 68, 84) == true) { switchitem(702); ++toolnum; } if (isBetween(num, 85, 99) == true) { switchitem(821); ++paintnum; } } if (cseries == 8) { if (isBetween(num, 1, 17) == true) { switchitem(437); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(438); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(440); ++wepnum; } if (isBetween(num, 52, 55) == true) { switchitem(281); ++hatnum; lasthat = true; } if (isBetween(num, 56, 59) == true) { switchitem(282); ++hatnum; lasthat = true; } if (isBetween(num, 60, 63) == true) { switchitem(8); ++hatnum; lasthat = true; } if (isBetween(num, 64, 67) == true) { switchitem(63); ++hatnum; lasthat = true; } if (isBetween(num, 68, 84) == true) { switchitem(703); ++toolnum; } if (isBetween(num, 85, 99) == true) { switchitem(704); ++toolnum; } } if (cseries == 9) { if (isBetween(num, 1, 16) == true) { switchitem(813); ++paintnum; } if (isBetween(num, 17, 32) == true) { switchitem(818); ++paintnum; } if (isBetween(num, 33, 48) == true) { switchitem(811); ++paintnum; } if (isBetween(num, 49, 64) == true) { switchitem(810); ++paintnum; } if (isBetween(num, 65, 80) == true) { switchitem(801); ++paintnum; } if (isBetween(num, 81, 96) == true) { switchitem(817); ++paintnum; } if (isBetween(num, 97, 99) == true) { switchitem(61); ++hatnum; lasthat = true; } } if (cseries == 10) { if (isBetween(num, 1, 17) == true) { switchitem(807); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(808); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(819); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(531); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(532); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(82); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(16); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(4); ++hatnum; } } if (cseries == 11) { if (isBetween(num, 1, 17) == true) { switchitem(812); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(814); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(815); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(536); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(537); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(84); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(22); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(7); ++hatnum; } } if (cseries == 12) { if (isBetween(num, 1, 17) == true) { switchitem(803); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(804); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(805); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(533); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(534); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(18); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(83); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(74); ++hatnum; } } if (cseries == 13) { if (isBetween(num, 1, 17) == true) { switchitem(820); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(813); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(818); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(472); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(474); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(60); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(24); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(36); ++hatnum; } } if (cseries == 14) { if (isBetween(num, 1, 17) == true) { switchitem(802); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(811); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(810); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(479); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(480); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(63); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(26); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(79); ++hatnum; } } if (cseries == 15) { if (isBetween(num, 1, 17) == true) { switchitem(821); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(801); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(817); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(475); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(476); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(61); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(68); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(12); ++hatnum; } } if (cseries == 16) { if (isBetween(num, 1, 17) == true) { switchitem(807); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(814); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(803); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(469); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(470); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(59); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(66); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(38); ++hatnum; } } if (cseries == 17) { if (isBetween(num, 1, 17) == true) { switchitem(808); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(815); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(805); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(477); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(478); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(62); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(69); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(70); ++hatnum; } } if (cseries == 18) { if (isBetween(num, 1, 17) == true) { switchitem(812); ++paintnum; } if (isBetween(num, 18, 34) == true) { switchitem(804); ++paintnum; } if (isBetween(num, 35, 51) == true) { switchitem(819); ++paintnum; } if (isBetween(num, 52, 66) == true) { switchitem(463); ++wepnum; } if (isBetween(num, 67, 80) == true) { switchitem(464); ++wepnum; } if (isBetween(num, 81, 87) == true) { switchitem(35); ++hatnum; lasthat = true; } if (isBetween(num, 88, 93) == true) { switchitem(77); ++hatnum; lasthat = true; } if (isBetween(num, 93, 99) == true) { switchitem(88); ++hatnum; } } if (cseries == 19) { if (isBetween(num, 1, 21) == true) { switchitem(450); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 42) == true) { switchitem(409); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 43, 63) == true) { switchitem(410); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 64, 84) == true) { switchitem(451); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 85, 89) == true) { switchitem(33); ++hatnum; lasthat = true; } if (isBetween(num, 90, 94) == true) { switchitem(41); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(705); ++toolnum; lasthat = true; } } if (cseries == 20) { if (isBetween(num, 1, 22) == true) { switchitem(404); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(446); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(406); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(452); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(31); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(39); ++hatnum; lasthat = true; } } if (cseries == 21) { if (isBetween(num, 1, 22) == true) { switchitem(467); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(406); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(412); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(434); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(34); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(5); ++hatnum; lasthat = true; } } if (cseries == 22) { if (isBetween(num, 1, 11) == true) { switchitem(523); ++wepnum; } if (isBetween(num, 12, 22) == true) { switchitem(522); ++wepnum; } if (isBetween(num, 23, 33) == true) { switchitem(320); ++hatnum; lasthat = true; } if (isBetween(num, 34, 44) == true) { switchitem(321); ++hatnum; lasthat = true; } if (isBetween(num, 45, 55) == true) { switchitem(322); ++hatnum; lasthat = true; } if (isBetween(num, 56, 66) == true) { switchitem(323); ++hatnum; lasthat = true; } if (isBetween(num, 67, 77) == true) { switchitem(114); ++hatnum; lasthat = true; } if (isBetween(num, 78, 88) == true) { switchitem(115); ++hatnum; lasthat = true; } if (isBetween(num, 89, 99) == true) { switchitem(116); ++hatnum; lasthat = true; } } if (cseries == 23) { if (isBetween(num, 1, 22) == true) { switchitem(439); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(403); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(401); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(486); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(10); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(59); ++hatnum; lasthat = true; } } if (cseries == 24) { if (isBetween(num, 1, 22) == true) { switchitem(443); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(496); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(425); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(423); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(91); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(9); ++hatnum; lasthat = true; } } if (cseries == 25) { if (isBetween(num, 1, 22) == true) { switchitem(407); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(432); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(478); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(431); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(71); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(15); ++hatnum; lasthat = true; } } if (cseries == 26) { if (isBetween(num, 1, 22) == true) { switchitem(417); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(418); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(419); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(536); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(45); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(23); ++hatnum; lasthat = true; } } if (cseries == 27) { if (isBetween(num, 1, 22) == true) { switchitem(420); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(472); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(474); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(442); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(78); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(307); ++hatnum; lasthat = true; } } if (cseries == 28) { if (isBetween(num, 1, 22) == true) { switchitem(406); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(462); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(490); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(414); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(43); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(6); ++hatnum; lasthat = true; } } if (cseries == 29) { if (isBetween(num, 1, 22) == true) { switchitem(433); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(475); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(441); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(451); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(19); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(47); ++hatnum; lasthat = true; } } if (cseries == 30) { if (isBetween(num, 1, 20) == true) { switchitem(429); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(464); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(527); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 80) == true) { switchitem(532); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 81, 99) == true) { switchitem(471); ++strangenum; itemquality = 'strange'; } } if (cseries == 31) { if (isBetween(num, 1, 22) == true) { switchitem(470); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(495); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(413); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(477); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(90); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(73); ++hatnum; lasthat = true; } } if (cseries == 32) { if (isBetween(num, 1, 22) == true) { switchitem(533); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(430); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(479); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(455); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(70); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(72); ++hatnum; lasthat = true; } } if (cseries == 33) { if (isBetween(num, 1, 22) == true) { switchitem(480); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(502); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(511); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(537); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(75); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(73); ++hatnum; lasthat = true; } } if (cseries == 34) { if (isBetween(num, 1, 22) == true) { switchitem(515); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(513); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(465); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(449); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(57); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(102); ++hatnum; lasthat = true; } } if (cseries == 35) { if (isBetween(num, 1, 1) == true) { switchitem(541); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 2, 2) == true) { switchitem(542); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 3, 3) == true) { switchitem(543); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 4, 4) == true) { switchitem(544); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 5, 5) == true) { switchitem(545); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 6, 7) == true) { switchitem(546); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 8, 9) == true) { switchitem(547); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 10, 11) == true) { switchitem(548); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 12, 13) == true) { switchitem(549); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 14, 22) == true) { switchitem(541); ++wepnum; } if (isBetween(num, 23, 31) == true) { switchitem(542); ++wepnum; } if (isBetween(num, 32, 40) == true) { switchitem(543); ++wepnum; } if (isBetween(num, 41, 49) == true) { switchitem(544); ++wepnum; } if (isBetween(num, 50, 58) == true) { switchitem(545); ++wepnum; } if (isBetween(num, 59, 67) == true) { switchitem(546); ++wepnum; } if (isBetween(num, 68, 76) == true) { switchitem(547); ++wepnum; } if (isBetween(num, 77, 85) == true) { switchitem(548); ++wepnum; } if (isBetween(num, 86, 94) == true) { switchitem(549); ++wepnum; } if (isBetween(num, 95, 99) == true) { switchitem(540); ++strangenum; itemquality = 'strange'; } } if (cseries == 36) { if (isBetween(num, 1, 17) == true) { switchitem(550); ++wepnum; } if (isBetween(num, 18, 34) == true) { switchitem(551); ++wepnum; } if (isBetween(num, 35, 51) == true) { switchitem(552); ++wepnum; } if (isBetween(num, 52, 55) == true) { switchitem(143); ++hatnum; lasthat = true; } if (isBetween(num, 56, 59) == true) { switchitem(144); ++hatnum; lasthat = true; } if (isBetween(num, 60, 63) == true) { switchitem(145); ++hatnum; lasthat = true; } if (isBetween(num, 64, 67) == true) { switchitem(350); ++hatnum; lasthat = true; } if (isBetween(num, 68, 71) == true) { switchitem(351); ++hatnum; lasthat = true; } if (isBetween(num, 72, 75) == true) { switchitem(352); ++hatnum; lasthat = true; } if (isBetween(num, 76, 79) == true) { switchitem(353); ++hatnum; lasthat = true; } if (isBetween(num, 80, 84) == true) { switchitem(354); ++hatnum; lasthat = true; } if (isBetween(num, 85, 89) == true) { switchitem(355); ++hatnum; lasthat = true; } if (isBetween(num, 90, 94) == true) { switchitem(356); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(357); ++hatnum; lasthat = true; } } if (cseries == 37) { if (isBetween(num, 1, 22) == true) { switchitem(506); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(505); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(428); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(514); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(91); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(108); ++hatnum; lasthat = true; } } if (cseries == 37) { if (isBetween(num, 1, 22) == true) { switchitem(506); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(505); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(428); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(514); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(91); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(108); ++hatnum; lasthat = true; } } if (cseries == 38) { if (isBetween(num, 1, 22) == true) { switchitem(444); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 22, 44) == true) { switchitem(421); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 44, 66) == true) { switchitem(519); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 89) == true) { switchitem(436); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 90, 94) == true) { switchitem(86); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(127); ++hatnum; lasthat = true; } } if (cseries == 39) { if (isBetween(num, 1, 23) == true) { switchitem(531); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 24, 46) == true) { switchitem(521); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 47, 69) == true) { switchitem(425); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 70, 79) == true) { switchitem(828); ++paintnum; } if (isBetween(num, 80, 89) == true) { switchitem(829); ++paintnum; } if (isBetween(num, 90, 94) == true) { switchitem(137); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(46); ++hatnum; lasthat = true; } } if (cseries == 40) { if (isBetween(num, 1, 20) == true) { switchitem(550); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(440); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(529); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 80) == true) { switchitem(517); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 81, 99) == true) { switchitem(424); ++strangenum; itemquality = 'strange'; } } if (cseries == 41) { if (isBetween(num, 1, 20) == true) { switchitem(402); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(452); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(528); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(709); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(710); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(711); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(348); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(101); ++hatnum; lasthat = true; } } if (cseries == 42) { if (isBetween(num, 1, 20) == true) { switchitem(411); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(487); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(403); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(712); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(713); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(714); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(135); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(103); ++hatnum; lasthat = true; } } if (cseries == 43) { if (isBetween(num, 1, 22) == true) { switchitem(460); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 23, 44) == true) { switchitem(469); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 51, 66) == true) { switchitem(500); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 77) == true) { switchitem(715); ++toolnum; } if (isBetween(num, 77, 88) == true) { switchitem(716); ++toolnum; } if (isBetween(num, 89, 94) == true) { switchitem(84); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(74); ++hatnum; lasthat = true; } } if (cseries == 44) { if (isBetween(num, 1, 20) == true) { switchitem(411); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(487); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(403); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(712); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(713); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(714); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(135); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(103); ++hatnum; lasthat = true; } } if (cseries == 45) { if (isBetween(num, 1, 20) == true) { switchitem(410); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(459); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(510); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(720); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(721); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(722); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(64); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(140); ++hatnum; lasthat = true; } } if (cseries == 46) { if (isBetween(num, 1, 12) == true) { switchitem(553); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 13, 25) == true) { switchitem(554); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 26, 31) == true) { switchitem(148); ++hatnum; lasthat = true; } if (isBetween(num, 32, 37) == true) { switchitem(149); ++hatnum; lasthat = true; } if (isBetween(num, 38, 43) == true) { switchitem(150); ++hatnum; lasthat = true; } if (isBetween(num, 44, 49) == true) { switchitem(151); ++hatnum; lasthat = true; } if (isBetween(num, 50, 55) == true) { switchitem(152); ++hatnum; lasthat = true; } if (isBetween(num, 56, 61) == true) { switchitem(364); ++hatnum; lasthat = true; } if (isBetween(num, 62, 67) == true) { switchitem(365); ++hatnum; lasthat = true; } if (isBetween(num, 68, 73) == true) { switchitem(366); ++hatnum; lasthat = true; } if (isBetween(num, 74, 79) == true) { switchitem(367); ++hatnum; lasthat = true; } if (isBetween(num, 80, 85) == true) { switchitem(368); ++hatnum; lasthat = true; } if (isBetween(num, 86, 91) == true) { switchitem(369); ++hatnum; lasthat = true; } if (isBetween(num, 92, 95) == true) { switchitem(370); ++hatnum; lasthat = true; } if (isBetween(num, 96, 99) == true) { switchitem(371); ++hatnum; lasthat = true; } } if (cseries == 47) { if (isBetween(num, 1, 20) == true) { switchitem(407); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(437); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(501); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(723); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(724); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(725); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(24); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(123); ++hatnum; lasthat = true; } } if (cseries == 48) { if (isBetween(num, 1, 11) == true) { switchitem(372); ++hatnum; lasthat = true; } if (isBetween(num, 12, 21) == true) { switchitem(373); ++hatnum; lasthat = true; } if (isBetween(num, 22, 32) == true) { switchitem(374); ++hatnum; lasthat = true; } if (isBetween(num, 33, 42) == true) { switchitem(375); ++hatnum; lasthat = true; } if (isBetween(num, 43, 53) == true) { switchitem(376); ++hatnum; lasthat = true; } if (isBetween(num, 54, 63) == true) { switchitem(377); ++hatnum; lasthat = true; } if (isBetween(num, 64, 74) == true) { switchitem(358); ++hatnum; lasthat = true; } if (isBetween(num, 75, 84) == true) { switchitem(359); ++hatnum; lasthat = true; } if (isBetween(num, 85, 95) == true) { switchitem(360); ++hatnum; lasthat = true; } if (isBetween(num, 96, 99) == true) { switchitem(378); ++hatnum; lasthat = true; } } if (cseries == 49) { if (isBetween(num, 1, 20) == true) { switchitem(401); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(405); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(447); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(726); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(727); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(728); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(98); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(138); ++hatnum; lasthat = true; } } if (cseries == 50) { if (isBetween(num, 1, 20) == true) { switchitem(729); ++toolnum; } if (isBetween(num, 21, 40) == true) { switchitem(415); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(526); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 80) == true) { switchitem(427); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 81, 99) == true) { switchitem(508); ++strangenum; itemquality = 'strange'; } } if (cseries == 51) { if (isBetween(num, 1, 5) == true) { switchitem(555); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 6, 10) == true) { switchitem(361); ++hatnum; lasthat = true; } if (isBetween(num, 11, 15) == true) { switchitem(362); ++hatnum; lasthat = true; } if (isBetween(num, 16, 20) == true) { switchitem(363); ++hatnum; lasthat = true; } if (isBetween(num, 21, 25) == true) { switchitem(379); ++hatnum; lasthat = true; } if (isBetween(num, 26, 30) == true) { switchitem(380); ++hatnum; lasthat = true; } if (isBetween(num, 31, 35) == true) { switchitem(381); ++hatnum; lasthat = true; } if (isBetween(num, 36, 40) == true) { switchitem(382); ++hatnum; lasthat = true; } if (isBetween(num, 41, 45) == true) { switchitem(383); ++hatnum; lasthat = true; } if (isBetween(num, 46, 50) == true) { switchitem(384); ++hatnum; lasthat = true; } if (isBetween(num, 51, 54) == true) { switchitem(385); ++hatnum; lasthat = true; } if (isBetween(num, 55, 58) == true) { switchitem(386); ++hatnum; lasthat = true; } if (isBetween(num, 59, 62) == true) { switchitem(387); ++hatnum; lasthat = true; } if (isBetween(num, 63, 66) == true) { switchitem(388); ++hatnum; lasthat = true; } if (isBetween(num, 67, 70) == true) { switchitem(389); ++hatnum; lasthat = true; } if (isBetween(num, 71, 74) == true) { switchitem(390); ++hatnum; lasthat = true; } if (isBetween(num, 75, 78) == true) { switchitem(391); ++hatnum; lasthat = true; } if (isBetween(num, 79, 82) == true) { switchitem(153); ++hatnum; lasthat = true; } if (isBetween(num, 83, 86) == true) { switchitem(154); ++hatnum; lasthat = true; } if (isBetween(num, 87, 90) == true) { switchitem(155); ++hatnum; lasthat = true; } if (isBetween(num, 91, 95) == true) { switchitem(156); ++hatnum; lasthat = true; } if (isBetween(num, 96, 99) == true) { switchitem(161); ++hatnum; lasthat = true; } } if (cseries == 52 && num != 100) { zz = random(9) + 556; zz2 = random(10); if (zz2 == 0) { ++strangenum; itemquality = 'strange'; } else { ++wepnum; } switchitem(zz); } if (cseries == 53 && num != 100) { zzz = Array(168, 226, 240, 208, 392, 393, 394, 395, 396, 397, 398, 399, 1400); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 54) { if (isBetween(num, 1, 20) == true) { switchitem(552); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(551); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(420); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(730); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(731); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(732); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(99); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(1401); ++hatnum; lasthat = true; } } if (cseries == 55) { if (isBetween(num, 1, 20) == true) { switchitem(566); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(446); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(418); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(733); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(734); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(710); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(126); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(109); ++hatnum; lasthat = true; } } if (cseries == 56) { if (isBetween(num, 1, 20) == true) { switchitem(408); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(565); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(567); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(735); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(736); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(737); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(102); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(27); ++hatnum; lasthat = true; } } if (cseries == 57) { if (isBetween(num, 1, 22) == true) { switchitem(489); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 23, 44) == true) { switchitem(568); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 45, 66) == true) { switchitem(442); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 67, 77) == true) { switchitem(743); ++toolnum; } if (isBetween(num, 78, 88) == true) { switchitem(115); ++hatnum; lasthat = true; } if (isBetween(num, 89, 99) == true) { switchitem(79); ++hatnum; lasthat = true; } } if (cseries == 58 && num != 100) { zz = random(58) + 1300; if (zz >= 1356) { ++toolnum; } else { ++hatnum; lasthat = true; } switchitem(zz); } if (cseries == 59) { if (isBetween(num, 1, 20) == true) { switchitem(422); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(569); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(504); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(738); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(711); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(739); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(166); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(1402); ++hatnum; lasthat = true; } } if (cseries == 60) { if (isBetween(num, 1, 20) == true) { switchitem(744); ++toolnum; } if (isBetween(num, 21, 40) == true) { switchitem(740); ++toolnum; } if (isBetween(num, 41, 60) == true) { switchitem(493); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 80) == true) { switchitem(518); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 81, 99) == true) { switchitem(570); ++strangenum; itemquality = 'strange'; } } if (cseries == 61 && num != 100) { zzz = Array(245, 230, 1403, 218, 1404, 172, 236, 1405, 1406, 1407); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 62 && num != 100) { zzz = Array(199, 223, 1408, 213, 1409, 1462, 248, 177); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 63 && num != 100) { zzz = Array(231, 1410, 1411, 173, 1412, 1413, 1414, 238); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 64 && num != 100) { zzz = Array(174, 207, 219, 185, 1415, 1416, 1417, 200); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 65 && num != 100) { zzz = Array(176, 1418, 1419, 1420, 1421, 1422, 220, 198); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 66 && num != 100) { zzz = Array(187, 1423, 1424, 1425, 1426, 1427, 205, 237); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 67 && num != 100) { zzz = Array(222, 1428, 1429, 1430, 1431, 1432, 165, 186); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 68 && num != 100) { zzz = Array(197, 1433, 1434, 1435, 1436, 1437, 1438, 206); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 69 && num != 100) { zzz = Array(1439, 1440, 1441, 1442, 1443, 224, 175, 221); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 71) { if (isBetween(num, 1, 20) == true) { switchitem(476); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 21, 40) == true) { switchitem(571); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 41, 60) == true) { switchitem(438); ++strangenum; itemquality = 'strange'; } if (isBetween(num, 61, 70) == true) { switchitem(709); ++toolnum; } if (isBetween(num, 71, 80) == true) { switchitem(742); ++toolnum; } if (isBetween(num, 81, 89) == true) { switchitem(741); ++toolnum; } if (isBetween(num, 90, 94) == true) { switchitem(125); ++hatnum; lasthat = true; } if (isBetween(num, 95, 99) == true) { switchitem(358); ++hatnum; lasthat = true; } } if (cseries == 72 && num != 100) { zzz = Array(1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 201, 232, 239); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (cseries == 73 && num != 100) { zzz = Array(1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 249, 188, 189, 233); ++hatnum; lasthat = true; switchitem(zzz[random(zzz.length)]); } if (randomcrate) { cseries = '?'; } hname = aitems[itemid]; if (!nounusual) { ulast = currecord1 - 1; lastkey = ulast; } if (isBetween(num, 100, 100) == true) { ulast = lastkey; } if (lasthat) { ++currecord4; currecord5 = 0; } else { ++currecord5; currecord4 = 0; } if (currecord3 > record3) { record3 = currecord3; } if (currecord4 > record4) { record4 = currecord4; } if (currecord5 > record5) { record5 = currecord5; } goto 39344; if (isBetween(num, 1, 100) == true) { if (cseries == '6') { switchitem(random(16) + 65); } else { switchitem(random(unusuals) + 1); } currentbg = random(ueffects) + 1; etext = 'Effect: ' + effects[currentbg]; itemquality = 'unusual'; ++unum; happybirthday.start(); holdtimer = 60; if (currecord1 > record1) { record1 = currecord1; } if (nounusual) { record1 = currecord1; record2 = record1; } else { if (currecord2 < record2) { record2 = currecord2; } } srecord1 = formatcurrency(record1 * 2.49); srecord2 = formatcurrency(record2 * 2.49); currecord3 = 0; currecord1 = 1; currecord2 = 1; nounusual = false; } }); label 39344: // An attempt to read a value from empty stack eval(undefined) = 'roll'; statreset = function () { statarray[0] = wepnum; statarray[1] = paintnum; statarray[2] = toolnum; statarray[3] = strangenum; statarray[4] = hatnum; statarray[5] = unum; statnamearray[0] = 'Weapons'; statnamearray[1] = 'Paints'; statnamearray[2] = 'Tools'; statnamearray[3] = 'Strange Items'; statnamearray[4] = 'Normal Hats'; statnamearray[5] = 'Unusual Hats'; }; statnumpos = function (statnum, sbox, maxwidth) { statnum._x = sbox._x + maxwidth * (sbox._xscale / 100); statnum.setTextFormat(leftalign); if (sbox._xscale > 80) { statnum._x -= 30; statnum.setTextFormat(rightalign); } }; statroutine = function () { statarray0 = statarray[0]; statarray1 = statarray[1]; statarray2 = statarray[2]; statarray3 = statarray[3]; statarray4 = statarray[4]; statarray5 = statarray[5]; statnamearray0 = statnamearray[0]; statnamearray1 = statnamearray[1]; statnamearray2 = statnamearray[2]; statnamearray3 = statnamearray[3]; statnamearray4 = statnamearray[4]; statnamearray5 = statnamearray[5]; sbox1.xscale = 100; sbox2.xscale = 100 * (statarray1 / statarray0); sbox3.xscale = 100 * (statarray2 / statarray0); sbox4.xscale = 100 * (statarray3 / statarray0); sbox5.xscale = 100 * (statarray4 / statarray0); sbox6.xscale = 100 * (statarray5 / statarray0); }; boxwidthroutine = function () { sbox1._xscale += (sbox1.xscale - sbox1._xscale) / 4; sbox2._xscale += (sbox2.xscale - sbox2._xscale) / 4; sbox3._xscale += (sbox3.xscale - sbox3._xscale) / 4; sbox4._xscale += (sbox4.xscale - sbox4._xscale) / 4; sbox5._xscale += (sbox5.xscale - sbox5._xscale) / 4; sbox6._xscale += (sbox6.xscale - sbox6._xscale) / 4; statnumpos(statnum1, sbox1, 271.3); statnumpos(statnum2, sbox2, 271.3); statnumpos(statnum3, sbox3, 271.3); statnumpos(statnum4, sbox4, 271.3); statnumpos(statnum5, sbox5, 271.3); statnumpos(statnum6, sbox6, 271.3); }; bubbleSort = function (toSort, secondary) { var v6 = false; while (!v6) { v6 = true; var v1 = 0; while (v1 < toSort.length - 1) { if (toSort[v1] < toSort[v1 + 1]) { var v5 = toSort[v1]; toSort[v1] = toSort[v1 + 1]; toSort[v1 + 1] = v5; var v4 = secondary[v1]; secondary[v1] = secondary[v1 + 1]; secondary[v1 + 1] = v4; v6 = false; } ++v1; } } return toSort; }; bgmusic.start(); ulast = 'n/a'; var leftalign = new TextFormat(); leftalign.align = 'left'; var rightalign = new TextFormat(); rightalign.align = 'right'; var statarray = new Array(); var statnamearray = new Array('Weapons', 'Paints', 'Duels', 'Tags', 'Normal Hats', 'Unusual Hats'); vol = 70; muted = false; bgmusic.setVolume(vol); lasthat = false; counter = 0; shake = 0; tip = 1; tiptimer = 300; itemnum = 1; keynum = 0; wepnum = 0; hatnum = 0; paintnum = 0; toolnum = 0; strangenum = 0; unum = 0; moneyspent = 0; moneyspentd = 0; holdtimer = 0; srecord1 = 'n/a'; srecord2 = 'n/a'; srecord6 = 'n/a'; record1 = 'n/a'; record2 = 'n/a'; record3 = 0; record4 = 0; record5 = 0; autotime = 0; record6 = 'n/a'; currecord1 = 1; currecord2 = 1; currecord3 = 0; currecord4 = 0; currecord5 = 0; odd = true; sbox1._xscale = 0; sbox2._xscale = 0; sbox3._xscale = 0; sbox4._xscale = 0; sbox5._xscale = 0; sbox6._xscale = 0; roll(random(99) + 1); statreset(); bubbleSort(statarray, statnamearray); statroutine(); onEnterFrame = function () { moneyspentd += (moneyspent - moneyspentd) / 8; moneystring = formatcurrency(moneyspentd); boxwidthroutine(); if (cseries == 70) { holdtimer = 5; } --holdtimer; --tiptimer; if (tiptimer <= 0) { tiptimer = 300; advancetip(); } if (holdtimer > 0) { disable._y = uncrate2._y; } else { disable._y = 700; } --autotime; if (Key.isDown(32) && autotime <= 0) { uncrate(); autotime = 2; } if (isBetween(_xmouse, 874, 910) == true && isBetween(_ymouse, 191, 225) == true) { mouseover._x = _xmouse - 150; mouseover._y = _ymouse; } else { mouseover._x = 1200; mouseover._y = 1299; } if (cseries == '?') { mouseover.gotoAndStop(100); } else { mouseover.gotoAndStop(cseries); } }; uncrate2.onRelease = function () { uncrate(); wbox.gotoAndPlay(1); }; uncrate3.onRelease = function () { mouseclickrelease.start(0, 0); if (holdtimer <= 0) { box.play(); counter = 0; swap.start(); wbox.gotoAndPlay(1); roll(random(5) + 96); statreset(); bubbleSort(statarray, statnamearray); statroutine(); if (odd) { odd = false; } else { odd = true; } ++itemnum; } }; uncrate2.onPress = function () { mouseclick.start(); }; btnleft.onRelease = function () { switch (cseries) { case 1: cseries = '?'; break; case '?': cseries = NUMCRATES; randomcrate = false; break; default: --cseries; } }; btnright.onRelease = function () { switch (cseries) { case NUMCRATES: cseries = '?'; break; case '?': cseries = 1; randomcrate = false; break; default: ++cseries; } }; advancetip = function () { ++tip; if (tip > 5) { tip = 1; } tipbox.gotoAndStop(tip); tiptimer = 300; }; helpbtn.onRelease = function () { helptips.gotoAndStop(2); }; options.onRelease = function () { optionswindow.gotoAndStop(2); }; log.onRelease = function () { ulogwindow.gotoAndStop(2); }; mute.onRelease = function () { if (!muted) { bgmusic.setVolume(0); swap.setVolume(0); muted = true; } else { bgmusic.setVolume(70); swap.setVolume(100); muted = false; } }; } movieClip 100 { } movieClip 104 { } movieClip 136 { } movieClip 233 { frame 1 { stop(); } } movieClip 1676 { frame 1 { stop(); } } movieClip 1677 { frame 1 { itempic._x = -412; } frame 1 { switch (_root.itemquality) { case 'unique': _root.tcolor = 16766720; _root.htext = _root.hname; break; case 'unusual': _root.tcolor = 8802476; _root.htext = 'Unusual ' + _root.hname; break; case 'strange': _root.tcolor = 13593138; _root.htext = 'Strange ' + _root.hname; } itempic.gotoAndStop(_root.itemid); itempic.ueffect.gotoAndStop(_root.currentbg); itempic.hatname.textColor = _root.tcolor; } frame 2 { itempic._x = -206; } frame 2 { switch (_root.itemquality) { case 'unique': _root.tcolor = 16766720; _root.htext = _root.hname; break; case 'unusual': _root.tcolor = 8802476; _root.htext = 'Unusual ' + _root.hname; break; case 'strange': _root.tcolor = 13593138; _root.htext = 'Strange ' + _root.hname; } itempic.gotoAndStop(_root.itemid); itempic.ueffect.gotoAndStop(_root.currentbg); itempic.hatname.textColor = _root.tcolor; } frame 3 { stop(); itempic._x = 0; } frame 3 { switch (_root.itemquality) { case 'unique': _root.tcolor = 16766720; _root.htext = _root.hname; break; case 'unusual': _root.tcolor = 8802476; _root.htext = 'Unusual ' + _root.hname; break; case 'strange': _root.tcolor = 13593138; _root.htext = 'Strange ' + _root.hname; } itempic.gotoAndStop(_root.itemid); itempic.ueffect.gotoAndStop(_root.currentbg); itempic.hatname.textColor = _root.tcolor; } frame 4 { switch (_root.itemquality) { case 'unique': _root.tcolor = 16766720; _root.htext = _root.hname; break; case 'unusual': _root.tcolor = 8802476; _root.htext = 'Unusual ' + _root.hname; break; case 'strange': _root.tcolor = 13593138; _root.htext = 'Strange ' + _root.hname; } itempic.gotoAndStop(_root.itemid); itempic.ueffect.gotoAndStop(_root.currentbg); itempic.hatname.textColor = _root.tcolor; } } movieClip 1682 { } movieClip 1719 { frame 3 { stop(); } } movieClip 1721 { } movieClip 1888 { frame 1 { stop(); } } movieClip 1944 { frame 1 { stop(); } frame 2 { xbutton.onRelease = function () { gotoAndStop(1); }; arrowleft.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe - 1); }; arrowright.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe + 1); }; } frame 3 { xbutton.onRelease = function () { gotoAndStop(1); }; arrowleft.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe - 1); }; arrowright.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe + 1); }; } frame 10 { xbutton.onRelease = function () { gotoAndStop(1); }; arrowleft.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe - 1); }; arrowright.onRelease = function () { trace(_currentframe); gotoAndStop(_currentframe + 1); }; } } movieClip 1948 { frame 1 { stop(); } } movieClip 1950 { frame 1 { stop(); } frame 2 { xbutton.onRelease = function () { gotoAndStop(1); }; if (_root.halloweenmode) { tickbox1.gotoAndStop(2); } else { tickbox1.gotoAndStop(1); } tickbox1.onRelease = function () { if (_root.halloweenmode) { _root.halloweenmode = false; tickbox1.gotoAndStop(1); } else { _root.halloweenmode = true; tickbox1.gotoAndStop(2); } }; } } movieClip 1955 { frame 1 { stop(); } frame 2 { xbutton.onRelease = function () { gotoAndStop(1); }; } }




http://swfchan.com/39/191641/info.shtml
Created: 15/10 -2018 02:27:54 Last modified: 15/10 -2018 02:27:54 Server time: 05/05 -2024 16:06:50