forked from endernon/PGRData
14 lines
384 B
Lua
14 lines
384 B
Lua
|
local XRedPointConditionPokemonRed = {}
|
||
|
local Events = nil
|
||
|
|
||
|
function XRedPointConditionPokemonRed.GetSubEvents()
|
||
|
end
|
||
|
|
||
|
function XRedPointConditionPokemonRed.Check()
|
||
|
if not XFunctionManager.JudgeCanOpen(XFunctionManager.FunctionName.Pokemon) then
|
||
|
return false
|
||
|
end
|
||
|
return XDataCenter.PokemonManager.CheckPokemonEnterRedPoint()
|
||
|
end
|
||
|
|
||
|
return XRedPointConditionPokemonRed
|