Module:Rescue Team DX Move Data Cell
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Rescue Team DX Move Data Cell/doc
--------------------------------------------------------------------------------
--
-- Module:Rescue Team DX Move Data Cell
--
-- This module covers a list of moves in Japanese and their types present in
-- Pokémon Mystery Dungeon: Rescue Team DX.
--
-- Parameters
--
-- name: Insert the move's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the move's Japanese name.
-- * type: Returns the move's type.
--
--------------------------------------------------------------------------------
p = {}
function p.rescueTeamDXMoveDataCell(f)
-- Gets the arguments from #invoke:Rescue Team DX Move Data Cell|rescueTeamDXMoveDataCell
local args = f.args
-- List of every moves' Japanese names and their types
local list = {
[""] = { ["ja"] = "", ["type"] = "" },
["Tackle"] = { ["ja"] = "", ["type"] = "Normal" }
}
-- Returns the selected move with the object's specified key value
return list[args.name][args.getVar]
end
return p