Merge pull request #380 from gamemasterplc/main
Decompile free play code
This commit is contained in:
commit
14aac066c6
7 changed files with 1269 additions and 13 deletions
|
|
@ -475,13 +475,13 @@ lbl_1_data_90 = .data:0x00000090; // type:object size:0xA scope:local data:strin
|
|||
lbl_1_data_9A = .data:0x0000009A; // type:object size:0x6 scope:local
|
||||
lbl_1_data_A0 = .data:0x000000A0; // type:object size:0x2 scope:local data:2byte
|
||||
lbl_1_data_A2 = .data:0x000000A2; // type:object size:0xE
|
||||
lbl_1_data_B0 = .data:0x000000B0; // type:object size:0x10
|
||||
lbl_1_data_B0 = .data:0x000000B0; // type:object size:0x10 data:float
|
||||
lbl_1_data_C0 = .data:0x000000C0; // type:object size:0x10
|
||||
lbl_1_data_D0 = .data:0x000000D0; // type:object size:0x6
|
||||
lbl_1_data_D6 = .data:0x000000D6; // type:object size:0xA
|
||||
lbl_1_data_E0 = .data:0x000000E0; // type:object size:0x20
|
||||
messInsertBase$836 = .data:0x000000D0; // type:object size:0x6 scope:local
|
||||
customMinNum$837 = .data:0x000000D6; // type:object size:0x8 scope:local
|
||||
lbl_1_data_E0 = .data:0x000000E0; // type:object size:0x20 data:float
|
||||
lbl_1_data_100 = .data:0x00000100; // type:object size:0x10
|
||||
lbl_1_data_110 = .data:0x00000110; // type:object size:0x10
|
||||
lbl_1_data_110 = .data:0x00000110; // type:object size:0xC
|
||||
lbl_1_data_120 = .data:0x00000120; // type:object size:0x28
|
||||
lbl_1_data_148 = .data:0x00000148; // type:object size:0x2 data:2byte
|
||||
lbl_1_data_14A = .data:0x0000014A; // type:object size:0x8
|
||||
|
|
@ -548,7 +548,7 @@ lbl_1_bss_318 = .bss:0x00000318; // type:object size:0x28 data:2byte
|
|||
lbl_1_bss_340 = .bss:0x00000340; // type:object size:0x8
|
||||
lbl_1_bss_348 = .bss:0x00000348; // type:object size:0x2 data:2byte
|
||||
lbl_1_bss_34A = .bss:0x0000034A; // type:object size:0x8 data:2byte
|
||||
lbl_1_bss_352 = .bss:0x00000352; // type:object size:0x1E
|
||||
lbl_1_bss_352 = .bss:0x00000352; // type:object size:0x1C
|
||||
lbl_1_bss_370 = .bss:0x00000370; // type:object size:0xC
|
||||
lbl_1_bss_37C = .bss:0x0000037C; // type:object size:0xC
|
||||
lbl_1_bss_388 = .bss:0x00000388; // type:object size:0x2 data:2byte
|
||||
|
|
|
|||
|
|
@ -1332,7 +1332,7 @@ config.libs = [
|
|||
objects={
|
||||
Object(Matching, "REL/executor.c"),
|
||||
Object(Matching, "REL/mgmodedll/mgmode.c"),
|
||||
Object(NonMatching, "REL/mgmodedll/free_play.c"),
|
||||
Object(Matching, "REL/mgmodedll/free_play.c"),
|
||||
Object(NonMatching, "REL/mgmodedll/record.c"),
|
||||
Object(NonMatching, "REL/mgmodedll/battle.c"),
|
||||
Object(NonMatching, "REL/mgmodedll/tictactoe.c"),
|
||||
|
|
|
|||
|
|
@ -57,9 +57,15 @@ typedef struct struct_bss8 {
|
|||
extern s16 lbl_1_bss_2C80[13];
|
||||
extern s16 lbl_1_bss_2C66[13];
|
||||
extern s16 lbl_1_bss_2C2C[29];
|
||||
extern s16 lbl_1_bss_264C[10][70];
|
||||
extern s16 lbl_1_bss_2638[10];
|
||||
extern s16 lbl_1_bss_20C0[10][70];
|
||||
extern s16 lbl_1_bss_20AC[10];
|
||||
extern s16 lbl_1_bss_2A6;
|
||||
extern s16 lbl_1_bss_2A4;
|
||||
|
||||
extern StructBss8 lbl_1_bss_8;
|
||||
extern s16 lbl_1_bss_4;
|
||||
|
||||
extern s16 lbl_1_data_A2[];
|
||||
extern DataListModel lbl_1_data_490[];
|
||||
|
|
@ -80,12 +86,13 @@ s32 fn_1_2530C(s32 arg0, s32 arg1, s32 arg2);
|
|||
void fn_1_25838(s16 arg0, u32 arg1, s32 arg2, s32 arg3);
|
||||
s32 fn_1_2592C(u32 arg0, s32 arg1, s32 arg2);
|
||||
s32 fn_1_25CA8(u32 arg0);
|
||||
void fn_1_25E74(s16 arg0);
|
||||
void fn_1_25E74(s32 arg0);
|
||||
|
||||
void fn_1_267E8(DataListModel *model_list);
|
||||
void fn_1_26A78(DataListSprite *sprite_list);
|
||||
void fn_1_26C28(void);
|
||||
|
||||
s32 fn_1_2783C(s16 evtno);
|
||||
void fn_1_279FC(s32 coinSkipF);
|
||||
|
||||
#endif
|
||||
|
|
@ -25,8 +25,8 @@ void GWBoardWinCountSet(s32 character, s32 board, s32 value);
|
|||
s32 GWMGAvailGet(s32 id);
|
||||
s32 GWMGAvailSet(s32 id);
|
||||
s32 GWMGCustomGet(s32 id);
|
||||
s32 GWMGCustomSet(s32 id);
|
||||
s32 GWMGCustomReset(s32 id);
|
||||
void GWMGCustomSet(s32 id);
|
||||
void GWMGCustomReset(s32 id);
|
||||
s16 GWCoinsGet(s32 player);
|
||||
void GWCoinsSet(s32 player, s16 value);
|
||||
void GWCoinsAdd(s32 player, s16 amount);
|
||||
|
|
|
|||
1249
src/REL/mgmodedll/free_play.c
Normal file
1249
src/REL/mgmodedll/free_play.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -201,7 +201,7 @@ void fn_1_27418(void)
|
|||
}
|
||||
}
|
||||
|
||||
void fn_1_2783C(s16 evtno)
|
||||
s32 fn_1_2783C(s16 evtno)
|
||||
{
|
||||
s16 i;
|
||||
omOvlHisData *his;
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ s32 GWMGCustomGet(s32 id)
|
|||
}
|
||||
}
|
||||
|
||||
s32 GWMGCustomSet(s32 id)
|
||||
void GWMGCustomSet(s32 id)
|
||||
{
|
||||
s32 word;
|
||||
s32 bit;
|
||||
|
|
@ -285,7 +285,7 @@ s32 GWMGCustomSet(s32 id)
|
|||
GWGameStat.mg_custom[word] |= (1 << bit);
|
||||
}
|
||||
|
||||
s32 GWMGCustomReset(s32 id)
|
||||
void GWMGCustomReset(s32 id)
|
||||
{
|
||||
s32 word;
|
||||
s32 bit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue