Ant Cave functions (#74)

This commit is contained in:
Zoe 2024-06-29 18:41:08 -05:00 committed by GitHub
parent 3414ef3aef
commit 17bc8ffa0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 5 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 Allison Mackenzie
Copyright (c) 2023-2024 Allison Mackenzie
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,4 +1,5 @@
#include "common.h"
#include "ant_caves.h"
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80010138);
@ -121,7 +122,9 @@ INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_800147E0);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_8001494C);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80014C80);
void func_80014C80(void) {
D_8001CB68->unkA = (u16)(D_8001CB68->unkA | 0x100);
}
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80014CA0);
@ -193,9 +196,13 @@ INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_800178B0);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017AA4);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017C68);
void func_80017C68(void) {
func_80017064();
}
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017C88);
void func_80017C88(void) {
func_80017064();
}
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017CA8);
@ -205,7 +212,9 @@ INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017E1C);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017E94);
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017F14);
bool func_80017F14(void) {
return false;
};
INCLUDE_ASM("asm/ovl/ac/nonmatchings/138", func_80017F1C);

5
src/ovl/ac/ant_caves.h Normal file
View File

@ -0,0 +1,5 @@
typedef struct UnkStruct {
/* 0x00 */ char pad_0[0x0A];
/* 0x0A */ u16 unkA;
} UnkStruct;
extern UnkStruct* D_8001CB68;