papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
SpyGuy.h File Reference

Macros

#define SPY_GUY_DROPS
 
#define SPY_GUY_ANIMS
 
#define SPY_GUY_ROCK_ANIMS
 
#define SPY_GUY_ROCK_HITBOX(npcID)
 

Macro Definition Documentation

◆ SPY_GUY_ANIMS

#define SPY_GUY_ANIMS
Value:
{ \
.idle = ANIM_SpyGuy_Anim02, \
.walk = ANIM_SpyGuy_Anim04, \
.run = ANIM_SpyGuy_Anim05, \
.chase = ANIM_SpyGuy_Anim04, \
.anim_4 = ANIM_SpyGuy_Anim02, \
.anim_5 = ANIM_SpyGuy_Anim02, \
.death = ANIM_SpyGuy_Anim0B, \
.hit = ANIM_SpyGuy_Anim0B, \
.anim_8 = ANIM_SpyGuy_Anim15, \
.anim_9 = ANIM_SpyGuy_Anim16, \
.anim_A = ANIM_SpyGuy_Anim02, \
.anim_B = ANIM_SpyGuy_Anim02, \
.anim_C = ANIM_SpyGuy_Anim02, \
.anim_D = ANIM_SpyGuy_Anim02, \
.anim_E = ANIM_SpyGuy_Anim02, \
.anim_F = ANIM_SpyGuy_Anim02, \
}

◆ SPY_GUY_DROPS

#define SPY_GUY_DROPS
Value:
{ \
.dropFlags = NPC_DROP_FLAG_80, \
.itemDropChance = 5, \
.itemDrops = { \
{ ITEM_FIRE_FLOWER, 2, 0 }, \
{ ITEM_THUNDER_RAGE, 2, 0 }, \
{ ITEM_THUNDER_BOLT, 2, 0 }, \
{ ITEM_DUSTY_HAMMER, 2, 0 }, \
{ ITEM_PEBBLE, 2, 0 }, \
}, \
.heartDrops = STANDARD_HEART_DROPS(3), \
.flowerDrops = STANDARD_FLOWER_DROPS(2), \
.minCoinBonus = 0, \
.maxCoinBonus = 3, \
}
@ NPC_DROP_FLAG_80
Definition enums.h:5089
#define STANDARD_FLOWER_DROPS(attempts)
Definition npc.h:49
#define STANDARD_HEART_DROPS(attempts)
Definition npc.h:25

◆ SPY_GUY_ROCK_ANIMS

#define SPY_GUY_ROCK_ANIMS
Value:
{ \
.idle = ANIM_SpyGuy_Anim10, \
.walk = ANIM_SpyGuy_Anim10, \
.run = ANIM_SpyGuy_Anim10, \
.chase = ANIM_SpyGuy_Anim10, \
.anim_4 = ANIM_SpyGuy_Anim10, \
.anim_5 = ANIM_SpyGuy_Anim10, \
.death = ANIM_SpyGuy_Anim10, \
.hit = ANIM_SpyGuy_Anim10, \
.anim_8 = ANIM_SpyGuy_Anim10, \
.anim_9 = ANIM_SpyGuy_Anim10, \
.anim_A = ANIM_SpyGuy_Anim10, \
.anim_B = ANIM_SpyGuy_Anim10, \
.anim_C = ANIM_SpyGuy_Anim10, \
.anim_D = ANIM_SpyGuy_Anim10, \
.anim_E = ANIM_SpyGuy_Anim10, \
.anim_F = ANIM_SpyGuy_Anim10, \
}

◆ SPY_GUY_ROCK_HITBOX

#define SPY_GUY_ROCK_HITBOX ( npcID)
Value:
{ \
.id = npcID, \
.settings = &N(NpcSettings_SpyGuyRock), \
.pos = { NPC_DISPOSE_LOCATION }, \
.yaw = 90, \
.drops = NO_DROPS, \
.territory = { \
.wander = { \
.isFlying = TRUE, \
.moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, \
.wanderShape = SHAPE_CYLINDER, \
.centerPos = { NPC_DISPOSE_LOCATION }, \
.wanderSize = { 0 }, \
.detectShape = SHAPE_CYLINDER, \
.detectPos = { NPC_DISPOSE_LOCATION }, \
.detectSize = { 0 }, \
} \
}, \
.animations = SPY_GUY_ROCK_ANIMS, \
}
#define SPY_GUY_ROCK_ANIMS
Definition SpyGuy.h:41
@ 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 NPC_DISPOSE_LOCATION
Definition macros.h:169
#define NO_DROPS
Definition npc.h:19
@ SHAPE_CYLINDER
Definition npc.h:205
#define NO_OVERRIDE_MOVEMENT_SPEED
Definition npc.h:74