Fix nonmatching build

This commit is contained in:
GriffinR
2020-05-14 19:14:34 -04:00
parent ea01b132b2
commit 992fba2bc5
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1335,7 +1335,7 @@ static u8 InitObjectEventStateFromTemplate(struct ObjectEventTemplate *template,
s16 y2;
s16 elevation2;
if(template->unk2 == 0xFF)
if(template->inConnection == 0xFF)
{
var = 1;
mapNum = template2->trainerType;