Alchemy
Loading...
Searching...
No Matches

BattleLinkedActionState Struct Reference

The header a link battle sends before its actions: how many there are, the next random number to check the consoles agree, and the parent's random seed for the round. More...

Data Fields

s32 count
 actions that follow the header
s32 check
 the parent's next BattleRandomFar; the child checks its own
s32 seed
 the parent's gRandomSeed, the round's battle seed
u8 unused [28]
 padding; a header packet carries only the first 20 bytes

Detailed Description

The header a link battle sends before its actions: how many there are, the next random number to check the consoles agree, and the parent's random seed for the round.

Definition at line 370 of file round.c.

Field Documentation

◆ count

s32 BattleLinkedActionState::count

actions that follow the header

Definition at line 371 of file round.c.

Referenced by BattlePresentation_AppendLinkedActions().

◆ check

s32 BattleLinkedActionState::check

the parent's next BattleRandomFar; the child checks its own

Definition at line 372 of file round.c.

Referenced by BattlePresentation_AppendLinkedActions().

◆ seed

s32 BattleLinkedActionState::seed

the parent's gRandomSeed, the round's battle seed

Definition at line 373 of file round.c.

Referenced by BattlePresentation_AppendLinkedActions().

◆ unused

u8 BattleLinkedActionState::unused[28]

padding; a header packet carries only the first 20 bytes

Definition at line 374 of file round.c.