Module:Rescue Team Boss Data Cell
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Rescue Team Boss Data Cell/doc
--------------------------------------------------------------------------------
--
-- Module:Rescue Team Boss Data Cell
--
-- This module covers a list of bosses in Japanese, their types and their moves
-- present in Pokémon Mystery Dungeon: Rescue Team.
--
-- Parameters
--
-- name: Insert the Pokémon's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the Pokémon's Japanese name.
-- * type1: Returns the Pokémon's first type.
-- * type2: Returns the Pokémon's second type.
-- * move<n>: Returns the Pokémon's numbered move (up to 9).
-- * recruit: Returns the Pokémon's recruit chance.
--
--------------------------------------------------------------------------------
p = {}
function p.rescueTeamBossDataCell(f)
-- Gets the arguments from #invoke:Rescue Team Boss Data Cell|rescueTeamBossDataCell
local args = f.args
-- List of every boss's Japanese names, types, moves, and recruit chances
local list = {
["Skarmory"] = { ["ja"] = "フシギダネ", ["type1"] = "Grass", ["type2"] = "Poison", ["move1"] = "Sand-Attack", ["move2"] = "Peck", ["move3"] = "Leer", ["recruit"] = "Unrecruitable" },
["Gengar"] = { ["ja"] = "ゲンガー", ["type1"] = "Ghost", ["type2"] = "Poison", ["recruit"] = "-99.9%", ["move1"] = "Curse", ["move2"] = "Lick", ["move3"] = "Spite", ["move4"] = "Hypnosis", ["recruit"] = "Unrecruitable" },
["Ekans"] = { ["ja"] = "アーボ", ["type1"] = "Poison", ["recruit"] = "12.4%", ["move1"] = "Bite", ["move2"] = "Wrap", ["move3"] = "Leer", ["move4"] = "Poison Sting", ["recruit"] = "Unrecruitable" },
["Medicham"] = { ["ja"] = "チャーレム", ["type1"] = "Fighting", ["type2"] = "Psychic", ["move1"] = "Ice Punch", ["move2"] = "Thunderpunch", ["move3"] = "Detect", ["move4"] = "Confusion", ["recruit"] = "Unrecruitable" },
}
-- Returns the selected boss with the object's specified key value
return list[args.name][args.getVar]
end
return p