Skip to Content
The Alchemy Project

struct TRIAL_ROAD_STATE

Trial Road's progress, kept in the inventory snapshot while the trial runs.

Declared in trial_road.h.

Fields

NameDescription
Sint16order [8]the dealt stage patterns, two to a stage
Sint16pattern
Sint16mirrored
Sint16rivalTimerticks the rival has spent at its current chest
Sint16stage [2]the stages the leader (0) and the rival (1) are on
Sint16leaderBestthe furthest stage the leader has reached
Sint16rivalBestthe furthest stage the rival has reached

Description

Trial Road's progress, kept in the inventory snapshot while the trial runs.

struct TRIAL_ROAD_STATE

Referenced by scPrepareMap(), scTrialRoadGetStage(), scTrialRoadOpenChests(), scTrialRoadPutItemInChest(), scTrialRoadRivalIsAhead(), scTrialRoadTakeStairs() and scTrialRoadUpdateRival().

Definition at line 16 of file trial_road.h.

Fields in detail

order

Sint16 order[8]

the dealt stage patterns, two to a stage

pattern

Sint16 pattern

mirrored

Sint16 mirrored

rivalTimer

Sint16 rivalTimer

ticks the rival has spent at its current chest

stage

Sint16 stage[2]

the stages the leader (0) and the rival (1) are on

leaderBest

Sint16 leaderBest

the furthest stage the leader has reached

rivalBest

Sint16 rivalBest

the furthest stage the rival has reached