diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-10-27 22:20:13 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-10-27 22:20:13 -0400 |
commit | b8b2a7ca40e9d142dcec7762ec3b2a8f6067dcac (patch) | |
tree | 6b29da4857e9daab596611be28cc51e14ca8072f /src | |
parent | 9c3a79f3deb31e36e809f2c3be85e1925cc19296 (diff) |
through sub_80EB438
Diffstat (limited to 'src')
-rw-r--r-- | src/secret_base.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/secret_base.c b/src/secret_base.c index 081848513..59df47989 100644 --- a/src/secret_base.c +++ b/src/secret_base.c @@ -1936,3 +1936,59 @@ void sub_80EB218(void) VarSet(VAR_0x40F0, FALSE); } } + +void sub_80EB290(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) | 0x800); + } +} + +void sub_80EB2C8(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) | 0x400); + } +} + +void sub_80EB300(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) & ~0x3800); + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) & ~0x001); + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) | 0x2000); + } +} + +void sub_80EB368(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) & ~0x3800); + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) & ~0x001); + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) | 0x800); + } +} + +void sub_80EB3D0(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) & ~0x3800); + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) & ~0x001); + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) | 0x1000); + } +} + +void sub_80EB438(void) +{ + if (VarGet(VAR_0x4054) != 0) + { + VarSet(VAR_0x40EE, VarGet(VAR_0x40EE) & ~0x3800); + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) & ~0x001); + VarSet(VAR_0x40EF, VarGet(VAR_0x40EF) | 0x001); + } +} |