Pokemon Name 寶可夢特殊名稱處理筆記

2024-12-19

筆記在處理寶可夢資料時,特殊的寶可夢名稱需要特別注意處理的情況,包含 Nidoran♀、Nidoran♂、Farfetch'd 等。

A key consideration when processing Pokémon data is the special handling of unique names like Nidoran♀, Nidoran♂, and Farfetch'd, which demand extra attention.

logo

特殊符號

Name Id
Nidoran♀ 29
Nidoran♂ 32
Farfetch'd 83
Sirfetch'd 865
Mr. Mime 122
Mr. Rime 866
Mime Jr. 439
Flabébé 669

檔案名稱不允許的符號

Name Id
Type: Null 772

空白符號處理

Name Id
Tapu Koko 785
Tapu Lele 786
Tapu Bulu 787
Tapu Fini 788
Great Tusk 984
Scream Tail 985
Brute Bonnet 986
Flutter Mane 987
Slither Wing 988
Sandy Shocks 989
Iron Treads 990
Iron Bundle 991
Iron Hands 992
Iron Jugulis 993
Iron Moth 994
Iron Thorns 995
Roaring Moon 1005
Iron Valiant 1006
Walking Wake 1009
Iron Leaves 1010
Gouging Fire 1020
Raging Bolt 1021
Iron Boulder 1022
Iron Crown 1023

對照用 Python Script

mappingDict = {
    "Nidoran♀" : 'Nidoran_f',
    "Nidoran♂" : 'Nidoran_m',
    "Farfetch'd" : 'Farfetchd',
    "Sirfetch'd" : 'Sirfetchd',
    "Mr. Mime" : 'Mr_Mime',
    "Mr. Rime" : 'Mr_Mime',
    "Mime Jr." : 'Mime_Jr',
    "Flabébé" : 'Flabebe',
    "Type: Null" : 'Type_Null',
    "Tapu Koko" : 'Tapu_Koko',
    "Tapu Lele" : 'Tapu_Lele',
    "Tapu Bulu" : 'Tapu_Bulu',
    "Tapu Fini" : 'Tapu_Fini',
    "Great Tusk" : 'Great_Tusk',
    "Scream Tail" : 'Scream_Tail',
    "Brute Bonnet" : 'Brute_Bonnet',
    "Flutter Mane" : 'Flutter_Mane',
    "Slither Wing" : 'Slither_Wing',
    "Sandy Shocks" : 'Sandy_Shocks',
    "Iron Treads" : 'Iron_Treads',
    "Iron Bundle" : 'Iron_Bundle',
    "Iron Hands" : 'Iron_Hands',
    "Iron Jugulis" : 'Iron_Jugulis',
    "Iron Moth" : 'Iron_Moth',
    "Iron Thorns" : 'Iron_Thorns',
    "Roaring Moon" : 'Roaring_Moon',
    "Iron Valiant" : 'Iron_Valiant',
    "Walking Wake" : 'Walking_Wake',
    "Iron Leaves" : 'Iron_Leaves',
    "Gouging Fire" : 'Gouging_Fire',
    "Raging Bolt" : 'Raging_Bolt',
    "Iron Boulder" : 'Iron_Boulder',
    "Iron Crown" : 'Iron_Crown',
}

reverseMappingDict = {v: k for k, v in mappingDict.items()}