Label in_connection's field in ObjectEventTemplate
This commit is contained in:
parent
0a982edf4e
commit
5bb688df3e
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ struct ObjectEventTemplate
|
||||||
{
|
{
|
||||||
/*0x00*/ u8 localId;
|
/*0x00*/ u8 localId;
|
||||||
/*0x01*/ u8 graphicsId;
|
/*0x01*/ u8 graphicsId;
|
||||||
/*0x02*/ u8 unk2;
|
/*0x02*/ u8 inConnection; // Leftover from FRLG
|
||||||
/*0x04*/ s16 x;
|
/*0x04*/ s16 x;
|
||||||
/*0x06*/ s16 y;
|
/*0x06*/ s16 y;
|
||||||
/*0x08*/ u8 elevation;
|
/*0x08*/ u8 elevation;
|
||||||
|
|
|
@ -1448,7 +1448,7 @@ u8 SpawnSpecialObjectEventParameterized(u8 graphicsId, u8 movementBehavior, u8 l
|
||||||
y -= 7;
|
y -= 7;
|
||||||
objectEventTemplate.localId = localId;
|
objectEventTemplate.localId = localId;
|
||||||
objectEventTemplate.graphicsId = graphicsId;
|
objectEventTemplate.graphicsId = graphicsId;
|
||||||
objectEventTemplate.unk2 = 0;
|
objectEventTemplate.inConnection = 0;
|
||||||
objectEventTemplate.x = x;
|
objectEventTemplate.x = x;
|
||||||
objectEventTemplate.y = y;
|
objectEventTemplate.y = y;
|
||||||
objectEventTemplate.elevation = z;
|
objectEventTemplate.elevation = z;
|
||||||
|
|
Loading…
Reference in a new issue