Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
BombshellBill.h
Go to the documentation of this file.
1
#include "common.h"
2
#include "sprite/npc/BulletBill.h"
3
4
#define BOMBSHELL_BLASTER_DROPS \
5
{ \
6
.dropFlags = NPC_DROP_FLAG_80, \
7
.heartDrops = STANDARD_HEART_DROPS(4), \
8
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
9
.minCoinBonus = 1, \
10
.maxCoinBonus = 3, \
11
}
12
13
#define BOMBSHELL_BLASTER_ANIMS \
14
{ \
15
.idle = ANIM_BillBlaster_Gold_Idle, \
16
.walk = ANIM_BillBlaster_Gold_Idle, \
17
.run = ANIM_BillBlaster_Gold_Idle, \
18
.chase = ANIM_BillBlaster_Gold_Idle, \
19
.anim_4 = ANIM_BillBlaster_Gold_Idle, \
20
.anim_5 = ANIM_BillBlaster_Gold_Idle, \
21
.death = ANIM_BillBlaster_Gold_Hurt, \
22
.hit = ANIM_BillBlaster_Gold_Hurt, \
23
.anim_8 = ANIM_BillBlaster_Gold_Fire, \
24
.anim_9 = ANIM_BillBlaster_Gold_Idle, \
25
.anim_A = ANIM_BillBlaster_Gold_Idle, \
26
.anim_B = ANIM_BillBlaster_Gold_Idle, \
27
.anim_C = ANIM_BillBlaster_Gold_Idle, \
28
.anim_D = ANIM_BillBlaster_Gold_Idle, \
29
.anim_E = ANIM_BillBlaster_Gold_Idle, \
30
.anim_F = ANIM_BillBlaster_Gold_Idle, \
31
}
32
33
#define BOMBSHELL_BILL_DROPS \
34
{ \
35
.dropFlags = NPC_DROP_FLAG_80, \
36
.itemDropChance = 3, \
37
.itemDrops = { \
38
{ ITEM_SUPER_SHROOM, 10, 0 }, \
39
}, \
40
.heartDrops = STANDARD_HEART_DROPS(3), \
41
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
42
.minCoinBonus = 1, \
43
.maxCoinBonus = 3, \
44
}
45
46
#define BOMBSHELL_BILL_ANIMS \
47
{ \
48
.idle = ANIM_BulletBill_Gold_Still, \
49
.walk = ANIM_BulletBill_Gold_TenseCopy, \
50
.run = ANIM_BulletBill_Gold_Tense, \
51
.chase = ANIM_BulletBill_Gold_Tense, \
52
.anim_4 = ANIM_BulletBill_Gold_Still, \
53
.anim_5 = ANIM_BulletBill_Gold_Fire, \
54
.death = ANIM_BulletBill_Gold_Hurt, \
55
.hit = ANIM_BulletBill_Gold_Hurt, \
56
.anim_8 = ANIM_BulletBill_Gold_Still, \
57
.anim_9 = ANIM_BulletBill_Gold_Still, \
58
.anim_A = ANIM_BulletBill_Gold_Still, \
59
.anim_B = ANIM_BulletBill_Gold_Still, \
60
.anim_C = ANIM_BulletBill_Gold_Still, \
61
.anim_D = ANIM_BulletBill_Gold_Still, \
62
.anim_E = ANIM_BulletBill_Gold_Still, \
63
.anim_F = ANIM_BulletBill_Gold_Still, \
64
}
65
66
#define BOMBSHELL_BILL_NPC(npcID) \
67
{ \
68
.id = npcID, \
69
.settings = &N(NpcSettings_BombshellBill), \
70
.pos = { NPC_DISPOSE_LOCATION }, \
71
.yaw = 0, \
72
.flags = ENEMY_FLAG_DO_NOT_KILL | ENEMY_FLAG_IGNORE_WORLD_COLLISION | ENEMY_FLAG_IGNORE_ENTITY_COLLISION | ENEMY_FLAG_FLYING | ENEMY_FLAG_DONT_SUSPEND_SCRIPTS | ENEMY_FLAG_ACTIVE_WHILE_OFFSCREEN, \
73
.drops = BOMBSHELL_BILL_DROPS, \
74
.territory = { \
75
.wander = { \
76
.isFlying = TRUE, \
77
.moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, \
78
.wanderShape = SHAPE_CYLINDER, \
79
.centerPos = { 0, 0, 0 }, \
80
.wanderSize = { 0 }, \
81
.detectShape = SHAPE_CYLINDER, \
82
.detectPos = { 0, 0, 0 }, \
83
.detectSize = { 0 }, \
84
} \
85
}, \
86
.animations = BOMBSHELL_BILL_ANIMS, \
87
}
src
world
common
enemy
BombshellBill.h
Generated by
1.10.0