PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionPokemonRed.lua

14 lines
No EOL
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