Fix misnamed function

This commit is contained in:
GriffinR 2019-09-16 00:29:59 -04:00
parent 826fc3154e
commit f4160ded98
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 8271993
return
EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom:: @ 82719B1
specialvar VAR_RESULT, PlayerAtTrainerHillEntrance
specialvar VAR_RESULT, PlayerNotAtTrainerHillEntrance
compare VAR_RESULT, 0
goto_if_eq EventScript_PkmnCenterNurse_ReturnPkmn
specialvar VAR_RESULT, BufferUnionRoomPlayerName

View File

@ -523,7 +523,7 @@ gSpecials:: @ 81DBA64
def_special TryBufferWaldaPhrase
def_special DoWaldaNamingScreen
def_special TryGetWallpaperWithWaldaPhrase
def_special PlayerAtTrainerHillEntrance
def_special PlayerNotAtTrainerHillEntrance
def_special sub_813B968
def_special sub_80F8B94
def_special ShowTrainerHillRecords

View File

@ -2009,7 +2009,7 @@ bool8 warp0_in_pokecenter(void)
return FALSE;
}
bool32 PlayerAtTrainerHillEntrance(void)
bool32 PlayerNotAtTrainerHillEntrance(void)
{
if (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(TRAINER_HILL_ENTRANCE) && gSaveBlock1Ptr->location.mapNum == MAP_NUM(TRAINER_HILL_ENTRANCE))
{