Handle optional arguments for warp commands, add WARP_ID_NONE
This commit is contained in:
+1
-2
@@ -29,7 +29,6 @@
|
||||
#include "pokedex.h"
|
||||
#include "apprentice.h"
|
||||
#include "frontier_util.h"
|
||||
#include "constants/maps.h"
|
||||
#include "pokedex.h"
|
||||
#include "save.h"
|
||||
#include "link_rfu.h"
|
||||
@@ -126,7 +125,7 @@ static void ClearFrontierRecord(void)
|
||||
|
||||
static void WarpToTruck(void)
|
||||
{
|
||||
SetWarpDestination(MAP_GROUP(INSIDE_OF_TRUCK), MAP_NUM(INSIDE_OF_TRUCK), -1, -1, -1);
|
||||
SetWarpDestination(MAP_GROUP(INSIDE_OF_TRUCK), MAP_NUM(INSIDE_OF_TRUCK), WARP_ID_NONE, -1, -1);
|
||||
WarpIntoMap();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user