Post

onClipEvent (load) { if (_root.spawnx == 0 && _root.spawny == 0) { _root.spawnx = _x; _root.spawny = _y; } else { _x = _root.spawnx; _y = _root.spawny; } kbx = 0; kbxinit = 0; kb = 0; regen = true; hurt = false; nolr = false; _root.owned = false; grav = 0; gotoAndStop("jump");

_root.i = 1; jumpheight = 17.5; speed = 15; sca = _xscale; air = true; wid = _width; hei = _height; speedgah = 0; speedduh = 0; dir = 1; holdback = 0; maxfall = 19; }

0 reposts3 likes

onClipEvent (enterFrame) { if (_root.paus == true && _currentframe == 2) { gotoAndStop(1); } if (_root.owned == true) { gotoAndStop("finished"); } if (_root.owned == false && _root.paus == false) { if (kb>0) { _x += kbx*dir; kbx -= kbxinit/kb; }

if (kbx<0.5 && kbx>-0.5) { kbx = 0; kb = 0; hurt = false; } if (_root.yutahp<=0) { _root.owned = true; _root.yutahp = 0; _root.circle.gotoAndStop("finished"); } if (regen) { if (_root.yutahp<_root.yutamaxhp) { _root.yutahp += 0.1; (continued for several pages...)