Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
FrostPiranha.h
Go to the documentation of this file.
1
#include "common.h"
2
#include "sprite/npc/LargePiranha.h"
3
4
#define FROST_PIRANHA_DROPS \
5
{ \
6
.dropFlags = NPC_DROP_FLAG_80, \
7
.itemDropChance = 5, \
8
.itemDrops = { \
9
{ ITEM_FIRE_FLOWER, 10, 0 }, \
10
}, \
11
.heartDrops = STANDARD_HEART_DROPS(2), \
12
.flowerDrops = STANDARD_FLOWER_DROPS(4), \
13
.minCoinBonus = 1, \
14
.maxCoinBonus = 4, \
15
}
16
17
#define FROST_PIRANHA_ANIMS \
18
{ \
19
.idle = ANIM_LargePiranha_Frost_Anim01, \
20
.walk = ANIM_LargePiranha_Frost_Anim02, \
21
.run = ANIM_LargePiranha_Frost_Anim03, \
22
.chase = ANIM_LargePiranha_Frost_Anim03, \
23
.anim_4 = ANIM_LargePiranha_Frost_Anim01, \
24
.anim_5 = ANIM_LargePiranha_Frost_Anim01, \
25
.death = ANIM_LargePiranha_Frost_Anim0E, \
26
.hit = ANIM_LargePiranha_Frost_Anim0E, \
27
.anim_8 = ANIM_LargePiranha_Frost_Anim18, \
28
.anim_9 = ANIM_LargePiranha_Frost_Anim17, \
29
.anim_A = ANIM_LargePiranha_Frost_Anim05, \
30
.anim_B = ANIM_LargePiranha_Frost_Anim06, \
31
.anim_C = ANIM_LargePiranha_Frost_Anim12, \
32
.anim_D = ANIM_LargePiranha_Frost_Anim13, \
33
.anim_E = ANIM_LargePiranha_Frost_Anim14, \
34
.anim_F = ANIM_LargePiranha_Frost_Anim01, \
35
}
36
37
// auxiliary NPC used for triggering enemy first strikes during the bite animation
38
#define FROST_PIRANHA_HITBOX(npcID) \
39
{ \
40
.id = npcID, \
41
.settings = &N(NpcSettings_FrostPiranha_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 = FROST_PIRANHA_ANIMS, \
47
.extraAnimations = N(ExtraAnims_FrostPiranha_Hitbox), \
48
}
src
world
common
enemy
FrostPiranha.h
Generated by
1.10.0