help with system palette

Previous topic - Next topic

Kyo


Hi,
I created a system that makes a series of comparisons between two sprites, it prints the numbers of colors in a file: (In the Attach file: Media\1.txt )


Code (glbasic) Select

the coll 0  contains the color palette of original palette sprite
the coll 1  contains the color palette of modified palette sprite
the coll 2  contains the color palette of modified palette sprite
the coll 3  ecc ecc



After I call this file with the attached code and swap the row color.
it works fine until it returns to column 0 because change the colors incorrectly.

Help Me.....


[attachment deleted by admin]