RPG character interactions

Hi guys,

I’ve been working with the tutorial SieferTim put together a few years ago (http://www.kirupa.com/developer/actionscript/rpgprogramming4.htm)and while i can make both the hero and enemy show up over a tile map, they don’t have any interactions with each other.

I have a simple hit test on the enemy:

onClipEvent(enterFrame) {
if(_root.guy_mc.hitTest(this)) {
_root.hp–;
}
}

but no matter what when the hero passes over the enemy his HP does not decrease. my guess is that it has to do with the layers? i’ve created a whole new fla without tiles and such and just the two characters and the code works there. ideas?

any help would be appreciated

-AJ