Decompile overlay_01_021F3D38 - #495
Conversation
| void sub_02039B7C(void); | ||
| BOOL sub_020392A0(void); | ||
| UnkStruct_ov44_0223197C* sub_020396FC(SaveData*, int); | ||
| UnkStruct_ov44_0223197C *sub_020396FC(SaveData *, int); |
There was a problem hiding this comment.
| UnkStruct_ov44_0223197C *sub_020396FC(SaveData *, int); | |
| UnkStruct_ov44_0223197C *sub_020396FC(SaveData *saveData, int arg1); |
| struct { | ||
| const s16 *screenOffsets; | ||
| void *unk8; | ||
| const TouchscreenHitbox *unk8; |
There was a problem hiding this comment.
| const TouchscreenHitbox *unk8; | |
| const TouchscreenHitbox *touchscreenHitbox; |
Will need to be changed in the corresponding c file as well.
| void ov42_022279FC(UnkStruct_ov42_02227060 *arg0, s32 arg1, enum HeapID heapID); | ||
| void ov42_02227B04(UnkStruct_ov42_02227060 *arg0); | ||
| s32 ov42_02227B5C(SpriteResource **arg0); | ||
| BOOL ov42_02227B5C(SpriteResource **arg0); |
There was a problem hiding this comment.
| BOOL ov42_02227B5C(SpriteResource **arg0); | |
| BOOL ov42_02227B5C(SpriteResource **spriteResources); |
or is it pSpriteResource?
| static BOOL Task_BugContestEncounter(TaskManager *taskManager); | ||
| static BOOL Task_TutorialBattle(TaskManager *taskManager); | ||
| static u32 sub_02051474(void *param0, u32 battleType); | ||
| static u32 sub_02051474(LinkBattleRuleset *param0, u32 battleType); |
There was a problem hiding this comment.
| static u32 sub_02051474(LinkBattleRuleset *param0, u32 battleType); | |
| static u32 sub_02051474(LinkBattleRuleset *ruleset, u32 battleType); |
| } | ||
|
|
||
| static u32 sub_02051474(void *param0, u32 battleType) { | ||
| static u32 sub_02051474(LinkBattleRuleset *param0, u32 battleType) { |
There was a problem hiding this comment.
| static u32 sub_02051474(LinkBattleRuleset *param0, u32 battleType) { | |
| static u32 sub_02051474(LinkBattleRuleset *ruleset, u32 battleType) { |
| ov42_02228F94(arg0->unk6EC); | ||
| } | ||
|
|
||
| void ov44_02232248(UnkStruct_ov44_02232DA0 *arg0, enum HeapID arg1, NARC *arg2, s32 arg3) { |
There was a problem hiding this comment.
| void ov44_02232248(UnkStruct_ov44_02232DA0 *arg0, enum HeapID arg1, NARC *arg2, s32 arg3) { | |
| void ov44_02232248(UnkStruct_ov44_02232DA0 *arg0, enum HeapID heapID, NARC *narc_unused, s32 offset) { |
Needs to be changed in the corresponding header file as well.
| }; | ||
|
|
||
| sp0.fileId += arg3; | ||
| arg0->unk6F4 = ov42_022293B8(&arg0->unk14.unk4, arg0->unk10, &sp0, arg1); |
There was a problem hiding this comment.
| arg0->unk6F4 = ov42_022293B8(&arg0->unk14.unk4, arg0->unk10, &sp0, arg1); | |
| arg0->unk6F4 = ov42_022293B8(&arg0->unk14.unk4, arg0->unk10, &sp0, heapID); |
| .compressed = FALSE, | ||
| }; | ||
|
|
||
| sp0.fileId += arg3; |
There was a problem hiding this comment.
| sp0.fileId += arg3; | |
| sp0.fileId += offset; |
| u8 DialogBox_PrintMessage(Window *window, String *string, Options *options, BOOL speedupFlag); | ||
| u32 DialogBox_PrintMessageEx(Window *window, String *message, FontID fontId, u32 textSpeed, u8 speedUpEnabled, u32 autoScrollParam); | ||
| u8 DialogBox_IsPrintFinished(u8 printerId); | ||
| void DialogBox_AddWindowToLayer3WithXOffset(BgConfig *bgConfig, Window *window, u8 a2, GFBgLayer a3); |
There was a problem hiding this comment.
| void DialogBox_AddWindowToLayer3WithXOffset(BgConfig *bgConfig, Window *window, u8 a2, GFBgLayer a3); | |
| void DialogBox_AddWindowToLayer3WithXOffset(BgConfig *bgConfig, Window *window, u8 type, GFBgLayer layer); |
Pixelstyx
left a comment
There was a problem hiding this comment.
Forgot to actually give this a thumbs-up, I did the review earlier and didn't click submit.
adrienntindall
left a comment
There was a problem hiding this comment.
One small thing that might be a bigger thing unless I misunderstood something
| BOOL SetSignpostMap(ScriptContext *ctx); | ||
| BOOL SetSignpostAction(ScriptContext *ctx); | ||
| BOOL WaitSignpostAction(ScriptContext *ctx); | ||
| BOOL ScrCmd_TrainerTips(ScriptContext *ctx); | ||
| BOOL ScrCmd_060(ScriptContext *ctx); | ||
| BOOL WaitSignpost(ScriptContext *ctx); |
There was a problem hiding this comment.
Add ScrCmd_ prefixes back
There was a problem hiding this comment.
Wait these are also defined in script_cmd_table.h, why do we have them twice?
There was a problem hiding this comment.
...huh. never acknowledged that include/scrcmd.h existed. fixed.
adrienntindall
left a comment
There was a problem hiding this comment.
Will merge on resolution of conflicts
Must come after #490
Must come before #493
PR checklist
make compare_heartgold && make compare_soulsilver).git clang-format).