summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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