fopScnRq_FadeRequest OK

This commit is contained in:
Pheenoh 2021-03-20 20:31:57 -04:00
parent f5e3ba0868
commit 0911cb0e2c
No known key found for this signature in database
GPG Key ID: 4312662758CE7D5A
1 changed files with 9 additions and 4 deletions

View File

@ -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 u32 l_fopScnRq_IsUsingOfOverlap;
extern int l_fopScnRq_IsUsingOfOverlap;
scene_request_class* fopScnRq_phase_ClearOverlap(scene_request_class* pScnRq) {
pScnRq = 0;
@ -116,9 +116,14 @@ int fopScnRq_Cancel(scene_request_class* pScnRq) {
return 1;
}
asm void fopScnRq_FadeRequest(s16, u16) {
nofralloc
#include "f/f_op/f_op_scene_req/asm/func_8001EFF0.s"
request_base_class* fopScnRq_FadeRequest(s16 param_1, u16 param_2) {
request_base_class* tmp = 0;
if (l_fopScnRq_IsUsingOfOverlap == 0 && (tmp = fopOvlpM_Request(param_1,param_2), tmp != 0)) {
l_fopScnRq_IsUsingOfOverlap = 1;
}
return tmp;
}
asm u32 fopScnRq_Request(int, scene_class*, s16, void*, s16, u16) {