papermario/src/world/area_gv/gv_01/E1E460.c

38 lines
1.0 KiB
C
Raw Normal View History

2020-10-24 03:09:49 +02:00
#include "gv_01.h"
2020-10-20 22:27:21 +02:00
2020-10-25 00:32:02 +02:00
#include "world/common/SetPlayerStatusAnimFlags100000.inc.c"
2020-10-20 22:27:21 +02:00
#include "world/common/GetCurrentFloor.inc.c"
2020-10-20 22:27:21 +02:00
INCLUDE_ASM(s32, "world/area_gv/gv_01/E1E460", func_80240034_E1E494);
2020-11-22 02:31:57 +01:00
#include "world/common/GetEntryPos.inc.c"
2020-10-20 22:27:21 +02:00
2020-10-25 00:42:58 +02:00
#include "world/common/GetCurrentCameraYawClamped180.inc.c"
2020-10-20 22:27:21 +02:00
INCLUDE_ASM(s32, "world/area_gv/gv_01/E1E460", func_8024023C_E1E69C);
2020-10-25 21:01:41 +01:00
#include "world/common/UnkTexturePanFunc.inc.c"
2020-10-20 22:27:21 +02:00
2020-10-25 21:08:59 +01:00
#include "world/common/UnkTexturePanFunc2.inc.c"
2020-10-20 22:27:21 +02:00
2020-10-28 07:42:14 +01:00
ApiStatus func_802405EC_E1EA4C(ScriptInstance* script, s32 isInitialCall) {
if (isInitialCall) {
script->functionTemp[0].s = 0;
set_curtain_scale_goal(1.0);
set_curtain_fade(0);
}
script->functionTemp[0].s += 5;
if (script->functionTemp[0].s > 255) {
script->functionTemp[0].s = 255;
}
func_80137E10(1, 208, 208, 208);
func_80137DA4(0, script->functionTemp[0].s);
func_801380D4(1, 0);
return script->functionTemp[0].s == 255;
}
2020-10-20 22:27:21 +02:00
INCLUDE_ASM(s32, "world/area_gv/gv_01/E1E460", func_80240688_E1EAE8);