diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-07-28 17:54:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 17:54:25 -0400 |
commit | 7ada56f0395ca6d4d6810c6f3762f8e03dc60cb7 (patch) | |
tree | acdd4137cef25d027789bc67ab972d49aeb81b50 /src/scrcmd.c | |
parent | c6b27013cc42161636ae345c913a2bd26c5854fd (diff) | |
parent | e06de33cbdab8ca853bcdd1b4c8909a61aabfcef (diff) |
Merge pull request #1085 from GriffinRichards/doc-overworld
Document field effects / misc overworld
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index 2a6abf17e..643809789 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -801,6 +801,7 @@ bool8 ScrCmd_warphole(struct ScriptContext *ctx) return TRUE; } +// RS mossdeep gym warp, unused in Emerald bool8 ScrCmd_warpteleport(struct ScriptContext *ctx) { u8 mapGroup = ScriptReadByte(ctx); @@ -810,7 +811,7 @@ bool8 ScrCmd_warpteleport(struct ScriptContext *ctx) u16 y = VarGet(ScriptReadHalfword(ctx)); SetWarpDestination(mapGroup, mapNum, warpId, x, y); - DoTeleportWarp(); + DoTeleportTileWarp(); ResetInitialPlayerAvatarState(); return TRUE; } |