Remove delayed warp level ID 127 wrap around

This is very much an edge case, but if a delayed warp is initiated to a custom level that has an ID greater than 127 it will just loop back around to 0.
This commit is contained in:
Agent X 2024-06-12 11:44:52 -04:00
parent 41525c1fc3
commit 9786ba9bc1
1 changed files with 1 additions and 1 deletions

View File

@ -1078,7 +1078,7 @@ void initiate_delayed_warp(void) {
default:
warpNode = area_get_warp_node(sSourceWarpNodeId);
if (warpNode != NULL) {
initiate_warp(warpNode->node.destLevel & 0x7F, warpNode->node.destArea,
initiate_warp(warpNode->node.destLevel, warpNode->node.destArea,
warpNode->node.destNode, sDelayedWarpArg);
check_if_should_set_warp_checkpoint(&warpNode->node);