From 2003f1babdc4c8ea261082802be54143479426ac Mon Sep 17 00:00:00 2001 From: LittleCube Date: Tue, 18 Feb 2025 22:36:23 -0500 Subject: [PATCH] clean up intro sequence skip --- patches/title_screen_patches.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patches/title_screen_patches.c b/patches/title_screen_patches.c index f8b444f..10b77b9 100644 --- a/patches/title_screen_patches.c +++ b/patches/title_screen_patches.c @@ -1,5 +1,7 @@ #include "patches.h" +#include "enums.h" + struct Struct_core2_9B180_1; typedef struct Struct_core2_9B180_1 Struct_core2_9B180_1; struct struct_core2_9B180_s; @@ -16,6 +18,7 @@ typedef struct struct_core2_9B180_s{ extern u8 D_80383330; extern Struct_core2_9B180_0 D_8036DE00[]; +void func_80322318(Struct_core2_9B180_0*); int map_get(void); RECOMP_PATCH void func_80322490(void) { @@ -23,7 +26,8 @@ RECOMP_PATCH void func_80322490(void) { if (D_80383330 != 0) { for(i_ptr = D_8036DE00; i_ptr != &D_8036DE00[6]; i_ptr++){ - if((i_ptr->unk4 != 0 || (i_ptr->unkC == 0x80322318 && map_get() == 0x1F)) && i_ptr->unkC != NULL){ + + if((i_ptr->unk4 != 0 || (i_ptr->unkC == func_80322318 && map_get() == MAP_1F_CS_START_RAREWARE)) && i_ptr->unkC != NULL){ i_ptr->unkC(i_ptr); } }