Document

You might also like

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 1

onClipEvent(enterFrame)

while (this.hitTest(_root.hero._x, _root.hero._y, true))

_root.hero._y = _root.hero._y - 1;

-----------------------------------------------------------------------------------------------------------

onClipEvent(enterFrame)

xold = _x;

yold = _y;

if (Key.isDown(37) && air == false)

if (goleft == true)

jumpleft = true;

jumpright = false;

dieleft = true;

dieright = false;

_x = _x - run;

_xscale = -100;

state = 2;

You might also like