Data Structures | |
struct | QuizRequirement |
struct | NpcBlueprint |
struct | MobileAISettings |
struct | GuardAISettings |
struct | FireBarAISettings |
struct | FireBarData |
struct | NpcSettings |
struct | ItemDrop |
struct | StatDrop |
Describes heart/flower drop chances after defeating an Npc in the overworld. More... | |
struct | EnemyDrops |
struct | EnemyDropsFlat |
struct | EnemyDetectVolume |
struct | EnemyTerritoryWander |
struct | EnemyTerritoryPatrol |
union | EnemyTerritory |
union | NpcInitialVars |
struct | NpcData |
struct | NpcGroup |
Zero-terminated. More... | |
struct | Enemy |
struct | Encounter |
struct | FieldStatus |
struct | EncounterStatus |
struct | NpcData.animations |
union | Enemy.__unnamed53__ |
Macros | |
#define | NPC_GROUP(args...) VFUNC(NPC_GROUP, args) |
#define | NPC_GROUP1(npcs) { sizeof(npcs) / sizeof(NpcData), (NpcData*) &npcs, 0, 0 } |
#define | NPC_GROUP2(npcs, battle) { sizeof(npcs) / sizeof(NpcData), (NpcData*) &npcs, battle, 0 } |
#define | NPC_GROUP3(npcs, battle, stage) { sizeof(npcs) / sizeof(NpcData), (NpcData*) &npcs, battle, stage + 1 } |
#define | NPC_GROUP_EXPLICIT_SIZE(args...) VFUNC(NPC_GROUP_EXPLICIT_SIZE, args) |
#define | NPC_GROUP_EXPLICIT_SIZE3(npcs, start, count) { count, (NpcData*) &npcs[start], 0, 0 } |
#define | NPC_GROUP_EXPLICIT_SIZE4(npcs, start, count, battle) { count, (NpcData*) &npcs[start], battle, 0 } |
#define | NPC_GROUP_EXPLICIT_SIZE5(npcs, start, count, battle, stage) { count, (NpcData*) &npcs[start], battle, stage + 1 } |
#define | NO_DROPS |
#define | STANDARD_HEART_DROPS(attempts) |
#define | GENEROUS_HEART_DROPS(attempts) |
#define | GENEROUS_WHEN_LOW_HEART_DROPS(attempts) |
#define | STANDARD_FLOWER_DROPS(attempts) |
#define | GENEROUS_WHEN_LOW_FLOWER_DROPS(attempts) |
#define | REDUCED_FLOWER_DROPS(attempts) |
#define | OVERRIDE_MOVEMENT_SPEED(speed) ((s32)(speed * 32767)) |
#define | NO_OVERRIDE_MOVEMENT_SPEED OVERRIDE_MOVEMENT_SPEED(-1.0f) |
Typedefs | |
typedef void(* | FireBarCallback) (struct FireBarData *, s32) |
typedef NpcGroup | NpcGroupList[] |
typedef void | AIStateHandler(Evt *script, MobileAISettings *settings, EnemyDetectVolume *territory) |
Enumerations | |
enum | TerritoryShape { SHAPE_CYLINDER , SHAPE_RECT } |
Variables | |
EncounterStatus | gCurrentEncounter |
struct MobileAISettings |
struct GuardAISettings |
struct FireBarAISettings |
Data Fields | ||
---|---|---|
FireBarCallback | callback | |
Vec3i | centerPos | |
s32 | firstNpc | |
s32 | npcCount | |
s32 | rotRate |
struct FireBarData |
Data Fields | ||
---|---|---|
FireBarCallback | callback | |
Vec3f | centerPos | |
s32 | firstNpc | |
s32 | flags | |
f32 | lastDeltaYaw | |
s32 | npcCount | |
f32 | rotRate | |
FireBarAISettings * | settings | |
s32 | soundIndex | |
f32 | yaw |
struct NpcSettings |
struct StatDrop |
Data Fields | ||
---|---|---|
s16 | attempts | Maximum number of hearts/flowers that can be dropped from this StatDrop. |
s16 | chancePerAttempt | % chance for a single heart/flower to be dropped from each attempt. |
s16 | cutoff | % of max HP/FP. If current HP/FP > cutoff, no hearts/flowers can be dropped. |
s16 | generalChance | % chance for any hearts/flowers to be dropped at all from this StatDrop. |
struct EnemyDrops |
struct EnemyDropsFlat |
struct EnemyDetectVolume |
Data Fields | ||
---|---|---|
s16 | detectFlags | |
f32 | halfHeight | |
s32 | pointX | |
s32 | pointZ | |
enum TerritoryShape | shape | |
s32 | sizeX | |
s32 | sizeZ | |
s32 | skipPlayerDetectChance |
struct EnemyTerritoryWander |
Data Fields | ||
---|---|---|
Vec3i | centerPos | |
Vec3i | detectPos | |
enum TerritoryShape | detectShape | |
VecXZi | detectSize | |
b32 | isFlying | |
s32 | moveSpeedOverride | |
enum TerritoryShape | wanderShape | |
VecXZi | wanderSize |
struct EnemyTerritoryPatrol |
union EnemyTerritory |
Data Fields | ||
---|---|---|
char | PADDING[0xC0] | |
EnemyTerritoryPatrol | patrol | |
EnemyTerritoryWander | wander |
union NpcInitialVars |
Data Fields | ||
---|---|---|
s32 * | array | |
s8 | bytes[4] | |
s32 | value |
struct NpcData |
Data Fields | ||
---|---|---|
u8 | aiDetectFlags | |
u32 | aiFlags | |
struct NpcData.animations | animations | |
EnemyDrops | drops | |
AnimID * | extraAnimations | |
s32 | flags | |
s32 | id | |
EvtScript * | init | |
NpcInitialVars | initVar | |
s32 | initVarCount | |
Vec3f | pos | |
NpcSettings * | settings | |
s32 | tattle | |
EnemyTerritory | territory | |
s8 | unk__1E0 | |
s8 | unk__1E1 | |
s8 | unk__1E2 | |
s32 | yaw |
struct Enemy |
Data Fields | ||
---|---|---|
union Enemy.__unnamed53__ | __unnamed__ | |
EvtScript * | aiBytecode | |
u8 | aiDetectFlags | |
u32 | aiFlags | |
struct Evt * | aiScript | |
s32 | aiScriptID | |
s8 | aiSuspendTime | |
s32 * | animList | |
EvtScript * | auxBytecode | |
struct Evt * | auxScript | |
s32 | auxScriptID | |
EvtScript * | defeatBytecode | |
struct Evt * | defeatScript | |
s32 | defeatScriptID | |
EnemyDrops * | drops | |
s8 | encountered | |
s8 | encounterIndex | |
s32 | flags | |
s8 | hitboxIsActive | |
EvtScript * | hitBytecode | |
struct Evt * | hitScript | |
s32 | hitScriptID | |
EvtScript * | initBytecode | |
struct Evt * | initScript | |
s32 | initScriptID | |
s8 | instigatorValue | |
EvtScript * | interactBytecode | |
struct Evt * | interactScript | |
s32 | interactScriptID | |
s16 | npcID | |
NpcSettings * | npcSettings | |
s16 | savedNpcYaw | |
u8 | scriptGroup | |
s16 | spawnPos[3] | |
u32 | tattleMsg | |
EnemyTerritory * | territory | |
Vec3s | unk_10 | |
char | unk_16[2] | |
void * | unk_64 | |
char | unk_68[4] | |
char | unk_AD[3] | |
char | unk_B6[2] | |
EvtScript * | unk_B8 | |
struct Evt * | unk_BC | |
s32 | unk_C0 | |
s32 | unk_C4 | |
s32 | unk_C8 | |
s32 | unk_DC | |
char | unk_E2[6] |
struct Encounter |
struct EncounterStatus |
Data Fields | ||
---|---|---|
s8 | battleOutcome | |
s32 | battleStartCountdown | |
s8 | battleTriggerCooldown | set to 15 after victory, 45 after fleeing |
s16 | coinsEarned | |
s8 | curAreaIndex | |
Encounter * | curEncounter | |
Enemy * | curEnemy | |
u8 | curEntryIndex | |
u8 | curMapIndex | |
u8 | damageTaken | |
s32 | defeatFlags[60][12] | |
FieldStatus | dizzyAttack | |
s8 | dropWhackaBump | |
Encounter * | encounterList[24] | |
s32 | fadeOutAccel | |
s32 | fadeOutAmount | |
s8 | firstStrikeType | |
s32 | flags | |
s8 | forbidFleeing | |
s8 | hasMerleeCoinBonus | |
s8 | hitTier | |
s8 | hitType | |
s8 | instigatorValue | |
s8 | mapID | |
s32 * | npcGroupList | |
s8 | numEncounters | |
s16 | recentMaps[2] | |
s8 | resetMapEncounterFlags | |
s8 | scriptedBattle | battle started by StartBattle but not by encounter |
s32 | songID | |
s32 | substateDelay | |
char | unk_07 | |
s8 | unk_08 | |
char | unk_0D | |
s32 | unk_18 | |
char | unk_22[2] | |
FieldStatus | unusedAttack1 | |
FieldStatus | unusedAttack2 | |
FieldStatus | unusedAttack3 |
struct NpcData.animations |
#define GENEROUS_HEART_DROPS | ( | attempts | ) |
#define GENEROUS_WHEN_LOW_FLOWER_DROPS | ( | attempts | ) |
#define GENEROUS_WHEN_LOW_HEART_DROPS | ( | attempts | ) |
#define NO_DROPS |
#define NO_OVERRIDE_MOVEMENT_SPEED OVERRIDE_MOVEMENT_SPEED(-1.0f) |
#define NPC_GROUP3 | ( | npcs, | |
battle, | |||
stage ) { sizeof(npcs) / sizeof(NpcData), (NpcData*) &npcs, battle, stage + 1 } |
#define NPC_GROUP_EXPLICIT_SIZE4 | ( | npcs, | |
start, | |||
count, | |||
battle ) { count, (NpcData*) &npcs[start], battle, 0 } |
#define NPC_GROUP_EXPLICIT_SIZE5 | ( | npcs, | |
start, | |||
count, | |||
battle, | |||
stage ) { count, (NpcData*) &npcs[start], battle, stage + 1 } |
#define OVERRIDE_MOVEMENT_SPEED | ( | speed | ) | ((s32)(speed * 32767)) |
#define REDUCED_FLOWER_DROPS | ( | attempts | ) |
#define STANDARD_FLOWER_DROPS | ( | attempts | ) |
#define STANDARD_HEART_DROPS | ( | attempts | ) |
typedef void AIStateHandler(Evt *script, MobileAISettings *settings, EnemyDetectVolume *territory) |
typedef void(* FireBarCallback) (struct FireBarData *, s32) |
Referenced by render_npcs().
Referenced by render_npcs().
b32 basic_ai_check_player_dist | ( | EnemyDetectVolume * | arg0, |
Enemy * | arg1, | ||
f32 | arg2, | ||
f32 | arg3, | ||
s8 | arg4 ) |
Referenced by AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_loiter(), basic_ai_wander(), CleftAI_FindPlayer(), CleftAI_Hiding(), CleftAI_ReturnHome(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_Sleep(), FlyingAI_Loiter(), FlyingAI_Wander(), FlyingNoAttackAI_13(), GuardAI_Chase(), GuardAI_Idle(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_Hop(), HoppingAI_Loiter(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_CanShootSpell(), PatrolAI_Chase(), PatrolAI_Loiter(), PatrolAI_Move(), PiranhaPlantAI_01(), PiranhaPlantAI_LosePlayer(), SentinelAI_Chase(), SentinelAI_Descend(), SentinelAI_ReturnHome(), and UnkNpcAIFunc48().
Binds the specified ai script to the specified enemy.
enemy | pointer to the enemy to bind the script to |
aiScriptBytecode | pointer to the script to be bound. |
Referenced by bind_npc_ai().
Binds the specified auxillary script to the specified enemy.
enemy | pointer to the enemy to bind the script to |
auxScriptBytecode | pointer to the script to be bound. |
Referenced by bind_npc_aux().
Binds the specified interact script to the specified enemy.
enemy | pointer to the enemy to bind the script to |
interactScriptBytecode | pointer to the script to be bound. |
Referenced by bind_npc_interact().
Binds the specified ai script to the npc matching the specified npcId.
npcID | ID of the desired npc |
npcAiBytecode | pointer to the script to be bound. |
Binds the specified auxillary script to the npc matching the specified npcId.
npcID | ID of the desired npc |
npcAuxBytecode | pointer to the script to be bound. |
Binds the specified interact script to the npc matching the specified npcId.
npcID | ID of the desired npc |
npcInteractBytecode | pointer to the script to be bound. |
Referenced by load_demo_battle(), and load_map_by_IDs().
void COPY_set_defeated | ( | s32 | mapID, |
s32 | encounterID ) |
Duplicate of set_defeated().
Referenced by kill_enemy().
s32 create_basic_npc | ( | NpcBlueprint * | blueprint | ) |
Referenced by create_partner_npc().
s32 create_npc_impl | ( | NpcBlueprint * | blueprint, |
AnimID * | animList, | ||
s32 | skipLoadingAnims ) |
Referenced by create_basic_npc(), create_peach_npc(), and create_standard_npc().
s32 create_peach_npc | ( | NpcBlueprint * | blueprint | ) |
Referenced by create_encounters().
s32 create_standard_npc | ( | NpcBlueprint * | blueprint, |
AnimID * | animList ) |
Referenced by create_encounters(), and peach_make_disguise_npc().
Referenced by action_update_use_tweester(), CleftAI_HidingInit(), MagikoopaAI_01(), and peach_make_disguise_npc().
Referenced by state_drawUI_battle(), and state_drawUI_world().
Referenced by state_world_draw_aux_ui().
Referenced by CleftAI_PreAmbush(), and MagikoopaAI_11().
Referenced by kill_enemy().
void free_npc_by_index | ( | s32 | listIndex | ) |
Referenced by action_update_parasol(), partner_free_npc(), and peach_force_disguise_action().
Referenced by state_step_battle(), state_step_language_select(), and state_step_pause().
Referenced by btl_state_update_end_battle().
Enemy * get_enemy | ( | s32 | npcID | ) |
Looks for an enemy matching the specified npcID.
npcID | ID of the npc bound to the desired enemy. |
Referenced by ai_enemy_play_sound(), appendGfx_score_display(), FlyingMagikoopaAI_23(), LakituAI_GetAvailableSpiny(), MagikoopaAI_23(), MagikoopaAI_CanShootSpell(), MeleeHitbox_CanSeePlayer(), ProjectileHitbox_30(), ProjectileHitbox_32(), ProjectileHitbox_GetUsableProjectileID(), SentinelAI_DescendInit(), set_npc_animation(), and UnkNpcAIFunc48().
Enemy * get_enemy_safe | ( | s32 | npcID | ) |
Same as get_enemy(), with the exception of always returning a value if an enemy is not found.
npcID | ID of the npc bound to the desired enemy. |
Npc * get_npc_by_index | ( | s32 | listIndex | ) |
Npc * get_npc_safe | ( | s32 | npcID | ) |
Referenced by resolve_npc(), sfx_play_sound_at_npc(), test_reflection_worker_partner(), unkVtxFunc001(), worker_draw_example_player(), worker_draw_fake_player(), worker_reflect_partner_all(), worker_reflect_partner_floor(), worker_reflect_partner_wall(), and worker_update_partner_reflection().
Npc * get_npc_unsafe | ( | s32 | npcID | ) |
Referenced by ai_check_player_dist(), ai_suspend_for_time(), ai_try_set_state(), AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), AvoidPlayerAI_LosePlayer(), basic_ai_chase(), basic_ai_chase_init(), basic_ai_check_player_dist(), basic_ai_found_player_jump(), basic_ai_found_player_jump_init(), basic_ai_loiter(), basic_ai_loiter_init(), basic_ai_lose_player(), basic_ai_suspend(), basic_ai_wander(), basic_ai_wander_init(), BooPatrolAI_Loiter(), BooPatrolAI_Move(), can_dismount(), check_conversation_trigger(), CleftAI_Ambush(), CleftAI_CanSeePlayer(), CleftAI_Disguise(), CleftAI_DisguiseInit(), CleftAI_FindPlayer(), CleftAI_FindPlayerInit(), CleftAI_Hiding(), CleftAI_HidingInit(), CleftAI_LosePlayer(), CleftAI_PostDisguise(), CleftAI_PreAmbush(), CleftAI_ReturnHome(), CleftAI_RevUp(), CleftAI_RevUpInit(), CleftAI_Tackle(), ClubbaNappingAI_FallAsleep(), ClubbaNappingAI_Init(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_LoiterInit(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_ReturnHomeInit(), ClubbaNappingAI_Sleep(), ClubbaNappingAI_WakeUp(), draw_encounters_pre_battle(), FlyingAI_Chase(), FlyingAI_ChaseInit(), FlyingAI_Jump(), FlyingAI_JumpInit(), FlyingAI_Loiter(), FlyingAI_LoiterInit(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingAI_WanderInit(), FlyingMagikoopaAI_10(), FlyingMagikoopaAI_11(), FlyingMagikoopaAI_15(), FlyingMagikoopaAI_16(), FlyingMagikoopaAI_17(), FlyingMagikoopaAI_20(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_22(), FlyingMagikoopaAI_23(), FlyingMagikoopaAI_24(), FlyingMagikoopaAI_50(), FlyingNoAttackAI_12(), FlyingNoAttackAI_13(), FlyingNoAttackAI_20(), func_80048F0C(), func_80240198_BC7FF8(), func_8024022C_BC808C(), func_802409E8_BD4258(), func_80240A7C_BD42EC(), get_npc_pos(), GrooveGuyAI_02(), GrooveGuyAI_03(), GuardAI_Alert(), GuardAI_AlertInit(), GuardAI_Chase(), GuardAI_ChaseInit(), GuardAI_Idle(), GuardAI_IdleInit(), GuardAI_LosePlayer(), GuardAI_ReturnHome(), GuardAI_ReturnHomeInit(), HoppingAI_Chase(), HoppingAI_ChaseInit(), HoppingAI_Hop(), HoppingAI_HopInit(), HoppingAI_Loiter(), HoppingAI_LoiterInit(), HoppingAI_LosePlayer(), kill_enemy(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_00(), MagikoopaAI_01(), MagikoopaAI_05(), MagikoopaAI_06(), MagikoopaAI_10(), MagikoopaAI_11(), MagikoopaAI_20(), MagikoopaAI_21(), MagikoopaAI_22(), MagikoopaAI_23(), MagikoopaAI_24(), MagikoopaAI_CanShootSpell(), MeleeHitbox_30(), MeleeHitbox_31(), MeleeHitbox_32(), MeleeHitbox_33(), MeleeHitbox_CanSeePlayer(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), ParatroopaAI_Reset(), ParatroopaAI_Windup(), PatrolAI_Chase(), PatrolAI_ChaseInit(), PatrolAI_Jump(), PatrolAI_JumpInit(), PatrolAI_Loiter(), PatrolAI_LoiterInit(), PatrolAI_LosePlayer(), PatrolAI_Move(), PatrolAI_MoveInit(), PatrolAI_PostLoiter(), PatrolNoAttackAI_15(), PiranhaPlantAI_00(), PiranhaPlantAI_01(), PiranhaPlantAI_10(), PiranhaPlantAI_11(), PiranhaPlantAI_12(), PiranhaPlantAI_13(), PiranhaPlantAI_LosePlayer(), ProjectileHitbox_30(), ProjectileHitbox_31(), ProjectileHitbox_32(), ProjectileHitbox_33(), ProjectileHitbox_GetUsableProjectileID(), reset_outta_sight_alpha_on_menu_close(), SentinelAI_Chase(), SentinelAI_ChaseInit(), SentinelAI_Descend(), SentinelAI_DescendInit(), SentinelAI_GrabPlayer(), SentinelAI_LosePlayer(), SentinelAI_LosePlayerInit(), SentinelAI_PostLosePlayer(), SentinelAI_ReturnHome(), SentinelAI_ReturnHomeInit(), set_script_owner_npc_anim(), set_script_owner_npc_col_height(), ShyGuyPatrolAI_14(), ShyGuyPatrolAI_15(), ShyGuyPatrolAI_16(), ShyGuyPatrolAI_17(), ShyGuyWanderAI_14(), ShyGuyWanderAI_15(), ShyGuyWanderAI_16(), ShyGuyWanderAI_17(), spawn_drops(), SpearGuyAI_Loiter(), SpearGuyAI_LoiterInit(), StoneChompAI_ChaseInit(), StoneChompAI_HopInit(), sync_player_position(), UnkDistFunc(), UnkNpcAIFunc12(), UnkNpcAIFunc48(), update_encounters_neutral(), update_encounters_post_battle(), and update_player().
Referenced by load_engine_data(), state_step_demo(), state_step_intro(), and state_step_startup().
Points the current NPC list to the world or battle lists depending on game state.
Referenced by state_step_end_battle(), state_step_exit_language_select(), and state_step_unpause().
s32 kill_encounter | ( | Enemy * | enemy | ) |
Referenced by kill_encounter(), and update_encounters_post_battle().
void make_npcs | ( | s32 | flags, |
s32 | mapID, | ||
s32 * | npcGroupList ) |
Referenced by appendGfx_npc().
Referenced by npc_reset_current_decoration().
u16 npc_blend_palette_colors | ( | u16 | colorA, |
u16 | colorB, | ||
s32 | lerpAlpha ) |
Referenced by npc_render_with_double_pal_blending(), and npc_render_with_single_pal_blending().
Referenced by update_npcs().
s32 npc_do_player_collision | ( | Npc * | npc | ) |
Referenced by update_npcs().
Referenced by partner_get_out(), partner_move_to_goal(), and update_npcs().
Referenced by appendGfx_npc().
Finds the closest NPC to a given point within a radius.
Ignores Y position.
NPCs with NPC_FLAG_PARTNER set are ignored. See also npc_find_closest_simple(), which requires that NPC_FLAG_PARTNER be set.
x | X position |
y | Y position (unused) |
z | Z position |
radius | No NPCs further than this distance will be considered |
Referenced by parasol_get_npc().
Finds the closest simple-hitbox NPC to a given point within a radius.
Ignores Y position.
Only NPCs with NPC_FLAG_PARTNER set are considered. See also npc_find_closest(), which requires that NPC_FLAG_PARTNER be unset.
x | X position |
y | Y position (unused) |
z | Z position |
radius | No NPCs further than this distance will be considered |
Referenced by entity_Tweester_idle().
s32 npc_get_collider_below | ( | Npc * | npc | ) |
Referenced by npc_find_standing_on_entity().
Referenced by appendGfx_example_player(), appendGfx_fake_player(), and appendGfx_npc().
Referenced by appendGfx_npc_blur(), npc_reload_all(), and npc_set_imgfx_params().
Iterates over the NPC list, doing absolutely nothing.
Presumably did something once upon a time but got commented out.
Referenced by step_game_loop().
Referenced by _npc_jump_to(), AvoidPlayerAI_Chase(), basic_ai_chase(), basic_ai_wander(), BooPatrolAI_Move(), CleftAI_ReturnHome(), CleftAI_Tackle(), ClubbaNappingAI_ReturnHome(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingNoAttackAI_13(), GuardAI_Chase(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_Hop(), LakituAI_Wander(), MagikoopaAI_06(), npc_follow_npc(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), partner_do_player_collision(), partner_flying_follow_player(), partner_get_out(), partner_move_to_goal(), partner_put_away(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_Move(), PiranhaPlantAI_10(), player_jump(), SentinelAI_Chase(), SentinelAI_ReturnHome(), ShyGuyPatrolAI_15(), ShyGuyPatrolAI_16(), ShyGuyWanderAI_15(), ShyGuyWanderAI_16(), UnkNpcAIFunc12(), update_riding_physics(), and update_riding_physics().
Referenced by state_step_end_battle(), state_step_exit_language_select(), and state_step_unpause().
Referenced by free_npc(), and free_npc_by_index().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration(), and npc_set_decoration().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration_impl().
Referenced by npc_remove_decoration_impl().
Referenced by npc_draw_with_palswap().
s32 npc_render_with_single_pal_blending | ( | Npc * | npc, |
s32 | yaw, | ||
s32 | hasDifferentIntervals, | ||
Matrix4f | mtx ) |
Referenced by npc_draw_with_palswap().
Referenced by npc_draw_with_palswap().
Referenced by npc_draw_with_palswap().
Referenced by clear_encounter_status(), and init_encounter_status().
Referenced by npc_reload_all().
Referenced by update_npcs().
Referenced by partner_get_out(), and update_npcs().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
Referenced by npc_update_decorations().
s32 npc_update_decorations | ( | Npc * | npc | ) |
Referenced by update_npcs().
Renders all NPCs.
Referenced by render_frame().
void spawn_cloud_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
void spawn_default_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
void spawn_flower_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
void spawn_hedge_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
void spawn_snow_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
void spawn_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
void spawn_water_surface_effects | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Referenced by spawn_surface_effects().
The default Npc::onUpdate and Npc::onRender callback.
Referenced by create_npc_impl().
Referenced by update_npcs().
Updates all NPCs.
Referenced by state_step_battle(), state_step_change_map(), state_step_enter_world(), state_step_exit_language_select(), state_step_game_over(), state_step_intro(), state_step_language_select(), state_step_logos(), state_step_pause(), state_step_title_screen(), state_step_unpause(), and state_step_world().
|
extern |
Referenced by bind_npc_ai(), bind_npc_aux(), bind_npc_interact(), btl_merlee_on_first_strike(), btl_merlee_on_start_turn(), btl_state_draw_end_battle(), btl_state_update_defeat(), btl_state_update_end_battle(), btl_state_update_end_training_battle(), btl_state_update_first_strike(), btl_state_update_normal_start(), btl_state_update_run_away(), btl_state_update_victory(), check_conversation_trigger(), clear_encounter_status(), COPY_set_defeated(), create_encounters(), draw_encounters_post_battle(), draw_encounters_pre_battle(), fio_deserialize_state(), fio_serialize_state(), func_8003E514(), func_80048F0C(), get_coin_drop_amount(), get_defeated(), get_enemy(), get_enemy_safe(), init_encounter_status(), is_starting_conversation(), kill_encounter(), kill_enemy(), load_demo_battle(), make_npcs(), set_defeated(), show_first_strike_message(), spawn_drops(), start_battle(), test_item_player_collision(), update_encounters_conversation(), update_encounters_neutral(), update_encounters_post_battle(), and update_encounters_pre_battle().