diff options
author | PokeCodec <doremylover456@gmail.com> | 2020-07-19 15:57:20 -0400 |
---|---|---|
committer | PokeCodec <doremylover456@gmail.com> | 2020-07-24 22:18:57 -0400 |
commit | c5aa91741b4ba674e0eec574b33a6fb78b349b7a (patch) | |
tree | 769263133a1e7c895b2be39089466fe5fc1755e1 /src/scrcmd.c | |
parent | 69a04f88f4411d9b0db67aa2c42e17e4bfb0dd0e (diff) |
Change signedness and add casts to avoid implicit conversion warnings
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 4 |
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) |