If I'm not mistaken, it is defined in the Game_Map script, though you might also want to look at the "bush_depth" variable in Game_Character. I can't really find in either of those things that define what is a bush and what is not though. Perhaps if you look for what accesses those things and what those things access.