def CharacterOutsideRegion(entity: AnimatedInt, region: Region, condition, negate=False): return instr.IfCharacterRegionState(condition, entity, region, negate)
def PlayerOutsideRegion(region: Region, condition, negate=False): return instr.IfCharacterRegionState(condition, PLAYER, region, negate)
def CharacterInsideRegion(entity: AnimatedTyping, region: Region, condition, negate=False): return instr.IfCharacterRegionState(condition, entity, region, not negate)