Starscream has issues in its handling of shift and rotate instructions for shift counts larger than 31 bits. The main 68k version has a partial fix for this issue; nevertheless, there are 4 separate issues related to this:
Here is a patch for Gens-rerecording which fixes this issue: https://github.com/TASVideos/gens-rerecording/commit/fc22fbad2ba321311fe83116d46e38dcbb7deb28
This patch can be used as a base for a fix for mainline Gens.
This is, by the way, what causes the well-known issue in Shining Force 2 which prevents Lemon from equiping anything; specifically, case 2 above: the code does a logical shift right (lsr) of 32 bits (equal to Lemon's class ID of 31 + 1) and checks the carry flag.