I guess my last statement was a bit misleading... I was trying to say "how do I check I sprite to see if it has come in contact with a tile in a certain category."
I'm sure your post if full of all sorts of help, I've just had to back through it a few times to understand all these scripty terms. What I'm hearing is that tile categories aren't really accessible through script, that they're actually in TileGroups. And I really don't know what IDE is.
All I really want to do is have the spear stick one way when it hits flat floor, another on a hill, and another against a wall. I'm thinking it would be WAY easier just to check for solidity at the points below the bottom two corners (if both are solid, it's flat, else it's a slant) and check the points on the side to see if it hits a wall. Maybe that's just natural human arrogance talking, but I think my way's better

.
I guess I'm just having a hard time understanding all this new stuff. I would like to know what IDE is, though.