Thread:TsuchiNoKao/@comment-26544499-20200927173301/@comment-46261745-20201024152020

What's so complicated about it?

The first variable you send through with ＦＰ一時登録汎用 is their battle position (21-26, or technically 11-16 if you wanted to script in an player side character), then it just generates the character the same way as any generic is generated at recruiting time/start of game, which is to use キャラ生成 (or in the case of ＦＰ固定登録, it uses 固有武将登録). You can then perform manipulations on that 'battlefield position' number by using gs[0][assigned number].attribute since 0 is the battlefield.

When generating the characters into a roster you use iic = 武将強制登録(ii2, character number, 0); instead, then can perform the manipulations with gs[ii2][iic].attribute = whatever.

Not sure if that's what you were going to look into, but I don't think there's much more to it than that.