How to change portraits after a certain point

It does not exist, which is why I made a hack for it replacing 0x3427 (unset 0x40, unit has moved this turn, which seems rather useless) and 0x3429 (unused), found here.