syntax fix

This commit is contained in:
Evan 2021-01-26 12:30:02 -07:00 committed by ghoulslash
parent 13c5f15e56
commit 09c5e27a90

View File

@ -998,7 +998,7 @@ bool8 ScrCmd_applymovement(struct ScriptContext *ctx)
u16 localId = VarGet(ScriptReadHalfword(ctx));
const void *movementScript = (const void *)ScriptReadWord(ctx);
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE;
ScriptMovement_StartObjectMovementScript(localId, gSaveBlock1Ptr->location.mapNum, gSaveBlock1Ptr->location.mapGroup, movementScript);
sMovingNpcId = localId;
return FALSE;
@ -1011,7 +1011,7 @@ bool8 ScrCmd_applymovement_at(struct ScriptContext *ctx)
u8 mapGroup = ScriptReadByte(ctx);
u8 mapNum = ScriptReadByte(ctx);
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE;
ScriptMovement_StartObjectMovementScript(localId, mapNum, mapGroup, movementScript);
sMovingNpcId = localId;
return FALSE;