mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
611a083ae9
* pause hud scripts * script name prefixes * missing sparkle script item entity fields * revert incorrect hypothesis * global hud scripts + sparkle script macros * remove tabs * hs_op_15 * split battle images * battle hud scripts * fix warnings Co-authored-by: HailSanta <Hail2Santa@gmail.com>
21 lines
619 B
C
21 lines
619 B
C
#include "common.h"
|
|
|
|
typedef s32 SparkleScript[0];
|
|
|
|
enum {
|
|
SPARKLE_OP_End = 0,
|
|
SPARKLE_OP_SetGfx = 1,
|
|
SPARKLE_OP_Restart = 2,
|
|
SPARKLE_OP_Jump = 3,
|
|
SPARKLE_OP_Break = 4,
|
|
SPARKLE_OP_SetCI = 7
|
|
};
|
|
|
|
#define sp_End SPARKLE_OP_End,
|
|
#define sp_SetGfx(time, gfx) SPARKLE_OP_SetGfx, time, (s32)gfx,
|
|
#define sp_Restart SPARKLE_OP_Restart,
|
|
#define sp_Jump(dest) SPARKLE_OP_Jump, (s32)dest,
|
|
/// Purpose unknown; arg is not read
|
|
#define sp_Break(unk) SPARKLE_OP_Break, unk,
|
|
#define sp_SetCI(time, name, width, height) SPARKLE_OP_SetCI, time, (s32)name##_png, (s32)name##_pal, width, height,
|