Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Clubba.h
Go to the documentation of this file.
1
#include "common.h"
2
#include "sprite/npc/WorldClubba.h"
3
4
#define 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(3), \
12
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
13
.minCoinBonus = 2, \
14
.maxCoinBonus = 3, \
15
}
16
17
#define CLUBBA_ANIMS \
18
{ \
19
.idle = ANIM_WorldClubba_Anim02, \
20
.walk = ANIM_WorldClubba_Anim03, \
21
.run = ANIM_WorldClubba_Anim04, \
22
.chase = ANIM_WorldClubba_Anim04, \
23
.anim_4 = ANIM_WorldClubba_Anim02, \
24
.anim_5 = ANIM_WorldClubba_Anim02, \
25
.death = ANIM_WorldClubba_Anim0C, \
26
.hit = ANIM_WorldClubba_Anim0C, \
27
.anim_8 = ANIM_WorldClubba_Anim11, \
28
.anim_9 = ANIM_WorldClubba_Anim12, \
29
.anim_A = ANIM_WorldClubba_Anim07, \
30
.anim_B = ANIM_WorldClubba_Anim08, \
31
.anim_C = ANIM_WorldClubba_Anim01, \
32
.anim_D = ANIM_WorldClubba_Anim02, \
33
.anim_E = ANIM_WorldClubba_Anim02, \
34
.anim_F = ANIM_WorldClubba_Anim02, \
35
}
36
37
// used in omo_04, anim_C is different
38
#define CLUBBA_ANIMS_ALT \
39
{ \
40
.idle = ANIM_WorldClubba_Anim02, \
41
.walk = ANIM_WorldClubba_Anim03, \
42
.run = ANIM_WorldClubba_Anim04, \
43
.chase = ANIM_WorldClubba_Anim04, \
44
.anim_4 = ANIM_WorldClubba_Anim02, \
45
.anim_5 = ANIM_WorldClubba_Anim02, \
46
.death = ANIM_WorldClubba_Anim0C, \
47
.hit = ANIM_WorldClubba_Anim0C, \
48
.anim_8 = ANIM_WorldClubba_Anim11, \
49
.anim_9 = ANIM_WorldClubba_Anim12, \
50
.anim_A = ANIM_WorldClubba_Anim07, \
51
.anim_B = ANIM_WorldClubba_Anim08, \
52
.anim_C = ANIM_WorldClubba_Anim02, \
53
.anim_D = ANIM_WorldClubba_Anim02, \
54
.anim_E = ANIM_WorldClubba_Anim02, \
55
.anim_F = ANIM_WorldClubba_Anim02, \
56
}
57
58
#define CLUBBA_MACE_HITBOX(npcID) \
59
{ \
60
.id = npcID, \
61
.settings = &N(NpcSettings_Clubba_Hitbox), \
62
.pos = { NPC_DISPOSE_LOCATION }, \
63
.yaw = 0, \
64
.flags = ENEMY_FLAG_IGNORE_WORLD_COLLISION | ENEMY_FLAG_IGNORE_ENTITY_COLLISION | ENEMY_FLAG_FLYING | ENEMY_FLAG_NO_DROPS, \
65
.drops = NO_DROPS, \
66
.animations = CLUBBA_ANIMS, \
67
.extraAnimations = N(ExtraAnims_Clubba_Hitbox), \
68
}
src
world
common
enemy
Clubba.h
Generated by
1.10.0