diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-04-29 12:52:21 -0700 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-04-29 12:52:21 -0700 |
commit | c88cf196af0f099f4daa7cbc06b9b0df9a31c60c (patch) | |
tree | f90fb1f81857964a3bd24962a13573c7c74ca921 /include/sprite.h | |
parent | db5067c512a33ef913bb3e2d4cbef589d32a48a6 (diff) |
Move another chunk of battle anim .rodata
Diffstat (limited to 'include/sprite.h')
-rw-r--r-- | include/sprite.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sprite.h b/include/sprite.h index 3ad418356..9a5deb3c4 100644 --- a/include/sprite.h +++ b/include/sprite.h @@ -100,12 +100,19 @@ struct AffineAnimJumpCmd u16 target; }; +struct AffineAnimEndCmdAlt +{ + s16 type; + u16 val; +}; + union AffineAnimCmd { s16 type; struct AffineAnimFrameCmd frame; struct AffineAnimLoopCmd loop; struct AffineAnimJumpCmd jump; + struct AffineAnimEndCmdAlt end; // unused in code }; #define AFFINEANIMCMDTYPE_LOOP 0x7FFD @@ -120,6 +127,8 @@ union AffineAnimCmd {.jump = {.type = AFFINEANIMCMDTYPE_JUMP, .target = _target}} #define AFFINEANIMCMD_END \ {.type = AFFINEANIMCMDTYPE_END} +#define AFFINEANIMCMD_END_ALT(_val) \ + {.end = {.type = AFFINEANIMCMDTYPE_END, .val = _val}} struct AffineAnimState { |