Misc overworld documentation
This commit is contained in:
@@ -379,7 +379,7 @@ static void AddHatchedMonToParty(u8 id)
|
||||
caughtLvl = 0;
|
||||
SetMonData(mon, MON_DATA_MET_LEVEL, &caughtLvl);
|
||||
|
||||
mapNameID = sav1_map_get_name();
|
||||
mapNameID = GetCurrentRegionMapSectionId();
|
||||
SetMonData(mon, MON_DATA_MET_LOCATION, &mapNameID);
|
||||
|
||||
MonRestorePP(mon);
|
||||
@@ -471,7 +471,7 @@ static void Task_EggHatch(u8 taskID)
|
||||
{
|
||||
if (!gPaletteFade.active)
|
||||
{
|
||||
overworld_free_bg_tilemaps();
|
||||
CleanupOverworldWindowsAndTilemaps();
|
||||
SetMainCallback2(CB2_EggHatch_0);
|
||||
gFieldCallback = sub_80AF168;
|
||||
DestroyTask(taskID);
|
||||
|
||||
Reference in New Issue
Block a user