summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-03-22 11:44:43 -0700
committerGitHub <noreply@github.com>2022-03-22 11:44:43 -0700
commita0264b99956cc67dd13704b758dc1f2f4c1480ca (patch)
treeb632af6d0a7d84dda67ffe3691db1faf9ffab42e /src
parent30fea2d6f303e0e57b62032f56da86c8223ef1f7 (diff)
parent0f928c3aab9eaa6b75084fd925a595833e0fe1d5 (diff)
Merge pull request #99 from Bassoonian/master
Three small functions
Diffstat (limited to 'src')
-rw-r--r--src/code_80A26CC_1.c9
-rw-r--r--src/ground_link.c6
-rw-r--r--src/ground_map_1.c8
3 files changed, 23 insertions, 0 deletions
diff --git a/src/code_80A26CC_1.c b/src/code_80A26CC_1.c
new file mode 100644
index 0000000..5693ecd
--- /dev/null
+++ b/src/code_80A26CC_1.c
@@ -0,0 +1,9 @@
+#include "global.h"
+
+extern u32 sub_8001658(u32, u32);
+extern const char *sub_80A2B18(s16);
+
+const char *sub_80A2B28(u16 r0)
+{
+ return sub_80A2B18(sub_8001658(0, 17));
+}
diff --git a/src/ground_link.c b/src/ground_link.c
index 80e0294..ccdc052 100644
--- a/src/ground_link.c
+++ b/src/ground_link.c
@@ -31,3 +31,9 @@ void GroundLink_Select(s16 r0)
{
gUnknown_203B4B8.unk0 = sub_80A77D0(r0, &gUnknown_8118798)->unk8;
}
+
+u32 sub_80AD8A0(s16 r0)
+{
+ u32 a = r0;
+ return gUnknown_203B4B8.unk0 + a * 8;
+}
diff --git a/src/ground_map_1.c b/src/ground_map_1.c
new file mode 100644
index 0000000..4490ab5
--- /dev/null
+++ b/src/ground_map_1.c
@@ -0,0 +1,8 @@
+#include "global.h"
+
+extern void GroundMap_GetStationScript(u32, s16, u32, u32);
+
+void sub_80A4BE8(u32 r0, s16 r1)
+{
+ GroundMap_GetStationScript(r0, r1, 0, 0);
+} \ No newline at end of file