diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-04 12:11:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 12:11:31 -0400 |
commit | be7d0bd3b02727affddb422bdd868f2d219fe181 (patch) | |
tree | 2a888fe548d140e37456f6916075cc963fb51cee /src/scrcmd.c | |
parent | 17b657d83a29919253675b06c12a9ea5471385b2 (diff) | |
parent | 7940f121f66bb0ebe0932bc642c3d9b4015f79a7 (diff) |
Merge branch 'master' into doc-menu
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index ffe75b370..144712860 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -1208,7 +1208,7 @@ bool8 ScrCmd_turnvobject(struct ScriptContext *ctx) // The player is frozen after waiting for their current movement to finish. bool8 ScrCmd_lockall(struct ScriptContext *ctx) { - if (IsUpdateLinkStateCBActive()) + if (IsOverworldLinkActive()) { return FALSE; } @@ -1224,7 +1224,7 @@ bool8 ScrCmd_lockall(struct ScriptContext *ctx) // The player and selected object are frozen after waiting for their current movement to finish. bool8 ScrCmd_lock(struct ScriptContext *ctx) { - if (IsUpdateLinkStateCBActive()) + if (IsOverworldLinkActive()) { return FALSE; } @@ -2197,7 +2197,7 @@ bool8 ScrCmd_selectapproachingtrainer(struct ScriptContext *ctx) bool8 ScrCmd_lockfortrainer(struct ScriptContext *ctx) { - if (IsUpdateLinkStateCBActive()) + if (IsOverworldLinkActive()) { return FALSE; } |