papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
PutridPiranha.h File Reference

Macros

#define PUTRID_PIRANHA_DROPS
 
#define PUTRID_PIRANHA_ANIMS
 
#define PUTRID_PIRANHA_HITBOX(npcID)
 

Macro Definition Documentation

◆ PUTRID_PIRANHA_ANIMS

◆ PUTRID_PIRANHA_DROPS

#define PUTRID_PIRANHA_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:5108
#define STANDARD_FLOWER_DROPS(attempts)
Definition npc.h:49
#define STANDARD_HEART_DROPS(attempts)
Definition npc.h:25

◆ PUTRID_PIRANHA_HITBOX

#define PUTRID_PIRANHA_HITBOX ( npcID)
Value:
{ \
.id = npcID, \
.pos = { NPC_DISPOSE_LOCATION }, \
.yaw = 0, \
.drops = NO_DROPS, \
.animations = PUTRID_PIRANHA_ANIMS, \
}
#define PUTRID_PIRANHA_ANIMS
Definition PutridPiranha.h:17
@ ENEMY_FLAG_NO_DROPS
Definition enums.h:4572
@ ENEMY_FLAG_FLYING
Definition enums.h:4560
@ ENEMY_FLAG_IGNORE_ENTITY_COLLISION
Definition enums.h:4559
@ ENEMY_FLAG_IGNORE_WORLD_COLLISION
Definition enums.h:4557
#define NPC_DISPOSE_LOCATION
Definition macros.h:169
#define NO_DROPS
Definition npc.h:19