diff options
author | huderlem <huderlem@gmail.com> | 2019-02-04 21:36:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-04 21:36:18 -0600 |
commit | b0ee1009759ed1c46da81b1fb8410e2b75e42bb2 (patch) | |
tree | ceee3e124b987b8dd24cb3a7bba85d4effe1ef5d /src/tv.c | |
parent | 646533cfa3c8c42aee3efedaadfe49e495b64892 (diff) | |
parent | d4125fef9bc9adb95c7a5fb5b8be903b34adc510 (diff) |
Merge pull request #543 from pret/mapdata
Convert map data to JSON
Diffstat (limited to 'src/tv.c')
-rw-r--r-- | src/tv.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -38,6 +38,7 @@ #include "secret_base.h" #include "tv.h" #include "data2.h" +#include "constants/layouts.h" // Static type declarations @@ -6264,7 +6265,9 @@ static void DoTVShowTodaysRivalTrainer(void) case MAPSEC_DYNAMIC: switch (show->rivalTrainer.mapLayoutId) { - case 0x115 ... 0x117: + case LAYOUT_SS_TIDAL_CORRIDOR: + case LAYOUT_SS_TIDAL_LOWER_DECK: + case LAYOUT_SS_TIDAL_ROOMS: sTVShowState = 10; break; default: @@ -6463,7 +6466,9 @@ static void DoTVShowHoennTreasureInvestigators(void) { switch (show->treasureInvestigators.mapLayoutId) { - case 0x115 ... 0x117: + case LAYOUT_SS_TIDAL_CORRIDOR: + case LAYOUT_SS_TIDAL_LOWER_DECK: + case LAYOUT_SS_TIDAL_ROOMS: sTVShowState = 2; break; default: |