Update Battle.cs
Update Battle.cs

pbHasType\?\s?\(:(\w+)\)
hasType(Types.$1)
Type == Types.$1

\.pbThis\((\w+)
.ToString($1

\.pbThis
.ToString()

\.include\?\(
.Contains(

\.push\(
.Add(

\.\blength\b
.Length

\.\bname\b
.Name

\.totalhp
.TotalHP

\.hp
.HP

\.item\b
.Item

\.species\b
.Species

def\s(\w+)\?(\(.+\))
public bool $1 $2 {

\(([\$@\[\]\w\d.+\-\/\*]+)\)\.floor
(int)Math.Floor($1)

case \(?([\S\w]+)\)?[\s\r\n]*?\r?
case ([\w.:\[\]]+)(?<!(:) *)(\s)$
switch ($1) {

^(\s+)when ([\w\S.:]+)
$1  break;\n$1case $2:

PokemonUnity/PokemonUnity