papermario
Decompilation of Paper Mario
Loading...
Searching...
No Matches
Macros
Gulpit.h File Reference
Macros
#define
GULPIT_DROPS
#define
GULPIT_ANIMS
#define
GULPIT_HITBOX
(npcID)
Macro Definition Documentation
◆
GULPIT_ANIMS
#define GULPIT_ANIMS
Value:
{ \
.idle = ANIM_Gulpit_Idle, \
.walk = ANIM_Gulpit_Walk, \
.run = ANIM_Gulpit_Run, \
.chase = ANIM_Gulpit_Run, \
.anim_4 = ANIM_Gulpit_Idle, \
.anim_5 = ANIM_Gulpit_Idle, \
.death = ANIM_Gulpit_Hurt, \
.hit = ANIM_Gulpit_Hurt, \
.anim_8 = ANIM_Gulpit_Lick, \
.anim_9 = ANIM_Gulpit_Lick, \
.anim_A = ANIM_Gulpit_Idle, \
.anim_B = ANIM_Gulpit_Idle, \
.anim_C = ANIM_Gulpit_Idle, \
.anim_D = ANIM_Gulpit_Idle, \
.anim_E = ANIM_Gulpit_Idle, \
.anim_F = ANIM_Gulpit_Idle, \
}
◆
GULPIT_DROPS
#define GULPIT_DROPS
Value:
{ \
.dropFlags =
NPC_DROP_FLAG_80
, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_PEBBLE, 2, 0 }, \
{ ITEM_SUPER_SHROOM, 8, 0 }, \
}, \
.heartDrops =
STANDARD_HEART_DROPS
(3), \
.flowerDrops =
STANDARD_FLOWER_DROPS
(2), \
.minCoinBonus = 1, \
.maxCoinBonus = 4, \
}
NPC_DROP_FLAG_80
@ NPC_DROP_FLAG_80
Definition
enums.h:5104
STANDARD_FLOWER_DROPS
#define STANDARD_FLOWER_DROPS(attempts)
Definition
npc.h:49
STANDARD_HEART_DROPS
#define STANDARD_HEART_DROPS(attempts)
Definition
npc.h:25
◆
GULPIT_HITBOX
#define GULPIT_HITBOX
(
npcID
)
Value:
{ \
.id = npcID, \
.settings = &N(NpcSettings_Gulpit_Hitbox), \
.pos = {
NPC_DISPOSE_LOCATION
}, \
.yaw = 0, \
.flags =
ENEMY_FLAG_IGNORE_WORLD_COLLISION
|
ENEMY_FLAG_IGNORE_ENTITY_COLLISION
|
ENEMY_FLAG_FLYING
|
ENEMY_FLAG_NO_DROPS
, \
.drops =
NO_DROPS
, \
.animations =
GULPIT_ANIMS
, \
.extraAnimations = N(ExtraAnims_Gulpit_Hitbox), \
}
GULPIT_ANIMS
#define GULPIT_ANIMS
Definition
Gulpit.h:18
ENEMY_FLAG_NO_DROPS
@ ENEMY_FLAG_NO_DROPS
Definition
enums.h:4568
ENEMY_FLAG_FLYING
@ ENEMY_FLAG_FLYING
Definition
enums.h:4556
ENEMY_FLAG_IGNORE_ENTITY_COLLISION
@ ENEMY_FLAG_IGNORE_ENTITY_COLLISION
Definition
enums.h:4555
ENEMY_FLAG_IGNORE_WORLD_COLLISION
@ ENEMY_FLAG_IGNORE_WORLD_COLLISION
Definition
enums.h:4553
NPC_DISPOSE_LOCATION
#define NPC_DISPOSE_LOCATION
Definition
macros.h:177
NO_DROPS
#define NO_DROPS
Definition
npc.h:19
src
world
common
enemy
Gulpit.h
Generated by
1.10.0