From 46b8edbe7a94cdc711d8fe4798a0990b858e668c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 17 May 2019 14:45:06 -0400 Subject: Better label for npc id array in heal_location --- src/heal_location.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/heal_location.c b/src/heal_location.c index b5d3843b1..9756f0951 100644 --- a/src/heal_location.c +++ b/src/heal_location.c @@ -63,7 +63,7 @@ const u16 sBlackoutRespawnHealCenterMapIdxs[][2] = { // or the Nurse for healing. // This array defines the index of the NPC on the map defined above // with whom your character interacts in this cutscene. -static const u8 sBlackoutRespawnHealerNpcIdx[] = { +static const u8 sBlackoutRespawnHealerNpcIds[] = { [SPAWN_PALLET_TOWN - 1] = 1, [SPAWN_VIRIDIAN_CITY - 1] = 1, [SPAWN_PEWTER_CITY - 1] = 3, @@ -172,5 +172,5 @@ void SetBlackoutRespawnWarpAndHealerNpc(struct WarpData * warp) void SetBlackoutRespawnHealerNpcAsLastTalked(u32 healLocationIdx) { - gSpecialVar_LastTalked = sBlackoutRespawnHealerNpcIdx[healLocationIdx - 1]; + gSpecialVar_LastTalked = sBlackoutRespawnHealerNpcIds[healLocationIdx - 1]; } -- cgit v1.2.3