diff --git a/game/js/CZombie.js b/game/js/CZombie.js index 0f8f1b9..eeed300 100644 --- a/game/js/CZombie.js +++ b/game/js/CZombie.js @@ -254,11 +254,11 @@ var CZombies = (function (b, a) { var d, c, g; !(h.FreeFreezeTime || h.FreeSetbodyTime) ? (h.beAttacked && !h.isAttacking && h.JudgeAttack(), - !h.isAttacking + !h.isAttacking ? (c = h.AttackedRX -= d = h.Speed) < -50 ? (j.splice(e, 1), - h.DisappearDie(), - (g = 0)) + h.DisappearDie(), + (g = 0)) : (c < 100 && !h.PointZombie && ((h.PointZombie = 1), @@ -271,10 +271,10 @@ var CZombies = (function (b, a) { CustomTop: 400 - h.height + h.GetDY(), })), - (h.ZX = h.AttackedLX -= d), - (h.Ele.style.left = + (h.ZX = h.AttackedLX -= d), + (h.Ele.style.left = Math.floor((h.X -= d)) + "px"), - (g = 1)) + (g = 1)) : (g = 1)) : (g = 1); return g; @@ -283,15 +283,15 @@ var CZombies = (function (b, a) { var c, f; !(g.FreeFreezeTime || g.FreeSetbodyTime) ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - !g.isAttacking + !g.isAttacking ? (g.AttackedLX += c = g.Speed) > oS.W ? (h.splice(d, 1), - g.DisappearDie(), - (f = 0)) + g.DisappearDie(), + (f = 0)) : ((g.ZX = g.AttackedRX += c), - (g.Ele.style.left = + (g.Ele.style.left = Math.ceil((g.X += c)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); return f; @@ -321,12 +321,12 @@ var CZombies = (function (b, a) { d.CanPass((q += 2), i[q]) && (g[++m] = q)); g.length ? ((l = !d.WalkDirection ? -5 : 5), - (d.ZX += l), - (d.AttackedLX += l), - (d.AttackedRX += l), - (d.X += l), - (q = g[Math.floor(Math.random() * g.length)]), - SetStyle(f, { + (d.ZX += l), + (d.AttackedLX += l), + (d.AttackedRX += l), + (d.X += l), + (q = g[Math.floor(Math.random() * g.length)]), + SetStyle(f, { left: d.X + "px", top: (d.pixelTop = @@ -334,9 +334,9 @@ var CZombies = (function (b, a) { ? GetY(q) - d.height + d.GetDY() : j) + "px", zIndex: (d.zIndex = 3 * q + 1), - }), - d.isAttacking && (n.src = d.PicArr[d.NormalGif]), - oZ.moveTo(k, h, q)) + }), + d.isAttacking && (n.src = d.PicArr[d.NormalGif]), + oZ.moveTo(k, h, q)) : (n.src = d.PicArr[d.NormalGif]); d.isAttacking = 0; }, @@ -462,7 +462,7 @@ var CZombies = (function (b, a) { i && ((i.FreeSetbodyTime = 0), SetBlock(g)); }, [d, c] - ) + ) : SetBlock(c); }, Birth: function () { @@ -665,10 +665,10 @@ var CZombies = (function (b, a) { ? (!g.isAttacking && ((g.isAttacking = 1), (g.EleBody.src = g.PicArr[g.AttackGif])), - g.NormalAttack(c[0], c[1])) + g.NormalAttack(c[0], c[1])) : g.isAttacking && - ((g.isAttacking = 0), - (g.EleBody.src = g.PicArr[g.NormalGif])); + ((g.isAttacking = 0), + (g.EleBody.src = g.PicArr[g.NormalGif])); }, JudgeLR: function (f, d, e, c, g) { return e > 10 || e < 1 @@ -685,7 +685,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, JudgeSR: function (f, d, e, c, g) { return e > 9 @@ -702,7 +702,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, JudgeAttackH1: function () { var e = this, @@ -723,13 +723,13 @@ var CZombies = (function (b, a) { d && d.beAttacked && d.AttackedLX < oS.W && d.Altitude == 1 ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = e.PicArr[e.AttackGif]), - e.AttackZombie(f, (c = d.id)), - !d.isAttacking && d.AttackZombie2(d, c, f)) + (e.EleBody.src = e.PicArr[e.AttackGif]), + e.AttackZombie(f, (c = d.id)), + !d.isAttacking && d.AttackZombie2(d, c, f)) : e.AttackZombie(f, d.id, 1) : e.isAttacking && - ((e.isAttacking = 0), - (e.EleBody.src = e.PicArr[e.NormalGif])); + ((e.isAttacking = 0), + (e.EleBody.src = e.PicArr[e.NormalGif])); }, AttackZombie: function (d, c) { oSym.addTask( @@ -761,13 +761,12 @@ var CZombies = (function (b, a) { !i.FreeSetbodyTime && ((h = $Z[f]) ? (h.getHit0(h, 10, 0), - oSym.addTask(10, arguments.callee, [ + oSym.addTask(10, arguments.callee, [ g, f, - ])) + ])) : ((i.isAttacking = 0), - (i.EleBody.src = - i.PicArr[i.NormalGif]))); + (i.EleBody.src = i.PicArr[i.NormalGif]))); }, [d, c] ); @@ -820,10 +819,10 @@ var CZombies = (function (b, a) { ? function (e, c, d) { c.style.filter = e.CSS_alpha + (e.CSS_fliph = d ? " fliph" : ""); - } + } : function (e, c, d) { c.className = d ? "fliph" : ""; - }, + }, bedevil: function (c) { c.ExchangeLR(c, 1); c.JudgeAttack = c.JudgeAttackH; @@ -838,10 +837,15 @@ var CZombies = (function (b, a) { d.style.filter = (f.CSS_alpha = "alpha(opacity=" + e + ")") + f.CSS_fliph; - } + } : function (f, d, e, c) { - d.style.opacity = c; - }, + if (c == 1) { + d.style.filter = "brightness(1)"; + } else { + d.style.filter = + "brightness(" + (c / 0.75 + 0.65) + ")"; + } + }, }), a ); @@ -901,8 +905,8 @@ var CZombies = (function (b, a) { b = oSym.Now + 1e3; e == 0 ? (f.PlaySlowballAudio(), - (f.Speed = 0.5 * f.OSpeed), - (f.Attack = 50)) + (f.Speed = 0.5 * f.OSpeed), + (f.Attack = 50)) : f.PlayNormalballAudio(); e < b && ((f.FreeSlowTime = b), @@ -1102,8 +1106,8 @@ var CZombies = (function (b, a) { var e, b, a, f; !(g.FreeFreezeTime || g.FreeSetbodyTime) ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - (e = g.id), - !g.isAttacking + (e = g.id), + !g.isAttacking ? (a = g.AttackedRX -= b = g.Speed) < -50 ? (h.splice(c, 1), g.DisappearDie(), (f = 0)) : (a < 100 && @@ -1117,10 +1121,10 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - g.height + g.GetDY(), })), - (g.ZX = g.AttackedLX -= b), - (g.Ele.style.left = + (g.ZX = g.AttackedLX -= b), + (g.Ele.style.left = Math.floor((g.X -= b)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); g.ChkSpeed(g); @@ -1430,14 +1434,14 @@ var CZombies = (function (b, a) { var c, d; !(e.FreeFreezeTime || e.FreeSetbodyTime) ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - (c = e.id), - !e.isAttacking + (c = e.id), + !e.isAttacking ? (e.AttackedLX += 3.5) > oS.W ? (f.splice(a, 1), e.DisappearDie(), (d = 0)) : ((e.ZX = e.AttackedRX += 3.5), - (e.Ele.style.left = + (e.Ele.style.left = Math.ceil((e.X += 3.5)) + "px"), - (d = 1)) + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -1450,8 +1454,8 @@ var CZombies = (function (b, a) { var e, b, a, f; !(g.FreeFreezeTime || g.FreeSetbodyTime) ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - (e = g.id), - !g.isAttacking + (e = g.id), + !g.isAttacking ? (a = g.AttackedRX -= b = g.Speed) < -50 ? (h.splice(c, 1), g.DisappearDie(), (f = 0)) : (a < 100 && @@ -1465,10 +1469,10 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - g.height + g.GetDY(), })), - (g.ZX = g.AttackedLX -= b), - (g.Ele.style.left = + (g.ZX = g.AttackedLX -= b), + (g.Ele.style.left = Math.floor((g.X -= b)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); g.ChkSpeed(g); @@ -1532,10 +1536,10 @@ var CZombies = (function (b, a) { !f.FreeSetbodyTime && ((e = $Z[c]) ? (e.getHit0(e, 10, 0), - oSym.addTask(10, arguments.callee, [d, c])) + oSym.addTask(10, arguments.callee, [d, c])) : ((f.isAttacking = 0), - (f.EleBody.src = f.PicArr[f.NormalGif]), - f.TurnLeft(f))); + (f.EleBody.src = f.PicArr[f.NormalGif]), + f.TurnLeft(f))); }, [b, a] ); @@ -2095,14 +2099,14 @@ var CZombies = (function (b, a) { var c, d; !(e.FreeFreezeTime || e.FreeSetbodyTime) ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - (c = e.id), - !e.isAttacking + (c = e.id), + !e.isAttacking ? (e.AttackedLX += 3.5) > oS.W ? (f.splice(a, 1), e.DisappearDie(), (d = 0)) : ((e.ZX = e.AttackedRX += 3.5), - (e.Ele.style.left = + (e.Ele.style.left = Math.ceil((e.X += 3.5)) + "px"), - (d = 1)) + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -2115,8 +2119,8 @@ var CZombies = (function (b, a) { var e, b, a, f; !(g.FreeFreezeTime || g.FreeSetbodyTime) ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - (e = g.id), - !g.isAttacking + (e = g.id), + !g.isAttacking ? (a = g.AttackedRX -= b = g.Speed) < -50 ? (h.splice(c, 1), g.DisappearDie(), (f = 0)) : (a < 100 && @@ -2130,10 +2134,10 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - g.height + g.GetDY(), })), - (g.ZX = g.AttackedLX -= b), - (g.Ele.style.left = + (g.ZX = g.AttackedLX -= b), + (g.Ele.style.left = Math.floor((g.X -= b)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); g.ChkSpeed(g); @@ -2197,10 +2201,10 @@ var CZombies = (function (b, a) { !f.FreeSetbodyTime && ((e = $Z[c]) ? (e.getHit0(e, 10, 0), - oSym.addTask(10, arguments.callee, [d, c])) + oSym.addTask(10, arguments.callee, [d, c])) : ((f.isAttacking = 0), - (f.EleBody.src = f.PicArr[f.NormalGif]), - f.TurnLeft(f))); + (f.EleBody.src = f.PicArr[f.NormalGif]), + f.TurnLeft(f))); }, [b, a] ); @@ -3058,19 +3062,19 @@ var CZombies = (function (b, a) { (p = h[d + f + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= e && - p.AttackedLX < b && - p.canEat && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - g.NormalAttack(g.id, p.id, p.AttackedLX)) + p.AttackedLX < b && + p.canEat && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + g.NormalAttack(g.id, p.id, p.AttackedLX)) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - (g.NormalAttack = CZombies.prototype.NormalAttack)( + p.AttackedLX < b && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + (g.NormalAttack = CZombies.prototype.NormalAttack)( g.id, p.id - ))) + ))) ) {} } }, @@ -3137,32 +3141,32 @@ var CZombies = (function (b, a) { k.AttackedRX) - h.beAttackedPointL) + h.beAttackedPointR), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieWalk.gif"), - SetVisible(l), - (h.isAttacking = 0), - (h.Altitude = 1), - (h.OSpeed = h.Speed = 1.6), - (h.NormalGif = 9), - (h.LostHeadGif = 10), - (h.NormalAttack = (r = + SetVisible(l), + (h.isAttacking = 0), + (h.Altitude = 1), + (h.OSpeed = h.Speed = 1.6), + (h.NormalGif = 9), + (h.LostHeadGif = 10), + (h.NormalAttack = (r = CZombies.prototype).NormalAttack), - (h.getCrushed = r.getCrushed), - (h.getFreeze = r.getFreeze), - (h.getRaven = r.getRaven)) + (h.getCrushed = r.getCrushed), + (h.getFreeze = r.getFreeze), + (h.getRaven = r.getRaven)) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - h.beAttackedPointR) + h.beAttackedPointL), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieJump2.gif" + $Random + Math.random()), - SetVisible(l), - oSym.addTask( + SetVisible(l), + oSym.addTask( 80, function (s, v) { var u = $Z[s], @@ -3182,7 +3186,7 @@ var CZombies = (function (b, a) { (u.getRaven = t.getRaven)); }, [m, n] - ))); + ))); }, [d, b, a, c, e] ); @@ -3272,19 +3276,19 @@ var CZombies = (function (b, a) { (p = h[d + f + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= e && - p.AttackedLX < b && - p.canEat && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - g.NormalAttack(g.id, p.id, p.AttackedLX)) + p.AttackedLX < b && + p.canEat && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + g.NormalAttack(g.id, p.id, p.AttackedLX)) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - (g.NormalAttack = CZombies.prototype.NormalAttack)( + p.AttackedLX < b && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + (g.NormalAttack = CZombies.prototype.NormalAttack)( g.id, p.id - ))) + ))) ) {} } }, @@ -3351,32 +3355,32 @@ var CZombies = (function (b, a) { k.AttackedRX) - h.beAttackedPointL) + h.beAttackedPointR), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieWalk.gif"), - SetVisible(l), - (h.isAttacking = 0), - (h.Altitude = 1), - (h.OSpeed = h.Speed = 1.6), - (h.NormalGif = 9), - (h.LostHeadGif = 10), - (h.NormalAttack = (r = + SetVisible(l), + (h.isAttacking = 0), + (h.Altitude = 1), + (h.OSpeed = h.Speed = 1.6), + (h.NormalGif = 9), + (h.LostHeadGif = 10), + (h.NormalAttack = (r = CZombies.prototype).NormalAttack), - (h.getCrushed = r.getCrushed), - (h.getFreeze = r.getFreeze), - (h.getRaven = r.getRaven)) + (h.getCrushed = r.getCrushed), + (h.getFreeze = r.getFreeze), + (h.getRaven = r.getRaven)) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - h.beAttackedPointR) + h.beAttackedPointL), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieJump2.gif" + $Random + Math.random()), - SetVisible(l), - oSym.addTask( + SetVisible(l), + oSym.addTask( 80, function (s, v) { var u = $Z[s], @@ -3396,7 +3400,7 @@ var CZombies = (function (b, a) { (u.getRaven = t.getRaven)); }, [m, n] - ))); + ))); }, [d, b, a, c, e] ); @@ -3465,32 +3469,32 @@ var CZombies = (function (b, a) { k.AttackedRX) - h.beAttackedPointL) + h.beAttackedPointR), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/wall/PoleVaultingZombie/PoleVaultingZombieWalk.gif"), - SetVisible(l), - (h.isAttacking = 0), - (h.Altitude = 1), - (h.OSpeed = h.Speed = 1.6), - (h.NormalGif = 9), - (h.LostHeadGif = 10), - (h.NormalAttack = (r = + SetVisible(l), + (h.isAttacking = 0), + (h.Altitude = 1), + (h.OSpeed = h.Speed = 1.6), + (h.NormalGif = 9), + (h.LostHeadGif = 10), + (h.NormalAttack = (r = CZombies.prototype).NormalAttack), - (h.getCrushed = r.getCrushed), - (h.getFreeze = r.getFreeze), - (h.getRaven = r.getRaven)) + (h.getCrushed = r.getCrushed), + (h.getFreeze = r.getFreeze), + (h.getRaven = r.getRaven)) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - h.beAttackedPointR) + h.beAttackedPointL), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/wall/PoleVaultingZombie/PoleVaultingZombieJump2.gif" + $Random + Math.random()), - SetVisible(l), - oSym.addTask( + SetVisible(l), + oSym.addTask( 80, function (s, v) { var u = $Z[s], @@ -3510,7 +3514,7 @@ var CZombies = (function (b, a) { (u.getRaven = t.getRaven)); }, [m, n] - ))); + ))); }, [d, b, a, c, e] ); @@ -3654,12 +3658,12 @@ var CZombies = (function (b, a) { } (f.HP -= b) < f.BreakPoint ? ((f.getFirePea = OrnNoneZombies.prototype.getFirePea), - f.GoingDie( + f.GoingDie( f.PicArr[ [f.LostHeadGif, f.LostHeadAttackGif][f.isAttacking] ] - ), - (f.getHit = + ), + (f.getHit = f.getHit0 = f.getHit1 = f.getHit2 = @@ -3673,15 +3677,15 @@ var CZombies = (function (b, a) { f.PicArr, f.isAttacking, 0 - ), - f.SetAlpha(f, f.EleBody, 50, 0.5), - oSym.addTask( + ), + f.SetAlpha(f, f.EleBody, 50, 0.5), + oSym.addTask( 10, function (j, i) { (i = $Z[j]) && i.SetAlpha(i, i.EleBody, 100, 1); }, [f.id] - )); + )); }, getHit0: function (c, a, b) { b == c.WalkDirection @@ -3693,24 +3697,24 @@ var CZombies = (function (b, a) { c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && d.SetAlpha(d, d.EleBody, 100, 1); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [c.LostHeadGif, c.LostHeadAttackGif][c.isAttacking] ] - ), - (c.getFirePea = OrnNoneZombies.prototype.getFirePea), - (c.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (c.getHit = + ), + (c.getFirePea = OrnNoneZombies.prototype.getFirePea), + (c.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -3723,10 +3727,10 @@ var CZombies = (function (b, a) { b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -3740,15 +3744,15 @@ var CZombies = (function (b, a) { b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, getHit2: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -3756,23 +3760,23 @@ var CZombies = (function (b, a) { b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = b.getHit3 = function () {})) : (b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, getHit3: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -3780,10 +3784,10 @@ var CZombies = (function (b, a) { b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -3797,15 +3801,15 @@ var CZombies = (function (b, a) { b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, CheckOrnHP: function (g, h, d, c, f, b, a) { var e = OrnNoneZombies.prototype; @@ -3933,22 +3937,22 @@ var CZombies = (function (b, a) { c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && d.SetAlpha(d, d.EleBody, 100, 1); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [c.LostHeadGif, c.LostHeadAttackGif][c.isAttacking] ] - ), - (c.getHit = + ), + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -3986,8 +3990,8 @@ var CZombies = (function (b, a) { getFireball: function (c, a, b) { b != c.WalkDirection ? ((c.FreeSlowTime = 0), - (c.Attack = 100), - c.Speed != c.OSpeed + (c.Attack = 100), + c.Speed != c.OSpeed ? (c.PlayNormalballAudio(), (c.Speed = c.OSpeed)) : c.PlayFireballAudio()) : c.PlayNormalballAudio(); @@ -4069,22 +4073,22 @@ var CZombies = (function (b, a) { c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && d.SetAlpha(d, d.EleBody, 100, 1); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [c.LostHeadGif, c.LostHeadAttackGif][c.isAttacking] ] - ), - (c.getHit = + ), + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -4122,8 +4126,8 @@ var CZombies = (function (b, a) { getFireball: function (c, a, b) { b != c.WalkDirection ? ((c.FreeSlowTime = 0), - (c.Attack = 100), - c.Speed != c.OSpeed + (c.Attack = 100), + c.Speed != c.OSpeed ? (c.PlayNormalballAudio(), (c.Speed = c.OSpeed)) : c.PlayFireballAudio()) : c.PlayNormalballAudio(); @@ -4231,7 +4235,7 @@ var CZombies = (function (b, a) { k && ((k.FreeSetbodyTime = 0), SetBlock(i)); }, [c, b] - ) + ) : SetBlock(b); }, ChkActsL1: function (f, e, g, d) { @@ -4312,13 +4316,12 @@ var CZombies = (function (b, a) { var a, d; !(e.FreeFreezeTime || e.FreeSetbodyTime) ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - !e.isAttacking + !e.isAttacking ? (e.AttackedLX += a = e.Speed) > oS.W ? (f.splice(b, 1), e.DisappearDie(), (d = 0)) : ((e.ZX = e.AttackedRX += a), - (e.Ele.style.left = - Math.ceil((e.X += a)) + "px"), - (d = 1)) + (e.Ele.style.left = Math.ceil((e.X += a)) + "px"), + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -4357,7 +4360,7 @@ var CZombies = (function (b, a) { b && ((b.HP -= 60) < 1 ? (b.NormalDie(), - oSym.addTask(50, ClearChild, [b.Ele])) + oSym.addTask(50, ClearChild, [b.Ele])) : oSym.addTask(100, arguments.callee, [c])); }, [a] @@ -4696,7 +4699,7 @@ var CZombies = (function (b, a) { k && ((k.FreeSetbodyTime = 0), SetBlock(i)); }, [c, b] - ) + ) : SetBlock(b); }, ChkActsL1: function (f, e, g, d) { @@ -4777,13 +4780,12 @@ var CZombies = (function (b, a) { var a, d; !(e.FreeFreezeTime || e.FreeSetbodyTime) ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - !e.isAttacking + !e.isAttacking ? (e.AttackedLX += a = e.Speed) > oS.W ? (f.splice(b, 1), e.DisappearDie(), (d = 0)) : ((e.ZX = e.AttackedRX += a), - (e.Ele.style.left = - Math.ceil((e.X += a)) + "px"), - (d = 1)) + (e.Ele.style.left = Math.ceil((e.X += a)) + "px"), + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -4822,7 +4824,7 @@ var CZombies = (function (b, a) { b && ((b.HP -= 60) < 1 ? (b.NormalDie(), - oSym.addTask(50, ClearChild, [b.Ele])) + oSym.addTask(50, ClearChild, [b.Ele])) : oSym.addTask(100, arguments.callee, [c])); }, [a] @@ -4924,7 +4926,7 @@ var CZombies = (function (b, a) { k && ((k.FreeSetbodyTime = 0), SetBlock(i)); }, [c, b] - ) + ) : SetBlock(b); }, Produce: @@ -4998,16 +5000,16 @@ var CZombies = (function (b, a) { !(d.FreeFreezeTime || d.FreeSetbodyTime) && (d.AttackedLX > GetX(0) ? (d.beAttacked && !d.isAttacking && d.JudgeAttack(), - !d.isAttacking && + !d.isAttacking && ((d.AttackedRX -= a = d.Speed), (d.ZX = d.AttackedLX -= a), (d.Ele.style.left = Math.floor((d.X -= a)) + "px"))) : d.beAttacked && - ((d.WalkStatus = 0), - (d.Altitude = 1), - (d.EleBody.src = d.PicArr[(d.NormalGif = d.WalkGif0)]), - SetVisible(d.EleShadow), - (d.ChkActs = d.ChkActsL3))); + ((d.WalkStatus = 0), + (d.Altitude = 1), + (d.EleBody.src = d.PicArr[(d.NormalGif = d.WalkGif0)]), + SetVisible(d.EleShadow), + (d.ChkActs = d.ChkActsL3))); return 1; }, JudgeAttack: function () { @@ -5021,8 +5023,8 @@ var CZombies = (function (b, a) { (a = e.JudgeLR(e, c, d, b, g) || e.JudgeSR(e, c, d, b, g)) ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = e.PicArr[9] + Math.random()), - oSym.addTask( + (e.EleBody.src = e.PicArr[9] + Math.random()), + oSym.addTask( 50, function (i, h) { $Z[i] && @@ -5032,12 +5034,12 @@ var CZombies = (function (b, a) { h.NormalAttack(a[0], a[1])); }, [f, e] - )) + )) : e.NormalAttack(a[0], a[1]) : e.isAttacking && - ((e.EleBody.src = e.PicArr[10] + Math.random()), - (e.Altitude = 0), - oSym.addTask( + ((e.EleBody.src = e.PicArr[10] + Math.random()), + (e.Altitude = 0), + oSym.addTask( 70, function (i, h) { $Z[i] && @@ -5046,7 +5048,7 @@ var CZombies = (function (b, a) { (h.EleBody.src = h.PicArr[h.NormalGif])); }, [f, e] - )); + )); }, NormalAttack: function (b, a) { oSym.addTask( @@ -5071,10 +5073,10 @@ var CZombies = (function (b, a) { b && b.beAttacked && b.AttackedLX < 900 && b.Altitude < 2 ? !c.isAttacking ? ((c.isAttacking = 1), - (c.EleBody.src = c.PicArr[9] + Math.random()), - (a = b.id), - !b.isAttacking && b.AttackZombie2(b, a, d), - oSym.addTask( + (c.EleBody.src = c.PicArr[9] + Math.random()), + (a = b.id), + !b.isAttacking && b.AttackZombie2(b, a, d), + oSym.addTask( 50, function (g, h, f, e) { $Z[h] && @@ -5082,17 +5084,17 @@ var CZombies = (function (b, a) { ($Z[e] && f.beAttacked ? ((g.EleBody.src = g.PicArr[g.AttackGif]), - (g.Altitude = 1), - g.AttackZombie(h, e)) + (g.Altitude = 1), + g.AttackZombie(h, e)) : g.JudgeAttackH()); }, [c, d, b, a] - )) + )) : c.AttackZombie(d, a) : c.isAttacking && - ((c.EleBody.src = c.PicArr[10] + Math.random()), - (c.Altitude = 0), - oSym.addTask( + ((c.EleBody.src = c.PicArr[10] + Math.random()), + (c.Altitude = 0), + oSym.addTask( 70, function (f, e) { $Z[f] && @@ -5101,7 +5103,7 @@ var CZombies = (function (b, a) { (e.EleBody.src = e.PicArr[e.NormalGif])); }, [d, c] - )); + )); }, AttackZombie2: function (c, b, a) { c.isAttacking = 1; @@ -5113,8 +5115,8 @@ var CZombies = (function (b, a) { g.beAttacked && ((f = $Z[d]) && f.beAttacked ? ((g.EleBody.src = g.PicArr[g.AttackGif]), - (g.Altitude = 1), - oSym.addTask( + (g.Altitude = 1), + oSym.addTask( 10, function (k, i, j, h) { $Z[i] && @@ -5123,16 +5125,16 @@ var CZombies = (function (b, a) { !k.FreeSetbodyTime && ($Z[h] && j.beAttacked ? (j.getHit0(j, 10, 0), - oSym.addTask( + oSym.addTask( 10, arguments.callee, [k, i, j, h] - )) + )) : ((k.EleBody.src = k.PicArr[10] + Math.random()), - (k.Altitude = 0), - oSym.addTask( + (k.Altitude = 0), + oSym.addTask( 70, function (l, m) { $Z[l] && @@ -5144,13 +5146,13 @@ var CZombies = (function (b, a) { ])); }, [i, k] - ))); + ))); }, [g, e, f, d] - )) + )) : ((g.EleBody.src = g.PicArr[10] + Math.random()), - (g.Altitude = 0), - oSym.addTask( + (g.Altitude = 0), + oSym.addTask( 70, function (h, i) { $Z[h] && @@ -5160,7 +5162,7 @@ var CZombies = (function (b, a) { i.PicArr[i.NormalGif])); }, [e, g] - ))); + ))); }, [c, b, a] ); @@ -5173,7 +5175,7 @@ var CZombies = (function (b, a) { b && ((b.HP -= 60) < 1 ? (b.NormalDie(), - oSym.addTask(200, ClearChild, [b.Ele])) + oSym.addTask(200, ClearChild, [b.Ele])) : oSym.addTask(100, arguments.callee, [c])); }, [a] @@ -5665,20 +5667,20 @@ var CZombies = (function (b, a) { "px;width:800px;height:72px", 0, EDPZ - )), - NewImg( + )), + NewImg( "", "images/interface/blank.png", "position:absolute;clip:rect(0,auto,auto,800px);width:800px;height:72px;left:5px;background:url(images/Zombies/Zomboni/ice.png) repeat-x", f - ), - NewImg( + ), + NewImg( "", "images/Zombies/Zomboni/ice_cap.png", "position:absolute;display:none;left:0", f - ), - (b[d] = [1, 11, h.AttackedLX])) + ), + (b[d] = [1, 11, h.AttackedLX])) : ++b[d][0]; g ? oSym.addTask( @@ -5691,7 +5693,7 @@ var CZombies = (function (b, a) { PlayAudio("zamboni")); }, [e, c] - ) + ) : (SetBlock(c), PlayAudio("zamboni")); }, ChkActs: function (e, j, q, k) { @@ -5718,9 +5720,9 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - e.height + e.GetDY(), })), - (e.ZX = e.AttackedLX -= b), - (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), - (m = 1)); + (e.ZX = e.AttackedLX -= b), + (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), + (m = 1)); d = e.X; h = d + 250; f = d + 100; @@ -5742,8 +5744,8 @@ var CZombies = (function (b, a) { (f.AttackedLX += b = f.Speed) > oS.W ? (g.splice(c, 1), f.DisappearDie(), (e = 0)) : ((f.ZX = f.AttackedRX += b), - (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), - (e = 1)); + (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), + (e = 1)); return e; }, getPea: function (c, b) { @@ -5883,7 +5885,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, JudgeSR: function (e, c, d, b, f) { return d > 9 @@ -5900,7 +5902,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, NormalAttack: function (c, b) { var d = $Z[c]; @@ -5995,20 +5997,20 @@ var CZombies = (function (b, a) { "px;width:800px;height:72px", 0, EDPZ - )), - NewImg( + )), + NewImg( "", "images/interface/blank.png", "position:absolute;clip:rect(0,auto,auto,800px);width:800px;height:72px;left:5px;background:url(images/Zombies/wall/Zomboni/ice.png) repeat-x", f - ), - NewImg( + ), + NewImg( "", "images/Zombies/wall/Zomboni/ice_cap.png", "position:absolute;display:none;left:0", f - ), - (b[d] = [1, 11, h.AttackedLX])) + ), + (b[d] = [1, 11, h.AttackedLX])) : ++b[d][0]; g ? oSym.addTask( @@ -6021,7 +6023,7 @@ var CZombies = (function (b, a) { PlayAudio("zamboni")); }, [e, c] - ) + ) : (SetBlock(c), PlayAudio("zamboni")); }, ChkActs: function (e, j, q, k) { @@ -6048,9 +6050,9 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - e.height + e.GetDY(), })), - (e.ZX = e.AttackedLX -= b), - (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), - (m = 1)); + (e.ZX = e.AttackedLX -= b), + (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), + (m = 1)); d = e.X; h = d + 250; f = d + 100; @@ -6072,8 +6074,8 @@ var CZombies = (function (b, a) { (f.AttackedLX += b = f.Speed) > oS.W ? (g.splice(c, 1), f.DisappearDie(), (e = 0)) : ((f.ZX = f.AttackedRX += b), - (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), - (e = 1)); + (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), + (e = 1)); return e; }, getPea: function (c, b) { @@ -6213,7 +6215,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, JudgeSR: function (e, c, d, b, f) { return d > 9 @@ -6230,7 +6232,7 @@ var CZombies = (function (b, a) { : false; } } - })(); + })(); }, NormalAttack: function (c, b) { var d = $Z[c]; @@ -6380,18 +6382,18 @@ var CZombies = (function (b, a) { (p = g[d + e + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (f.JudgeAttack = CZombies.prototype.JudgeAttack), - f.NormalAttack(f.id, p.id, p.AttackedLX)) + p.AttackedLX < b && + ((a = -1), + (f.JudgeAttack = CZombies.prototype.JudgeAttack), + f.NormalAttack(f.id, p.id, p.AttackedLX)) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (f.JudgeAttack = CZombies.prototype.JudgeAttack), - (f.NormalAttack = CZombies.prototype.NormalAttack)( + p.AttackedLX < b && + ((a = -1), + (f.JudgeAttack = CZombies.prototype.JudgeAttack), + (f.NormalAttack = CZombies.prototype.NormalAttack)( f.id, p.id - ))) + ))) ) {} } }, @@ -6444,18 +6446,18 @@ var CZombies = (function (b, a) { k.AttackedRX) - (h.beAttackedPointL = 45)) + (h.beAttackedPointR = 100)), - SetStyle(i, { left: h.X + "px" }), - (h.EleShadow.style.left = "45px"), - n()) + SetStyle(i, { left: h.X + "px" }), + (h.EleShadow.style.left = "45px"), + n()) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - (h.beAttackedPointR = 100)) + (h.beAttackedPointL = 45)), - SetStyle(i, { left: h.X + "px" }), - (h.EleShadow.style.left = "45px"), - (q.src = h.PicArr[13] + Math.random()), - oSym.addTask( + SetStyle(i, { left: h.X + "px" }), + (h.EleShadow.style.left = "45px"), + (q.src = h.PicArr[13] + Math.random()), + oSym.addTask( 170, function (t, w) { var v = $Z[t], @@ -6463,7 +6465,7 @@ var CZombies = (function (b, a) { v && n(); }, [m, q] - ))); + ))); }, [d, b, a, c, e] ); @@ -6631,7 +6633,7 @@ var CZombies = (function (b, a) { ? (!g.isAttacking && ((g.isAttacking = 1), (g.EleBody.src = g.PicArr[g.AttackGif])), - g.NormalAttack(c[0], c[1])) + g.NormalAttack(c[0], c[1])) : g.isAttacking && (g.isAttacking = 0); }; a.JudgeAttackH = function () { @@ -6642,9 +6644,9 @@ var CZombies = (function (b, a) { d && d.beAttacked && d.AttackedLX < oS.W && d.Altitude == 1 ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = e.PicArr[e.AttackGif]), - e.AttackZombie(f, (c = d.id)), - !d.isAttacking && d.AttackZombie2(d, c, f)) + (e.EleBody.src = e.PicArr[e.AttackGif]), + e.AttackZombie(f, (c = d.id)), + !d.isAttacking && d.AttackZombie2(d, c, f)) : e.AttackZombie(f, d.id, 1) : e.isAttacking && (e.isAttacking = 0); }; @@ -6710,7 +6712,7 @@ var CZombies = (function (b, a) { } } while (g++ < h); } while (q++ < o); - })(e.R, GetC(e.ZX)) + })(e.R, GetC(e.ZX)) : (function (j, l) { var m = j - 120, o = j + 120, @@ -6725,7 +6727,7 @@ var CZombies = (function (b, a) { n[k].ExplosionDie(); } } while (h++ < g); - })(e.ZX, e.R), + })(e.ZX, e.R), e.DisappearDie()); }, [c] @@ -6762,11 +6764,11 @@ var CZombies = (function (b, a) { g.RandomOpenBox(f)); }, [b, a] - ) + ) : (PlayAudio("jackinthebox", true), - ++oGd.$JackinTheBox, - SetBlock(a), - d.RandomOpenBox(b)); + ++oGd.$JackinTheBox, + SetBlock(a), + d.RandomOpenBox(b)); }, NormalDie: function () { var a = this; @@ -6875,7 +6877,7 @@ var CZombies = (function (b, a) { ? (!g.isAttacking && ((g.isAttacking = 1), (g.EleBody.src = g.PicArr[g.AttackGif])), - g.NormalAttack(c[0], c[1])) + g.NormalAttack(c[0], c[1])) : g.isAttacking && (g.isAttacking = 0); }; a.JudgeAttackH = function () { @@ -6886,9 +6888,9 @@ var CZombies = (function (b, a) { d && d.beAttacked && d.AttackedLX < oS.W && d.Altitude == 1 ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = e.PicArr[e.AttackGif]), - e.AttackZombie(f, (c = d.id)), - !d.isAttacking && d.AttackZombie2(d, c, f)) + (e.EleBody.src = e.PicArr[e.AttackGif]), + e.AttackZombie(f, (c = d.id)), + !d.isAttacking && d.AttackZombie2(d, c, f)) : e.AttackZombie(f, d.id, 1) : e.isAttacking && (e.isAttacking = 0); }; @@ -6954,7 +6956,7 @@ var CZombies = (function (b, a) { } } while (g++ < h); } while (q++ < o); - })(e.R, GetC(e.ZX)) + })(e.R, GetC(e.ZX)) : (function (j, l) { var m = j - 120, o = j + 120, @@ -6969,7 +6971,7 @@ var CZombies = (function (b, a) { n[k].ExplosionDie(); } } while (h++ < g); - })(e.ZX, e.R), + })(e.ZX, e.R), e.DisappearDie()); }, [c] @@ -7006,11 +7008,11 @@ var CZombies = (function (b, a) { g.RandomOpenBox(f)); }, [b, a] - ) + ) : (PlayAudio("jackinthebox", true), - ++oGd.$JackinTheBox, - SetBlock(a), - d.RandomOpenBox(b)); + ++oGd.$JackinTheBox, + SetBlock(a), + d.RandomOpenBox(b)); }, NormalDie: function () { var a = this; @@ -7120,10 +7122,10 @@ var CZombies = (function (b, a) { PlayAudio("ballooninflate"); }, [c, a] - ) + ) : (SetBlock(a), - f[b] == undefined ? (f[b] = 1) : ++f[b], - PlayAudio("ballooninflate")); + f[b] == undefined ? (f[b] = 1) : ++f[b], + PlayAudio("ballooninflate")); }, ChkActs: function (f, d, g, c) { var b, a, e; @@ -7140,9 +7142,9 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - f.height + f.GetDY(), })), - (f.ZX = f.AttackedLX -= b), - (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), - (e = 1)) + (f.ZX = f.AttackedLX -= b), + (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), + (e = 1)) : (e = 1); return e; }, @@ -7313,10 +7315,10 @@ var CZombies = (function (b, a) { PlayAudio("ballooninflate"); }, [c, a, b] - ) + ) : (SetBlock(a), - f[b] == undefined ? (f[b] = 1) : ++f[b], - PlayAudio("ballooninflate")); + f[b] == undefined ? (f[b] = 1) : ++f[b], + PlayAudio("ballooninflate")); }, ChkActs: function (f, d, g, c) { var b, a, e; @@ -7338,9 +7340,9 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - f.height + f.GetDY(), })), - (f.ZX = f.AttackedLX -= b), - (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), - (e = 1)) + (f.ZX = f.AttackedLX -= b), + (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), + (e = 1)) : (e = 1); return e; }, @@ -7519,10 +7521,10 @@ var CZombies = (function (b, a) { PlayAudio("ballooninflate"); }, [c, a] - ) + ) : (SetBlock(a), - f[b] == undefined ? (f[b] = 1) : ++f[b], - PlayAudio("ballooninflate")); + f[b] == undefined ? (f[b] = 1) : ++f[b], + PlayAudio("ballooninflate")); }, ChkActs: function (f, d, g, c) { var b, a, e; @@ -7539,9 +7541,9 @@ var CZombies = (function (b, a) { ar: [oS.R - 1], CustomTop: 400 - f.height + f.GetDY(), })), - (f.ZX = f.AttackedLX -= b), - (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), - (e = 1)) + (f.ZX = f.AttackedLX -= b), + (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), + (e = 1)) : (e = 1); return e; }, @@ -7823,19 +7825,19 @@ oCBucketheadZombie = InheritO( (p = h[d + f + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= e && - p.AttackedLX < b && - p.canEat && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - g.NormalAttack(g.id, p.id, p.AttackedLX)) + p.AttackedLX < b && + p.canEat && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + g.NormalAttack(g.id, p.id, p.AttackedLX)) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (g.JudgeAttack = CZombies.prototype.JudgeAttack), - (g.NormalAttack = CZombies.prototype.NormalAttack)( + p.AttackedLX < b && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), + (g.NormalAttack = CZombies.prototype.NormalAttack)( g.id, p.id - ))) + ))) ) {} } }, @@ -7897,31 +7899,31 @@ oCBucketheadZombie = InheritO( (h.X = (h.AttackedLX = h.ZX = q = k.AttackedRX) - h.beAttackedPointL) + h.beAttackedPointR), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/wall/thugZombie/PoleVaultingZombieWalk.gif"), - SetVisible(l), - (h.isAttacking = 0), - (h.Altitude = 1), - (h.OSpeed = h.Speed = 1.6), - (h.NormalGif = 9), - (h.LostHeadGif = 10), - (h.NormalAttack = (r = + SetVisible(l), + (h.isAttacking = 0), + (h.Altitude = 1), + (h.OSpeed = h.Speed = 1.6), + (h.NormalGif = 9), + (h.LostHeadGif = 10), + (h.NormalAttack = (r = CZombies.prototype).NormalAttack), - (h.getCrushed = r.getCrushed), - (h.getFreeze = r.getFreeze), - (h.getRaven = r.getRaven)) + (h.getCrushed = r.getCrushed), + (h.getFreeze = r.getFreeze), + (h.getRaven = r.getRaven)) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - h.beAttackedPointR) + h.beAttackedPointL), - SetStyle(i, { left: h.X + "px" }), - (n.src = + SetStyle(i, { left: h.X + "px" }), + (n.src = "images/Zombies/wall/thugZombie/PoleVaultingZombieJump2.gif" + $Random + Math.random()), - SetVisible(l), - oSym.addTask( + SetVisible(l), + oSym.addTask( 80, function (s, v) { var u = $Z[s], @@ -7941,7 +7943,7 @@ oCBucketheadZombie = InheritO( (u.getRaven = t.getRaven)); }, [m, n] - ))); + ))); }, [d, b, a, c, e] ); @@ -8071,12 +8073,12 @@ oCBucketheadZombie = InheritO( } (f.HP -= b) < f.BreakPoint ? ((f.getFirePea = OrnNoneZombies.prototype.getFirePea), - f.GoingDie( + f.GoingDie( f.PicArr[ [f.LostHeadGif, f.LostHeadAttackGif][f.isAttacking] ] - ), - (f.getHit = + ), + (f.getHit = f.getHit0 = f.getHit1 = f.getHit2 = @@ -8090,15 +8092,15 @@ oCBucketheadZombie = InheritO( f.PicArr, f.isAttacking, 0 - ), - f.SetAlpha(f, f.EleBody, 50, 0.5), - oSym.addTask( + ), + f.SetAlpha(f, f.EleBody, 50, 0.5), + oSym.addTask( 10, function (j, i) { (i = $Z[j]) && i.SetAlpha(i, i.EleBody, 100, 1); }, [f.id] - )); + )); }, getHit0: function (c, a, b) { b == c.WalkDirection @@ -8110,24 +8112,24 @@ oCBucketheadZombie = InheritO( c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && d.SetAlpha(d, d.EleBody, 100, 1); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [c.LostHeadGif, c.LostHeadAttackGif][c.isAttacking] ] - ), - (c.getFirePea = OrnNoneZombies.prototype.getFirePea), - (c.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (c.getHit = + ), + (c.getFirePea = OrnNoneZombies.prototype.getFirePea), + (c.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -8140,10 +8142,10 @@ oCBucketheadZombie = InheritO( b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -8157,15 +8159,15 @@ oCBucketheadZombie = InheritO( b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, getHit2: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -8173,23 +8175,23 @@ oCBucketheadZombie = InheritO( b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = b.getHit3 = function () {})) : (b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, getHit3: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -8197,10 +8199,10 @@ oCBucketheadZombie = InheritO( b.PicArr[ [b.LostHeadGif, b.LostHeadAttackGif][b.isAttacking] ] - ), - (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -8214,15 +8216,15 @@ oCBucketheadZombie = InheritO( b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && c.SetAlpha(c, c.EleBody, 100, 1); }, [b.id] - )); + )); }, CheckOrnHP: function (g, h, d, c, f, b, a) { var e = OrnNoneZombies.prototype; @@ -8559,20 +8561,20 @@ oCBucketheadZombie = InheritO( "px;width:800px;height:205px", 0, EDPZ - )), - NewImg( + )), + NewImg( "", "images/interface/blank.png", "position:absolute;clip:rect(0,auto,auto,800px);width:800px;height:205px;left:0px;background:url(images/Zombies/LGBOSS/ice.png) repeat-x", f - ), - NewImg( + ), + NewImg( "", "images/Zombies/LGBOSS/ice_cap.png", "position:absolute;display:none;left:0", f - ), - (b[d] = [1, 11, h.AttackedLX])) + ), + (b[d] = [1, 11, h.AttackedLX])) : ++b[d][0]; g ? oSym.addTask( @@ -8585,7 +8587,7 @@ oCBucketheadZombie = InheritO( PlayAudio("zamboni")); }, [e, c] - ) + ) : (SetBlock(c), PlayAudio("zamboni")); }, ChkActs: function (e, j, q, k) { @@ -8612,9 +8614,9 @@ oCBucketheadZombie = InheritO( ar: [oS.R - 1], CustomTop: 400 - e.height + e.GetDY(), })), - (e.ZX = e.AttackedLX -= b), - (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), - (m = 1)); + (e.ZX = e.AttackedLX -= b), + (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), + (m = 1)); d = e.X; h = d + 250; f = d + 100; @@ -8636,8 +8638,8 @@ oCBucketheadZombie = InheritO( (f.AttackedLX += b = f.Speed) > oS.W ? (g.splice(c, 1), f.DisappearDie(), (e = 0)) : ((f.ZX = f.AttackedRX += b), - (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), - (e = 1)); + (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), + (e = 1)); return e; }, getPea: function (c, b) { @@ -8777,7 +8779,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, JudgeSR: function (e, c, d, b, f) { return d > 9 @@ -8794,7 +8796,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, NormalAttack: function (c, b) { var d = $Z[c]; @@ -8861,14 +8863,14 @@ oCBucketheadZombie = InheritO( ? (h.beAttacked && !h.isAttacking && h.JudgeAttack(), - !h.isAttacking + !h.isAttacking ? (c = h.AttackedRX -= d = h.Speed) < -50 ? (j.splice(e, 1), - h.DisappearDie(), - (g = 0)) + h.DisappearDie(), + (g = 0)) : (c < 100 && !h.PointZombie && ((h.PointZombie = 1), @@ -8886,13 +8888,13 @@ oCBucketheadZombie = InheritO( h.height + h.GetDY(), })), - (h.ZX = h.AttackedLX -= + (h.ZX = h.AttackedLX -= d), - (h.Ele.style.left = + (h.Ele.style.left = Math.floor( (h.X -= d) ) + "px"), - (g = 1)) + (g = 1)) : (g = 1)) : (g = 1); return g; @@ -8903,19 +8905,19 @@ oCBucketheadZombie = InheritO( ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - !g.isAttacking + !g.isAttacking ? (g.AttackedLX += c = g.Speed) > oS.W ? (h.splice(d, 1), - g.DisappearDie(), - (f = 0)) + g.DisappearDie(), + (f = 0)) : ((g.ZX = g.AttackedRX += c), - (g.Ele.style.left = + (g.Ele.style.left = Math.ceil( (g.X += c) ) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); return f; @@ -8946,30 +8948,30 @@ oCBucketheadZombie = InheritO( (g[++m] = q)); g.length ? ((l = !d.WalkDirection ? -5 : 5), - (d.ZX += l), - (d.AttackedLX += l), - (d.AttackedRX += l), - (d.X += l), - (q = + (d.ZX += l), + (d.AttackedLX += l), + (d.AttackedRX += l), + (d.X += l), + (q = g[ Math.floor( Math.random() * g.length ) ]), - SetStyle(f, { + SetStyle(f, { left: d.X + "px", top: (d.pixelTop = j == undefined ? GetY(q) - - d.height + - d.GetDY() + d.height + + d.GetDY() : j) + "px", zIndex: (d.zIndex = 3 * q + 1), - }), - d.isAttacking && + }), + d.isAttacking && (n.src = d.PicArr[d.NormalGif]), - oZ.moveTo(k, h, q)) + oZ.moveTo(k, h, q)) : (n.src = d.PicArr[d.NormalGif]); d.isAttacking = 0; }, @@ -9107,7 +9109,7 @@ oCBucketheadZombie = InheritO( SetBlock(g)); }, [d, c] - ) + ) : SetBlock(c); }, Birth: function () { @@ -9149,7 +9151,7 @@ oCBucketheadZombie = InheritO( h.Attack = 100; h.FreeFreezeTime || h.FreeSetbodyTime ? (h.PlayNormalballAudio(), - (h.Speed = h.OSpeed)) + (h.Speed = h.OSpeed)) : h.PlayFireballAudio(); var f = h.AttackedLX, j = h.AttackedRX, @@ -9333,10 +9335,10 @@ oCBucketheadZombie = InheritO( ((g.isAttacking = 1), (g.EleBody.src = g.PicArr[g.AttackGif])), - g.NormalAttack(c[0], c[1])) + g.NormalAttack(c[0], c[1])) : g.isAttacking && - ((g.isAttacking = 0), - (g.EleBody.src = + ((g.isAttacking = 0), + (g.EleBody.src = g.PicArr[g.NormalGif])); }, JudgeLR: function (f, d, e, c, g) { @@ -9358,7 +9360,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, JudgeSR: function (f, d, e, c, g) { return e > 9 @@ -9379,7 +9381,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, JudgeAttackH1: function () { var e = this, @@ -9403,15 +9405,15 @@ oCBucketheadZombie = InheritO( d.Altitude == 1 ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = + (e.EleBody.src = e.PicArr[e.AttackGif]), - e.AttackZombie(f, (c = d.id)), - !d.isAttacking && + e.AttackZombie(f, (c = d.id)), + !d.isAttacking && d.AttackZombie2(d, c, f)) : e.AttackZombie(f, d.id, 1) : e.isAttacking && - ((e.isAttacking = 0), - (e.EleBody.src = + ((e.isAttacking = 0), + (e.EleBody.src = e.PicArr[e.NormalGif])); }, AttackZombie: function (d, c) { @@ -9445,13 +9447,13 @@ oCBucketheadZombie = InheritO( !i.FreeSetbodyTime && ((h = $Z[f]) ? (h.getHit0(h, 10, 0), - oSym.addTask( + oSym.addTask( 10, arguments.callee, [g, f] - )) + )) : ((i.isAttacking = 0), - (i.EleBody.src = + (i.EleBody.src = i.PicArr[ i.NormalGif ]))); @@ -9521,10 +9523,10 @@ oCBucketheadZombie = InheritO( (e.CSS_fliph = d ? " fliph" : ""); - } + } : function (e, c, d) { c.className = d ? "fliph" : ""; - }, + }, bedevil: function (c) { c.ExchangeLR(c, 1); c.JudgeAttack = c.JudgeAttackH; @@ -9541,10 +9543,10 @@ oCBucketheadZombie = InheritO( "alpha(opacity=" + e + ")") + f.CSS_fliph; - } + } : function (f, d, e, c) { d.style.opacity = c; - }, + }, }), a ); @@ -9610,8 +9612,8 @@ oCBucketheadZombie = InheritO( b = oSym.Now + 1000; e == 0 ? (f.PlaySlowballAudio(), - (f.Speed = 0.5 * f.OSpeed), - (f.Attack = 50)) + (f.Speed = 0.5 * f.OSpeed), + (f.Attack = 50)) : f.PlayNormalballAudio(); e < b && ((f.FreeSlowTime = b), @@ -9828,13 +9830,13 @@ oCBucketheadZombie = InheritO( ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - (e = g.id), - !g.isAttacking + (e = g.id), + !g.isAttacking ? (a = g.AttackedRX -= b = g.Speed) < - -50 + -50 ? (h.splice(c, 1), - g.DisappearDie(), - (f = 0)) + g.DisappearDie(), + (f = 0)) : (a < 100 && !g.PointZombie && ((g.PointZombie = 1), @@ -9852,11 +9854,11 @@ oCBucketheadZombie = InheritO( g.height + g.GetDY(), })), - (g.ZX = g.AttackedLX -= b), - (g.Ele.style.left = + (g.ZX = g.AttackedLX -= b), + (g.Ele.style.left = Math.floor((g.X -= b)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); g.ChkSpeed(g); @@ -10188,17 +10190,17 @@ oCBucketheadZombie = InheritO( ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - (c = e.id), - !e.isAttacking + (c = e.id), + !e.isAttacking ? (e.AttackedLX += 3.5) > oS.W ? (f.splice(a, 1), - e.DisappearDie(), - (d = 0)) + e.DisappearDie(), + (d = 0)) : ((e.ZX = e.AttackedRX += 3.5), - (e.Ele.style.left = + (e.Ele.style.left = Math.ceil((e.X += 3.5)) + "px"), - (d = 1)) + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -10213,13 +10215,13 @@ oCBucketheadZombie = InheritO( ? (g.beAttacked && !g.isAttacking && g.JudgeAttack(), - (e = g.id), - !g.isAttacking + (e = g.id), + !g.isAttacking ? (a = g.AttackedRX -= b = g.Speed) < - -50 + -50 ? (h.splice(c, 1), - g.DisappearDie(), - (f = 0)) + g.DisappearDie(), + (f = 0)) : (a < 100 && !g.PointZombie && ((g.PointZombie = 1), @@ -10237,11 +10239,11 @@ oCBucketheadZombie = InheritO( g.height + g.GetDY(), })), - (g.ZX = g.AttackedLX -= b), - (g.Ele.style.left = + (g.ZX = g.AttackedLX -= b), + (g.Ele.style.left = Math.floor((g.X -= b)) + "px"), - (f = 1)) + (f = 1)) : (f = 1)) : (f = 1); g.ChkSpeed(g); @@ -10311,15 +10313,15 @@ oCBucketheadZombie = InheritO( !f.FreeSetbodyTime && ((e = $Z[c]) ? (e.getHit0(e, 10, 0), - oSym.addTask( + oSym.addTask( 10, arguments.callee, [d, c] - )) + )) : ((f.isAttacking = 0), - (f.EleBody.src = + (f.EleBody.src = f.PicArr[f.NormalGif]), - f.TurnLeft(f))); + f.TurnLeft(f))); }, [b, a] ); @@ -10944,26 +10946,26 @@ oCBucketheadZombie = InheritO( (p = h[d + f + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= e && - p.AttackedLX < b && - p.canEat && - ((a = -1), - (g.JudgeAttack = + p.AttackedLX < b && + p.canEat && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), - g.NormalAttack( + g.NormalAttack( g.id, p.id, p.AttackedLX - )) + )) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (g.JudgeAttack = + p.AttackedLX < b && + ((a = -1), + (g.JudgeAttack = CZombies.prototype.JudgeAttack), - (g.NormalAttack = + (g.NormalAttack = CZombies.prototype.NormalAttack)( g.id, p.id - ))) + ))) ) {} } }, @@ -11034,36 +11036,36 @@ oCBucketheadZombie = InheritO( k.AttackedRX) - h.beAttackedPointL) + h.beAttackedPointR), - SetStyle(i, { + SetStyle(i, { left: h.X + "px", - }), - (n.src = + }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieWalk.gif"), - SetVisible(l), - (h.isAttacking = 0), - (h.Altitude = 1), - (h.OSpeed = h.Speed = 1.6), - (h.NormalGif = 9), - (h.LostHeadGif = 10), - (h.NormalAttack = (r = + SetVisible(l), + (h.isAttacking = 0), + (h.Altitude = 1), + (h.OSpeed = h.Speed = 1.6), + (h.NormalGif = 9), + (h.LostHeadGif = 10), + (h.NormalAttack = (r = CZombies.prototype).NormalAttack), - (h.getCrushed = r.getCrushed), - (h.getFreeze = r.getFreeze), - (h.getRaven = r.getRaven)) + (h.getCrushed = r.getCrushed), + (h.getFreeze = r.getFreeze), + (h.getRaven = r.getRaven)) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - h.beAttackedPointR) + h.beAttackedPointL), - SetStyle(i, { + SetStyle(i, { left: h.X + "px", - }), - (n.src = + }), + (n.src = "images/Zombies/PoleVaultingZombie/PoleVaultingZombieJump2.gif" + $Random + Math.random()), - SetVisible(l), - oSym.addTask( + SetVisible(l), + oSym.addTask( 80, function (s, v) { var u = $Z[s], @@ -11089,7 +11091,7 @@ oCBucketheadZombie = InheritO( t.getRaven)); }, [m, n] - ))); + ))); }, [d, b, a, c, e] ); @@ -11244,15 +11246,15 @@ oCBucketheadZombie = InheritO( (f.HP -= b) < f.BreakPoint ? ((f.getFirePea = OrnNoneZombies.prototype.getFirePea), - f.GoingDie( + f.GoingDie( f.PicArr[ [ f.LostHeadGif, f.LostHeadAttackGif, ][f.isAttacking] ] - ), - (f.getHit = + ), + (f.getHit = f.getHit0 = f.getHit1 = f.getHit2 = @@ -11266,9 +11268,9 @@ oCBucketheadZombie = InheritO( f.PicArr, f.isAttacking, 0 - ), - f.SetAlpha(f, f.EleBody, 50, 0.5), - oSym.addTask( + ), + f.SetAlpha(f, f.EleBody, 50, 0.5), + oSym.addTask( 10, function (j, i) { (i = $Z[j]) && @@ -11280,7 +11282,7 @@ oCBucketheadZombie = InheritO( ); }, [f.id] - )); + )); }, getHit0: function (c, a, b) { b == c.WalkDirection @@ -11292,9 +11294,9 @@ oCBucketheadZombie = InheritO( c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && @@ -11306,21 +11308,21 @@ oCBucketheadZombie = InheritO( ); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [ c.LostHeadGif, c.LostHeadAttackGif, ][c.isAttacking] ] - ), - (c.getFirePea = + ), + (c.getFirePea = OrnNoneZombies.prototype.getFirePea), - (c.getSnowPea = + (c.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (c.getHit = + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -11336,12 +11338,12 @@ oCBucketheadZombie = InheritO( b.LostHeadAttackGif, ][b.isAttacking] ] - ), - (b.getFirePea = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -11355,9 +11357,9 @@ oCBucketheadZombie = InheritO( b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && @@ -11369,7 +11371,7 @@ oCBucketheadZombie = InheritO( ); }, [b.id] - )); + )); }, getHit2: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -11380,19 +11382,19 @@ oCBucketheadZombie = InheritO( b.LostHeadAttackGif, ][b.isAttacking] ] - ), - (b.getFirePea = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = b.getHit3 = function () {})) : (b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && @@ -11404,7 +11406,7 @@ oCBucketheadZombie = InheritO( ); }, [b.id] - )); + )); }, getHit3: function (b, a) { (b.HP -= a) < b.BreakPoint @@ -11415,12 +11417,12 @@ oCBucketheadZombie = InheritO( b.LostHeadAttackGif, ][b.isAttacking] ] - ), - (b.getFirePea = + ), + (b.getFirePea = OrnNoneZombies.prototype.getFirePea), - (b.getSnowPea = + (b.getSnowPea = OrnNoneZombies.prototype.getSnowPea), - (b.getHit = + (b.getHit = b.getHit0 = b.getHit1 = b.getHit2 = @@ -11434,9 +11436,9 @@ oCBucketheadZombie = InheritO( b.PicArr, b.isAttacking, 0 - ), - b.SetAlpha(b, b.EleBody, 50, 0.5), - oSym.addTask( + ), + b.SetAlpha(b, b.EleBody, 50, 0.5), + oSym.addTask( 10, function (d, c) { (c = $Z[d]) && @@ -11448,7 +11450,7 @@ oCBucketheadZombie = InheritO( ); }, [b.id] - )); + )); }, CheckOrnHP: function (g, h, d, c, f, b, a) { var e = OrnNoneZombies.prototype; @@ -11555,7 +11557,7 @@ oCBucketheadZombie = InheritO( b == c.WalkDirection ? ["shieldhit", "shieldhit2"][ Math.floor(Math.random() * 2) - ] + ] : "splat" + Math.floor(1 + Math.random() * 3) ); @@ -11575,7 +11577,7 @@ oCBucketheadZombie = InheritO( b == c.WalkDirection ? ["shieldhit", "shieldhit2"][ Math.floor(Math.random() * 2) - ] + ] : "splat" + Math.floor(1 + Math.random() * 3) ); @@ -11591,9 +11593,9 @@ oCBucketheadZombie = InheritO( c.PicArr, c.isAttacking, 1 - ), - c.SetAlpha(c, c.EleBody, 50, 0.5), - oSym.addTask( + ), + c.SetAlpha(c, c.EleBody, 50, 0.5), + oSym.addTask( 10, function (e, d) { (d = $Z[e]) && @@ -11605,17 +11607,17 @@ oCBucketheadZombie = InheritO( ); }, [c.id] - )) + )) : (c.HP -= a) < c.BreakPoint && - (c.GoingDie( + (c.GoingDie( c.PicArr[ [ c.LostHeadGif, c.LostHeadAttackGif, ][c.isAttacking] ] - ), - (c.getHit = + ), + (c.getHit = c.getHit0 = c.getHit1 = c.getHit2 = @@ -11654,10 +11656,10 @@ oCBucketheadZombie = InheritO( getFireball: function (c, a, b) { b != c.WalkDirection ? ((c.FreeSlowTime = 0), - (c.Attack = 100), - c.Speed != c.OSpeed + (c.Attack = 100), + c.Speed != c.OSpeed ? (c.PlayNormalballAudio(), - (c.Speed = c.OSpeed)) + (c.Speed = c.OSpeed)) : c.PlayFireballAudio()) : c.PlayNormalballAudio(); }, @@ -11741,7 +11743,7 @@ oCBucketheadZombie = InheritO( SetBlock(i)); }, [c, b] - ) + ) : SetBlock(b); }, ChkActsL1: function (f, e, g, d) { @@ -11834,16 +11836,16 @@ oCBucketheadZombie = InheritO( ? (e.beAttacked && !e.isAttacking && e.JudgeAttack(), - !e.isAttacking + !e.isAttacking ? (e.AttackedLX += a = e.Speed) > oS.W ? (f.splice(b, 1), - e.DisappearDie(), - (d = 0)) + e.DisappearDie(), + (d = 0)) : ((e.ZX = e.AttackedRX += a), - (e.Ele.style.left = + (e.Ele.style.left = Math.ceil((e.X += a)) + "px"), - (d = 1)) + (d = 1)) : (d = 1)) : (d = 1); return d; @@ -11887,14 +11889,14 @@ oCBucketheadZombie = InheritO( b && ((b.HP -= 60) < 1 ? (b.NormalDie(), - oSym.addTask(50, ClearChild, [ + oSym.addTask(50, ClearChild, [ b.Ele, - ])) + ])) : oSym.addTask( 100, arguments.callee, [c] - )); + )); }, [a] ); @@ -12114,20 +12116,20 @@ oCBucketheadZombie = InheritO( ? (d.beAttacked && !d.isAttacking && d.JudgeAttack(), - !d.isAttacking && + !d.isAttacking && ((d.AttackedRX -= a = d.Speed), (d.ZX = d.AttackedLX -= a), (d.Ele.style.left = Math.floor((d.X -= a)) + "px"))) : d.beAttacked && - ((d.WalkStatus = 0), - (d.Altitude = 1), - (d.EleBody.src = + ((d.WalkStatus = 0), + (d.Altitude = 1), + (d.EleBody.src = d.PicArr[ (d.NormalGif = d.WalkGif0) ]), - SetVisible(d.EleShadow), - (d.ChkActs = d.ChkActsL3))); + SetVisible(d.EleShadow), + (d.ChkActs = d.ChkActsL3))); return 1; }, JudgeAttack: function () { @@ -12143,9 +12145,9 @@ oCBucketheadZombie = InheritO( e.JudgeSR(e, c, d, b, g)) ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = + (e.EleBody.src = e.PicArr[9] + Math.random()), - oSym.addTask( + oSym.addTask( 50, function (i, h) { $Z[i] && @@ -12156,13 +12158,13 @@ oCBucketheadZombie = InheritO( h.NormalAttack(a[0], a[1])); }, [f, e] - )) + )) : e.NormalAttack(a[0], a[1]) : e.isAttacking && - ((e.EleBody.src = + ((e.EleBody.src = e.PicArr[10] + Math.random()), - (e.Altitude = 0), - oSym.addTask( + (e.Altitude = 0), + oSym.addTask( 70, function (i, h) { $Z[i] && @@ -12172,7 +12174,7 @@ oCBucketheadZombie = InheritO( h.PicArr[h.NormalGif])); }, [f, e] - )); + )); }, NormalAttack: function (b, a) { oSym.addTask( @@ -12201,12 +12203,12 @@ oCBucketheadZombie = InheritO( b.Altitude < 2 ? !c.isAttacking ? ((c.isAttacking = 1), - (c.EleBody.src = + (c.EleBody.src = c.PicArr[9] + Math.random()), - (a = b.id), - !b.isAttacking && + (a = b.id), + !b.isAttacking && b.AttackZombie2(b, a, d), - oSym.addTask( + oSym.addTask( 50, function (g, h, f, e) { $Z[h] && @@ -12216,21 +12218,18 @@ oCBucketheadZombie = InheritO( g.PicArr[ g.AttackGif ]), - (g.Altitude = 1), - g.AttackZombie( - h, - e - )) + (g.Altitude = 1), + g.AttackZombie(h, e)) : g.JudgeAttackH()); }, [c, d, b, a] - )) + )) : c.AttackZombie(d, a) : c.isAttacking && - ((c.EleBody.src = + ((c.EleBody.src = c.PicArr[10] + Math.random()), - (c.Altitude = 0), - oSym.addTask( + (c.Altitude = 0), + oSym.addTask( 70, function (f, e) { $Z[f] && @@ -12240,7 +12239,7 @@ oCBucketheadZombie = InheritO( e.PicArr[e.NormalGif])); }, [d, c] - )); + )); }, AttackZombie2: function (c, b, a) { c.isAttacking = 1; @@ -12253,8 +12252,8 @@ oCBucketheadZombie = InheritO( ((f = $Z[d]) && f.beAttacked ? ((g.EleBody.src = g.PicArr[g.AttackGif]), - (g.Altitude = 1), - oSym.addTask( + (g.Altitude = 1), + oSym.addTask( 10, function (k, i, j, h) { $Z[i] && @@ -12267,8 +12266,8 @@ oCBucketheadZombie = InheritO( j, 10, 0 - ), - oSym.addTask( + ), + oSym.addTask( 10, arguments.callee, [ @@ -12277,13 +12276,13 @@ oCBucketheadZombie = InheritO( j, h, ] - )) + )) : ((k.EleBody.src = k .PicArr[10] + Math.random()), - (k.Altitude = 0), - oSym.addTask( + (k.Altitude = 0), + oSym.addTask( 70, function ( l, @@ -12300,15 +12299,15 @@ oCBucketheadZombie = InheritO( ])); }, [i, k] - ))); + ))); }, [g, e, f, d] - )) + )) : ((g.EleBody.src = g.PicArr[10] + Math.random()), - (g.Altitude = 0), - oSym.addTask( + (g.Altitude = 0), + oSym.addTask( 70, function (h, i) { $Z[h] && @@ -12320,7 +12319,7 @@ oCBucketheadZombie = InheritO( ])); }, [e, g] - ))); + ))); }, [c, b, a] ); @@ -12333,14 +12332,14 @@ oCBucketheadZombie = InheritO( b && ((b.HP -= 60) < 1 ? (b.NormalDie(), - oSym.addTask(200, ClearChild, [ + oSym.addTask(200, ClearChild, [ b.Ele, - ])) + ])) : oSym.addTask( 100, arguments.callee, [c] - )); + )); }, [a] ); @@ -12809,20 +12808,20 @@ oCBucketheadZombie = InheritO( "px;width:800px;height:72px", 0, EDPZ - )), - NewImg( + )), + NewImg( "", "images/interface/blank.png", "position:absolute;clip:rect(0,auto,auto,800px);width:800px;height:72px;left:5px;background:url(images/Zombies/Zomboni/ice.png) repeat-x", f - ), - NewImg( + ), + NewImg( "", "images/Zombies/Zomboni/ice_cap.png", "position:absolute;display:none;left:0", f - ), - (b[d] = [1, 11, h.AttackedLX])) + ), + (b[d] = [1, 11, h.AttackedLX])) : ++b[d][0]; g ? oSym.addTask( @@ -12835,7 +12834,7 @@ oCBucketheadZombie = InheritO( PlayAudio("zamboni")); }, [e, c] - ) + ) : (SetBlock(c), PlayAudio("zamboni")); }, ChkActs: function (e, j, q, k) { @@ -12879,8 +12878,8 @@ oCBucketheadZombie = InheritO( e.JudgeAttack(); (r = e.AttackedRX -= b = e.Speed) < -50 ? (q.splice(k, 1), - e.DisappearDie(), - (m = 0)) + e.DisappearDie(), + (m = 0)) : (r < 100 && !e.PointZombie && ((e.PointZombie = 1), @@ -12893,10 +12892,10 @@ oCBucketheadZombie = InheritO( CustomTop: 400 - e.height + e.GetDY(), })), - (e.ZX = e.AttackedLX -= b), - (e.Ele.style.left = + (e.ZX = e.AttackedLX -= b), + (e.Ele.style.left = Math.floor((e.X -= b)) + "px"), - (m = 1)); + (m = 1)); d = e.X; h = d + 250; f = d + 100; @@ -12921,12 +12920,12 @@ oCBucketheadZombie = InheritO( f.JudgeAttack(); (f.AttackedLX += b = f.Speed) > oS.W ? (g.splice(c, 1), - f.DisappearDie(), - (e = 0)) + f.DisappearDie(), + (e = 0)) : ((f.ZX = f.AttackedRX += b), - (f.Ele.style.left = + (f.Ele.style.left = Math.ceil((f.X += b)) + "px"), - (e = 1)); + (e = 1)); return e; }, getPea: function (c, b) { @@ -13085,7 +13084,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, JudgeSR: function (e, c, d, b, f) { return d > 9 @@ -13102,7 +13101,7 @@ oCBucketheadZombie = InheritO( : false; } } - })(); + })(); }, NormalAttack: function (c, b) { var d = $Z[c]; @@ -13291,25 +13290,25 @@ oCBucketheadZombie = InheritO( (p = g[d + e + "_" + a--]) && (p.EName != "oBrains" ? p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (f.JudgeAttack = + p.AttackedLX < b && + ((a = -1), + (f.JudgeAttack = CZombies.prototype.JudgeAttack), - f.NormalAttack( + f.NormalAttack( f.id, p.id, p.AttackedLX - )) + )) : p.AttackedRX >= b && - p.AttackedLX < b && - ((a = -1), - (f.JudgeAttack = + p.AttackedLX < b && + ((a = -1), + (f.JudgeAttack = CZombies.prototype.JudgeAttack), - (f.NormalAttack = + (f.NormalAttack = CZombies.prototype.NormalAttack)( f.id, p.id - ))) + ))) ) {} } }, @@ -13362,26 +13361,24 @@ oCBucketheadZombie = InheritO( k.AttackedRX) - (h.beAttackedPointL = 45)) + (h.beAttackedPointR = 100)), - SetStyle(i, { + SetStyle(i, { left: h.X + "px", - }), - (h.EleShadow.style.left = - "45px"), - n()) + }), + (h.EleShadow.style.left = "45px"), + n()) : ((h.ZX = h.AttackedLX = (h.X = (h.AttackedRX = g) - (h.beAttackedPointR = 100)) + (h.beAttackedPointL = 45)), - SetStyle(i, { + SetStyle(i, { left: h.X + "px", - }), - (h.EleShadow.style.left = - "45px"), - (q.src = + }), + (h.EleShadow.style.left = "45px"), + (q.src = h.PicArr[13] + Math.random()), - oSym.addTask( + oSym.addTask( 170, function (t, w) { var v = $Z[t], @@ -13389,7 +13386,7 @@ oCBucketheadZombie = InheritO( v && n(); }, [m, q] - ))); + ))); }, [d, b, a, c, e] ); @@ -13560,7 +13557,7 @@ oCBucketheadZombie = InheritO( ((g.isAttacking = 1), (g.EleBody.src = g.PicArr[g.AttackGif])), - g.NormalAttack(c[0], c[1])) + g.NormalAttack(c[0], c[1])) : g.isAttacking && (g.isAttacking = 0); }; a.JudgeAttackH = function () { @@ -13574,10 +13571,10 @@ oCBucketheadZombie = InheritO( d.Altitude == 1 ? !e.isAttacking ? ((e.isAttacking = 1), - (e.EleBody.src = + (e.EleBody.src = e.PicArr[e.AttackGif]), - e.AttackZombie(f, (c = d.id)), - !d.isAttacking && + e.AttackZombie(f, (c = d.id)), + !d.isAttacking && d.AttackZombie2(d, c, f)) : e.AttackZombie(f, d.id, 1) : e.isAttacking && (e.isAttacking = 0); @@ -13684,7 +13681,7 @@ oCBucketheadZombie = InheritO( } while ( q++ < o ); - })(e.R, GetC(e.ZX)) + })(e.R, GetC(e.ZX)) : (function (j, l) { var m = j - 120, o = j + 120, @@ -13720,7 +13717,7 @@ oCBucketheadZombie = InheritO( } while ( h++ < g ); - })(e.ZX, e.R), + })(e.ZX, e.R), e.DisappearDie()); }, [c] @@ -13760,11 +13757,11 @@ oCBucketheadZombie = InheritO( g.RandomOpenBox(f)); }, [b, a] - ) + ) : (PlayAudio("jackinthebox", true), - ++oGd.$JackinTheBox, - SetBlock(a), - d.RandomOpenBox(b)); + ++oGd.$JackinTheBox, + SetBlock(a), + d.RandomOpenBox(b)); }, NormalDie: function () { var a = this; @@ -13886,10 +13883,10 @@ oCBucketheadZombie = InheritO( PlayAudio("ballooninflate"); }, [c, a, b] - ) + ) : (SetBlock(a), - f[b] == undefined ? (f[b] = 1) : ++f[b], - PlayAudio("ballooninflate")); + f[b] == undefined ? (f[b] = 1) : ++f[b], + PlayAudio("ballooninflate")); }, ChkActs: function (f, d, g, c) { var b, a, e; @@ -13901,8 +13898,8 @@ oCBucketheadZombie = InheritO( !(f.FreeFreezeTime || f.FreeSetbodyTime) ? (a = f.AttackedRX -= b = f.Speed) < -50 ? (g.splice(c, 1), - f.DisappearDie(), - (e = 0)) + f.DisappearDie(), + (e = 0)) : (a < 100 && !f.PointZombie && ((f.PointZombie = 1), @@ -13915,10 +13912,10 @@ oCBucketheadZombie = InheritO( CustomTop: 400 - f.height + f.GetDY(), })), - (f.ZX = f.AttackedLX -= b), - (f.Ele.style.left = + (f.ZX = f.AttackedLX -= b), + (f.Ele.style.left = Math.floor((f.X -= b)) + "px"), - (e = 1)) + (e = 1)) : (e = 1); return e; }, diff --git a/game/undefined b/game/undefined new file mode 100644 index 0000000..7fc5baf Binary files /dev/null and b/game/undefined differ