pmd1decode

It's an entire PMD1 SOS mail decoder in a single Carl-bot tag! It will take SOS mail-format passwords and decode them to output the following information: 1. The type of mail 2. Name and species of the rescuee 3. Target location of the SOS mail 4. Mail ID (both 4 digit and full) 5. ID of the rescuee's team (and if applicable: The ID of the rescuer's team) 6. The included reward item (Thank You mail only) Usage: Type in ?pmd1decode followed by the password on a single line. The letters must be ALL IN UPPERCASE, otherwise it will just say you input the password incorrectly. ♂ is indicated by a LOWERCASE m. ♀ is indicated by a LOWERCASE f. … is indicated by a LOWERCASE t. EXPERIMENTAL: If the argument "PC" appears after a correctly typed password, the password will be displayed using ANSI escape sequences. This likely will appear bugged on mobile, so use at own risk.

Privateunrated

Content

144 lines
{=(version):1.11}

{=(blk1):{replace(f,♀):{replace(m,♂):{replace(t,…):{args(+9)}}}}}
{=(blk2):{blk1(2)}}
{=(blk3):{blk1(3)}}
{=(blk4):{blk1(4)}}
{=(blk5):{blk1(5)}}
{=(blk6):{blk1(6)}}
{=(blk7):{blk1(7)}}
{=(blk8):{blk1(8)}}
{=(blk9):{blk1(9)}}
{=(blk1):{blk1(1)}}

{=(pwd):{replace(,  ):{join():{args(+9)}}}}
{=(pwd):{or({in(%28):{urlreplace:{pwd}}}==true|{in(%29):{urlreplace:{pwd}}}==true):0|{pwd}}}
{=(pwd):{replace( 8 ,06 ):{replace( 7 ,02 ):{replace( 6 ,01 ):{replace( 5 ,17 ):{replace( 4 ,16 ):{replace( 3 ,28 ):{replace( 2 ,25 ):{replace( 1 ,24 ):{replace( t ,11 ):{replace( - ,22 ):{replace( + ,10 ):{replace( f ,27 ):{replace( m ,30 ):{replace( ! ,26 ):{replace( 0 ,09 ):{replace( 9 ,07 ):{replace( N ,03 ):{replace( M ,18 ):{replace( K ,23 ):{replace( J ,21 ):{replace( H ,20 ):{replace( F ,08 ):{replace( C ,19 ):{replace( ? ,00 ):{replace( Y ,15 ):{replace( X ,14 ):{replace( W ,31 ):{replace( T ,13 ):{replace( S ,12 ):{replace( R ,05 ):{replace( Q ,29 ):{replace( P ,04 ):{pwd}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{=(pwd):{or({m:sgn({replace( ,):{pwd}})}!=1|{index(╫):{pwd} ╫}!=54|{index(╫):{replace(, ):{1}} ╫}!=5|{index(╫):{replace(, ):{3}} ╫}!=5):0|{pwd}}}
{=(pwd):{or({index(╫):{replace(, ):{4}} ╫}!=5|{index(╫):{replace(, ):{6}} ╫}!=5|{index(╫):{replace(, ):{7}} ╫}!=5|{index(╫):{replace(, ):{9}} ╫}!=5):0|{pwd}}}
{=(pwd):{or({index(╫):{replace(, ):{2}} ╫}!=8|{index(╫):{replace(, ):{5}} ╫}!=8|{index(╫):{replace(, ):{8}} ╫}!=8):0|{pwd}}}

{=(p24):{pwd(2)}}
{=(p17):{pwd(3)}}
{=(p38):{pwd(4)}}
{=(p46):{pwd(5)}}
{=(p05):{pwd(6)}}
{=(p42):{pwd(7)}}
{=(p53):{pwd(8)}}
{=(p02):{pwd(9)}}
{=(p09):{pwd(10)}}
{=(p40):{pwd(11)}}
{=(p26):{pwd(12)}}
{=(p37):{pwd(13)}}
{=(p48):{pwd(14)}}
{=(p01):{pwd(15)}}
{=(p13):{pwd(16)}}
{=(p04):{pwd(17)}}
{=(p34):{pwd(18)}}
{=(p21):{pwd(19)}}
{=(p29):{pwd(20)}}
{=(p10):{pwd(21)}}
{=(p50):{pwd(22)}}
{=(p54):{pwd(23)}}
{=(p52):{pwd(24)}}
{=(p32):{pwd(25)}}
{=(p12):{pwd(26)}}
{=(p03):{pwd(27)}}
{=(p14):{pwd(28)}}
{=(p15):{pwd(29)}}
{=(p35):{pwd(30)}}
{=(p06):{pwd(31)}}
{=(p47):{pwd(32)}}
{=(p28):{pwd(33)}}
{=(p18):{pwd(34)}}
{=(p19):{pwd(35)}}
{=(p20):{pwd(36)}}
{=(p30):{pwd(37)}}
{=(p39):{pwd(38)}}
{=(p49):{pwd(39)}}
{=(p23):{pwd(40)}}
{=(p33):{pwd(41)}}
{=(p43):{pwd(42)}}
{=(p16):{pwd(43)}}
{=(p07):{pwd(44)}}
{=(p27):{pwd(45)}}
{=(p31):{pwd(46)}}
{=(p11):{pwd(47)}}
{=(p45):{pwd(48)}}
{=(p51):{pwd(49)}}
{=(p36):{pwd(50)}}
{=(p08):{pwd(51)}}
{=(p41):{pwd(52)}}
{=(p22):{pwd(53)}}
{=(p44):{pwd(54)}}
{=(p25):{pwd(55)}}

{=(b01):{m:trunc(trunc({p02}/8)+4*{p03}+128*({p04}%2))}}
{=(b02):{m:trunc(trunc({p04}/2)+16*({p05}%16))}}
{=(b03):{m:trunc(trunc({p05}/16)+2*{p06}+64*({p07}%4))}}
{=(b04):{m:trunc(trunc({p07}/4)+8*{p08})}}
{=(b05):{m:trunc({p09}+32*({p10}%8))}}
{=(b06):{m:trunc(trunc({p10}/8)+4*{p11}+128*({p12}%2))}}
{=(b07):{m:trunc(trunc({p12}/2)+16*({p13}%16))}}
{=(b08):{m:trunc(trunc({p13}/16)+2*{p14}+64*({p15}%4))}}
{=(b09):{m:trunc(trunc({p15}/4)+8*{p16})}}
{=(b10):{m:trunc({p17}+32*({p18}%8))}}
{=(b11):{m:trunc(trunc({p18}/8)+4*{p19}+128*({p20}%2))}}
{=(b12):{m:trunc(trunc({p20}/2)+16*({p21}%16))}}
{=(b13):{m:trunc(trunc({p21}/16)+2*{p22}+64*({p23}%4))}}
{=(b14):{m:trunc(trunc({p23}/4)+8*{p24})}}
{=(b15):{m:trunc({p25}+32*({p26}%8))}}
{=(b16):{m:trunc(trunc({p26}/8)+4*{p27}+128*({p28}%2))}}
{=(b17):{m:trunc(trunc({p28}/2)+16*({p29}%16))}}
{=(b18):{m:trunc(trunc({p29}/16)+2*{p30}+64*({p31}%4))}}
{=(b19):{m:trunc(trunc({p31}/4)+8*{p32})}}
{=(b20):{m:trunc({p33}+32*({p34}%8))}}
{=(b21):{m:trunc(trunc({p34}/8)+4*{p35}+128*({p36}%2))}}
{=(b22):{m:trunc(trunc({p36}/2)+16*({p37}%16))}}
{=(b23):{m:trunc(trunc({p37}/16)+2*{p38}+64*({p39}%4))}}
{=(b24):{m:trunc(trunc({p39}/4)+8*{p40})}}
{=(b25):{m:trunc({p41}+32*({p42}%8))}}
{=(b26):{m:trunc(trunc({p42}/8)+4*{p43}+128*({p44}%2))}}
{=(b27):{m:trunc(trunc({p44}/2)+16*({p45}%16))}}
{=(b28):{m:trunc(trunc({p45}/16)+2*{p46}+64*({p47}%4))}}
{=(b29):{m:trunc(trunc({p47}/4)+8*{p48})}}
{=(b30):{m:trunc({p49}+32*({p50}%8))}}
{=(b31):{m:trunc(trunc({p50}/8)+4*{p51}+128*({p52}%2))}}
{=(b32):{m:trunc(trunc({p52}/2)+16*({p53}%16))}}
{=(b33):{m:trunc(trunc({p53}/16)+2*{p54})}}
{=(calcsum):{m:trunc(({b01}+{b02}+{b03}+{b04}+{b05}+{b06}+{b07}+{b08}+{b09}+{b10}+{b11}+{b12}+{b13}+{b14}+{b15}+{b16}+{b17}+{b18}+{b19}+{b20}+{b21}+{b22}+{b23}+{b24}+{b25}+{b26}+{b27}+{b28}+{b29}+{b30}+{b31}+{b32}+{b33}+49)%256)}}

{=(checksum):{m:trunc({p01}+32*({p02}%8))}}
{=(mailtype):{m:trunc({b01}%16)}}
{=(dungeonid):{m:trunc(trunc({p03}/4)+8*({p04}%16))}}
{=(floor):{m:trunc(trunc({b02}/8)+32*({b03}%4))}}
{=(unk1):{m:trunc(trunc({p06}/2)+16*({p07}%16))}}
{=(unk2):{m:trunc(trunc({b04}/4)+64*({p09}%4))}}
{=(unk3):{m:trunc(trunc({p09}/4)+8*{p10})}}
{=(trgtpkmn):{m:trunc({p11}+32*({p12}%16))}}
{=(mailid):{m:trunc(trunc({b07}/8)+32*{b08}+8192*{b09}+2^21*{b10}+2^29*({b11}%8))}}
{=(shortmailid):{m:trunc(({mailid}%2^16)%10000)}}
{=(cn01):{m:trunc(trunc({p19}/2)+16*({p20}%16))}}
{=(cn02):{m:trunc(trunc({b12}/8)+32*({b13}%8))}}
{=(cn03):{m:trunc(trunc({p22}/4)+8*{p23})}}
{=(cn04):{m:trunc({p24}+32*({p25}%8))}}
{=(cn05):{m:trunc(trunc({b15}/8)+32*({b16}%8))}}
{=(cn06):{m:trunc(trunc({p27}/2)+16*({p28}%16))}}
{=(cn07):{m:trunc(trunc({b17}/8)+32*({b18}%8))}}
{=(cn08):{m:trunc(trunc({p30}/4)+8*{p31})}}
{=(cn09):{m:trunc({p32}+32*({p33}%8))}}
{=(cn10):{m:trunc(trunc({b20}/8)+32*({b21}%8))}}
{=(unk4):{m:trunc(trunc({p35}/2)+16*({p36}%16))}}
{=(hasreward):{m:trunc(trunc({b22}/8)+32*({b23}%8))}}
{=(reward):{m:trunc(trunc({p38}/4)+8*{p39})}}
{=(seekid):{m:trunc({p40}+32*{b25}+8192*{b26}+2^21*{b27}+2^29*({b28}%8))}}
{=(giveid):{m:trunc(trunc({b28}/8)+32*{b29}+8192*{b30}+2^21*{b31}+2^29*({b32}%8))}}
{=(chances):{m:trunc(trunc({b32}/8)+32*({b33}%8))}}
{=(unk5):{m:trunc(({p54}/4)%2)}}

{=(pkmnnames):0~Bulbasaur~Ivysaur~Venusaur~Charmander~Charmeleon~Charizard~Squirtle~Wartortle~Blastoise~Caterpie~Metapod~Butterfree~Weedle~Kakuna~Beedrill~Pidgey~Pidgeotto~Pidgeot~Rattata~Raticate~Spearow~Fearow~Ekans~Arbok~Pikachu~Raichu~Sandshrew~Sandslash~Nidoran-F~Nidorina~Nidoqueen~Nidoran-M~Nidorino~Nidoking~Clefairy~Clefable~Vulpix~Ninetales~Jigglypuff~Wigglytuff~Zubat~Golbat~Oddish~Gloom~Vileplume~Paras~Parasect~Venonat~Venomoth~Diglett~Dugtrio~Meowth~Persian~Psyduck~Golduck~Mankey~Primeape~Growlithe~Arcanine~Poliwag~Poliwhirl~Poliwrath~Abra~Kadabra~Alakazam~Machop~Machoke~Machamp~Bellsprout~Weepinbell~Victreebel~Tentacool~Tentacruel~Geodude~Graveler~Golem~Ponyta~Rapidash~Slowpoke~Slowbro~Magnemite~Magneton~Farfetch'd~Doduo~Dodrio~Seel~Dewgong~Grimer~Muk~Shellder~Cloyster~Gastly~Haunter~Gengar~Onix~Drowzee~Hypno~Krabby~Kingler~Voltorb~Electrode~Exeggcute~Exeggutor~Cubone~Marowak~Hitmonlee~Hitmonchan~Lickitung~Koffing~Weezing~Rhyhorn~Rhydon~Chansey~Tangela~Kangaskhan~Horsea~Seadra~Goldeen~Seaking~Staryu~Starmie~Mr. Mime~Scyther~Jynx~Electabuzz~Magmar~Pinsir~Tauros~Magikarp~Gyarados~Lapras~Ditto~Eevee~Vaporeon~Jolteon~Flareon~Porygon~Omanyte~Omastar~Kabuto~Kabutops~Aerodactyl~Snorlax~Articuno~Zapdos~Moltres~Dratini~Dragonair~Dragonite~Mewtwo~Mew~Chikorita~Bayleef~Meganium~Cyndaquil~Quilava~Typhlosion~Totodile~Croconaw~Feraligatr~Sentret~Furret~Hoothoot~Noctowl~Ledyba~Ledian~Spinarak~Ariados~Crobat~Chinchou~Lanturn~Pichu~Cleffa~Igglybuff~Togepi~Togetic~Natu~Xatu~Mareep~Flaaffy~Ampharos~Bellossom~Marill~Azumarill~Sudowoodo~Politoed~Hoppip~Skiploom~Jumpluff~Aipom~Sunkern~Sunflora~Yanma~Wooper~Quagsire~Espeon~Umbreon~Murkrow~Slowking~Misdreavus~Unown-A~Unown-B~Unown-C~Unown-D~Unown-E~Unown-F~Unown-G~Unown-H~Unown-I~Unown-J~Unown-K~Unown-L~Unown-M~Unown-N~Unown-O~Unown-P~Unown-Q~Unown-R~Unown-S~Unown-T~Unown-U~Unown-V~Unown-W~Unown-X~Unown-Y~Unown-Z~Wobbuffet~Girafarig~Pineco~Forretress~Dunsparce~Gligar~Steelix~Snubbull~Granbull~Quilfish~Scizor~Shuckle~Heracross~Sneasel~Teddiursa~Ursaring~Slugma~Magcargo~Swinub~Piloswine~Corsola~Remoraid~Octillery~Delibird~Mantine~Skarmory~Houndour~Houndoom~Kingdra~Phanpy~Donphan~Porygon2~Stantler~Smeargle~Tyrogue~Hitmontop~Smoochum~Elekid~Magby~Miltank~Blissey~Raikou~Entei~Suicune~Larvitar~Pupitar~Tyranitar~Lugia~Ho-Oh~Celebi~Treecko~Grovyle~Sceptile~Torchic~Combusken~Blaziken~Mudkip~Marshtomp~Swampert~Poochyena~Mightyena~Zigzagoon~Linoone~Wurmple~Silcoon~Beautifly~Cascoon~Dustox~Lotad~Lombre~Ludicolo~Seedot~Nuzleaf~Shiftry~Taillow~Swellow~Wingull~Pelipper~Ralts~Kirlia~Gardevoir~Surskit~Masquerain~Shroomish~Breloom~Slakoth~Vigoroth~Slaking~Nincada~Ninjask~Shedinja~Whismur~Loudred~Exploud~Makuhita~Hariyama~Azurill~Nosepass~Skitty~Delcatty~Sableye~Mawile~Aron~Lairon~Aggron~Meditite~Medicham~Electrike~Manectric~Plusle~Minun~Volbeat~Illumise~Roselia~Gulpin~Swalot~Carvanha~Sharpedo~Wailmer~Wailord~Numel~Camerupt~Torkoal~Spoink~Grumpig~Spinda~Trapinch~Vibrava~Flygon~Cacnea~Cacturne~Swablu~Altaria~Zangoose~Seviper~Lunatone~Solrock~Barboach~Whiscash~Corphish~Crawdaunt~Baltoy~Claydol~Lileep~Cradily~Anorith~Armaldo~Feebas~Milotic~Castform~Castform-Snow~Castform-Sun~Castform-Rain~Kecleon~Shuppet~Banette~Duskull~Dusclops~Tropius~Chimecho~Absol~Wynaut~Snorunt~Glalie~Spheal~Sealeo~Walrein~Clamperl~Huntail~Gorebyss~Relicanth~Luvdisc~Bagon~Shelgon~Salamence~Beldum~Metang~Metagross~Regirock~Regice~Registeel~Latias~Latios~Kyogre~Groudon~Rayquaza~Jirachi~Deoxys-N~Unown-!~Unown-?~Deoxys-A~Deoxys-D~Deoxys-S~Munchlax~Decoy~Statue~Fake-Rayquaza}
{=(itemnames):Nothing~Stick~Iron Thorn~Silver Spike~Gold Fang~Cacnea Spike~Corsola Twig~Gravelerock~Geo Pebble~Mobile Scarf~Heal Ribbon~Twist Band~Scope Lens~Patsy Band~No-Stick Cap~Pierce Band~Joy Ribbon~X-Ray Specs~Persim Band~Power Band~Pecha Scarf~Insomniscope~Warp Scarf~Tight Belt~Sneak Scarf~Gold Ribbon~Goggle Specs~Diet Ribbon~Trap Scarf~Racket Band~Def. Scarf~Stamina Band~Plain Ribbon~Special Band~Zinc Band~Detect Band~Alert Specs~Dodge Scarf~Bounce Band~Curve Band~Whiff Specs~No-Aim Scope~Lockon Specs~Munch Belt~Pass Scarf~Weather Band~Friend Bow~Beauty Scarf~Sun Ribbon~Lunar Ribbon~Ring D~Ring E~Ring F~Heal Seed~Wish Stone~Oran Berry~Sitrus Berry~Eyedrop Seed~Reviver Seed~Blinker Seed~Doom Seed~Allure Seed~Life Seed~Rawst Berry~Hunger Seed~Quick Seed~Pecha Berry~Cheri Berry~Totter Seed~Sleep Seed~Plain Seed~Warp Seed~Blast Seed~Ginseng~Joy Seed~Chesto Berry~Stun Seed~Max Elixir~Protein~Calcium~Iron~Zinc~Apple~Big Apple~Grimy Food~Huge Apple~White Gummi~Red Gummi~Grass Gummi~Yellow Gummi~Clear Gummi~Orange Gummi~Pink Gummi~Brown Gummi~Sky Gummi~Gold Gummi~Green Gummi~Gray Gummi~Purple Gummi~Royal Gummi~Black Gummi~Silver Gummi~Banana~Chestnut~Money~Upgrade~King's Rock~Thunderstone~Deepseascale~Deepseatooth~Sun Stone~Moon Stone~Fire Stone~Water Stone~Metal Coat~Leaf Stone~Dragon Scale~Link Cable~Ice Part~Steel Part~Rock Part~Music Box~Key~Used TM~Focus Punch TM~Dragon Claw TM~Water Pulse TM~Calm Mind TM~Roar TM~Toxic TM~Hail Orb~Bulk Up TM~Bullet Seed TM~Hidden Power TM~Sunny Orb~Taunt TM~Ice Beam TM~Blizzard TM~Hyper Beam TM~Light Screen TM~Protect TM~Rainy Orb~Giga Drain TM~Safeguard TM~Frustration TM~SolarBeam TM~Iron Tail TM~Thunderbolt TM~Thunder TM~Earthquake TM~Return TM~Dig TM~Psychic TM~Shadow Ball TM~Brick Break TM~Evasion Orb~Reflect TM~Shock Wave TM~Flamethrower TM~Sludge Bomb TM~Sandy Orb~Fire Blast TM~Rocky Orb~Aerial Ace TM~Torment TM~Facade TM~Secret Power TM~Rest TM~Attract TM~Thief TM~Steel Wing TM~Skill Swap TM~Snatch Orb~Overheat TM~Wide Slash TM~Excavate TM~Spin Slash TM~See-Trap Orb~Mug Orb~Rebound Orb~Lob Orb~Switcher Orb~Blowback Orb~Warp Orb~Transfer Orb~Slow Orb~Quick Orb~Luminous Orb~Petrify Orb~Stayaway Orb~Pounce Orb~Trawl Orb~Cleanse Orb~Observer Orb~Decoy Orb~Slumber Orb~Totter Orb~Two-Edge Orb~Silence Orb~Escape Orb~Scanner Orb~Radar Orb~Drought Orb~Trapbust Orb~Rollcall Orb~Invisify Orb~One-Shot Orb~Identify Orb~Vacuum-Cut TM~Reviver Orb~Shocker Orb~Sizebust Orb~One-Room Orb~Fill-In Orb~Trapper Orb~Possess Orb~Itemizer Orb~Hurl Orb~Mobile Orb~Toss Orb~Stairs Orb~Longtoss Orb~Pierce Orb~Cut HM~Fly HM~Surf HM~Strength HM~Flash HM~Rock Smash HM~Waterfall HM~Dive HM~Link Box~Switch Box~Weavile Fig~Mime Jr. Fig~Beatup Orb~G Machine 6~G Machine 7~G Machine 8}
{=(dgonnames):Tiny Woods~Thunderwave Cave~Mt. Steel~Sinister Woods~Silent Chasm~Mt. Thunder~Mt. Thunder Peak~Great Canyon~Lapis Cave~Mt. Blaze~Mt. Blaze Peak~Frosty Forest~Frosty Grotto~Mt. Freeze~Mt. Freeze Peak~Magma Cavern~Magma Cavern Pit~Sky Tower~Sky Tower Summit~Stormy Sea~Silver Trench~Meteor Cave~Mt. Freeze Peak~Western Cave~Boss 3~Boss 4~Wish Cave~Buried Relic~Pitfall Valley~Northern Range~Boss 9~Desert Region~Southern Cavern~Wyvern Hill~Fiery Field~Northwind Field~Solar Cave~Lightning Field~Darknight Relic~Wondrous Sea~Murky Cave~Grand Sea~Uproar Forest~Oddity Cave~Remains Island~Marvelous Sea~Fantasy Strait~Rock Path~Snow Path~Autopilot~D50~D51~Dojo Registration~Howling Forest~D54~Fantasy Strait~Waterfall Pond~Unown Relic~Joyous Tower~Far-off Sea~Mt. Faraway~D61~Purity Forest~D63}
{=(charset):~c01~c02~c03~c04~c05~c06~c07~c08~c09~c0A~c0B~c0C~c0D~c0E~c0F~c10~c11~c12~c13~c14~c15~c16~c17~c18~c19~c1A~c1B~c1C~c1D~c1E~c1F~ ~!~"~#~$~%~&~'~(~)~*~+~,~-~.~/~0~1~2~3~4~5~6~7~8~9~:~;~<~=~>~?~@~A~B~C~D~E~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~T~U~V~W~X~Y~Z~[~\~]~^~_~c60~a~b~c~d~e~f~g~h~i~j~k~l~m~n~o~p~q~r~s~t~u~v~w~x~y~z~c7B~|~c7D~c7E~c7F~€~c81~c82~c83~c84~…~†~c87~c88~‰~Š~‹~Œ~c8D~Ž~c8F~c90~‘~´~“~”~•~c96~c97~c98~™~š~›~œ~c9D~ž~Ÿ~cA0~¡~¢~£~¤~¥~¦~§~¨~©~ª~«~¬~cAD~®~¯~°~±~²~³~´~µ~~,~¸~¹~º~»~←~♂~♀~¿~À~Á~Â~Ã~Ä~Å~Æ~Ç~È~É~Ê~Ë~Ì~Í~Î~Ï~Ð~Ñ~Ò~Ó~Ô~Õ~Ö~×~Ø~Ù~Ú~Û~Ü~Ý~Þ~ß~à~á~â~ã~ä~å~æ~ç~è~é~ê~ë~ì~í~î~ï~ð~ñ~ò~ó~ô~õ~ö~÷~ø~ù~ú~û~ü~ý~þ~ÿ}
{=(mailtable):Invalid~SOS~Invalid~Invalid~A-OK~Thank You}
{embed(color):#{if({mailtype}<6):{list({mailtype}):777777~E01058~777777~777777~1078E8~4AA552}|777777}}

Embed

1 line
{"color": 5198940, "title": "**PMD1 SOS mail decoder**", "fields": [{"name": "**Chances left**", "value": "{chances}", "inline": true}, {"name": "**Checksum**", "value": "{checksum} (Calc: {calcsum})\n**{if({checksum}=={calcsum}):Matches!|Mismatches!}**", "inline": true}], "description": "```ansi\n{if({lower:{10}}==pc):  \u001b[1;37m{blk1} \u001b[33m{blk2}\u001b[37m {blk3}\n  {blk4} \u001b[33m{blk5}\u001b[37m {blk6}\n  {blk7} \u001b[33m{blk8}\u001b[37m {blk9}|  {blk1} {blk2} {blk3}\n  {blk4} {blk5} {blk6}\n  {blk7} {blk8} {blk9}}\n```\n**Type of mail:** {if({mailtype}<6):{list({mailtype}):{mailtable}}|Invalid} mail ({mailtype})\n**Name:** {list({cn01}):{charset}}{list({cn02}):{charset}}{list({cn03}):{charset}}{list({cn04}):{charset}}{list({cn05}):{charset}}{list({cn06}):{charset}}{list({cn07}):{charset}}{list({cn08}):{charset}}{list({cn09}):{charset}}{list({cn10}):{charset}}\n**Species:** {list({trgtpkmn}):{pkmnnames}} ({trgtpkmn})\n**Location:** {list({dungeonid}):{dgonnames}} ({dungeonid}), Floor {floor}\n**Mail ID:** {shortmailid} ({mailid})\n**Rescuee ID:** {seekid}\n{if({mailtype}!=1):**Rescuer ID:**   {giveid}}\n{all({mailtype}==5|{hasreward}==1):**Reward item:**  {list({reward}):{itemnames}} ({reward})}"}
Raw JSON
{
  "id": 998736,
  "created_at": "2021-08-09T19:01:36.000Z",
  "tag_name": "pmd1decode",
  "nsfw": false,
  "owner_id": "587929559132012564",
  "uses": 144,
  "description": "It's an entire PMD1 SOS mail decoder in a single Carl-bot tag!\nIt will take SOS mail-format passwords and decode them to output the following information:\n1. The type of mail\n2. Name and species of the rescuee\n3. Target location of the SOS mail\n4. Mail ID (both 4 digit and full)\n5. ID of the rescuee's team (and if applicable: The ID of the rescuer's team)\n6. The included reward item (Thank You mail only)\n\nUsage: Type in ?pmd1decode followed by the password on a single line.\nThe letters must be ALL IN UPPERCASE, otherwise it will just say you input the password incorrectly.\n♂ is indicated by a LOWERCASE m.\n♀ is indicated by a LOWERCASE f.\n… is indicated by a LOWERCASE t.\n\nEXPERIMENTAL: If the argument \"PC\" appears after a correctly typed password, the password will be displayed using ANSI escape sequences. This likely will appear bugged on mobile, so use at own risk.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "865158783881314314",
  "sharer": "587929559132012564",
  "content": "{=(version):1.11}\n\n{=(blk1):{replace(f,♀):{replace(m,♂):{replace(t,…):{args(+9)}}}}}\n{=(blk2):{blk1(2)}}\n{=(blk3):{blk1(3)}}\n{=(blk4):{blk1(4)}}\n{=(blk5):{blk1(5)}}\n{=(blk6):{blk1(6)}}\n{=(blk7):{blk1(7)}}\n{=(blk8):{blk1(8)}}\n{=(blk9):{blk1(9)}}\n{=(blk1):{blk1(1)}}\n\n{=(pwd):{replace(,  ):{join():{args(+9)}}}}\n{=(pwd):{or({in(%28):{urlreplace:{pwd}}}==true|{in(%29):{urlreplace:{pwd}}}==true):0|{pwd}}}\n{=(pwd):{replace( 8 ,06 ):{replace( 7 ,02 ):{replace( 6 ,01 ):{replace( 5 ,17 ):{replace( 4 ,16 ):{replace( 3 ,28 ):{replace( 2 ,25 ):{replace( 1 ,24 ):{replace( t ,11 ):{replace( - ,22 ):{replace( + ,10 ):{replace( f ,27 ):{replace( m ,30 ):{replace( ! ,26 ):{replace( 0 ,09 ):{replace( 9 ,07 ):{replace( N ,03 ):{replace( M ,18 ):{replace( K ,23 ):{replace( J ,21 ):{replace( H ,20 ):{replace( F ,08 ):{replace( C ,19 ):{replace( ? ,00 ):{replace( Y ,15 ):{replace( X ,14 ):{replace( W ,31 ):{replace( T ,13 ):{replace( S ,12 ):{replace( R ,05 ):{replace( Q ,29 ):{replace( P ,04 ):{pwd}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\n{=(pwd):{or({m:sgn({replace( ,):{pwd}})}!=1|{index(╫):{pwd} ╫}!=54|{index(╫):{replace(, ):{1}} ╫}!=5|{index(╫):{replace(, ):{3}} ╫}!=5):0|{pwd}}}\n{=(pwd):{or({index(╫):{replace(, ):{4}} ╫}!=5|{index(╫):{replace(, ):{6}} ╫}!=5|{index(╫):{replace(, ):{7}} ╫}!=5|{index(╫):{replace(, ):{9}} ╫}!=5):0|{pwd}}}\n{=(pwd):{or({index(╫):{replace(, ):{2}} ╫}!=8|{index(╫):{replace(, ):{5}} ╫}!=8|{index(╫):{replace(, ):{8}} ╫}!=8):0|{pwd}}}\n\n{=(p24):{pwd(2)}}\n{=(p17):{pwd(3)}}\n{=(p38):{pwd(4)}}\n{=(p46):{pwd(5)}}\n{=(p05):{pwd(6)}}\n{=(p42):{pwd(7)}}\n{=(p53):{pwd(8)}}\n{=(p02):{pwd(9)}}\n{=(p09):{pwd(10)}}\n{=(p40):{pwd(11)}}\n{=(p26):{pwd(12)}}\n{=(p37):{pwd(13)}}\n{=(p48):{pwd(14)}}\n{=(p01):{pwd(15)}}\n{=(p13):{pwd(16)}}\n{=(p04):{pwd(17)}}\n{=(p34):{pwd(18)}}\n{=(p21):{pwd(19)}}\n{=(p29):{pwd(20)}}\n{=(p10):{pwd(21)}}\n{=(p50):{pwd(22)}}\n{=(p54):{pwd(23)}}\n{=(p52):{pwd(24)}}\n{=(p32):{pwd(25)}}\n{=(p12):{pwd(26)}}\n{=(p03):{pwd(27)}}\n{=(p14):{pwd(28)}}\n{=(p15):{pwd(29)}}\n{=(p35):{pwd(30)}}\n{=(p06):{pwd(31)}}\n{=(p47):{pwd(32)}}\n{=(p28):{pwd(33)}}\n{=(p18):{pwd(34)}}\n{=(p19):{pwd(35)}}\n{=(p20):{pwd(36)}}\n{=(p30):{pwd(37)}}\n{=(p39):{pwd(38)}}\n{=(p49):{pwd(39)}}\n{=(p23):{pwd(40)}}\n{=(p33):{pwd(41)}}\n{=(p43):{pwd(42)}}\n{=(p16):{pwd(43)}}\n{=(p07):{pwd(44)}}\n{=(p27):{pwd(45)}}\n{=(p31):{pwd(46)}}\n{=(p11):{pwd(47)}}\n{=(p45):{pwd(48)}}\n{=(p51):{pwd(49)}}\n{=(p36):{pwd(50)}}\n{=(p08):{pwd(51)}}\n{=(p41):{pwd(52)}}\n{=(p22):{pwd(53)}}\n{=(p44):{pwd(54)}}\n{=(p25):{pwd(55)}}\n\n{=(b01):{m:trunc(trunc({p02}/8)+4*{p03}+128*({p04}%2))}}\n{=(b02):{m:trunc(trunc({p04}/2)+16*({p05}%16))}}\n{=(b03):{m:trunc(trunc({p05}/16)+2*{p06}+64*({p07}%4))}}\n{=(b04):{m:trunc(trunc({p07}/4)+8*{p08})}}\n{=(b05):{m:trunc({p09}+32*({p10}%8))}}\n{=(b06):{m:trunc(trunc({p10}/8)+4*{p11}+128*({p12}%2))}}\n{=(b07):{m:trunc(trunc({p12}/2)+16*({p13}%16))}}\n{=(b08):{m:trunc(trunc({p13}/16)+2*{p14}+64*({p15}%4))}}\n{=(b09):{m:trunc(trunc({p15}/4)+8*{p16})}}\n{=(b10):{m:trunc({p17}+32*({p18}%8))}}\n{=(b11):{m:trunc(trunc({p18}/8)+4*{p19}+128*({p20}%2))}}\n{=(b12):{m:trunc(trunc({p20}/2)+16*({p21}%16))}}\n{=(b13):{m:trunc(trunc({p21}/16)+2*{p22}+64*({p23}%4))}}\n{=(b14):{m:trunc(trunc({p23}/4)+8*{p24})}}\n{=(b15):{m:trunc({p25}+32*({p26}%8))}}\n{=(b16):{m:trunc(trunc({p26}/8)+4*{p27}+128*({p28}%2))}}\n{=(b17):{m:trunc(trunc({p28}/2)+16*({p29}%16))}}\n{=(b18):{m:trunc(trunc({p29}/16)+2*{p30}+64*({p31}%4))}}\n{=(b19):{m:trunc(trunc({p31}/4)+8*{p32})}}\n{=(b20):{m:trunc({p33}+32*({p34}%8))}}\n{=(b21):{m:trunc(trunc({p34}/8)+4*{p35}+128*({p36}%2))}}\n{=(b22):{m:trunc(trunc({p36}/2)+16*({p37}%16))}}\n{=(b23):{m:trunc(trunc({p37}/16)+2*{p38}+64*({p39}%4))}}\n{=(b24):{m:trunc(trunc({p39}/4)+8*{p40})}}\n{=(b25):{m:trunc({p41}+32*({p42}%8))}}\n{=(b26):{m:trunc(trunc({p42}/8)+4*{p43}+128*({p44}%2))}}\n{=(b27):{m:trunc(trunc({p44}/2)+16*({p45}%16))}}\n{=(b28):{m:trunc(trunc({p45}/16)+2*{p46}+64*({p47}%4))}}\n{=(b29):{m:trunc(trunc({p47}/4)+8*{p48})}}\n{=(b30):{m:trunc({p49}+32*({p50}%8))}}\n{=(b31):{m:trunc(trunc({p50}/8)+4*{p51}+128*({p52}%2))}}\n{=(b32):{m:trunc(trunc({p52}/2)+16*({p53}%16))}}\n{=(b33):{m:trunc(trunc({p53}/16)+2*{p54})}}\n{=(calcsum):{m:trunc(({b01}+{b02}+{b03}+{b04}+{b05}+{b06}+{b07}+{b08}+{b09}+{b10}+{b11}+{b12}+{b13}+{b14}+{b15}+{b16}+{b17}+{b18}+{b19}+{b20}+{b21}+{b22}+{b23}+{b24}+{b25}+{b26}+{b27}+{b28}+{b29}+{b30}+{b31}+{b32}+{b33}+49)%256)}}\n\n{=(checksum):{m:trunc({p01}+32*({p02}%8))}}\n{=(mailtype):{m:trunc({b01}%16)}}\n{=(dungeonid):{m:trunc(trunc({p03}/4)+8*({p04}%16))}}\n{=(floor):{m:trunc(trunc({b02}/8)+32*({b03}%4))}}\n{=(unk1):{m:trunc(trunc({p06}/2)+16*({p07}%16))}}\n{=(unk2):{m:trunc(trunc({b04}/4)+64*({p09}%4))}}\n{=(unk3):{m:trunc(trunc({p09}/4)+8*{p10})}}\n{=(trgtpkmn):{m:trunc({p11}+32*({p12}%16))}}\n{=(mailid):{m:trunc(trunc({b07}/8)+32*{b08}+8192*{b09}+2^21*{b10}+2^29*({b11}%8))}}\n{=(shortmailid):{m:trunc(({mailid}%2^16)%10000)}}\n{=(cn01):{m:trunc(trunc({p19}/2)+16*({p20}%16))}}\n{=(cn02):{m:trunc(trunc({b12}/8)+32*({b13}%8))}}\n{=(cn03):{m:trunc(trunc({p22}/4)+8*{p23})}}\n{=(cn04):{m:trunc({p24}+32*({p25}%8))}}\n{=(cn05):{m:trunc(trunc({b15}/8)+32*({b16}%8))}}\n{=(cn06):{m:trunc(trunc({p27}/2)+16*({p28}%16))}}\n{=(cn07):{m:trunc(trunc({b17}/8)+32*({b18}%8))}}\n{=(cn08):{m:trunc(trunc({p30}/4)+8*{p31})}}\n{=(cn09):{m:trunc({p32}+32*({p33}%8))}}\n{=(cn10):{m:trunc(trunc({b20}/8)+32*({b21}%8))}}\n{=(unk4):{m:trunc(trunc({p35}/2)+16*({p36}%16))}}\n{=(hasreward):{m:trunc(trunc({b22}/8)+32*({b23}%8))}}\n{=(reward):{m:trunc(trunc({p38}/4)+8*{p39})}}\n{=(seekid):{m:trunc({p40}+32*{b25}+8192*{b26}+2^21*{b27}+2^29*({b28}%8))}}\n{=(giveid):{m:trunc(trunc({b28}/8)+32*{b29}+8192*{b30}+2^21*{b31}+2^29*({b32}%8))}}\n{=(chances):{m:trunc(trunc({b32}/8)+32*({b33}%8))}}\n{=(unk5):{m:trunc(({p54}/4)%2)}}\n\n{=(pkmnnames):0~Bulbasaur~Ivysaur~Venusaur~Charmander~Charmeleon~Charizard~Squirtle~Wartortle~Blastoise~Caterpie~Metapod~Butterfree~Weedle~Kakuna~Beedrill~Pidgey~Pidgeotto~Pidgeot~Rattata~Raticate~Spearow~Fearow~Ekans~Arbok~Pikachu~Raichu~Sandshrew~Sandslash~Nidoran-F~Nidorina~Nidoqueen~Nidoran-M~Nidorino~Nidoking~Clefairy~Clefable~Vulpix~Ninetales~Jigglypuff~Wigglytuff~Zubat~Golbat~Oddish~Gloom~Vileplume~Paras~Parasect~Venonat~Venomoth~Diglett~Dugtrio~Meowth~Persian~Psyduck~Golduck~Mankey~Primeape~Growlithe~Arcanine~Poliwag~Poliwhirl~Poliwrath~Abra~Kadabra~Alakazam~Machop~Machoke~Machamp~Bellsprout~Weepinbell~Victreebel~Tentacool~Tentacruel~Geodude~Graveler~Golem~Ponyta~Rapidash~Slowpoke~Slowbro~Magnemite~Magneton~Farfetch'd~Doduo~Dodrio~Seel~Dewgong~Grimer~Muk~Shellder~Cloyster~Gastly~Haunter~Gengar~Onix~Drowzee~Hypno~Krabby~Kingler~Voltorb~Electrode~Exeggcute~Exeggutor~Cubone~Marowak~Hitmonlee~Hitmonchan~Lickitung~Koffing~Weezing~Rhyhorn~Rhydon~Chansey~Tangela~Kangaskhan~Horsea~Seadra~Goldeen~Seaking~Staryu~Starmie~Mr. Mime~Scyther~Jynx~Electabuzz~Magmar~Pinsir~Tauros~Magikarp~Gyarados~Lapras~Ditto~Eevee~Vaporeon~Jolteon~Flareon~Porygon~Omanyte~Omastar~Kabuto~Kabutops~Aerodactyl~Snorlax~Articuno~Zapdos~Moltres~Dratini~Dragonair~Dragonite~Mewtwo~Mew~Chikorita~Bayleef~Meganium~Cyndaquil~Quilava~Typhlosion~Totodile~Croconaw~Feraligatr~Sentret~Furret~Hoothoot~Noctowl~Ledyba~Ledian~Spinarak~Ariados~Crobat~Chinchou~Lanturn~Pichu~Cleffa~Igglybuff~Togepi~Togetic~Natu~Xatu~Mareep~Flaaffy~Ampharos~Bellossom~Marill~Azumarill~Sudowoodo~Politoed~Hoppip~Skiploom~Jumpluff~Aipom~Sunkern~Sunflora~Yanma~Wooper~Quagsire~Espeon~Umbreon~Murkrow~Slowking~Misdreavus~Unown-A~Unown-B~Unown-C~Unown-D~Unown-E~Unown-F~Unown-G~Unown-H~Unown-I~Unown-J~Unown-K~Unown-L~Unown-M~Unown-N~Unown-O~Unown-P~Unown-Q~Unown-R~Unown-S~Unown-T~Unown-U~Unown-V~Unown-W~Unown-X~Unown-Y~Unown-Z~Wobbuffet~Girafarig~Pineco~Forretress~Dunsparce~Gligar~Steelix~Snubbull~Granbull~Quilfish~Scizor~Shuckle~Heracross~Sneasel~Teddiursa~Ursaring~Slugma~Magcargo~Swinub~Piloswine~Corsola~Remoraid~Octillery~Delibird~Mantine~Skarmory~Houndour~Houndoom~Kingdra~Phanpy~Donphan~Porygon2~Stantler~Smeargle~Tyrogue~Hitmontop~Smoochum~Elekid~Magby~Miltank~Blissey~Raikou~Entei~Suicune~Larvitar~Pupitar~Tyranitar~Lugia~Ho-Oh~Celebi~Treecko~Grovyle~Sceptile~Torchic~Combusken~Blaziken~Mudkip~Marshtomp~Swampert~Poochyena~Mightyena~Zigzagoon~Linoone~Wurmple~Silcoon~Beautifly~Cascoon~Dustox~Lotad~Lombre~Ludicolo~Seedot~Nuzleaf~Shiftry~Taillow~Swellow~Wingull~Pelipper~Ralts~Kirlia~Gardevoir~Surskit~Masquerain~Shroomish~Breloom~Slakoth~Vigoroth~Slaking~Nincada~Ninjask~Shedinja~Whismur~Loudred~Exploud~Makuhita~Hariyama~Azurill~Nosepass~Skitty~Delcatty~Sableye~Mawile~Aron~Lairon~Aggron~Meditite~Medicham~Electrike~Manectric~Plusle~Minun~Volbeat~Illumise~Roselia~Gulpin~Swalot~Carvanha~Sharpedo~Wailmer~Wailord~Numel~Camerupt~Torkoal~Spoink~Grumpig~Spinda~Trapinch~Vibrava~Flygon~Cacnea~Cacturne~Swablu~Altaria~Zangoose~Seviper~Lunatone~Solrock~Barboach~Whiscash~Corphish~Crawdaunt~Baltoy~Claydol~Lileep~Cradily~Anorith~Armaldo~Feebas~Milotic~Castform~Castform-Snow~Castform-Sun~Castform-Rain~Kecleon~Shuppet~Banette~Duskull~Dusclops~Tropius~Chimecho~Absol~Wynaut~Snorunt~Glalie~Spheal~Sealeo~Walrein~Clamperl~Huntail~Gorebyss~Relicanth~Luvdisc~Bagon~Shelgon~Salamence~Beldum~Metang~Metagross~Regirock~Regice~Registeel~Latias~Latios~Kyogre~Groudon~Rayquaza~Jirachi~Deoxys-N~Unown-!~Unown-?~Deoxys-A~Deoxys-D~Deoxys-S~Munchlax~Decoy~Statue~Fake-Rayquaza}\n{=(itemnames):Nothing~Stick~Iron Thorn~Silver Spike~Gold Fang~Cacnea Spike~Corsola Twig~Gravelerock~Geo Pebble~Mobile Scarf~Heal Ribbon~Twist Band~Scope Lens~Patsy Band~No-Stick Cap~Pierce Band~Joy Ribbon~X-Ray Specs~Persim Band~Power Band~Pecha Scarf~Insomniscope~Warp Scarf~Tight Belt~Sneak Scarf~Gold Ribbon~Goggle Specs~Diet Ribbon~Trap Scarf~Racket Band~Def. Scarf~Stamina Band~Plain Ribbon~Special Band~Zinc Band~Detect Band~Alert Specs~Dodge Scarf~Bounce Band~Curve Band~Whiff Specs~No-Aim Scope~Lockon Specs~Munch Belt~Pass Scarf~Weather Band~Friend Bow~Beauty Scarf~Sun Ribbon~Lunar Ribbon~Ring D~Ring E~Ring F~Heal Seed~Wish Stone~Oran Berry~Sitrus Berry~Eyedrop Seed~Reviver Seed~Blinker Seed~Doom Seed~Allure Seed~Life Seed~Rawst Berry~Hunger Seed~Quick Seed~Pecha Berry~Cheri Berry~Totter Seed~Sleep Seed~Plain Seed~Warp Seed~Blast Seed~Ginseng~Joy Seed~Chesto Berry~Stun Seed~Max Elixir~Protein~Calcium~Iron~Zinc~Apple~Big Apple~Grimy Food~Huge Apple~White Gummi~Red Gummi~Grass Gummi~Yellow Gummi~Clear Gummi~Orange Gummi~Pink Gummi~Brown Gummi~Sky Gummi~Gold Gummi~Green Gummi~Gray Gummi~Purple Gummi~Royal Gummi~Black Gummi~Silver Gummi~Banana~Chestnut~Money~Upgrade~King's Rock~Thunderstone~Deepseascale~Deepseatooth~Sun Stone~Moon Stone~Fire Stone~Water Stone~Metal Coat~Leaf Stone~Dragon Scale~Link Cable~Ice Part~Steel Part~Rock Part~Music Box~Key~Used TM~Focus Punch TM~Dragon Claw TM~Water Pulse TM~Calm Mind TM~Roar TM~Toxic TM~Hail Orb~Bulk Up TM~Bullet Seed TM~Hidden Power TM~Sunny Orb~Taunt TM~Ice Beam TM~Blizzard TM~Hyper Beam TM~Light Screen TM~Protect TM~Rainy Orb~Giga Drain TM~Safeguard TM~Frustration TM~SolarBeam TM~Iron Tail TM~Thunderbolt TM~Thunder TM~Earthquake TM~Return TM~Dig TM~Psychic TM~Shadow Ball TM~Brick Break TM~Evasion Orb~Reflect TM~Shock Wave TM~Flamethrower TM~Sludge Bomb TM~Sandy Orb~Fire Blast TM~Rocky Orb~Aerial Ace TM~Torment TM~Facade TM~Secret Power TM~Rest TM~Attract TM~Thief TM~Steel Wing TM~Skill Swap TM~Snatch Orb~Overheat TM~Wide Slash TM~Excavate TM~Spin Slash TM~See-Trap Orb~Mug Orb~Rebound Orb~Lob Orb~Switcher Orb~Blowback Orb~Warp Orb~Transfer Orb~Slow Orb~Quick Orb~Luminous Orb~Petrify Orb~Stayaway Orb~Pounce Orb~Trawl Orb~Cleanse Orb~Observer Orb~Decoy Orb~Slumber Orb~Totter Orb~Two-Edge Orb~Silence Orb~Escape Orb~Scanner Orb~Radar Orb~Drought Orb~Trapbust Orb~Rollcall Orb~Invisify Orb~One-Shot Orb~Identify Orb~Vacuum-Cut TM~Reviver Orb~Shocker Orb~Sizebust Orb~One-Room Orb~Fill-In Orb~Trapper Orb~Possess Orb~Itemizer Orb~Hurl Orb~Mobile Orb~Toss Orb~Stairs Orb~Longtoss Orb~Pierce Orb~Cut HM~Fly HM~Surf HM~Strength HM~Flash HM~Rock Smash HM~Waterfall HM~Dive HM~Link Box~Switch Box~Weavile Fig~Mime Jr. Fig~Beatup Orb~G Machine 6~G Machine 7~G Machine 8}\n{=(dgonnames):Tiny Woods~Thunderwave Cave~Mt. Steel~Sinister Woods~Silent Chasm~Mt. Thunder~Mt. Thunder Peak~Great Canyon~Lapis Cave~Mt. Blaze~Mt. Blaze Peak~Frosty Forest~Frosty Grotto~Mt. Freeze~Mt. Freeze Peak~Magma Cavern~Magma Cavern Pit~Sky Tower~Sky Tower Summit~Stormy Sea~Silver Trench~Meteor Cave~Mt. Freeze Peak~Western Cave~Boss 3~Boss 4~Wish Cave~Buried Relic~Pitfall Valley~Northern Range~Boss 9~Desert Region~Southern Cavern~Wyvern Hill~Fiery Field~Northwind Field~Solar Cave~Lightning Field~Darknight Relic~Wondrous Sea~Murky Cave~Grand Sea~Uproar Forest~Oddity Cave~Remains Island~Marvelous Sea~Fantasy Strait~Rock Path~Snow Path~Autopilot~D50~D51~Dojo Registration~Howling Forest~D54~Fantasy Strait~Waterfall Pond~Unown Relic~Joyous Tower~Far-off Sea~Mt. Faraway~D61~Purity Forest~D63}\n{=(charset):~c01~c02~c03~c04~c05~c06~c07~c08~c09~c0A~c0B~c0C~c0D~c0E~c0F~c10~c11~c12~c13~c14~c15~c16~c17~c18~c19~c1A~c1B~c1C~c1D~c1E~c1F~ ~!~\"~#~$~%~&~'~(~)~*~+~,~-~.~/~0~1~2~3~4~5~6~7~8~9~:~;~<~=~>~?~@~A~B~C~D~E~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~T~U~V~W~X~Y~Z~[~\\~]~^~_~c60~a~b~c~d~e~f~g~h~i~j~k~l~m~n~o~p~q~r~s~t~u~v~w~x~y~z~c7B~|~c7D~c7E~c7F~€~c81~c82~c83~c84~…~†~c87~c88~‰~Š~‹~Œ~c8D~Ž~c8F~c90~‘~´~“~”~•~c96~c97~c98~™~š~›~œ~c9D~ž~Ÿ~cA0~¡~¢~£~¤~¥~¦~§~¨~©~ª~«~¬~cAD~®~¯~°~±~²~³~´~µ~¶~,~¸~¹~º~»~←~♂~♀~¿~À~Á~Â~Ã~Ä~Å~Æ~Ç~È~É~Ê~Ë~Ì~Í~Î~Ï~Ð~Ñ~Ò~Ó~Ô~Õ~Ö~×~Ø~Ù~Ú~Û~Ü~Ý~Þ~ß~à~á~â~ã~ä~å~æ~ç~è~é~ê~ë~ì~í~î~ï~ð~ñ~ò~ó~ô~õ~ö~÷~ø~ù~ú~û~ü~ý~þ~ÿ}\n{=(mailtable):Invalid~SOS~Invalid~Invalid~A-OK~Thank You}\n{embed(color):#{if({mailtype}<6):{list({mailtype}):777777~E01058~777777~777777~1078E8~4AA552}|777777}}",
  "embed": "{\"color\": 5198940, \"title\": \"**PMD1 SOS mail decoder**\", \"fields\": [{\"name\": \"**Chances left**\", \"value\": \"{chances}\", \"inline\": true}, {\"name\": \"**Checksum**\", \"value\": \"{checksum} (Calc: {calcsum})\\n**{if({checksum}=={calcsum}):Matches!|Mismatches!}**\", \"inline\": true}], \"description\": \"```ansi\\n{if({lower:{10}}==pc):  \\u001b[1;37m{blk1} \\u001b[33m{blk2}\\u001b[37m {blk3}\\n  {blk4} \\u001b[33m{blk5}\\u001b[37m {blk6}\\n  {blk7} \\u001b[33m{blk8}\\u001b[37m {blk9}|  {blk1} {blk2} {blk3}\\n  {blk4} {blk5} {blk6}\\n  {blk7} {blk8} {blk9}}\\n```\\n**Type of mail:** {if({mailtype}<6):{list({mailtype}):{mailtable}}|Invalid} mail ({mailtype})\\n**Name:** {list({cn01}):{charset}}{list({cn02}):{charset}}{list({cn03}):{charset}}{list({cn04}):{charset}}{list({cn05}):{charset}}{list({cn06}):{charset}}{list({cn07}):{charset}}{list({cn08}):{charset}}{list({cn09}):{charset}}{list({cn10}):{charset}}\\n**Species:** {list({trgtpkmn}):{pkmnnames}} ({trgtpkmn})\\n**Location:** {list({dungeonid}):{dgonnames}} ({dungeonid}), Floor {floor}\\n**Mail ID:** {shortmailid} ({mailid})\\n**Rescuee ID:** {seekid}\\n{if({mailtype}!=1):**Rescuer ID:**   {giveid}}\\n{all({mailtype}==5|{hasreward}==1):**Reward item:**  {list({reward}):{itemnames}} ({reward})}\"}",
  "last_fetched": "2026-10-20T17:18:44.590Z"
}