Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
StoneChomp.h File Reference

Go to the source code of this file.

Macros

#define STONE_CHOMP_DROPS
 
#define STONE_CHOMP_ANIMS
 

Macro Definition Documentation

◆ STONE_CHOMP_DROPS

#define STONE_CHOMP_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_HONEY_SYRUP, 10, 0 }, \
}, \
.heartDrops = GENEROUS_HEART_DROPS(3), \
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
}
@ NPC_DROP_FLAG_80
Definition enums.h:5089
#define STANDARD_FLOWER_DROPS(attempts)
Definition npc.h:53
#define GENEROUS_HEART_DROPS(attempts)
Definition npc.h:37

Definition at line 4 of file StoneChomp.h.

4#define STONE_CHOMP_DROPS \
5{ \
6 .dropFlags = NPC_DROP_FLAG_80, \
7 .itemDropChance = 5, \
8 .itemDrops = { \
9 { ITEM_HONEY_SYRUP, 10, 0 }, \
10 }, \
11 .heartDrops = GENEROUS_HEART_DROPS(3), \
12 .flowerDrops = STANDARD_FLOWER_DROPS(2), \
13}

◆ STONE_CHOMP_ANIMS

#define STONE_CHOMP_ANIMS
Value:
{ \
.idle = ANIM_StoneChomp_Idle, \
.walk = ANIM_StoneChomp_SlowBite, \
.run = ANIM_StoneChomp_Bite, \
.chase = ANIM_StoneChomp_Bite, \
.anim_4 = ANIM_StoneChomp_Idle, \
.anim_5 = ANIM_StoneChomp_Idle, \
.death = ANIM_StoneChomp_Hurt, \
.hit = ANIM_StoneChomp_Hurt, \
.anim_8 = ANIM_StoneChomp_Still, \
.anim_9 = ANIM_StoneChomp_Still, \
.anim_A = ANIM_StoneChomp_Still, \
.anim_B = ANIM_StoneChomp_Still, \
.anim_C = ANIM_StoneChomp_Still, \
.anim_D = ANIM_StoneChomp_Still, \
.anim_E = ANIM_StoneChomp_Still, \
.anim_F = ANIM_StoneChomp_Still, \
}

Definition at line 15 of file StoneChomp.h.

15#define STONE_CHOMP_ANIMS \
16{ \
17 .idle = ANIM_StoneChomp_Idle, \
18 .walk = ANIM_StoneChomp_SlowBite, \
19 .run = ANIM_StoneChomp_Bite, \
20 .chase = ANIM_StoneChomp_Bite, \
21 .anim_4 = ANIM_StoneChomp_Idle, \
22 .anim_5 = ANIM_StoneChomp_Idle, \
23 .death = ANIM_StoneChomp_Hurt, \
24 .hit = ANIM_StoneChomp_Hurt, \
25 .anim_8 = ANIM_StoneChomp_Still, \
26 .anim_9 = ANIM_StoneChomp_Still, \
27 .anim_A = ANIM_StoneChomp_Still, \
28 .anim_B = ANIM_StoneChomp_Still, \
29 .anim_C = ANIM_StoneChomp_Still, \
30 .anim_D = ANIM_StoneChomp_Still, \
31 .anim_E = ANIM_StoneChomp_Still, \
32 .anim_F = ANIM_StoneChomp_Still, \
33}