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

Go to the source code of this file.

Macros

#define MAGINO_DROPS
 
#define MAGIKOOPA_ANIMS
 
#define MAGIKOOPA_SPELL_HITBOX(npcID)
 

Macro Definition Documentation

◆ MAGINO_DROPS

#define MAGINO_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_SUPER_SHROOM, 5, 0 }, \
{ ITEM_MAPLE_SYRUP, 5, 0 }, \
{ ITEM_THUNDER_RAGE, 5, 0 }, \
{ ITEM_STOP_WATCH, 5, 0 }, \
}, \
.heartDrops = STANDARD_HEART_DROPS(2), \
.flowerDrops = STANDARD_FLOWER_DROPS(5), \
.minCoinBonus = 1, \
.maxCoinBonus = 3, \
}
@ 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 5 of file Magikoopa.h.

5#define MAGINO_DROPS \
6{ \
7 .dropFlags = NPC_DROP_FLAG_80, \
8 .itemDropChance = 5, \
9 .itemDrops = { \
10 { ITEM_SUPER_SHROOM, 5, 0 }, \
11 { ITEM_MAPLE_SYRUP, 5, 0 }, \
12 { ITEM_THUNDER_RAGE, 5, 0 }, \
13 { ITEM_STOP_WATCH, 5, 0 }, \
14 }, \
15 .heartDrops = STANDARD_HEART_DROPS(2), \
16 .flowerDrops = STANDARD_FLOWER_DROPS(5), \
17 .minCoinBonus = 1, \
18 .maxCoinBonus = 3, \
19}

◆ MAGIKOOPA_ANIMS

#define MAGIKOOPA_ANIMS
Value:
{ \
.idle = ANIM_Magikoopa_Anim01, \
.walk = ANIM_Magikoopa_Anim01, \
.run = ANIM_Magikoopa_Anim01, \
.chase = ANIM_Magikoopa_Anim01, \
.anim_4 = ANIM_Magikoopa_Anim01, \
.anim_5 = ANIM_Magikoopa_Anim01, \
.death = ANIM_Magikoopa_Anim04, \
.hit = ANIM_Magikoopa_Anim04, \
.anim_8 = ANIM_Magikoopa_Anim02, \
.anim_9 = ANIM_Magikoopa_Anim03, \
.anim_A = ANIM_Magikoopa_Anim01, \
.anim_B = ANIM_Magikoopa_Anim01, \
.anim_C = ANIM_Magikoopa_Anim01, \
.anim_D = ANIM_Magikoopa_Anim01, \
.anim_E = ANIM_Magikoopa_Anim01, \
.anim_F = ANIM_Magikoopa_Anim01, \
}

Definition at line 21 of file Magikoopa.h.

21#define MAGIKOOPA_ANIMS \
22{ \
23 .idle = ANIM_Magikoopa_Anim01, \
24 .walk = ANIM_Magikoopa_Anim01, \
25 .run = ANIM_Magikoopa_Anim01, \
26 .chase = ANIM_Magikoopa_Anim01, \
27 .anim_4 = ANIM_Magikoopa_Anim01, \
28 .anim_5 = ANIM_Magikoopa_Anim01, \
29 .death = ANIM_Magikoopa_Anim04, \
30 .hit = ANIM_Magikoopa_Anim04, \
31 .anim_8 = ANIM_Magikoopa_Anim02, \
32 .anim_9 = ANIM_Magikoopa_Anim03, \
33 .anim_A = ANIM_Magikoopa_Anim01, \
34 .anim_B = ANIM_Magikoopa_Anim01, \
35 .anim_C = ANIM_Magikoopa_Anim01, \
36 .anim_D = ANIM_Magikoopa_Anim01, \
37 .anim_E = ANIM_Magikoopa_Anim01, \
38 .anim_F = ANIM_Magikoopa_Anim01, \
39}

◆ MAGIKOOPA_SPELL_HITBOX

#define MAGIKOOPA_SPELL_HITBOX ( npcID)
Value:
{ \
.id = npcID, \
.settings = &N(NpcSettings_Magikoopa_GroundHitbox), \
.pos = { NPC_DISPOSE_LOCATION }, \
.yaw = 90, \
.drops = NO_DROPS, \
.animations = { \
.idle = ANIM_Magikoopa_Anim00, \
.walk = ANIM_Magikoopa_Anim00, \
.run = ANIM_Magikoopa_Anim00, \
.chase = ANIM_Magikoopa_Anim00, \
.anim_4 = ANIM_Magikoopa_Anim00, \
.anim_5 = ANIM_Magikoopa_Anim00, \
.death = ANIM_Magikoopa_Anim00, \
.hit = ANIM_Magikoopa_Anim00, \
.anim_8 = ANIM_Magikoopa_Anim00, \
.anim_9 = ANIM_Magikoopa_Anim00, \
.anim_A = ANIM_Magikoopa_Anim00, \
.anim_B = ANIM_Magikoopa_Anim00, \
.anim_C = ANIM_Magikoopa_Anim00, \
.anim_D = ANIM_Magikoopa_Anim00, \
.anim_E = ANIM_Magikoopa_Anim00, \
.anim_F = ANIM_Magikoopa_Anim00, \
}, \
}
@ ENEMY_FLAG_NO_DROPS
Definition enums.h:4544
@ ENEMY_FLAG_FLYING
Definition enums.h:4532
@ ENEMY_FLAG_IGNORE_ENTITY_COLLISION
Definition enums.h:4531
@ ENEMY_FLAG_IGNORE_WORLD_COLLISION
Definition enums.h:4529
#define NO_DROPS
Definition npc.h:23
#define NPC_DISPOSE_LOCATION
Definition macros.h:158

Definition at line 41 of file Magikoopa.h.

41#define MAGIKOOPA_SPELL_HITBOX(npcID) \
42{ \
43 .id = npcID, \
44 .settings = &N(NpcSettings_Magikoopa_GroundHitbox), \
45 .pos = { NPC_DISPOSE_LOCATION }, \
46 .yaw = 90, \
47 .flags = ENEMY_FLAG_IGNORE_WORLD_COLLISION | ENEMY_FLAG_IGNORE_ENTITY_COLLISION | ENEMY_FLAG_FLYING | ENEMY_FLAG_NO_DROPS, \
48 .drops = NO_DROPS, \
49 .animations = { \
50 .idle = ANIM_Magikoopa_Anim00, \
51 .walk = ANIM_Magikoopa_Anim00, \
52 .run = ANIM_Magikoopa_Anim00, \
53 .chase = ANIM_Magikoopa_Anim00, \
54 .anim_4 = ANIM_Magikoopa_Anim00, \
55 .anim_5 = ANIM_Magikoopa_Anim00, \
56 .death = ANIM_Magikoopa_Anim00, \
57 .hit = ANIM_Magikoopa_Anim00, \
58 .anim_8 = ANIM_Magikoopa_Anim00, \
59 .anim_9 = ANIM_Magikoopa_Anim00, \
60 .anim_A = ANIM_Magikoopa_Anim00, \
61 .anim_B = ANIM_Magikoopa_Anim00, \
62 .anim_C = ANIM_Magikoopa_Anim00, \
63 .anim_D = ANIM_Magikoopa_Anim00, \
64 .anim_E = ANIM_Magikoopa_Anim00, \
65 .anim_F = ANIM_Magikoopa_Anim00, \
66 }, \
67}