summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-07-28 11:10:00 -0400
committerGitHub <noreply@github.com>2020-07-28 11:10:00 -0400
commit70617d56e4ef0ef1432e0cc7fb3214a63d773578 (patch)
tree9f1551240478be6722a0be797d35eb4034e5608c /src/scrcmd.c
parente8568b79efa2f12ce929a4db15c8786f1dccc359 (diff)
parent1e8ffcb8986aa0560bcb1113717ce26a58526be2 (diff)
Merge pull request #1104 from PokeCodec/Explcit-Casting
Reduce "Implicit conversion" warnings
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 4a7f4ea73..2a6abf17e 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)