Update data info
This commit is contained in:
parent
d88a098d8f
commit
404b1bb9ec
|
@ -10,12 +10,24 @@ if VERSION then
|
|||
end
|
||||
|
||||
local yellowVersion = memory.getcurrentmemorydomainsize() > 30000
|
||||
local redVersion = true
|
||||
if not yellowVersion then
|
||||
local titleText = memory.readbyte(0x0447)
|
||||
if titleText == 96 or titleText == 97 then
|
||||
redVersion = titleText ~= 97
|
||||
elseif not require("storage.pokemon").inParty("nidoran", "nidorino", "nidoking") then
|
||||
print("ERR: Unable to differentiate Red/Blue version")
|
||||
if INTERNAL and not STREAMING_MODE then
|
||||
redVersion = false --SAMPLE
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Data = {
|
||||
run = {},
|
||||
|
||||
yellow = yellowVersion,
|
||||
gameName = yellowVersion and "yellow" or "red",
|
||||
gameName = yellowVersion and "yellow" or (redVersion and "red" or "blue"),
|
||||
versionNumber = version,
|
||||
}
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ local moves = {
|
|||
power = 30,
|
||||
max_pp = 30,
|
||||
accuracy = 100,
|
||||
multiple = 2,
|
||||
multiple = 1.95,
|
||||
},
|
||||
{
|
||||
name = 'Mega-Kick',
|
||||
|
|
|
@ -295,7 +295,7 @@ local Opponents = {
|
|||
},
|
||||
boost = {
|
||||
stat = "def",
|
||||
mp = 7 / 8
|
||||
mp = 8 / 9
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ local items = {
|
|||
surf = 198,
|
||||
strength = 199,
|
||||
|
||||
mega_punch = 201,
|
||||
horn_drill = 207,
|
||||
bubblebeam = 211,
|
||||
water_gun = 212,
|
||||
|
|
Loading…
Reference in New Issue