Replace multiple pal calls with a single pal-table call, or some pokes. #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "kistaro/chameleonic:optimize-palette"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The pokes could also just be a single pal call with a table, but I think the loop might actually be faster than constructing the table (!).
This can be optimized further by declaring the color table as a global variable so it is not rebuilt on every call, but I didn't read the code closely enough to discover if there's logic for body parts changing color, which I didn't want to break.