A bucket tool I made to make flatting easier for myself.
Used alongside K96's fill tool:
https://assets.clip-studio.com/en-us/detail?id=2199238
1. Mark your line layers as reference

2. Create layers under it for your colors
3. Success!

Anti-aliasing is turned off by default but you can turn it on if you prefer.