AbsurdlySuspicious/sg-sprite

Glitchy Kagari Sprite

Opened this issue · 1 comments

There is a minor glitch with a subset of Kagari from SG0:
AKG_ASB_t64_d5_0.png
AKG_ASB_t64_d5_1.png
AKG_ASB_t64_d5_2.png

I wonder if this is a special case of some kind?

Here's what it looks like:

AKG_ASB_t64_d5_0

I checked this sprite and it seems it's been mapped this way initially. Perhaps it was never used in game? (or hotfixed in engine code) I will keep this issue open in case I've missed something


This glitch on the right is the layer 0 (Base) - it is a legitimate part of other sprite variants and it's chunk range is 0-5. These 3 bugged sprite variants depends on Sub layer with id 5 which consists of chunks 1762-2211. Indexes of actual sprite's square chunks they are pointing at are probably mistakenly skewed by x+1 (on initial sprite during "compression" process, not in compressed png that was shipped with game) which causes sprite shift towards left and repetitive use of chunks which layer 0 already points at. I haven't actually manually checked these chunks but after checking layer/sprite map it seems to be the case.