// code modified by the amazing Jung //This first part of the code creates the reaction to the head area onClipEvent (enterFrame) { if (!hit) { if (_root.striker.hitzone.hitTest(_root.guy.hithead)) { hit = 1; tellTarget ("_root.striker") { gotoAndPlay (4); tellTarget ("_root.guy") { gotoAndPlay (6); hit=0; } } } } //This second part of the code creates the reaction to the midsection area if (!hit) { if (_root.striker.hitzone.hitTest(_root.guy.hitzonestomach)) { hit = 1; tellTarget ("_root.striker") { gotoAndPlay (4); tellTarget ("_root.guy") { gotoAndPlay (11); hit=0; } } } } }