Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 11 (Reason code) + Area value |
R1 | Unused/Sprite area (as defined by area value in R0) |
R2 | Sprite file name |
Exit | |
---|---|
All registers preserved |
This call will load the sprite file identified by R2 and merge it into the sprite area identified by R1.
Sprites present in R2 take priority over sprites present in R1; i.e. if both areas contain a sprite with the same name then the sprite in R1 will be discarded and replaced with the sprite from R2.
You can use OS_SpriteOp 10 if you want to completely replace the contents of a sprite area with the contents of a sprite file.