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

Go to the source code of this file.

Macros

#define KOOPA_TROOPA_NOK_DROPS
 
#define KOOPA_TROOPA_TRD_DROPS
 
#define KOOPA_TROOPA_ANIMS
 

Macro Definition Documentation

◆ KOOPA_TROOPA_NOK_DROPS

#define KOOPA_TROOPA_NOK_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_MUSHROOM, 3, 0 }, \
{ ITEM_KOOPA_LEAF, 7, 0 }, \
}, \
.heartDrops = STANDARD_HEART_DROPS(2), \
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
.minCoinBonus = 1, \
.maxCoinBonus = 1, \
}
@ NPC_DROP_FLAG_80
Definition enums.h:5089
#define STANDARD_FLOWER_DROPS(attempts)
Definition npc.h:53
#define STANDARD_HEART_DROPS(attempts)
Definition npc.h:29

Definition at line 4 of file KoopaTroopa.h.

4#define KOOPA_TROOPA_NOK_DROPS \
5{ \
6 .dropFlags = NPC_DROP_FLAG_80, \
7 .itemDropChance = 5, \
8 .itemDrops = { \
9 { ITEM_MUSHROOM, 3, 0 }, \
10 { ITEM_KOOPA_LEAF, 7, 0 }, \
11 }, \
12 .heartDrops = STANDARD_HEART_DROPS(2), \
13 .flowerDrops = STANDARD_FLOWER_DROPS(2), \
14 .minCoinBonus = 1, \
15 .maxCoinBonus = 1, \
16}

◆ KOOPA_TROOPA_TRD_DROPS

#define KOOPA_TROOPA_TRD_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_MUSHROOM, 5, 0 }, \
{ ITEM_POW_BLOCK, 5, 0 }, \
}, \
.heartDrops = STANDARD_HEART_DROPS(2), \
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
.minCoinBonus = 1, \
.maxCoinBonus = 1, \
}

Definition at line 18 of file KoopaTroopa.h.

18#define KOOPA_TROOPA_TRD_DROPS \
19{ \
20 .dropFlags = NPC_DROP_FLAG_80, \
21 .itemDropChance = 5, \
22 .itemDrops = { \
23 { ITEM_MUSHROOM, 5, 0 }, \
24 { ITEM_POW_BLOCK, 5, 0 }, \
25 }, \
26 .heartDrops = STANDARD_HEART_DROPS(2), \
27 .flowerDrops = STANDARD_FLOWER_DROPS(2), \
28 .minCoinBonus = 1, \
29 .maxCoinBonus = 1, \
30}

◆ KOOPA_TROOPA_ANIMS

#define KOOPA_TROOPA_ANIMS
Value:
{ \
.idle = ANIM_KoopaTroopa_Idle, \
.walk = ANIM_KoopaTroopa_Walk, \
.run = ANIM_KoopaTroopa_Run, \
.chase = ANIM_KoopaTroopa_Run, \
.anim_4 = ANIM_KoopaTroopa_Idle, \
.anim_5 = ANIM_KoopaTroopa_Idle, \
.death = ANIM_KoopaTroopa_Hurt, \
.hit = ANIM_KoopaTroopa_Hurt, \
.anim_8 = ANIM_KoopaTroopa_ShellEnter, \
.anim_9 = ANIM_KoopaTroopa_ShellSpin, \
.anim_A = ANIM_KoopaTroopa_ShellExit, \
.anim_B = ANIM_KoopaTroopa_Run, \
.anim_C = ANIM_KoopaTroopa_Run, \
.anim_D = ANIM_KoopaTroopa_Run, \
.anim_E = ANIM_KoopaTroopa_Run, \
.anim_F = ANIM_KoopaTroopa_Run, \
}

Definition at line 32 of file KoopaTroopa.h.

32#define KOOPA_TROOPA_ANIMS \
33{ \
34 .idle = ANIM_KoopaTroopa_Idle, \
35 .walk = ANIM_KoopaTroopa_Walk, \
36 .run = ANIM_KoopaTroopa_Run, \
37 .chase = ANIM_KoopaTroopa_Run, \
38 .anim_4 = ANIM_KoopaTroopa_Idle, \
39 .anim_5 = ANIM_KoopaTroopa_Idle, \
40 .death = ANIM_KoopaTroopa_Hurt, \
41 .hit = ANIM_KoopaTroopa_Hurt, \
42 .anim_8 = ANIM_KoopaTroopa_ShellEnter, \
43 .anim_9 = ANIM_KoopaTroopa_ShellSpin, \
44 .anim_A = ANIM_KoopaTroopa_ShellExit, \
45 .anim_B = ANIM_KoopaTroopa_Run, \
46 .anim_C = ANIM_KoopaTroopa_Run, \
47 .anim_D = ANIM_KoopaTroopa_Run, \
48 .anim_E = ANIM_KoopaTroopa_Run, \
49 .anim_F = ANIM_KoopaTroopa_Run, \
50}