mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-30 16:11:06 +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));
|
u16 localId = VarGet(ScriptReadHalfword(ctx));
|
||||||
const void *movementScript = (const void *)ScriptReadWord(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);
|
ScriptMovement_StartObjectMovementScript(localId, gSaveBlock1Ptr->location.mapNum, gSaveBlock1Ptr->location.mapGroup, movementScript);
|
||||||
sMovingNpcId = localId;
|
sMovingNpcId = localId;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -1011,7 +1011,7 @@ bool8 ScrCmd_applymovement_at(struct ScriptContext *ctx)
|
|||||||
u8 mapGroup = ScriptReadByte(ctx);
|
u8 mapGroup = ScriptReadByte(ctx);
|
||||||
u8 mapNum = ScriptReadByte(ctx);
|
u8 mapNum = ScriptReadByte(ctx);
|
||||||
|
|
||||||
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE
|
gObjectEvents[GetObjectEventIdByLocalId(localId)].directionOverwrite = DIR_NONE;
|
||||||
ScriptMovement_StartObjectMovementScript(localId, mapNum, mapGroup, movementScript);
|
ScriptMovement_StartObjectMovementScript(localId, mapNum, mapGroup, movementScript);
|
||||||
sMovingNpcId = localId;
|
sMovingNpcId = localId;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user