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

Macros

#define GOOMBA_DROPS
 
#define GOOMBA_ANIMS
 

Macro Definition Documentation

◆ GOOMBA_ANIMS

#define GOOMBA_ANIMS
Value:
{ \
.idle = ANIM_Goomba_Idle, \
.walk = ANIM_Goomba_Walk, \
.run = ANIM_Goomba_Run, \
.chase = ANIM_Goomba_Run, \
.anim_4 = ANIM_Goomba_Idle, \
.anim_5 = ANIM_Goomba_Idle, \
.death = ANIM_Goomba_Hurt, \
.hit = ANIM_Goomba_Hurt, \
.anim_8 = ANIM_Goomba_Run, \
.anim_9 = ANIM_Goomba_Run, \
.anim_A = ANIM_Goomba_Run, \
.anim_B = ANIM_Goomba_Run, \
.anim_C = ANIM_Goomba_Run, \
.anim_D = ANIM_Goomba_Run, \
.anim_E = ANIM_Goomba_Run, \
.anim_F = ANIM_Goomba_Run, \
}

◆ GOOMBA_DROPS

#define GOOMBA_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_MUSHROOM, 10, 0 }, \
}, \
.heartDrops = GENEROUS_WHEN_LOW_HEART_DROPS(2), \
.flowerDrops = GENEROUS_WHEN_LOW_FLOWER_DROPS(2), \
}
@ NPC_DROP_FLAG_80
Definition enums.h:5089
#define GENEROUS_WHEN_LOW_FLOWER_DROPS(attempts)
Definition npc.h:57
#define GENEROUS_WHEN_LOW_HEART_DROPS(attempts)
Definition npc.h:41