An unknown/unused 'aigen.c' function supposed to affect behavior of tactical combat groups with special codes for Federation, Ferengi and Klingon ships.
Sub_554574/5546D0 generates for each ship, each turn in tactical combat, two random values between 0-7. At least one of them has a subtle impact.
Last group ship's random values get copied into (a seemingly unused part of) the group data ds:597860.
Our special feature replaces the second random value (with the subtle impact for ships) in the group data with the lowest of all group ships for Ferengi, the greatest of all group ships for Klingons and the greatest of all fleet ships for Federation.
Sadly the group random values don't seem to be applied, so I wasn't able to deduce a patchable concept.
Any ideas?
Code: Select all
0x15359C 76 -> EB (disable all features) -> massive impact
0x153A11 75 -> EB (disable group race deviation special feature) -> no change
0x153B37 01 D3 -> 33 DB +188h (random always 0) -> subtle change
0x153B64 01 D3 -> 33 DB +184h (random always 0) -> no change