I'm sorry, but i just saw your doubt with 02024029... That offset is the number of pokemon you have in party at the moment (special 0x83 uses it, it is actually named count_pokemon in Knizz IDA database).
Hope it helped.
Just a sidequestion:
Whats exactly the memory adress for the flags and vars? Its saveblock1 + ????
And a byte is 8 flags, so a var should be 16 flags, right?