If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Notes:Kirby Super Star/Attack Animation Instruction Set

From The Cutting Room Floor
Jump to navigation Jump to search

This is a sub-page of Notes:Kirby Super Star.

Only even instructions are documented because the 
odd ones are the same as their even counterparts,
except that odd instructions are 1 byte longer. 
The extra byte (byte 1) in odd instructions tells 
the animation the duration of frames to pause the 
script.

INSTRUCTION SET

02 - 1 bytes, terminate string
06 - 2 bytes, loop for X times
0A - 1 bytes, end of loop
22 - 4 bytes, 
26 - 5 bytes, 
28 - 5 bytes, 
38 - 3 bytes, 
46 - 3 bytes, set sprite
4E - 4 bytes, run ASM sub-routine
52 - 2 bytes, playback sound effect
5C - 3 bytes, jump/arc shift
66 - 3 bytes, horizontal shift (negative for westward shift)
68 - 3 bytes, vertical shift (negative for upward shift)
6E - 3 bytes, set sprite for enemy (used in Suplex animation)