Invasions

Prerequisites

This pages assumes the following:

  1. You have a working scanner.
  2. You read and understood the Dynamic Text Substitutions page.
  3. You are using the latest version of PokeAlarm.

Description

A Invasion Event represents when a stop is invaded by Team Rocket.

Available DTS

General

DTS Description
stop_id Stop ID, unique per stop.
stop_name Name of the stop.
stop_image URL to the image of the stop.
grunt_id Grunt ID.
grunt_id_3 Grunt ID, padded to 3 digits.
grunt_name Name of the grunt (ex: Sierra, Giovanni, Male…)
type_name Name of the monster’s type used by the grunt.
type_emoji Emoji for monster’s type, or empty string if unknown.
gender_id ID of the grunt’s gender.
gender Gender of the grunt, represented as a single character.
reward_ids List of possible rewarded monster IDs.
reward_names List of possible rewarded monsters.
battle1_ids List of possible monster IDs for the 1st battle.
battle1_names List of possible monsters for the 1st battle.
battle2_ids List of possible monster IDs for the 2nd battle.
battle2_names List of possible monsters for the 2nd battle.
battle3_ids List of possible monster IDs for the 3rd battle.
battle3_names List of possible monsters for the 3rd battle.

Location

Warning

Geofences are only evaluated per Filter - <geofence> will be unknown if it passes through a Filter without a geofences restriction applied.

DTS Description
lat Latitude of the stop.
lng Longitude of the stop.
lat_5 Latitude of the stop, truncated to 5 decimal places.
lng_5 Longitude of the stop, truncated to 5 decimal places.
distance Distance of the stop from the set location.
direction Cardinal direction of the stop, from the set location.
gmaps Google Maps link to the location of the event.
gnav Google Maps Navigation to the location of the event.
applemaps Apple Maps link to the location of the event.
applenav Apple Maps Navigation to the location of the event.
waze Waze link to the location of the event.
wazenav Waze Navigation to the location of the event.
geofence Geofence around the event.

Time

DTS Description Example
time_left Time remaining until the lure expires. 1h 15m 52s
12h_time Time that the lure will disappear, in a 12h format. 01:15:52pm
24h_time Time that the lure will disappear, in a 24h format. 13:15:52
time_left_no_secs Time remaining until the lure expires without seconds. 1h 15m
12h_time_no_secs Time that the lure will disappear, in a 12h format without seconds. 01:15pm
24h_time_no_secs Time that the lure will disappear, in a 24h format without seconds. 13:15
time_left_raw_hours Hours only until the lure expires. 1
time_left_raw_minutes Minutes only until the lure expires. 15
time_left_raw_seconds Seconds only until the lure expires. 52

Weather

DTS Description
weather_id Weather ID of the shadow monster.
weather Weather name of the shadow monster.
weather_or_empty Weather name of the shadow monster, or empty string if unknown.
weather_emoji Weather emoji of the shadow monster, or empty string if unknown.
boosted_weather_id Return weather ID if shadow monster is boosted.
boosted_weather Return weather name if shadow monster is boosted.
boosted_weather_or_empty Return weather name if shadow monster is boosted, or empty string if unknown.
boosted_weather_emoji Return weather emoji if shadow monster is boosted, or empty string if unknown.
boosted_or_empty Return boosted if shadow monster is boosted, or empty string if not.