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