1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00
oot/src/code/z_kankyo.c
fig02 1639417327
code_80110450 (game over) OK* (#739)
* OK (sort of)

* remove hack

* clean up comments
2021-03-28 19:50:46 -04:00

93 lines
2.8 KiB
C

#include "global.h"
#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")
f32 func_800746DC() {
return Rand_ZeroOne() - 0.5f;
}
#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")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/Kankyo_FadeInGameOverLights.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/z_kankyo/Kankyo_FadeOutGameOverLights.s")
#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")
s32 func_800775CC() {
return gSaveContext.unk_18;
}
void func_800775D8() {
gSaveContext.unk_18 = 0;
}
s32 func_800775E4() {
return gSaveContext.numDays;
}
void func_800775F0(u16 arg0) {
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")