Fix a couple of bugs.
Detouring was occuring before the pattern scan.
Typo preventing TP take items action.