Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
MontyMoleAI.inc.c File Reference

Go to the source code of this file.

Macros

#define INTANGIBLE_MONTY_MOLE_NPC_FLAGS
 

Enumerations

enum  AiStateMontyMole {
  AI_STATE_MOLE_INIT = 0 , AI_STATE_MOLE_WANDER = 1 , AI_STATE_MOLE_PRE_SURFACE = 12 , AI_STATE_MOLE_SURFACE = 13 ,
  AI_STATE_MOLE_DRAW_ROCK = 14 , AI_STATE_MOLE_THROW_ROCK = 15 , AI_STATE_MOLE_UNUSED = 16 , AI_STATE_MOLE_PRE_BURROW = 20 ,
  AI_STATE_MOLE_BURROW = 21
}
 

Macro Definition Documentation

◆ INTANGIBLE_MONTY_MOLE_NPC_FLAGS

#define INTANGIBLE_MONTY_MOLE_NPC_FLAGS
Value:
@ ENEMY_FLAG_IGNORE_HAMMER
Definition enums.h:4547
@ ENEMY_FLAG_IGNORE_PARTNER
Definition enums.h:4549
@ ENEMY_FLAG_SKIP_BATTLE
Definition enums.h:4541
@ ENEMY_FLAG_IGNORE_TOUCH
Definition enums.h:4545
@ ENEMY_FLAG_CANT_INTERACT
Definition enums.h:4548
@ ENEMY_FLAG_IGNORE_JUMP
Definition enums.h:4546

Definition at line 30 of file MontyMoleAI.inc.c.

30#define INTANGIBLE_MONTY_MOLE_NPC_FLAGS \
31 ENEMY_FLAG_SKIP_BATTLE \
32 | ENEMY_FLAG_IGNORE_TOUCH \
33 | ENEMY_FLAG_IGNORE_JUMP \
34 | ENEMY_FLAG_IGNORE_HAMMER \
35 | ENEMY_FLAG_IGNORE_PARTNER \
36 | ENEMY_FLAG_CANT_INTERACT

Enumeration Type Documentation

◆ AiStateMontyMole

Enumerator
AI_STATE_MOLE_INIT 
AI_STATE_MOLE_WANDER 
AI_STATE_MOLE_PRE_SURFACE 
AI_STATE_MOLE_SURFACE 
AI_STATE_MOLE_DRAW_ROCK 
AI_STATE_MOLE_THROW_ROCK 
AI_STATE_MOLE_UNUSED 
AI_STATE_MOLE_PRE_BURROW 
AI_STATE_MOLE_BURROW 

Definition at line 18 of file MontyMoleAI.inc.c.

18 {
19 AI_STATE_MOLE_INIT = 0, // choose random heading and duration for next state
20 AI_STATE_MOLE_WANDER = 1, // wander around 'underground'
21 AI_STATE_MOLE_PRE_SURFACE = 12, // delay before emerging from underground
22 AI_STATE_MOLE_SURFACE = 13, // emerge from underground
23 AI_STATE_MOLE_DRAW_ROCK = 14, // pull out a rock, can either attack or cancel
24 AI_STATE_MOLE_THROW_ROCK = 15, // throw the rock
26 AI_STATE_MOLE_PRE_BURROW = 20, // delay before burrowing back underground
27 AI_STATE_MOLE_BURROW = 21, // burrow underground
28};
@ AI_STATE_MOLE_WANDER
@ AI_STATE_MOLE_DRAW_ROCK
@ AI_STATE_MOLE_INIT
@ AI_STATE_MOLE_BURROW
@ AI_STATE_MOLE_PRE_BURROW
@ AI_STATE_MOLE_SURFACE
@ AI_STATE_MOLE_PRE_SURFACE
@ AI_STATE_MOLE_THROW_ROCK
@ AI_STATE_MOLE_UNUSED