Skip to Content
The Alchemy Project

struct MIND_READ_STATE

The HEAP_SLOT_MIND_READ heap slot (MindReadStateWork), 664 bytes.

Declared in script_commands_mind_read.c.

Fields

NameDescription
Uint16lines [2][162]scanline BG0 x-scroll (pixels), 2 pages written in turn; 160/162 used
Uint16phasethe wave's phase, 4 more a tick
Uint8pagethe page shown (the HBlank DMA's); the other is written
Sint8redthe hue as a colour (red, green, blue, 4 to 11
Sint8greeneach)
Sint8blue
Uint16huehue, 0 to 359 degrees
Uint16srcIdthe caster's actor id
Uint16targetIdthe target's actor id
Uint8delayticks before it starts
Uint8countparticle spawn cycle (0 to 60)

Description

The HEAP_SLOT_MIND_READ heap slot (MindReadStateWork), 664 bytes.

struct MIND_READ_STATE

Referenced by fdMindReadAdvanceTint(), fdMindReadStartRipple(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave() and fdPsynergyUpdateMindReadWave().

Definition at line 22 of file script_commands_mind_read.c.

Fields in detail

lines

Uint16 lines[2][162]

scanline BG0 x-scroll (pixels), 2 pages written in turn; 160/162 used

phase

Uint16 phase

the wave's phase, 4 more a tick

page

Uint8 page

the page shown (the HBlank DMA's); the other is written

red

Sint8 red

the hue as a colour (red, green, blue, 4 to 11

green

Sint8 green

each)

blue

Sint8 blue

hue

Uint16 hue

hue, 0 to 359 degrees

srcId

Uint16 srcId

the caster's actor id

targetId

Uint16 targetId

the target's actor id

delay

Uint8 delay

ticks before it starts

count

Uint8 count

particle spawn cycle (0 to 60)