Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Magikoopa.h
Go to the documentation of this file.
1#include "common.h"
2#include "sprite/npc/Magikoopa.h"
3#include "sprite/npc/FlyingMagikoopa.h"
4
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}
20
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}
40
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}