summaryrefslogtreecommitdiff
path: root/src/mauville_old_man.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-10 03:20:02 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-10 03:20:02 -0400
commit10f798323e88e4cdf8fe881956dd5ad41121e1a3 (patch)
tree3871c3b6abb80424dc77870f1e1ad7ce38a3afe2 /src/mauville_old_man.c
parent16fd2ca3856668cd4e7cb5e94d3022ac5edce8a3 (diff)
parentfe13cf593a7c14480de940e413177586cc8eae2e (diff)
finish decompiling player_pc.c
Diffstat (limited to 'src/mauville_old_man.c')
-rw-r--r--src/mauville_old_man.c33
1 files changed, 16 insertions, 17 deletions
diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c
index 11dadf380..d6fb33917 100644
--- a/src/mauville_old_man.c
+++ b/src/mauville_old_man.c
@@ -4,6 +4,7 @@
#include "rng.h"
#include "script.h"
#include "string_util.h"
+#include "strings.h"
extern u16 gScriptResult;
extern u16 gSpecialVar_0x8004;
@@ -14,8 +15,6 @@ extern void sub_80F83D0(void);
extern void sub_80F7F80(u8);
extern u16 sub_80EB8EC(void);
extern void sub_80F7DC0(void);
-extern u8 gOtherText_Is[];
-extern u8 gOtherText_DontYouAgree[];
extern u32 gUnknown_083E5388[];
extern u32 gUnknown_083E53A8[];
@@ -65,21 +64,21 @@ void SetMauvilleOldMan(void)
switch(var)
{
- case 0:
- sub_80F7A34();
- break;
- case 1:
- sub_80F7A6C();
- break;
- case 2:
- sub_80F7A98();
- break;
- case 3:
- sub_80F7A7C();
- break;
- case 4:
- sub_80F7A88();
- break;
+ case 0:
+ sub_80F7A34();
+ break;
+ case 1:
+ sub_80F7A6C();
+ break;
+ case 2:
+ sub_80F7A98();
+ break;
+ case 3:
+ sub_80F7A7C();
+ break;
+ case 4:
+ sub_80F7A88();
+ break;
}
sub_80F83D0();
}