Document misc field control

This commit is contained in:
GriffinR
2020-06-29 17:24:17 -04:00
parent abdf7cbf02
commit c84f98a7ff
4 changed files with 12 additions and 10 deletions

View File

@@ -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;
}