diff options
author | camthesaxman <cameronghall@cox.net> | 2017-08-26 20:19:34 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-08-26 20:19:34 -0500 |
commit | 42a36959b95aad5a55a2f7bb17dcdc941dd89750 (patch) | |
tree | c8ee4852d5a69345bfc070a86095d7aaff934f28 /src/battle_2.c | |
parent | 991cbbffbcdbba6ba71ea9a08a7a28a29377f976 (diff) |
fix build
Diffstat (limited to 'src/battle_2.c')
-rw-r--r-- | src/battle_2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_2.c b/src/battle_2.c index 06e20bb06..106d3333b 100644 --- a/src/battle_2.c +++ b/src/battle_2.c @@ -1347,8 +1347,8 @@ void sub_8010384(struct Sprite *sprite) u16 species; u8 yOffset; - if (ewram17800[r6].unk2 != 0) - species = ewram17800[r6].unk2; + if (ewram17800[r6].transformedSpecies != 0) + species = ewram17800[r6].transformedSpecies; else species = sprite->data2; |