It looks to me like #22 has to do with being a fly. I haven't played SQ5 all the way through, but it seems like at one point you become a fly?
Anyway, the next iteration of the template game that will come out with (crossing fingers) today's release of SCI Companion has flag 22 completely removed.
So, you can start by adding score flags to your game.sh, starting from 0. e.g.
(define FOUND_PLUNGER 0)
(define UNPLUGGED_TOILET 1)
...