The functions below are all related to changing the sprite asset (resource) itself.
This means that the majority of these functions will affect all instances, sprite elements, code, etc. that reference the sprite being changed. It also means that you must take great care to ensure that a sprite exists before referencing it, or to make sure it is not being referenced before changing it.