I have taken a look to the ag_cres.tpa and one thing seem to be part of this behaviour - line 12 : STRING_EQUAL ~/*~; I think it should be ~*~ but I may be wrong.
Yeah, I forget STRING_EQUAL ignores regexp (for which we need / to quote the special regexp character *). The previous fix made sure * would not appear but did not address cases where you may have existing ones. Try this version for that.
ag_cres.tpa 2.13K 218 downloads
Note that the game also ignores leading zeros in numeric values, as does SET_2DA_ENTRY(IES), so I didn't bother replicating those.