1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-04 16:55:56 +00:00
oot/src/code/z_kankyo.c

94 lines
2.8 KiB
C
Raw Normal View History

#include "global.h"
2020-03-17 04:31:30 +00:00
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F0A0.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F0D4.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F0FC.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F140.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F93C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006F9BC.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006FB94.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8006FC88.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80070600.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800706A0.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80070718.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80070C24.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800730DC.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80073988.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80073A5C.s")
2020-03-22 21:19:43 +00:00
f32 func_800746DC() {
return Rand_ZeroOne() - 0.5f;
2020-03-17 04:31:30 +00:00
}
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80074704.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80074CE8.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80074D6C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80074FF4.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800750C0.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800753C4.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8007542C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800758AC.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80075B44.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80075E68.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/Kankyo_InitGameOverLights.s")
2020-03-17 04:31:30 +00:00
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/Kankyo_FadeInGameOverLights.s")
2020-03-17 04:31:30 +00:00
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/Kankyo_FadeOutGameOverLights.s")
2020-03-17 04:31:30 +00:00
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800766C4.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_8007672C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80076934.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800773A8.s")
2020-03-22 21:19:43 +00:00
s32 func_800775CC() {
2020-03-17 04:31:30 +00:00
return gSaveContext.unk_18;
}
2020-03-22 21:19:43 +00:00
void func_800775D8() {
2020-03-17 04:31:30 +00:00
gSaveContext.unk_18 = 0;
}
2020-03-22 21:19:43 +00:00
s32 func_800775E4() {
return gSaveContext.numDays;
2020-03-17 04:31:30 +00:00
}
2020-03-22 21:19:43 +00:00
void func_800775F0(u16 arg0) {
2020-03-17 04:31:30 +00:00
gSaveContext.unk_140E = arg0;
}
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80077600.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80077624.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_80077684.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/func_800776E4.s")