mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 06:44:01 +01:00
syntax fix
This commit is contained in:
parent
13c5f15e56
commit
09c5e27a90
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user