Removed free macro

This commit is contained in:
Eduardo Quezada
2022-09-16 20:36:44 -03:00
parent e412ec30a0
commit 8a68596b64
12 changed files with 30 additions and 31 deletions
+2 -2
View File
@@ -1084,7 +1084,7 @@ static u8 GetNextRoomType(void)
}
nextRoomType = roomCandidates[Random() % numRoomCandidates];
free(roomCandidates);
Free(roomCandidates);
if (nextRoomType == PIKE_ROOM_STATUS)
TryInflictRandomStatus();
@@ -1363,7 +1363,7 @@ static void SetHintedRoom(void)
}
gSaveBlock2Ptr->frontier.pikeHintedRoomType = roomCandidates[Random() % count];
free(roomCandidates);
Free(roomCandidates);
if (gSaveBlock2Ptr->frontier.pikeHintedRoomType == PIKE_ROOM_STATUS && !AtLeastOneHealthyMon())
gSaveBlock2Ptr->frontier.pikeHintedRoomType = PIKE_ROOM_NPC;
if (gSaveBlock2Ptr->frontier.pikeHintedRoomType == PIKE_ROOM_DOUBLE_BATTLE && !AtLeastTwoAliveMons())