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

Functions

s32 has_enchanted_part (Actor *actor)
 
void dispatch_event_general (Actor *actor, s32 event)
 
void play_hit_sound (Actor *actor, f32 x, f32 y, f32 z, u32 hitSound)
 
void dispatch_event_actor (Actor *actor, s32 event)
 
HitResult calc_enemy_test_target (Actor *actor)
 
HitResult calc_enemy_damage_target (Actor *attacker)
 
s32 dispatch_damage_event_actor (Actor *actor, s32 damageAmount, s32 originalEvent, s32 stopMotion)
 
s32 dispatch_damage_event_actor_0 (Actor *actor, s32 damageAmount, s32 event)
 
s32 dispatch_damage_event_actor_1 (Actor *actor, s32 damageAmount, s32 event)
 
f32 update_lerp_battle (s32 easing, f32 start, f32 end, s32 elapsed, s32 duration)
 

Variables

s32 StarPointMultiplier []
 Star Point multiplier, indexed by actor count.
 

Function Documentation

◆ calc_enemy_damage_target()

HitResult calc_enemy_damage_target ( Actor * attacker)
Bug
? repeated paralyze and dizzy infliction

◆ calc_enemy_test_target()

HitResult calc_enemy_test_target ( Actor * actor)

◆ dispatch_damage_event_actor()

s32 dispatch_damage_event_actor ( Actor * actor,
s32 damageAmount,
s32 originalEvent,
s32 stopMotion )

◆ dispatch_damage_event_actor_0()

s32 dispatch_damage_event_actor_0 ( Actor * actor,
s32 damageAmount,
s32 event )

Referenced by btl_state_update_9().

◆ dispatch_damage_event_actor_1()

s32 dispatch_damage_event_actor_1 ( Actor * actor,
s32 damageAmount,
s32 event )

◆ dispatch_event_actor()

◆ dispatch_event_general()

void dispatch_event_general ( Actor * actor,
s32 event )

◆ has_enchanted_part()

s32 has_enchanted_part ( Actor * actor)

◆ play_hit_sound()

void play_hit_sound ( Actor * actor,
f32 x,
f32 y,
f32 z,
u32 hitSound )

◆ update_lerp_battle()

f32 update_lerp_battle ( s32 easing,
f32 start,
f32 end,
s32 elapsed,
s32 duration )

Variable Documentation

◆ StarPointMultiplier

s32 StarPointMultiplier[]
Initial value:
= {
100, 100, 100,
110,
130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
}

Star Point multiplier, indexed by actor count.

+10% multiplier for three actors +30% multiplier for four or more actors