summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-28 17:46:17 -0400
committerGitHub <noreply@github.com>2020-07-28 17:46:17 -0400
commite06de33cbdab8ca853bcdd1b4c8909a61aabfcef (patch)
treed8fc5465a98e738792297ab08ba7216b18696fec /src/scrcmd.c
parent4a42e2a710ee550c88a56e48f436b88279337eea (diff)
parent96b904bf808805daa3de09080e10cc92e24c1f8e (diff)
Merge branch 'master' into doc-overworld
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 224d7adb5..643809789 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -788,8 +788,8 @@ bool8 ScrCmd_warphole(struct ScriptContext *ctx)
{
u8 mapGroup = ScriptReadByte(ctx);
u8 mapNum = ScriptReadByte(ctx);
- u16 x;
- u16 y;
+ s16 x;
+ s16 y;
PlayerGetDestCoords(&x, &y);
if (mapGroup == 0xFF && mapNum == 0xFF)