summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-26 17:53:18 -0400
committerGitHub <noreply@github.com>2020-03-26 17:53:18 -0400
commitb9c604b8d2ffe863cf17336a4d956b08438f0f45 (patch)
tree95935cb5754f89ea78402cf4706830f71eb07e81 /src/scrcmd.c
parent7a6d4525c4066038832d85a45ed6df6ab4660309 (diff)
parent9130579f1454c869e74ea8c953c0c778a4760396 (diff)
Merge pull request #311 from PikalaxALT/field_player_avatar
Field player avatar
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 2b5137f9a..af977fbc7 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -802,7 +802,7 @@ bool8 ScrCmd_warpteleport2(struct ScriptContext * ctx)
u16 y = VarGet(ScriptReadHalfword(ctx));
SetWarpDestination(mapGroup, mapNum, warpId, x, y);
- sub_805DAE4(GetPlayerFacingDirection());
+ SavePlayerFacingDirectionForTeleport(GetPlayerFacingDirection());
sub_807E500();
ResetInitialPlayerAvatarState();
return TRUE;