diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-12-21 05:19:27 -0500 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-12-21 05:19:27 -0500 |
commit | 68cdd7b1cb5a293b3de42185fe17d85b4067b3ad (patch) | |
tree | 65b32493ea3eaef107ac73f804d23563da0f9ada /src/scrcmd.c | |
parent | 949509aade2627ded031669c296453c3d0ea9e59 (diff) | |
parent | 026e1108b26f4ce5cea362997135bd8efc7cb28a (diff) |
Merge master into ObjEvent rename
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index 82da62b27..e53b20b6b 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -810,7 +810,7 @@ bool8 ScrCmd_warpteleport(struct ScriptContext *ctx) u16 y = VarGet(ScriptReadHalfword(ctx)); SetWarpDestination(mapGroup, mapNum, warpId, x, y); - sub_80AF848(); + DoTeleportWarp(); ResetInitialPlayerAvatarState(); return TRUE; } @@ -2286,7 +2286,7 @@ void SetMovingNpcId(u16 npcId) sMovingNpcId = npcId; } -bool8 ScrCmd_warpE0(struct ScriptContext *ctx) +bool8 ScrCmd_warpsootopolislegend(struct ScriptContext *ctx) { u8 mapGroup = ScriptReadByte(ctx); u8 mapNum = ScriptReadByte(ctx); @@ -2295,7 +2295,7 @@ bool8 ScrCmd_warpE0(struct ScriptContext *ctx) u16 y = VarGet(ScriptReadHalfword(ctx)); SetWarpDestination(mapGroup, mapNum, warpId, x, y); - sub_80AF79C(); + DoSootopolisLegendWarp(); ResetInitialPlayerAvatarState(); return TRUE; } |