summaryrefslogtreecommitdiff
path: root/src/union_room_battle.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-02-16 13:49:36 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-02-16 13:49:36 -0500
commit91dd7f5cc3ed4c641e02d42397e08877560a7a58 (patch)
tree2d10575a006b8ff1c5527f20065528870f6f3096 /src/union_room_battle.c
parentac1738e11dcfc0a574f90b4f4905c2533630eb50 (diff)
Port librfu from firered
Diffstat (limited to 'src/union_room_battle.c')
-rw-r--r--src/union_room_battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/union_room_battle.c b/src/union_room_battle.c
index b49406eac..c80340da3 100644
--- a/src/union_room_battle.c
+++ b/src/union_room_battle.c
@@ -369,7 +369,7 @@ static void sub_801A8B0(u8 windowId, u8 fontId, const u8 * str, u8 x, u8 y, u8 m
u32 sub_801A960(struct UnkStruct_x20 * a0, u32 * a1)
{
s32 i, j, r2;
- u32 result = a0->unk.field_0.unk_0a_0;
+ u32 result = a0->unk.field_0.activity;
for (i = 0; i < (unsigned)ARRAY_COUNT(gUnknown_082F0D70); i++)
{
@@ -386,7 +386,7 @@ u32 sub_801A960(struct UnkStruct_x20 * a0, u32 * a1)
r2 = 0;
for (j = 0; j < 4; j++)
{
- if (a0->unk.field_0.unk_04[j] != 0)
+ if (a0->unk.field_0.child_sprite_gender[j] != 0)
{
r2++;
}