Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Gulpit.h
Go to the documentation of this file.
1#include "common.h"
2#include "sprite/npc/Gulpit.h"
3
4#define GULPIT_DROPS \
5{ \
6 .dropFlags = NPC_DROP_FLAG_80, \
7 .itemDropChance = 5, \
8 .itemDrops = { \
9 { ITEM_PEBBLE, 2, 0 }, \
10 { ITEM_SUPER_SHROOM, 8, 0 }, \
11 }, \
12 .heartDrops = STANDARD_HEART_DROPS(3), \
13 .flowerDrops = STANDARD_FLOWER_DROPS(2), \
14 .minCoinBonus = 1, \
15 .maxCoinBonus = 4, \
16}
17
18#define GULPIT_ANIMS \
19{ \
20 .idle = ANIM_Gulpit_Anim01, \
21 .walk = ANIM_Gulpit_Anim02, \
22 .run = ANIM_Gulpit_Anim03, \
23 .chase = ANIM_Gulpit_Anim03, \
24 .anim_4 = ANIM_Gulpit_Anim01, \
25 .anim_5 = ANIM_Gulpit_Anim01, \
26 .death = ANIM_Gulpit_Anim0B, \
27 .hit = ANIM_Gulpit_Anim0B, \
28 .anim_8 = ANIM_Gulpit_Anim04, \
29 .anim_9 = ANIM_Gulpit_Anim04, \
30 .anim_A = ANIM_Gulpit_Anim01, \
31 .anim_B = ANIM_Gulpit_Anim01, \
32 .anim_C = ANIM_Gulpit_Anim01, \
33 .anim_D = ANIM_Gulpit_Anim01, \
34 .anim_E = ANIM_Gulpit_Anim01, \
35 .anim_F = ANIM_Gulpit_Anim01, \
36}
37
38#define GULPIT_HITBOX(npcID) \
39{ \
40 .id = npcID, \
41 .settings = &N(NpcSettings_Gulpit_Hitbox), \
42 .pos = { NPC_DISPOSE_LOCATION }, \
43 .yaw = 0, \
44 .flags = ENEMY_FLAG_IGNORE_WORLD_COLLISION | ENEMY_FLAG_IGNORE_ENTITY_COLLISION | ENEMY_FLAG_FLYING | ENEMY_FLAG_NO_DROPS, \
45 .drops = NO_DROPS, \
46 .animations = GULPIT_ANIMS, \
47 .extraAnimations = N(ExtraAnims_Gulpit_Hitbox), \
48}