summaryrefslogtreecommitdiff
path: root/src/mauville_old_man.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-01-31 03:08:44 -0500
committerYamaArashi <YamaArashi@users.noreply.github.com>2017-01-31 00:08:44 -0800
commit9813caaf5345ea28f8230d41461618673779c2fb (patch)
tree53b692aabb235c2f5a58060fa134bbdb3adbb67b /src/mauville_old_man.c
parentb6b5453431af46791fd9d211efac64464c1dff85 (diff)
make ROM match again (#227)
* some labels and enumerate player speeds * clear up speed enums * GetPlayerSpeed * oops * start decompiling mauville_old_man.c * formatting * decompile more of mauville_old_man.c * someone fix this please * formatting * make ROM build again * formatting again * make ROM match again
Diffstat (limited to 'src/mauville_old_man.c')
-rw-r--r--src/mauville_old_man.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c
index 82e936633..d03042ca5 100644
--- a/src/mauville_old_man.c
+++ b/src/mauville_old_man.c
@@ -35,10 +35,10 @@ void sub_80F7A34(void)
void sub_80F7A6C(void)
{
- OldMan *oldMan = &gSaveBlock1.oldMan;
+ struct UnkMauvilleOldManStruct *bard = &gSaveBlock1.oldMan.oldMan1;
- oldMan->oldMan1.unk_2D94 = 1;
- oldMan->oldMan1.unk_2D95 = 0;
+ bard->unk_2D94 = 1;
+ bard->unk_2D95 = 0;
}
void sub_80F7A7C(void)
@@ -59,7 +59,7 @@ void sub_80F7A98(void)
sub_81099CC();
}
-void sub_80F7AA4(void)
+void SetMauvilleOldMan(void)
{
u32 var = ((u16)((gSaveBlock2.playerTrainerId[1] << 8 | gSaveBlock2.playerTrainerId[0])) % 10) / 2;