PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionPokemonRed.lua

14 lines
384 B
Lua
Raw Normal View History

2022-12-26 14:06:01 +05:30
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