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

Go to the source code of this file.

Macros

#define GOOMBA_DROPS
 
#define GOOMBA_ANIMS
 

Macro Definition Documentation

◆ 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:61
#define GENEROUS_WHEN_LOW_HEART_DROPS(attempts)
Definition npc.h:45

Definition at line 4 of file Goomba.h.

4#define GOOMBA_DROPS \
5{ \
6 .dropFlags = NPC_DROP_FLAG_80, \
7 .itemDropChance = 5, \
8 .itemDrops = { \
9 { ITEM_MUSHROOM, 10, 0 }, \
10 }, \
11 .heartDrops = GENEROUS_WHEN_LOW_HEART_DROPS(2), \
12 .flowerDrops = GENEROUS_WHEN_LOW_FLOWER_DROPS(2), \
13}

◆ 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, \
}

Definition at line 15 of file Goomba.h.

15#define GOOMBA_ANIMS \
16{ \
17 .idle = ANIM_Goomba_Idle, \
18 .walk = ANIM_Goomba_Walk, \
19 .run = ANIM_Goomba_Run, \
20 .chase = ANIM_Goomba_Run, \
21 .anim_4 = ANIM_Goomba_Idle, \
22 .anim_5 = ANIM_Goomba_Idle, \
23 .death = ANIM_Goomba_Hurt, \
24 .hit = ANIM_Goomba_Hurt, \
25 .anim_8 = ANIM_Goomba_Run, \
26 .anim_9 = ANIM_Goomba_Run, \
27 .anim_A = ANIM_Goomba_Run, \
28 .anim_B = ANIM_Goomba_Run, \
29 .anim_C = ANIM_Goomba_Run, \
30 .anim_D = ANIM_Goomba_Run, \
31 .anim_E = ANIM_Goomba_Run, \
32 .anim_F = ANIM_Goomba_Run, \
33}