summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-04 09:37:56 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-04 09:37:56 -0400
commitd53b7d3b2eb17cc6e7973b50f460709df658bad5 (patch)
tree7e7614f61dced8925b73ed776916d4779333fe4b /src
parentae417f7590829d6018cd80e02364834dedd88fe4 (diff)
A couple more small functions in decoration.s
Diffstat (limited to 'src')
-rwxr-xr-xsrc/decoration.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/decoration.c b/src/decoration.c
index 3dd3d4dd3..eed0f9f67 100755
--- a/src/decoration.c
+++ b/src/decoration.c
@@ -1956,3 +1956,15 @@ void sub_8100740(u8 *dest, u16 flags)
break;
}
}
+
+void sub_8100874(struct UnkStruct_02038900 *unk_02038900)
+{
+ u16 i;
+ for (i=0; i<0x40; i++)
+ sub_8100740(&unk_02038900->unk_084[i * 32], unk_02038900->unk_004[i]);
+}
+
+u16 sub_810089C(u16 a0)
+{
+ return ((u16 *)gMapHeader.mapData->secondaryTileset->metatiles)[a0] & 0xfff;
+}