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

Go to the source code of this file.

Macros

#define FROST_CLUBBA_DROPS
 
#define FROST_CLUBBA_ANIMS
 
#define FROST_CLUBBA_MACE_HITBOX(npcID)
 

Macro Definition Documentation

◆ FROST_CLUBBA_DROPS

#define FROST_CLUBBA_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_SUPER_SHROOM, 10, 0 }, \
}, \
.heartDrops = STANDARD_HEART_DROPS(2), \
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
.minCoinBonus = 0, \
.maxCoinBonus = 3, \
}
@ NPC_DROP_FLAG_80
Definition enums.h:5089
#define STANDARD_FLOWER_DROPS(attempts)
Definition npc.h:53
#define STANDARD_HEART_DROPS(attempts)
Definition npc.h:29

Definition at line 4 of file FrostClubba.h.

4#define FROST_CLUBBA_DROPS \
5{ \
6 .dropFlags = NPC_DROP_FLAG_80, \
7 .itemDropChance = 5, \
8 .itemDrops = { \
9 { ITEM_SUPER_SHROOM, 10, 0 }, \
10 }, \
11 .heartDrops = STANDARD_HEART_DROPS(2), \
12 .flowerDrops = STANDARD_FLOWER_DROPS(2), \
13 .minCoinBonus = 0, \
14 .maxCoinBonus = 3, \
15}

◆ FROST_CLUBBA_ANIMS

#define FROST_CLUBBA_ANIMS
Value:
{ \
.idle = ANIM_WorldClubba_Frost_Anim02, \
.walk = ANIM_WorldClubba_Frost_Anim03, \
.run = ANIM_WorldClubba_Frost_Anim04, \
.chase = ANIM_WorldClubba_Frost_Anim04, \
.anim_4 = ANIM_WorldClubba_Frost_Anim02, \
.anim_5 = ANIM_WorldClubba_Frost_Anim02, \
.death = ANIM_WorldClubba_Frost_Anim0C, \
.hit = ANIM_WorldClubba_Frost_Anim0C, \
.anim_8 = ANIM_WorldClubba_Frost_Anim11, \
.anim_9 = ANIM_WorldClubba_Frost_Anim12, \
.anim_A = ANIM_WorldClubba_Frost_Anim07, \
.anim_B = ANIM_WorldClubba_Frost_Anim08, \
.anim_C = ANIM_WorldClubba_Frost_Anim02, \
.anim_D = ANIM_WorldClubba_Frost_Anim02, \
.anim_E = ANIM_WorldClubba_Frost_Anim02, \
.anim_F = ANIM_WorldClubba_Frost_Anim02, \
}

Definition at line 17 of file FrostClubba.h.

17#define FROST_CLUBBA_ANIMS \
18{ \
19 .idle = ANIM_WorldClubba_Frost_Anim02, \
20 .walk = ANIM_WorldClubba_Frost_Anim03, \
21 .run = ANIM_WorldClubba_Frost_Anim04, \
22 .chase = ANIM_WorldClubba_Frost_Anim04, \
23 .anim_4 = ANIM_WorldClubba_Frost_Anim02, \
24 .anim_5 = ANIM_WorldClubba_Frost_Anim02, \
25 .death = ANIM_WorldClubba_Frost_Anim0C, \
26 .hit = ANIM_WorldClubba_Frost_Anim0C, \
27 .anim_8 = ANIM_WorldClubba_Frost_Anim11, \
28 .anim_9 = ANIM_WorldClubba_Frost_Anim12, \
29 .anim_A = ANIM_WorldClubba_Frost_Anim07, \
30 .anim_B = ANIM_WorldClubba_Frost_Anim08, \
31 .anim_C = ANIM_WorldClubba_Frost_Anim02, \
32 .anim_D = ANIM_WorldClubba_Frost_Anim02, \
33 .anim_E = ANIM_WorldClubba_Frost_Anim02, \
34 .anim_F = ANIM_WorldClubba_Frost_Anim02, \
35}

◆ FROST_CLUBBA_MACE_HITBOX

#define FROST_CLUBBA_MACE_HITBOX ( npcID)
Value:
{ \
.id = npcID, \
.settings = &N(NpcSettings_FrostClubba_Hitbox), \
.pos = { NPC_DISPOSE_LOCATION }, \
.yaw = 0, \
.drops = NO_DROPS, \
.animations = FROST_CLUBBA_ANIMS, \
.extraAnimations = N(ExtraAnims_FrostClubba_Hitbox), \
}
#define FROST_CLUBBA_ANIMS
Definition FrostClubba.h:17
@ ENEMY_FLAG_NO_DROPS
Definition enums.h:4544
@ ENEMY_FLAG_FLYING
Definition enums.h:4532
@ ENEMY_FLAG_IGNORE_ENTITY_COLLISION
Definition enums.h:4531
@ ENEMY_FLAG_IGNORE_WORLD_COLLISION
Definition enums.h:4529
#define NO_DROPS
Definition npc.h:23
#define NPC_DISPOSE_LOCATION
Definition macros.h:158

Definition at line 37 of file FrostClubba.h.

37#define FROST_CLUBBA_MACE_HITBOX(npcID) \
38{ \
39 .id = npcID, \
40 .settings = &N(NpcSettings_FrostClubba_Hitbox), \
41 .pos = { NPC_DISPOSE_LOCATION }, \
42 .yaw = 0, \
43 .flags = ENEMY_FLAG_IGNORE_WORLD_COLLISION | ENEMY_FLAG_IGNORE_ENTITY_COLLISION | ENEMY_FLAG_FLYING | ENEMY_FLAG_NO_DROPS, \
44 .drops = NO_DROPS, \
45 .animations = FROST_CLUBBA_ANIMS, \
46 .extraAnimations = N(ExtraAnims_FrostClubba_Hitbox), \
47}