Decompiled `func_overlay_145210_801F4C38_145E18`

This commit is contained in:
gijs 2023-09-27 00:27:33 +02:00
parent fabe829cbf
commit 253726d9f9
2 changed files with 19 additions and 1 deletions

View File

@ -566,6 +566,9 @@ extern Gfx DISPLAY_LIST_80186D90[];
extern Gfx DISPLAY_LIST_8018FC80[];
extern Gfx DISPLAY_LIST_80186E70[];
extern Gfx DISPLAY_LIST_801869C8[];
extern Gfx DISPLAY_LIST_801FCF70[];
extern Gfx DISPLAY_LIST_801FCF98[];
extern Vp obVpMinResolution;
extern Vp obVpMaxResolution;

View File

@ -48,4 +48,19 @@ INCLUDE_ASM(const s32, "overlay_145210/_ob_shivering_chalk", func_overlay_145210
INCLUDE_ASM(const s32, "overlay_145210/_ob_shivering_chalk", func_overlay_145210_801F4C24_145E04);
INCLUDE_ASM(const s32, "overlay_145210/_ob_shivering_chalk", func_overlay_145210_801F4C38_145E18);
extern u8 D_overlay_145210_801FDA24_14EC04;
/* 145E18 801F4C38 */
void func_overlay_145210_801F4C38_145E18(s32 arg0) {
if (arg0 != 0) {
if (D_overlay_145210_801FDA24_14EC04 != 1) {
D_overlay_145210_801FDA24_14EC04 = 1;
gSPDisplayList(obPtrDisplayList++, DISPLAY_LIST_801FCF70);
}
} else if (D_overlay_145210_801FDA24_14EC04 != 2) {
D_overlay_145210_801FDA24_14EC04 = 2;
gSPDisplayList(obPtrDisplayList++, DISPLAY_LIST_801FCF98);
}
}