Skip to Content
The Alchemy Project

include/battle/battle_random.h

The battle's own random numbers, which a link battle keeps in step on both consoles.

Included by battle_internal.h.

Macros

NameDescription
#defineSET_RANDOM_SEED (seed)Sets BattleRandomSeed, as the battle's writes to it do: a new battle's 0 and the seed a link turn exchanges.

Description

The battle's own random numbers, which a link battle keeps in step on both consoles.

Macros in detail

SET_RANDOM_SEED

#define SET_RANDOM_SEED(seed)

Sets BattleRandomSeed, as the battle's writes to it do: a new battle's 0 and the seed a link turn exchanges.

Referenced by btAppendLinkedActions() and btRun().

Definition at line 13 of file battle_random.h.