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

A counterattack (FIGHTSTG_startCounterattack) 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 Counterattack *task, s32 state)
 
void(* setSubstate )(struct Counterattack *task, s32 substate)
 
void(* setStep )(struct Counterattack *task, s32 step)
 
void(* setCounter )(struct Counterattack *task, s32 counter)
 
void(* nextState )(struct Counterattack *task)
 
void(* nextSubstate )(struct Counterattack *task)
 
void(* nextStep )(struct Counterattack *task)
 
void(* tickCounter )(struct Counterattack *task)
 
void(* update )()
 
void(* destroy )(struct Counterattack *task)
 
s32 lines [8]
 FIGHTSTG_updateMessage's.
 
u8 side
 the side that counters, 0 or 0x10
 
s32 received
 the damage it answers, 0 for none
 
s32 tech
 
s32 hit
 whether the technique hits (FIGHTSTG_battleFuncs.rollHit)
 
s32 damage
 
s32 noKnockOutEvent
 a knockout doesn't call FIGHTSTG_queueKnockOut
 
s32 pad
 never read or written: createTask allocates 0x8C bytes
 

Detailed Description

A counterattack (FIGHTSTG_startCounterattack)

Definition at line 99 of file action.h.

Field Documentation

◆ id

s32 Counterattack::id

Definition at line 100 of file action.h.

◆ key1

s32 Counterattack::key1

Definition at line 100 of file action.h.

◆ key2

s32 Counterattack::key2

Definition at line 100 of file action.h.

◆ state

s32 Counterattack::state

Definition at line 100 of file action.h.

Referenced by FIGHTSTG_updateCounterattack().

◆ substate

s32 Counterattack::substate

Definition at line 100 of file action.h.

Referenced by FIGHTSTG_updateCounterattack().

◆ step

s32 Counterattack::step

Definition at line 100 of file action.h.

◆ counter

s32 Counterattack::counter

Definition at line 100 of file action.h.

◆ paused

s32 Counterattack::paused

Definition at line 100 of file action.h.

◆ childCount

s32 Counterattack::childCount

Definition at line 100 of file action.h.

◆ children

void* Counterattack::children

Definition at line 100 of file action.h.

◆ setState

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

Definition at line 100 of file action.h.

◆ setSubstate

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

Definition at line 100 of file action.h.

◆ setStep

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

Definition at line 100 of file action.h.

◆ setCounter

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

Definition at line 100 of file action.h.

◆ nextState

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

Definition at line 100 of file action.h.

Referenced by FIGHTSTG_updateCounterattack().

◆ nextSubstate

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

Definition at line 100 of file action.h.

◆ nextStep

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

Definition at line 100 of file action.h.

◆ tickCounter

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

Definition at line 100 of file action.h.

◆ update

void(* Counterattack::update) ()

Definition at line 100 of file action.h.

◆ destroy

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

Definition at line 100 of file action.h.

◆ lines

s32 Counterattack::lines[8]

FIGHTSTG_updateMessage's.

Definition at line 101 of file action.h.

Referenced by FIGHTSTG_updateCounterattack(), and showCounterResult().

◆ side

u8 Counterattack::side

the side that counters, 0 or 0x10

Definition at line 102 of file action.h.

Referenced by FIGHTSTG_startCounterattack(), FIGHTSTG_updateCounterattack(), playCounterTech(), and showCounterResult().

◆ received

s32 Counterattack::received

the damage it answers, 0 for none

Definition at line 103 of file action.h.

Referenced by FIGHTSTG_startCounterattack(), and FIGHTSTG_updateCounterattack().

◆ tech

s32 Counterattack::tech

Definition at line 104 of file action.h.

Referenced by FIGHTSTG_updateCounterattack(), and playCounterTech().

◆ hit

s32 Counterattack::hit

whether the technique hits (FIGHTSTG_battleFuncs.rollHit)

Definition at line 105 of file action.h.

Referenced by FIGHTSTG_updateCounterattack(), playCounterTech(), and showCounterResult().

◆ damage

s32 Counterattack::damage

Definition at line 106 of file action.h.

Referenced by FIGHTSTG_updateCounterattack(), playCounterTech(), and showCounterResult().

◆ noKnockOutEvent

s32 Counterattack::noKnockOutEvent

a knockout doesn't call FIGHTSTG_queueKnockOut

Definition at line 107 of file action.h.

Referenced by FIGHTSTG_startCounterattack(), and showCounterResult().

◆ pad

s32 Counterattack::pad

never read or written: createTask allocates 0x8C bytes

Definition at line 108 of file action.h.


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