Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
cardgame_2.c
Go to the documentation of this file.
1/* CARDGAME's second object's data. */
2
4
5/* three sets of four positions, then the same moved for SHIFT_PAL_SCREEN */
7 {
8 {{0x82, 0xD4}, {0x82, 0x67}, {0x82, 0xBF}, {0xFD, 0xBF}},
9 {{0x82, 0x1D}, {0x82, 0x61}, {0x82, 0x08}, {0xFD, 0x08}},
10 {{0x82, 0xA5}, {0x86, 0x31}, {0x82, 0x90}, {0xFD, 0x90}},
11 },
12 {
13 {{0x82, 0xE0}, {0x82, 0x73}, {0x82, 0xCB}, {0xFD, 0xCB}},
14 {{0x82, 0x11}, {0x82, 0x55}, {0x82, -4}, {0xFD, -4}},
15 {{0x82, 0xA5}, {0x86, 0x31}, {0x82, 0x90}, {0xFD, 0x90}},
16 },
17};
19 0, 6, 12, 0,
20};
21CardBattleStep CARDGAME_windowSteps[] = {{0, 0}, {4, 1}, {8, 2}, {-1, 3}};
23 {0x01, 0x02}, {0x03, 0x04}, {0x05, 0x06}, {0x07, 0x08},
24 {0x09, 0x0A}, {0x0B, 0x0C}, {0x1F, 0x3E}, {0x0B, 0x0C},
25};
26s32 CARDGAME_coinCardPositions[][2] = {{0x7400, 0x6100}, {0xA400, 0x6100}};
27s32 CARDGAME_rowSteps[] = {5, 6, 7, 0};
29 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080,
30};
31s32 CARDGAME_discardPositions[][2] = {{0x11400, 28416}, {0x11400, 22016}};
32s32 CARDGAME_recordCardPositions[][2] = {{20736, 24832}, {33536, 24832}, {46336, 24832}};
33s16 CARDGAME_cardWindowPositions[2][2][2] = {{{0x82, 0xBF}, {0x82, 0x1D}}, {{0x82, 0xCB}, {0x82, 0x11}}};
CARDGAME.PRO: the card battle (mode 0x700).
s32 CARDGAME_coinCardPositions[][2]
the two cards' x, y (CARDGAME_startFirstPick)
Definition cardgame_2.c:26
s16 CARDGAME_stepWindowPositions[2][3][4][2]
three sets of four positions, then the same moved for SHIFT_PAL_SCREEN
Definition cardgame_2.c:6
u8 CARDGAME_stepMessages[][2]
CARDGAME_startStepMessage's text for window 5 and what screen->openMessage shows, by message.
Definition cardgame_2.c:22
s32 CARDGAME_recordCardPositions[][2]
where card 15 goes, by CardRecord.playCount
Definition cardgame_2.c:32
s16 CARDGAME_colorFlags[]
a flag bit per card colour
Definition cardgame_2.c:28
s32 CARDGAME_rowSteps[]
the step of each row of CARDGAME_viewTable
Definition cardgame_2.c:27
s32 CARDGAME_rowSpriteOffsets[]
the sprite offset of each row of CARDGAME_viewTable
Definition cardgame_2.c:18
s32 CARDGAME_discardPositions[][2]
x, y per side
Definition cardgame_2.c:31
s16 CARDGAME_cardWindowPositions[2][2][2]
two positions, then the same moved for SHIFT_PAL_SCREEN
Definition cardgame_2.c:33
CardBattleStep CARDGAME_windowSteps[]
Definition cardgame_2.c:21
signed int s32
Definition common.h:11
signed short s16
Definition common.h:9
unsigned char u8
Definition common.h:8
A step of CARDGAME_windowSteps: once its time is past, CARDGAME_openStepWindows opens windows.
Definition choice.h:13