diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-15 12:04:54 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-16 10:53:00 -0500 |
commit | 04cc923d6c17edae778f14cb431991867a05cf65 (patch) | |
tree | b6e1b5bede12da3f64293dde84b1b09f08d40053 /src/field_special_scene.c | |
parent | c1130592faa26f4e555142c48bdc02c1378ff1ee (diff) |
Handle optional arguments for warp commands, add WARP_ID_NONE
Diffstat (limited to 'src/field_special_scene.c')
-rw-r--r-- | src/field_special_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_special_scene.c b/src/field_special_scene.c index 39e5d6698..b7c93e510 100644 --- a/src/field_special_scene.c +++ b/src/field_special_scene.c @@ -349,7 +349,7 @@ void LookThroughPorthole(void) FlagSet(FLAG_SYS_CRUISE_MODE); FlagSet(FLAG_DONT_TRANSITION_MUSIC); FlagSet(FLAG_HIDE_MAP_NAME_POPUP); - SetDynamicWarp(0, gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum, -1); + SetDynamicWarp(0, gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum, WARP_ID_NONE); TrySetPortholeWarpDestination(); DoPortholeWarp(); } |