STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229679 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5192 |
This is the info page for Flash #54260 |
.com |
.com |
Santa on Crack |
start |
start |
start |
start |
presents collected: |
of |
000 |
000 |
Hii! I'm Santaaaa!... And I need to get myself some crack. And those darn kinds need presents again...I'm suppose to find some faaast...(I traded the rest for some darn dope)...Ho! Ho! Ho!...so..u help me get those darn presents and don't forget...THE CRACK!!! |
....so... these hurt Santa... |
...and this is what Santa needs... |
.com |
presents |
/ |
000 |
000 |
Damage |
NEED FOR COKE |
ActionScript [AS1/AS2]
Frame 1stop();Frame 2function cleanGame() { var _local1 = 0; while ((_local1 < obs.length) || (_local1 < flakes.length)) { obs[_local1].removeMovieClip(); flakes[_local1].removeMovieClip(); _local1++; } obs = []; flakes = []; } stop(); function kill(i, container, trashcan) { with (container[i]) { _visible = false; _x = -100; _y = -100; } if (trashcan != undefined) { trashcan.push(container[i]); } else { container[i].removeMovieClip(); } container.splice(i, 1); } function animate(container, trashcan, movements_, space) { var i = 0; while (i < container.length) { var j = 0; while (j < movements_.length) { if (movements_[j](i)) { with (container[i]) { var tolerance = 3; if ((((_y < (space.miny - tolerance)) || (_y > (space.maxy + tolerance))) || (_x < (space.minx - tolerance))) || (_x > (space.maxx + tolerance))) { kill(i, container, trashcan); break; } } } j++; } i++; } } function generate(creator_, min, max, delay, space, container, trashcan, place_, preplace_) { var _local3 = place_; if ((time % delay) == 0) { var _local1 = randomInt(min, max); preplace_(_local1); var _local2; while ((_local1 != 0) && ((_local2 = trashcan.pop()) != undefined)) { _local3(_local2); _local1--; } while (_local1 != 0) { _local3(creator_()); _local1--; } } } speed = 4; topspeedlimit = 15; bottomspeedlimit = 2; time = 0; _root.onLoad = function () { bitch_mc._visible = false; }; function randomInt(min, max) { return((Math.ceil(Math.random() * 1000) % ((max - min) + 1)) + min); } function randomInts(min, max, no) { if (no > ((max - min) + 1)) { no = (max = min + 1); } var _local3; var r = []; var _local2 = []; var _local1 = 0; while (_local1 < ((max - min) + 1)) { _local2[_local1] = min + _local1; _local1++; } while (r.length < no) { _local3 = randomInt(0, _local2.length - 1); r.push(_local2[_local3]); _local2.splice(_local3, 1); } return(r); }Frame 3function checkColision() { var _local1 = 0; while (_local1 < obs.length) { if (santa_mc.hitTest(obs[_local1])) { onColide(_local1); } _local1++; } } function onColide(i) { if (obs[i]._name.indexOf("coke") == 0) { s_moan.start(); need = need - 10; } else if (obs[i]._name.indexOf("present") == 0) { s_present.start(); score++; } else { if (obs[i]._name.indexOf("moose") == 0) { s_moose.start(); damage = damage + 10; } else if (obs[i]._name.indexOf("tree") == 0) { s_tree.start(); damage = damage + 10; } else if (obs[i]._name.indexOf("wood") == 0) { s_wood.start(); damage = damage + 6; } else if (obs[i]._name.indexOf("snowball") == 0) { s_snowball.start(); damage = damage + 5; } else if (obs[i]._name.indexOf("buldozer") == 0) { s_buldozer.start(); damage = damage + 15; } damagelevel.level._alpha = (100 * damage) / maxdamage; damagelevel.dsanta.gotoAndStop(Math.floor(damage / 25)); with (bloodbath) { _x = santa_mc._x; _y = santa_mc._y; _visible = true; play(); } } kill(i, obs, obs_trashcan); } damage = 0; maxdamage = 175; need = 0; maxneed = 100; score = 0; scoreneeded = 100; movespeed = 0.5; acceleration = 2; eacceleration = 0.5; top = 330; bottom = 360; ((s_moan = new Sound())).attachSound("moan"); ((s_moose = new Sound())).attachSound("moose"); ((s_tree = new Sound())).attachSound("tree"); ((s_wood = new Sound())).attachSound("wood"); ((s_present = new Sound())).attachSound("present"); ((s_buldozer = new Sound())).attachSound("buldozer"); ((s_snowball = new Sound())).attachSound("snowball"); santa_mc.onEnterFrame = function () { with (santa_mc) { if (Key.isDown(37) && (!Key.isDown(39))) { if (_x >= (obs_space.minx + 5)) { _x = _x - (movespeed * speed); if (speed > bottomspeedlimit) { speed = speed - (eacceleration / 30); } } } else if (Key.isDown(39) && (!Key.isDown(37))) { if (_x <= (obs_space.maxx - 5)) { _x = _x + (movespeed * speed); if (speed > bottomspeedlimit) { speed = speed - (eacceleration / 30); } } } if (Key.isDown(40) && (!Key.isDown(38))) { if (_y < bottom) { _y = _y + (acceleration / 5); } else if (speed > bottomspeedlimit) { speed = speed - eacceleration; } } else if ((!Key.isDown(40)) && (Key.isDown(38))) { if (_y > top) { _y = _y - acceleration; } else if (speed < topspeedlimit) { speed = speed + eacceleration; } } checkColision(); } }; function obs_preplace(no) { obs_lanes = randomInts(1, obs_lanesno, no); } function obs_place(ob) { obs.push(ob); with (ob) { _y = obs_space.miny + randomInt(0, 30); _x = (35 * obs_lanes.pop()) + randomInt(0, 10); _visible = true; } } function obs_fall(i) { obs[i]._y = obs[i]._y + speed; return(true); } function obs_creator() { var _local1 = obs_matrix[randomInt(0, obs_matrix.length - 1)]; var _local2 = _local1.duplicateMovieClip(_local1._name + obs_index, obs_index); obs_index++; return(_local2); } obs = []; obs_index = 100; obs_space = {minx:10, maxx:445, miny:10, maxy:400}; obs_maxc = 4; obs_minc = 0; obs_matrix = [coke, present, present, buldozer, moose, tree, wood, snowball]; obs_creationdistance = 96; obs_lanes = []; obs_lanesno = Math.ceil((obs_space.maxx - obs_space.minx) / 35); obs_movements_ = [obs_fall]; function randomVector(xsize, ysize) { var _local1 = new Object(); _local1.x = (xsize * Math.ceil(Math.random() * 1000)) / 1000; _local1.y = (ysize * Math.ceil(Math.random() * 1000)) / 1000; return(_local1); } function flakes_place(flake) { flakes.push(flake); with (flake) { _y = flakes_space.miny + randomInt(0, 50); _x = randomInt(flakes_space.minx, flakes_space.maxx); _visible = true; } } function flakes_fall(i) { flakes[i]._y = flakes[i]._y + (flakes_gravity + speed); return(true); } function flakes_windmove(i) { flakes[i]._x = flakes[i]._x + (flakes_windDirection * flakes_windSpeed); return(true); } function flakes_wabble(i) { if ((time % 2) == 0) { with (flakes[i]) { var v = randomVector(1, 2); _x = _x + v.x; _y = _y + v.y; } } return(false); } function flakes_creator() { var _local1 = flake.duplicateMovieClip("flake" + flakes_index, flakes_index); flakes_index++; return(_local1); } flakes = []; flakes_trashcan = []; flakes_index = 0; flakes_space = {minx:0, maxx:470, miny:0, maxy:400}; flakes_creationdelay = 24; flakes_maxc = 4; flakes_minc = 2; flakes_gravity = 1; flakes_windDirection = -1; flakes_windSpeed = 1; flakes_movements_ = [flakes_fall, flakes_windmove, flakes_wabble];Frame 4with (santa_mc) { if (_visible == false) { _visible = true; } } need = need + 0.1; cokelevel.level._width = (358 * need) / maxneed; if ((need >= maxneed) || (damage >= maxdamage)) { dialogbox.score.text = score; dialogbox.btext = "Restart"; cleanGame(); gotoAndStop ("menu"); } generate(obs_creator, obs_minc, obs_maxc, Math.ceil(obs_creationdistance / speed), obs_space, obs, undefined, obs_place, obs_preplace); animate(obs, undefined, obs_movements_, obs_space); generate(flakes_creator, flakes_minc, flakes_maxc, flakes_creationdelay, flakes_space, flakes, flakes_trashcan, flakes_place); animate(flakes, flakes_trashcan, flakes_movements_, flakes_space); if ((time % 24) == 0) { flakes_windDirection = -1 * flakes_windDirection; } time++;Frame 5gotoAndPlay ("preend");Symbol 52 Buttonon (release) { _root.play(); }Symbol 53 MovieClip Frame 143_root.play(); stop();Symbol 73 MovieClip Frame 9_visible = false; stop();Symbol 83 Buttonon (release) { _parent.gotoAndPlay("start"); }Symbol 96 MovieClip Frame 1stop();Symbol 123 Buttonon (press) { getURL ("http://www.armorgames.com", "blank"); }Symbol 124 MovieClip Frame 1btext = "Start!";Instance of Symbol 118 MovieClip in Symbol 124 MovieClip Frame 1on (press) { getURL ("http://www.armorgames.com", "blank"); }Symbol 162 MovieClip Frame 1stop();
Library Items
Symbol 1 Sound [wood] | ||
Symbol 2 Sound [tree] | ||
Symbol 3 Sound [snowball] | ||
Symbol 4 Sound [present] | ||
Symbol 5 Sound [moose] | ||
Symbol 6 Sound [moan] | ||
Symbol 7 Sound [buldozer] | ||
Symbol 8 Graphic | Used by:Timeline | |
Symbol 9 Graphic | Used by:53 | |
Symbol 10 Graphic | Used by:53 | |
Symbol 11 Graphic | Used by:53 | |
Symbol 12 Graphic | Used by:53 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:53 |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip | Uses:15 | Used by:53 |
Symbol 17 Graphic | Used by:53 | |
Symbol 18 Graphic | Used by:53 | |
Symbol 19 Graphic | Used by:53 | |
Symbol 20 Graphic | Used by:53 | |
Symbol 21 Graphic | Used by:53 | |
Symbol 22 Graphic | Used by:53 | |
Symbol 23 Graphic | Used by:53 | |
Symbol 24 Graphic | Used by:53 | |
Symbol 25 Graphic | Used by:53 | |
Symbol 26 Graphic | Used by:53 | |
Symbol 27 Sound | Used by:53 | |
Symbol 28 Graphic | Used by:53 | |
Symbol 29 Graphic | Used by:53 | |
Symbol 30 Graphic | Used by:53 | |
Symbol 31 Graphic | Used by:53 | |
Symbol 32 ShapeTweening | Used by:53 | |
Symbol 33 Graphic | Used by:53 | |
Symbol 34 Graphic | Used by:53 | |
Symbol 35 Graphic | Used by:53 | |
Symbol 36 Graphic | Used by:53 | |
Symbol 37 Graphic | Used by:53 | |
Symbol 38 Graphic | Used by:53 | |
Symbol 39 Graphic | Used by:53 | |
Symbol 40 Graphic | Used by:53 | |
Symbol 41 ShapeTweening | Used by:53 | |
Symbol 42 ShapeTweening | Used by:53 | |
Symbol 43 Graphic | Used by:47 | |
Symbol 44 Font | Used by:45 46 | |
Symbol 45 Text | Uses:44 | Used by:47 |
Symbol 46 Text | Uses:44 | Used by:47 |
Symbol 47 MovieClip | Uses:43 45 46 | Used by:53 |
Symbol 48 ShapeTweening | Used by:53 | |
Symbol 49 Graphic | Used by:53 | |
Symbol 50 Graphic | Used by:53 | |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 Button | Uses:51 | Used by:53 |
Symbol 53 MovieClip | Uses:9 10 11 12 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 47 48 49 50 52 | Used by:Timeline |
Symbol 54 Graphic | Used by:63 | |
Symbol 55 Graphic | Used by:56 | |
Symbol 56 MovieClip | Uses:55 | Used by:63 |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 MovieClip | Uses:57 | Used by:63 153 154 |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 MovieClip | Uses:59 | Used by:62 |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip | Uses:60 61 | Used by:63 |
Symbol 63 MovieClip | Uses:54 56 58 62 | Used by:Timeline |
Symbol 64 Graphic | Used by:73 | |
Symbol 65 Graphic | Used by:73 | |
Symbol 66 Graphic | Used by:73 | |
Symbol 67 Graphic | Used by:73 | |
Symbol 68 Graphic | Used by:73 | |
Symbol 69 Graphic | Used by:73 | |
Symbol 70 Graphic | Used by:73 | |
Symbol 71 Graphic | Used by:73 | |
Symbol 72 Graphic | Used by:73 | |
Symbol 73 MovieClip | Uses:64 65 66 67 68 69 70 71 72 | Used by:Timeline |
Symbol 74 Graphic | Used by:75 | |
Symbol 75 MovieClip | Uses:74 | Used by:124 |
Symbol 76 Font | Used by:77 78 79 80 82 84 85 86 87 88 150 151 173 | |
Symbol 77 EditableText | Uses:76 | Used by:124 |
Symbol 78 EditableText | Uses:76 | Used by:83 |
Symbol 79 EditableText | Uses:76 | Used by:83 |
Symbol 80 EditableText | Uses:76 | Used by:83 |
Symbol 81 Graphic | Used by:83 | |
Symbol 82 EditableText | Uses:76 | Used by:83 |
Symbol 83 Button | Uses:78 79 80 81 82 | Used by:124 |
Symbol 84 Text | Uses:76 | Used by:124 |
Symbol 85 Text | Uses:76 | Used by:124 |
Symbol 86 EditableText | Uses:76 | Used by:124 |
Symbol 87 EditableText | Uses:76 | Used by:124 |
Symbol 88 EditableText | Uses:76 | Used by:124 |
Symbol 89 Graphic | Used by:96 | |
Symbol 90 Graphic | Used by:96 | |
Symbol 91 Graphic | Used by:96 | |
Symbol 92 Graphic | Used by:96 | |
Symbol 93 Graphic | Used by:96 | |
Symbol 94 Graphic | Used by:96 | |
Symbol 95 Graphic | Used by:96 162 | |
Symbol 96 MovieClip | Uses:89 90 91 92 93 94 95 | Used by:124 |
Symbol 97 Font | Used by:98 99 148 149 | |
Symbol 98 EditableText | Uses:97 | Used by:124 |
Symbol 99 EditableText | Uses:97 | Used by:124 |
Symbol 100 Graphic | Used by:101 | |
Symbol 101 MovieClip | Uses:100 | Used by:124 |
Symbol 102 Graphic | Used by:103 | |
Symbol 103 MovieClip | Uses:102 | Used by:124 |
Symbol 104 Graphic | Used by:105 | |
Symbol 105 MovieClip | Uses:104 | Used by:124 |
Symbol 106 Graphic | Used by:107 | |
Symbol 107 MovieClip | Uses:106 | Used by:124 |
Symbol 108 Graphic | Used by:111 | |
Symbol 109 Graphic | Used by:111 | |
Symbol 110 Graphic | Used by:111 142 | |
Symbol 111 MovieClip | Uses:108 109 110 | Used by:124 |
Symbol 112 Graphic | Used by:113 | |
Symbol 113 MovieClip | Uses:112 | Used by:124 |
Symbol 114 Graphic | Used by:118 | |
Symbol 115 Graphic | Used by:118 | |
Symbol 116 Font | Used by:117 | |
Symbol 117 Text | Uses:116 | Used by:118 |
Symbol 118 MovieClip | Uses:114 115 117 | Used by:124 |
Symbol 119 Graphic | Used by:121 123 | |
Symbol 120 Graphic | Used by:121 123 | |
Symbol 121 MovieClip | Uses:119 120 | Used by:123 |
Symbol 122 Graphic | Used by:123 | |
Symbol 123 Button | Uses:121 122 119 120 | Used by:124 |
Symbol 124 MovieClip | Uses:75 77 83 84 85 86 87 88 96 98 99 101 103 105 107 111 113 118 123 | Used by:Timeline |
Symbol 125 Graphic | Used by:128 | |
Symbol 126 Graphic | Used by:127 | |
Symbol 127 MovieClip | Uses:126 | Used by:128 |
Symbol 128 MovieClip | Uses:125 127 | Used by:Timeline |
Symbol 129 Graphic | Used by:130 | |
Symbol 130 MovieClip | Uses:129 | Used by:Timeline |
Symbol 131 Graphic | Used by:132 | |
Symbol 132 MovieClip | Uses:131 | Used by:Timeline |
Symbol 133 Graphic | Used by:134 | |
Symbol 134 MovieClip | Uses:133 | Used by:Timeline |
Symbol 135 Graphic | Used by:136 | |
Symbol 136 MovieClip | Uses:135 | Used by:Timeline |
Symbol 137 Graphic | Used by:138 | |
Symbol 138 MovieClip | Uses:137 | Used by:Timeline |
Symbol 139 Graphic | Used by:140 | |
Symbol 140 MovieClip | Uses:139 | Used by:Timeline |
Symbol 141 Graphic | Used by:142 | |
Symbol 142 MovieClip | Uses:110 141 | Used by:Timeline |
Symbol 143 Graphic | Used by:146 | |
Symbol 144 Graphic | Used by:145 | |
Symbol 145 MovieClip | Uses:144 | Used by:146 |
Symbol 146 MovieClip | Uses:143 145 | Used by:Timeline |
Symbol 147 Graphic | Used by:155 | |
Symbol 148 Text | Uses:97 | Used by:155 |
Symbol 149 Text | Uses:97 | Used by:155 |
Symbol 150 EditableText | Uses:76 | Used by:155 |
Symbol 151 EditableText | Uses:76 | Used by:155 |
Symbol 152 Graphic | Used by:153 | |
Symbol 153 MovieClip | Uses:58 152 | Used by:154 |
Symbol 154 MovieClip | Uses:58 153 | Used by:155 |
Symbol 155 MovieClip | Uses:147 148 149 150 151 154 | Used by:Timeline |
Symbol 156 Graphic | Used by:162 | |
Symbol 157 Graphic | Used by:162 | |
Symbol 158 Graphic | Used by:162 | |
Symbol 159 Graphic | Used by:162 | |
Symbol 160 Graphic | Used by:162 | |
Symbol 161 Graphic | Used by:162 | |
Symbol 162 MovieClip | Uses:156 157 158 159 160 161 95 | Used by:168 |
Symbol 163 Font | Used by:164 | |
Symbol 164 Text | Uses:163 | Used by:168 |
Symbol 165 Graphic | Used by:168 | |
Symbol 166 Graphic | Used by:167 | |
Symbol 167 MovieClip | Uses:166 | Used by:168 |
Symbol 168 MovieClip | Uses:162 164 165 167 | Used by:Timeline |
Symbol 169 Graphic | Used by:174 | |
Symbol 170 Graphic | Used by:171 | |
Symbol 171 MovieClip | Uses:170 | Used by:174 |
Symbol 172 Text | Used by:174 | |
Symbol 173 Text | Uses:76 | Used by:174 |
Symbol 174 MovieClip | Uses:169 171 172 173 | Used by:Timeline |
Instance Names
"bloodbath" | Frame 2 | Symbol 73 MovieClip |
"dialogbox" | Frame 2 | Symbol 124 MovieClip |
"flake" | Frame 3 | Symbol 128 MovieClip |
"moose" | Frame 3 | Symbol 130 MovieClip |
"coke" | Frame 3 | Symbol 132 MovieClip |
"tree" | Frame 3 | Symbol 134 MovieClip |
"wood" | Frame 3 | Symbol 136 MovieClip |
"buldozer" | Frame 3 | Symbol 138 MovieClip |
"present" | Frame 3 | Symbol 140 MovieClip |
"snowball" | Frame 3 | Symbol 142 MovieClip |
"santa_mc" | Frame 3 | Symbol 146 MovieClip |
"present" | Frame 3 | Symbol 140 MovieClip |
"damagelevel" | Frame 3 | Symbol 168 MovieClip |
"cokelevel" | Frame 3 | Symbol 174 MovieClip |
"btn" | Symbol 124 MovieClip Frame 1 | Symbol 83 Button |
"score" | Symbol 124 MovieClip Frame 1 | Symbol 86 EditableText |
"dsanta" | Symbol 168 MovieClip Frame 1 | Symbol 162 MovieClip |
"level" | Symbol 168 MovieClip Frame 1 | Symbol 167 MovieClip |
"level" | Symbol 174 MovieClip Frame 1 | Symbol 171 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "wood" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "tree" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "snowball" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "present" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "moose" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "moan" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "buldozer" |
Labels
"menu" | Frame 2 |
"start" | Frame 3 |
"preend" | Frame 4 |
Dynamic Text Variables
btext | Symbol 78 EditableText | "start" |
btext | Symbol 79 EditableText | "start" |
btext | Symbol 80 EditableText | "start" |
btext | Symbol 82 EditableText | "start" |
_parent.scoreneeded | Symbol 87 EditableText | "000" |
_parent.scoreneeded | Symbol 150 EditableText | "000" |
_parent.score | Symbol 151 EditableText | "000" |
|