Add support for more Yellow Pokemon

This commit is contained in:
Kyle Coburn 2015-04-15 01:42:32 -07:00
parent 1d0182dc0d
commit 6e412f0dfb
3 changed files with 34 additions and 2 deletions

View File

@ -575,7 +575,7 @@ local moves = {
name = 'Hyper-Beam',
id = 63,
move_type = 'normal',
special = true,
special = false,
power = 150,
max_pp = 5,
accuracy = 90,

View File

@ -220,6 +220,32 @@ local Opponents = {
}
},
-- YELLOW
GarySandslash = {
type1 = "ground",
type2 = "ground",
def = 148,
id = 97,
spec = 81,
hp = 172,
speed = 94,
level = 61,
att = 137,
moves = {
{
max_pp = 10,
accuracy = 100,
name = "Earthquake",
power = 100,
id = 89,
special = false,
pp = 6,
move_type = "ground",
}
}
},
}
return Opponents

View File

@ -140,7 +140,13 @@ local function fieldMoveIndex(move)
local menuSize = Memory.value("menu", "size")
if yellow then
if move == "cut" then
moveIndex = 1
if Pokemon.inParty("charmander") then
moveIndex = 1
end
elseif move == "dig" then
if Pokemon.inParty("sandshrew") then
moveIndex = 1
end
elseif move == "surf" then
moveIndex = 1
end