reset dexnav search when crossing maps
This commit is contained in:
parent
7405c11934
commit
8010facac5
@ -6,6 +6,7 @@
|
||||
#include "bg.h"
|
||||
#include "cable_club.h"
|
||||
#include "clock.h"
|
||||
#include "dexnav.h"
|
||||
#include "event_data.h"
|
||||
#include "event_object_movement.h"
|
||||
#include "event_scripts.h"
|
||||
@ -800,6 +801,7 @@ void LoadMapFromCameraTransition(u8 mapGroup, u8 mapNum)
|
||||
LoadObjEventTemplatesFromHeader();
|
||||
TrySetMapSaveWarpStatus();
|
||||
ClearTempFieldEventData();
|
||||
ResetDexNavSearch();
|
||||
ResetCyclingRoadChallengeData();
|
||||
RestartWildEncounterImmunitySteps();
|
||||
TryUpdateRandomTrainerRematches(mapGroup, mapNum);
|
||||
@ -850,6 +852,7 @@ static void LoadMapFromWarp(bool32 a1)
|
||||
CheckLeftFriendsSecretBase();
|
||||
TrySetMapSaveWarpStatus();
|
||||
ClearTempFieldEventData();
|
||||
ResetDexNavSearch();
|
||||
ResetCyclingRoadChallengeData();
|
||||
RestartWildEncounterImmunitySteps();
|
||||
TryUpdateRandomTrainerRematches(gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user