match RollCredits, with thanks to shoomer

This commit is contained in:
Kurausukun
2021-03-19 16:24:22 -04:00
parent c94e5e9ab0
commit 37e5dd9c33
3 changed files with 63 additions and 782 deletions
+1 -3
View File
@@ -1329,7 +1329,6 @@ static u8 InitObjectEventStateFromTemplate(struct ObjectEventTemplate *template,
u8 objectEventId;
u8 var0;
u8 elevation;
u8 inConnection;
s16 x;
s16 y;
s16 x2;
@@ -1343,9 +1342,8 @@ static u8 InitObjectEventStateFromTemplate(struct ObjectEventTemplate *template,
y2 = 0;
x3 = 0;
y3 = 0;
inConnection = template->inConnection;
if (inConnection == 0xFF)
if (template->inConnection == 0xFF)
{
var0 = 1;
elevation = template->elevation;