Im making a game and i keep on having trouble with this one hittest. The script below is the one im using. Its on the p1 mc, the one with the uppercut in it works fine, but then its supposed to stay at the “headless” frame, but it for sum reason automatically detects the first hittest for sum reaon and goes right to the "fallwobble frame, when the duckkick hit mc isnt even on the screen yet. Even after i deleted the mc out of the whole picture it still was detected, its like it is just reacting to the p1 mc. I dunno how to better explain it sry if it sounds weird, pzl sum1 help me. Im using flash 8 does that having anything to do with it, cuz i just started messing around with it after using mx for most of the time.
onClipEvent (enterFrame) {
if (_root.p1.duckkickhit, hitTest(_root.p2.ducktorso)) {
_root.p2.gotoAndPlay(“fallwobble”);
}
if (_root.p1.uppercuthit, hitTest(_root.p2.head)) {
_root.p2.gotoAndStop(“headless”);
_root.blood.decap.play();
_root.parts.decaphead.play();
}
}