papermario
Decompilation of Paper Mario
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
Macros
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
, \
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
◆
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
@ NPC_DROP_FLAG_80
Definition
enums.h:5108
STANDARD_FLOWER_DROPS
#define STANDARD_FLOWER_DROPS(attempts)
Definition
npc.h:49
STANDARD_HEART_DROPS
#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, \
.flags =
ENEMY_FLAG_IGNORE_WORLD_COLLISION
|
ENEMY_FLAG_IGNORE_ENTITY_COLLISION
|
ENEMY_FLAG_FLYING
|
ENEMY_FLAG_NO_DROPS
, \
.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
, \
}
SPY_GUY_ROCK_ANIMS
#define SPY_GUY_ROCK_ANIMS
Definition
SpyGuy.h:41
ENEMY_FLAG_NO_DROPS
@ ENEMY_FLAG_NO_DROPS
Definition
enums.h:4572
ENEMY_FLAG_FLYING
@ ENEMY_FLAG_FLYING
Definition
enums.h:4560
ENEMY_FLAG_IGNORE_ENTITY_COLLISION
@ ENEMY_FLAG_IGNORE_ENTITY_COLLISION
Definition
enums.h:4559
ENEMY_FLAG_IGNORE_WORLD_COLLISION
@ ENEMY_FLAG_IGNORE_WORLD_COLLISION
Definition
enums.h:4557
NPC_DISPOSE_LOCATION
#define NPC_DISPOSE_LOCATION
Definition
macros.h:169
NO_DROPS
#define NO_DROPS
Definition
npc.h:19
SHAPE_CYLINDER
@ SHAPE_CYLINDER
Definition
npc.h:205
NO_OVERRIDE_MOVEMENT_SPEED
#define NO_OVERRIDE_MOVEMENT_SPEED
Definition
npc.h:74
src
world
common
enemy
SpyGuy.h
Generated by
1.10.0