I need to know just incase I battle some hacker with Wonder Guard Spiritomb.
Yes because status moves like Trick aren't affected by type but can be blocked by Substitute.
Source: Knowledge