mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
1e91e60cb6
* rest of 5B320 * whitespace * fix warnings * split 5B320.c with includes * ICON_anim_heart_piece_palette * requested changes Co-authored-by: HailSanta <Hail2Santa@gmail.com>
23 lines
561 B
C
23 lines
561 B
C
#ifndef ITEM_ENTITY_H
|
|
#define ITEM_ENTITY_H
|
|
|
|
#include "common.h"
|
|
|
|
typedef s32 ItemScript[0];
|
|
|
|
enum {
|
|
ITEM_SCRIPT_OP_End,
|
|
ITEM_SCRIPT_OP_SetImage,
|
|
ITEM_SCRIPT_OP_Restart,
|
|
ITEM_SCRIPT_OP_Loop,
|
|
ITEM_SCRIPT_OP_RandomRestart
|
|
};
|
|
|
|
#define is_End ITEM_SCRIPT_OP_End,
|
|
#define is_SetIcon(time, icon) ITEM_SCRIPT_OP_SetImage, time, ICON_##icon##_raster, ICON_##icon##_palette, 0, 0,
|
|
#define is_Restart ITEM_SCRIPT_OP_Restart,
|
|
#define is_Loop ITEM_SCRIPT_OP_Loop,
|
|
#define is_RandomRestart(max, cutoff) ITEM_SCRIPT_OP_RandomRestart, max, cutoff,
|
|
|
|
#endif
|