fopScnRq_phase_Done OK

This commit is contained in:
Pheenoh
2021-03-20 19:17:27 -04:00
parent 635d57f7f0
commit ac90ba1c85
7 changed files with 27 additions and 20 deletions
+8 -10
View File
@@ -2,7 +2,7 @@
#include "f/f_op/f_op_scene_req.h"
#include "f/f_op/f_op_overlap_mng.h"
#include "f/f_pc/f_pc_node_req.h"
#include "f/f_pc/f_pc_executor.h"
#include "global.h"
// additional symbols needed for f_op_scene_req.cpp
@@ -43,7 +43,7 @@ void func_8001EFB0(void);
// additional symbols needed for f_op_scene_req.cpp
// autogenerated by split.py v0.4 at 2021-03-20 21:43:05.095976
extern u8 lbl_803A38C8;
extern u8 lbl_80450CE0;
extern u32 l_fopScnRq_IsUsingOfOverlap;
scene_request_class* fopScnRq_phase_ClearOverlap(scene_request_class* pScnRq) {
pScnRq = 0;
@@ -82,14 +82,12 @@ scene_request_class* fopScnRq_phase_IsDoneOverlap(scene_request_class* pScnRq) {
return pScnRq;
}
// asm void fopScnRq_phase_IsDoneOverlap(scene_request_class*) {
// nofralloc
// #include "f/f_op/f_op_scene_req/asm/func_8001EEB4.s"
// }
asm void fopScnRq_phase_Done(scene_request_class*) {
nofralloc
#include "f/f_op/f_op_scene_req/asm/func_8001EEE4.s"
int fopScnRq_phase_Done(scene_request_class* pScnRq) {
if (pScnRq->mCrtReq.mParameter != 1) {
fopScnPause_Disable((scene_class*)fpcEx_SearchByID(pScnRq->mCrtReq.mCreatingID));
}
l_fopScnRq_IsUsingOfOverlap = 0;
return 2;
}
asm void fopScnRq_Execute(scene_request_class*) {