If you need to make sure a player has enough HCs to pass, and don't mind giving them a sword, try this:

1. In Init Data, make sure Sword Hearts for the sword you are giving is the number of HCs they need.

2. Make a Special Item Room with that sword.

3. Make a Slash combo (or sword flag for that sword) where they can't pass.

Optional 4. Past the Slash combo\sword flag place an item, which they must then use to pass someplace.

Note: You must NOT have given them a sword, or must have the ver. with the flags in it.