From 6e972fb0d2de05c1c71920a18e4b30e95dfab7da Mon Sep 17 00:00:00 2001 From: gamemasterplc Date: Thu, 14 Mar 2024 16:49:04 -0500 Subject: [PATCH] Rename TutorialExec --- config/GMPE01_00/rels/w10Dll/symbols.txt | 2 +- include/REL/w10Dll.h | 2 +- src/REL/w10Dll/main.c | 2 +- src/REL/w10Dll/tutorial.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/GMPE01_00/rels/w10Dll/symbols.txt b/config/GMPE01_00/rels/w10Dll/symbols.txt index 3e5d6e0c..896a61e1 100644 --- a/config/GMPE01_00/rels/w10Dll/symbols.txt +++ b/config/GMPE01_00/rels/w10Dll/symbols.txt @@ -58,7 +58,7 @@ TutorialLotteryExec = .text:0x00001930; // type:function size:0x28 TutorialBooHouseExec = .text:0x00001958; // type:function size:0x28 TutorialNullExec = .text:0x00001980; // type:function size:0x4 CloseTutorial = .text:0x00001984; // type:function size:0x128 scope:local -TutorialExec = .text:0x00001AAC; // type:function size:0x2BC +TutorialHookExec = .text:0x00001AAC; // type:function size:0x2BC TutorialSprCreate = .text:0x00001D68; // type:function size:0x84 TutorialSprKill = .text:0x00001DEC; // type:function size:0x50 TutorialSpaceShow = .text:0x00001E3C; // type:function size:0x174 diff --git a/include/REL/w10Dll.h b/include/REL/w10Dll.h index 5d392272..350da41e 100644 --- a/include/REL/w10Dll.h +++ b/include/REL/w10Dll.h @@ -40,7 +40,7 @@ void fn_1_E0(void); void TutorialSprCreate(void); void TutorialSprKill(void); void HostCreate(void); -int TutorialExec(s16, s32); +int TutorialHookExec(s16, s32); void TutorialStartExec(void); void TutorialPreRollExec(void); diff --git a/src/REL/w10Dll/main.c b/src/REL/w10Dll/main.c index 2694972c..c6ed3a83 100644 --- a/src/REL/w10Dll/main.c +++ b/src/REL/w10Dll/main.c @@ -84,7 +84,7 @@ void BoardCreate(void) boardWork->scene = 0; boardWork->dice = 0; boardWork->msg = 0; - BoardTutorialHookSet(&TutorialExec); + BoardTutorialHookSet(TutorialHookExec); HostCreate(); TutorialSprCreate(); tutorialDoneF = 0; diff --git a/src/REL/w10Dll/tutorial.c b/src/REL/w10Dll/tutorial.c index d9415273..ca6cd09d 100644 --- a/src/REL/w10Dll/tutorial.c +++ b/src/REL/w10Dll/tutorial.c @@ -99,7 +99,7 @@ static TutorialScene sceneTbl[42] = { {-1, NULL }, }; -int TutorialExec(s16 arg0, s32 arg1) { +int TutorialHookExec(s16 arg0, s32 arg1) { if (arg0 == 30) { CloseTutorial(); return;