Alchemy
Loading...
Searching...
No Matches

SceneInteractionEntry Struct Reference

A rule choosing a scene's field music (gScene_InteractionRuleTable, scene_rules.s), ended by id -1. More...

Data Fields

s16 id
 a scene, or a scene group
s16 entrance: 15
 -1 for any entrance
u16 idIsScene: 1
 1 when id is a scene, 0 when it is a group
s16 flag
 -1, or a flag that must be set
s16 music

Detailed Description

A rule choosing a scene's field music (gScene_InteractionRuleTable, scene_rules.s), ended by id -1.

Definition at line 265 of file encounter.c.

Field Documentation

◆ id

s16 SceneInteractionEntry::id

a scene, or a scene group

Definition at line 266 of file encounter.c.

Referenced by Scene_ResolveInteractionResult().

◆ entrance

s16 SceneInteractionEntry::entrance

-1 for any entrance

Definition at line 267 of file encounter.c.

Referenced by Scene_ResolveInteractionResult().

◆ idIsScene

u16 SceneInteractionEntry::idIsScene

1 when id is a scene, 0 when it is a group

Definition at line 268 of file encounter.c.

Referenced by Scene_ResolveInteractionResult().

◆ flag

s16 SceneInteractionEntry::flag

-1, or a flag that must be set

Definition at line 269 of file encounter.c.

Referenced by Scene_ResolveInteractionResult().

◆ music

s16 SceneInteractionEntry::music

Definition at line 270 of file encounter.c.

Referenced by Scene_ResolveInteractionResult().