fork/training-mode-ce

git clone https://git.julia.blue/fork/training-mode-ce

UnclePunchadd mextk975cbb5

master
3.1 KiB98 linesraw
1#ifndef MEX_H_RESULT
2#define MEX_H_RESULT
3
4#include "structs.h"
5#include "datatypes.h"
6
7struct RstPlayer
8{
9    u8 type;           // x0 (0x00 is HMN, 0x01 is CPU, 0x02 is Demo, 0x03 n/a)
10    u8 ext_id;         // x1 (external fighter id)
11    u8 kind;           // x2 internal id
12    u8 costume : 6;    // x3 costume id
13    u8 is_rumble : 1;  // x3 rumble flag
14    u8 is_stamina : 1; // x3 stamina flag
15    u8 nametag;        // x4 nametag index
16    u8 x5;             // x5
17    u8 x6;             // x6
18    u8 team;           // x7 team id
19    u8 stock_num;      // x8 remaining stocks
20    u8 hp;             // x9 remaining hp
21    u8 sd_num;         // xa times self destructed
22    u8 fall_num;       // xb times died
23    u16 dmg_num;       // unk
24    u16 xe;            // absolutely dont know, takes stick inputs and scene into account??
25    int x10;           // unk
26    int x14;           // unk
27    int x18;           // unk
28    int coins;         // x1c
29    int x20;           // unk
30    int x24;           // unk
31    int frames_alive;  // unk
32    int x2c;           // unk
33    int x30;           // unk
34    int x34;           // unk
35    int hits_landed;   // x38
36    int attack_num;    // x3c total attacks
37    int x40;           // unk
38    int x44;           // unk
39    int x48;           // unk
40    int x4c;           // unk
41    int x50;           // unk
42    int x54;           // unk
43    int x58;           // unk
44    int x5c;           // unk
45    int x60;           // unk
46    int x64;           // unk
47    int x68;           // unk
48    int x6c;           // unk
49    int x70;           // unk
50    int x74;           // unk
51    int x78;           // unk
52    int x7c;           // unk
53    int x80;           // unk
54    int x84;           // unk
55    int x88;           // unk
56    int ledgegrab_num; // x8c
57    int x90;           // unk
58    int x94;           // unk
59    int x98;           // unk
60    int x9c;           // unk
61    int xa0;           // unk
62    int xa4;           // unk
63};
64
65struct RstInit
66{
67    int x0;
68    u8 end_kind;          // how the match ended. (0x2 = GAME!, 0x1 = TIME!, and 0x7 = no contest)
69    u8 x5;                // unk
70    u8 match_kind;        // 0 = ffa, 1 = teams
71    int match_frames;     // how many frames passed in the match
72    u8 xc;                // unk
73    u8 winner_num;        // is greater than 1 when a tie occurs
74    u8 placings[4];       // array of player indices in order of placement
75    int x10;              // unk
76    int x14;              // unk
77    int x18;              // unk
78    int x1c;              // unk, totals up 0x88 of rstplayer
79    u8 x20;               // unk
80    u8 x21;               // unk
81    u8 x22;               // unk
82    u8 x23;               // unk
83    int x24;              // unk
84    int x28;              // unk
85    int x2c;              // unk
86    int x30;              // unk
87    int x34;              // unk
88    int x38;              // unk
89    int x3c;              // unk
90    int x40;              // unk
91    int x44;              // unk
92    int x48;              // unk
93    int x4c;              // unk
94    int x50;              // unk
95    RstPlayer players[6]; // unk
96};
97
98#endif