summaryrefslogtreecommitdiff
path: root/src/secret_base.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-09 19:08:23 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-09 19:08:23 -0400
commitc10de4945141a6cca8c1b7328f4102bfc2c8ae28 (patch)
tree6ae5a6428c1ac5f33004e5bf57af3bb31e2338fd /src/secret_base.c
parentfc761599b412206f80d961a6052dce49b9998689 (diff)
parentc0c3d2c52ad839450041d1ca6a29691efc5c5d35 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'src/secret_base.c')
-rw-r--r--src/secret_base.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/secret_base.c b/src/secret_base.c
new file mode 100644
index 000000000..572dfaa1d
--- /dev/null
+++ b/src/secret_base.c
@@ -0,0 +1,18 @@
+#include "global.h"
+#include "string_util.h"
+#include "strings.h"
+#include "text.h"
+
+u8 sub_80BB8A8(void *);
+
+u8 *sub_80BC190(u8 *dest, u8 arg1) {
+ u8 local1;
+ u8 *str;
+
+ local1 = sub_80BB8A8(gSaveBlock1.secretBases[arg1].sbr_field_2);
+
+ str = StringCopyN(dest, gSaveBlock1.secretBases[arg1].sbr_field_2, local1);
+ str[0] = EOS;
+
+ return StringAppend(dest, gOtherText_PlayersBase);
+}