Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/marina.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "common.h"

extern u8 D_800EF5E1;

#pragma GLOBAL_ASM("asm/nonmatchings/marina/func_80048600.s")

#pragma GLOBAL_ASM("asm/nonmatchings/marina/func_800486F4.s")
Expand All @@ -12,7 +14,23 @@

#pragma GLOBAL_ASM("asm/nonmatchings/marina/func_80048C94.s")

#pragma GLOBAL_ASM("asm/nonmatchings/marina/func_80048CE4.s")
s32 func_80048CE4(void) {
u8 v = D_800EF5E1;

if (v == 1) {
return 1;
}

if (v < 0x2E) {
return 0;
}

if (v < 0x37) {
return 2;
}

return 3;
}

#pragma GLOBAL_ASM("asm/nonmatchings/marina/func_80048D30.s")

Expand Down