Alchemy
Loading...
Searching...
No Matches

tables.h File Reference

The Lucky Dice minigame's tables, after LuckyDice_Run in both games. More...

Go to the source code of this file.

Variables

const s32 gLuckyDice_UnusedSigns [] = {-1, 1, -1, 1, -1, -1, 1, 1}
const u8 gLuckyDice_LabelCounts [] = {5, 4, 3, 3}
 How many sprites each kind of result's lettering takes.
const u8 gLuckyDice_LabelTiles []
 The first tile of each kind of result's lettering.
const u8 gLuckyDice_FaceTiles []
 The die face tile at each step of its roll.
const s16 gLuckyDice_FaceHeights [] = {147, 80, 15, -42, -95, -32767}
 The heights that decide the face (z > value << 16).

Detailed Description

The Lucky Dice minigame's tables, after LuckyDice_Run in both games.

Definition in file tables.h.

Variable Documentation

◆ gLuckyDice_UnusedSigns

const s32 gLuckyDice_UnusedSigns[] = {-1, 1, -1, 1, -1, -1, 1, 1}

Definition at line 6 of file tables.h.

◆ gLuckyDice_LabelCounts

const u8 gLuckyDice_LabelCounts[] = {5, 4, 3, 3}

How many sprites each kind of result's lettering takes.

Definition at line 9 of file tables.h.

Referenced by LuckyDice_Run().

◆ gLuckyDice_LabelTiles

const u8 gLuckyDice_LabelTiles[]
Initial value:
= {
28, 48, 64, 76,
28, 248, 64,
248,
}

The first tile of each kind of result's lettering.

Definition at line 12 of file tables.h.

Referenced by LuckyDice_Run().

◆ gLuckyDice_FaceTiles

const u8 gLuckyDice_FaceTiles[]
Initial value:
= {0, 12, 16, 1, 14, 8, 2, 15, 10,
3, 9, 13, 4, 7, 6, 5, 17, 11}

The die face tile at each step of its roll.

Definition at line 21 of file tables.h.

Referenced by LuckyDice_Run().

◆ gLuckyDice_FaceHeights

const s16 gLuckyDice_FaceHeights[] = {147, 80, 15, -42, -95, -32767}

The heights that decide the face (z > value << 16).

Definition at line 25 of file tables.h.

Referenced by LuckyDice_Run().