Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
EnemyAttack Struct Reference

FIGHTSTG_updateEnemyAttack's task (FIGHTSTG_startEnemyAttack): an attack on the player's active fighter, as state kind + 1. More...

#include <battle/battle_mode/action.h>

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct EnemyAttack *task, s32 state)
 
void(* setSubstate )(struct EnemyAttack *task, s32 substate)
 
void(* setStep )(struct EnemyAttack *task, s32 step)
 
void(* setCounter )(struct EnemyAttack *task, s32 counter)
 
void(* nextState )(struct EnemyAttack *task)
 
void(* nextSubstate )(struct EnemyAttack *task)
 
void(* nextStep )(struct EnemyAttack *task)
 
void(* tickCounter )(struct EnemyAttack *task)
 
void(* update )()
 
void(* destroy )(struct EnemyAttack *task)
 
s32 lines [4]
 FIGHTSTG_updateMessage's.
 
s32 resetIdleMotion
 the weakness ended: WFIGHTMN_setIdleMotion once the technique starts
 
u8 pad [0xC]
 never read or written
 
s32 tech
 the technique
 
s32 kind
 0 the enemy's technique, 1 another attack
 
s32 noKnockout
 don't knock the fighter out at 0 HP
 
s32 asleep
 the fighter was asleep
 

Detailed Description

FIGHTSTG_updateEnemyAttack's task (FIGHTSTG_startEnemyAttack): an attack on the player's active fighter, as state kind + 1.

Definition at line 79 of file action.h.

Field Documentation

◆ id

s32 EnemyAttack::id

Definition at line 80 of file action.h.

◆ key1

s32 EnemyAttack::key1

Definition at line 80 of file action.h.

◆ key2

s32 EnemyAttack::key2

Definition at line 80 of file action.h.

◆ state

s32 EnemyAttack::state

Definition at line 80 of file action.h.

Referenced by FIGHTSTG_updateEnemyAttack().

◆ substate

s32 EnemyAttack::substate

Definition at line 80 of file action.h.

Referenced by FIGHTSTG_updateEnemyAttack().

◆ step

s32 EnemyAttack::step

Definition at line 80 of file action.h.

◆ counter

s32 EnemyAttack::counter

Definition at line 80 of file action.h.

◆ paused

s32 EnemyAttack::paused

Definition at line 80 of file action.h.

◆ childCount

s32 EnemyAttack::childCount

Definition at line 80 of file action.h.

◆ children

void* EnemyAttack::children

Definition at line 80 of file action.h.

◆ setState

void(* EnemyAttack::setState) (struct EnemyAttack *task, s32 state)

Definition at line 80 of file action.h.

Referenced by announceEnemyTech(), and FIGHTSTG_updateEnemyAttack().

◆ setSubstate

void(* EnemyAttack::setSubstate) (struct EnemyAttack *task, s32 substate)

Definition at line 80 of file action.h.

◆ setStep

void(* EnemyAttack::setStep) (struct EnemyAttack *task, s32 step)

Definition at line 80 of file action.h.

◆ setCounter

void(* EnemyAttack::setCounter) (struct EnemyAttack *task, s32 counter)

Definition at line 80 of file action.h.

◆ nextState

void(* EnemyAttack::nextState) (struct EnemyAttack *task)

Definition at line 80 of file action.h.

◆ nextSubstate

void(* EnemyAttack::nextSubstate) (struct EnemyAttack *task)

Definition at line 80 of file action.h.

◆ nextStep

void(* EnemyAttack::nextStep) (struct EnemyAttack *task)

Definition at line 80 of file action.h.

◆ tickCounter

void(* EnemyAttack::tickCounter) (struct EnemyAttack *task)

Definition at line 80 of file action.h.

◆ update

void(* EnemyAttack::update) ()

Definition at line 80 of file action.h.

◆ destroy

void(* EnemyAttack::destroy) (struct EnemyAttack *task)

Definition at line 80 of file action.h.

◆ lines

s32 EnemyAttack::lines[4]

FIGHTSTG_updateMessage's.

Definition at line 81 of file action.h.

Referenced by announceEnemyTech(), damagePlayer(), FIGHTSTG_updateEnemyAttack(), showOtherAttackResult(), and wakePlayerUp().

◆ resetIdleMotion

s32 EnemyAttack::resetIdleMotion

the weakness ended: WFIGHTMN_setIdleMotion once the technique starts

Definition at line 82 of file action.h.

Referenced by announceEnemyTech(), and FIGHTSTG_updateEnemyAttack().

◆ pad

u8 EnemyAttack::pad[0xC]

never read or written

Definition at line 83 of file action.h.

◆ tech

s32 EnemyAttack::tech

the technique

Definition at line 84 of file action.h.

Referenced by announceEnemyTech(), and FIGHTSTG_updateEnemyAttack().

◆ kind

s32 EnemyAttack::kind

0 the enemy's technique, 1 another attack

Definition at line 85 of file action.h.

Referenced by FIGHTSTG_startEnemyAttack(), and FIGHTSTG_updateEnemyAttack().

◆ noKnockout

s32 EnemyAttack::noKnockout

don't knock the fighter out at 0 HP

Definition at line 86 of file action.h.

Referenced by FIGHTSTG_startEnemyAttack(), and showOtherAttackResult().

◆ asleep

s32 EnemyAttack::asleep

the fighter was asleep

Definition at line 87 of file action.h.

Referenced by announceEnemyTech(), and FIGHTSTG_updateEnemyAttack().


The documentation for this struct was generated from the following file: