mirror of https://github.com/zeldaret/tp.git
fopScnRq_FadeRequest OK
This commit is contained in:
parent
f5e3ba0868
commit
0911cb0e2c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue