From ceadab8cd15c6b41d13e560989a991d0a64cb359 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 6 Feb 2020 11:07:42 -0500 Subject: [PATCH] PnP_HiddenPlaces -> PnP_Places The "Places & People" radio station does not avoid these maps; it only describes these maps. --- data/radio/pnp_hidden_places.asm | 13 ------------- data/radio/pnp_places.asm | 13 +++++++++++++ engine/pokegear/radio.asm | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 data/radio/pnp_hidden_places.asm create mode 100644 data/radio/pnp_places.asm diff --git a/data/radio/pnp_hidden_places.asm b/data/radio/pnp_hidden_places.asm deleted file mode 100644 index a43dfd252..000000000 --- a/data/radio/pnp_hidden_places.asm +++ /dev/null @@ -1,13 +0,0 @@ -; Places and People will not describe these maps. - -PnP_HiddenPlaces: - map_id PALLET_TOWN - map_id ROUTE_22 - map_id PEWTER_CITY - map_id CERULEAN_POLICE_STATION - map_id ROUTE_12 - map_id ROUTE_11 - map_id ROUTE_16 - map_id ROUTE_14 - map_id CINNABAR_POKECENTER_2F_BETA -.End diff --git a/data/radio/pnp_places.asm b/data/radio/pnp_places.asm new file mode 100644 index 000000000..540078ef3 --- /dev/null +++ b/data/radio/pnp_places.asm @@ -0,0 +1,13 @@ +; Places and People will describe the landmarks of these maps. + +PnP_Places: + map_id PALLET_TOWN ; PALLET_TOWN + map_id ROUTE_22 ; ROUTE_22 + map_id PEWTER_CITY ; PEWTER_CITY + map_id CERULEAN_POLICE_STATION ; CERULEAN_CITY + map_id ROUTE_12 ; ROUTE_12 + map_id ROUTE_11 ; ROUTE_11 + map_id ROUTE_16 ; ROUTE_16 + map_id ROUTE_14 ; ROUTE_14 + map_id CINNABAR_POKECENTER_2F_BETA ; CINNABAR_ISLAND +.End diff --git a/engine/pokegear/radio.asm b/engine/pokegear/radio.asm index 570278f03..3f69e68a9 100644 --- a/engine/pokegear/radio.asm +++ b/engine/pokegear/radio.asm @@ -1245,9 +1245,9 @@ PnP_OddText: PeoplePlaces6: ; Places call Random - cp (PnP_HiddenPlaces.End - PnP_HiddenPlaces) / 2 + cp (PnP_Places.End - PnP_Places) / 2 jr nc, PeoplePlaces6 - ld hl, PnP_HiddenPlaces + ld hl, PnP_Places ld c, a ld b, 0 add hl, bc @@ -1262,7 +1262,7 @@ PeoplePlaces6: ; Places ld a, PLACES_AND_PEOPLE_7 jp NextRadioLine -INCLUDE "data/radio/pnp_hidden_places.asm" +INCLUDE "data/radio/pnp_places.asm" PnP_Text5: text_far _PnP_Text5