From b57db45dec4f649c694d47fd2390fa20c5c3fe16 Mon Sep 17 00:00:00 2001 From: iriv24 Date: Sun, 12 Jan 2025 12:34:02 -0500 Subject: [PATCH] Replace NO_ENCOUNTER with PAL_PARK_AREA_NONE --- src/catching_show.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/catching_show.c b/src/catching_show.c index e4ee83c7e..d85ecedd3 100644 --- a/src/catching_show.c +++ b/src/catching_show.c @@ -24,7 +24,7 @@ #include "unk_0202EEC0.h" #include "unk_02054D00.h" -#define NO_ENCOUNTER 0 +#define PAL_PARK_AREA_NONE 0 #define POINTS_LOST_PER_SECOND 2 #define BYTES_PER_SPECIES 6 #define WEIGHT_NO_ENCOUNTER 20 @@ -203,7 +203,7 @@ static int GetEncounterArea(FieldSystem *fieldSystem, int playerX, int playerY) return PAL_PARK_AREA_LAND_END + area; } - return NO_ENCOUNTER; + return PAL_PARK_AREA_NONE; } static BOOL TryStartEncounter(FieldSystem *fieldSystem, CatchingShow *catchingShow, int playerX, int playerY) @@ -212,7 +212,7 @@ static BOOL TryStartEncounter(FieldSystem *fieldSystem, CatchingShow *catchingSh int encounterChance, totalRarity = 0; int area = GetEncounterArea(fieldSystem, playerX, playerY); - if (area == NO_ENCOUNTER) { + if (area == PAL_PARK_AREA_NONE) { return FALSE; }